@charset "utf-8";

/* default style reset
------------------------*/
body,div,dl,dt,dd,ul,li,ol,
h1,h2,h3,h4,h5,form,p,table,th,td,
address,input{
	margin:0;
	padding:0;
}

* {
  box-sizing: border-box;
}

body{
	line-height:1;
}

a img,img{
	border:0;
}

table{
    border-collapse:collapse;
   	border-spacing:0;
}

ul,li,ol,li{
	list-style:none;
}

a:hover{
	text-decoration:none;
}

@media screen and (min-width: 320px){
  .search-stock {
    display: flex;
    justify-content: center;
    background: #e61e02;
    color: #fff;
    font-size: 18px;
    border-radius: 5px;
    max-width: 100%;
    width: 100%;
    padding: 15px 0;
    margin-bottom: 30px;
  }

  .search-stock:visited,
  .search-stock:link {
    color: #fff;
  }

  .wrap-purchase-stock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f8e9;
    padding: 15px 10px;
    flex-direction: column;
  }

  .col_purchase-stock select {
    border: 1px solid #e5e5e5;
    padding: 5px 8px;
    font-size: 14px;
    outline: none;
    appearance: none;
    -webkit-appearance: unset;
    width: 100%;
    outline: unset;
    border-radius: 4px;
    background-color: #fff;
  }

  .col_purchase-stock {
    display: flex;
    margin-bottom: 10px;
  }

  .col_purchase-stock p {
    margin-bottom: 8px;
  }

  .select_purchase-stock {
    position: relative;
    width: 100%;
  }

  .select_purchase-stock:after {
    content: '';
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 7px solid #ff1616;
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .col_input-stock {
    display: block;
  }

  .col_input-stock .input-stock{
    margin-top: 10px;
  }

  .col_input-stock .input-stock input{
    border: 1px solid #e5e5e5;
    padding: 5px 8px;
    font-size: 14px;
    width: 20%;
    border-radius: 4px;
    color: #bebebe;
  }

  .row_input-stock {
    width: 100%;
  }

  .row_select-stock {
    width: 100%;
    display: block;
  }

  .btn-stock-red {
    display: block;
    background: #e61e02;
    color: #fff;
    width: 100%;
    margin: 10px 0 0;
    padding: 15px 0;
    text-align: center;
    border-radius: 5px;
    border: 0;
  }

  .page-search-stock-sp {
    padding: 0 5px;
  }

  .page-search-stock-sp .p-first {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 15px;
  }

  .page-search-stock-sp .title-item_s1 {
    font-size: 14px;
  }

  .wrap-select-stock {
    margin-top: 10px;
  }

  .wrap-purchase-stock .btn-red {
    display: block;
    padding: 15px;
    background: #e61e02;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .wrap-purchase-table {
    width: 100%;
    margin-top: 10px;
    background: #fff;
  }

  .purchase-table .col-stock {
    padding: 10px 5px;
    font-size: 11px;
    text-align: left;
  }

  .wrap-purchase-table .purchase-head {
    background: #4a4a4a;
    color: white;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    position: sticky;
    top: 0;
    z-index: 995;
  }

  .purchase-table a {
    color: #00a2ff;
    text-decoration: underline;
  }

  .purchase-table {
    display: flex;
    padding: 10px 0;
  }

  .wrap-purchase-table .col-btn-stock {
    background: #0097c8;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    border: 0;
  }

  .wrap-purchase-table .col-btn-stock:focus {
    outline: unset;
  }

  .purchase-body {
    border-bottom: 1px dashed #c8c8c8;
    margin: 0 8px;
  }

  .wrap-purchase-table .stock-1 {
    width: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .wrap-purchase-table .stock-2 {
    width: 20%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .wrap-purchase-table .stock-3 {
    width: 40%;
  }

  .wrap-purchase-table .btn-stock-red {
    display: block;
    background: #e61e02;
    padding: 15px 0;
    color: #fff;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    border-radius: 5px;
  }

  .popup-table th,
  .popup-table td {
    border-collapse: collapse;
    text-align: left;
    font-size: 10px;
    width: 45px;
    min-width: 45px;
    max-width: 45px;
    overflow-wrap: break-word;
  }

  .popup-table th {
    color: #fff;
    text-align: center;
    border-right: 1px solid #727272;
    padding: 8px;
  }

  .popup-table td {
    border-right: 1px solid #727272;
    border-bottom: 1px dashed #c8c8c8;
    padding: 8px 5px;
    text-align: center;
  }

  .popup-table tr td:first-child {
    width: 70px !important;
    min-width: 70px;
    max-width: 70px;
    overflow-wrap: break-word;
    text-align: right;
  }


  .purchase-body:last-child {
    border-bottom: unset;
  }

  .row_input-stock .col_purchase-stock {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }

  .row_input-stock input {
    border: 1px solid #e5e5e5;
    padding: 7px;
    font-size: 14px;
    width: 30%;
    border-radius: 4px;
    color: #343434;
    outline: unset;
  }

  .row_input-stock p {
    margin-bottom: 10px;
  }

  .main-purchase-table {
    max-height: 300px;
    overflow-y: scroll;
  }

  .wrap-recommend-purchase ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  /* Track */
  .wrap-recommend-purchase ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  /* Handle */
  .wrap-recommend-purchase ::-webkit-scrollbar-thumb {
    background: #888;
  }

  /* Handle on hover */
  .wrap-recommend-purchase ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

    /* Popup box BEGIN */
  .popup-search-stock {
    display: none;
    background: transparent;
    cursor: pointer;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
  }

  .popup-search-stock .helper{
    position: relative;
    height: 100%;
  }
  .popup-search-stock .popup-table {
    background-color: #fff;
    box-shadow: 2px 6px 36px 1px #c7c7c7;
    height: auto;
    vertical-align: middle;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    width: auto;
    max-width: 92%;
  }
  .popupCloseButton {
    background: #000;
    border: 3px solid #fff;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    top: -10px;
    right: -7px;
    font-size: 18px;
    width: 28px;
    height: 28px;
    text-align: center;
    z-index: 99999;
  }
  .popupCloseButton:hover {
    background-color: #ccc;
  }
  .trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
    font-weight: bold;
  }
  /* Popup box BEGIN */
  /*scroll*/
  .popup-search-stock .table-sizes {
    max-width: max-content;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #727272;
    z-index: 9999;
  }

  .popup-search-stock .table-sizes {
    position: relative;
    max-height: 300px;
  }

  .popup-search-stock .table-sizes table {
    position: relative;
  }

  .popup-search-stock thead {
    width: 100%;
  }

  .popup-search-stock .table-sizes thead tr {
    display: inherit;
    position: sticky;
    top: 0;
  }

  .popup-search-stock .table-sizes thead tr:first-child th {
    background: #4a4a4a;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    padding: 12px 6px;
    text-align: center;
    text-transform: uppercase;
    height: 44px;
    vertical-align: middle;
  }

  .popup-search-stock thead tr th:first-child {
    min-width: 100px;
    max-width: 100px;
    white-space: unset;
    top: 0;
    left: 0;
    z-index: 9999;
  }

  .popup-search-stock .table-sizes thead th {
    width: 45px;
    min-width: 45px;
    max-width: 45px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }

  .popup-search-stock .table-sizes tbody tr {
    display: table;
  }

  .popup-search-stock .table-sizes tbody tr:last-child th,
  .popup-search-stock .table-sizes tbody tr:last-child td {
    border-bottom: 0;
  }

  .popup-search-stock tbody th {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    white-space: unset;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 99999;
    background: #fff;
  }

  .popup-search-stock .popup-table tbody tr th {
    width: 100px;
    max-width: 100px;
    min-width: 100px;
    color: #343434;
    border-bottom: 1px dashed #c8c8c8;
  }

  .popup-search-stock .popup-table thead th:first-child {
    left: 0;
    z-index: 999999;
  }
  /*scroll*/
}

@media screen and (min-width: 1023px){
  .search-stock {
    max-width: 30%;
    padding: 20px 5px;
    margin: auto auto 40px;
  }

  .wrap-purchase-stock {
    display: block;
    padding: 20px;
  }

  .row_input-stock {
    display: flex;
    align-items: center;
  }

  .row_select-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .row_select-stock p {
    width: 15%;
  }

  .col_input-stock {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .wrap-select-stock {
    display: flex;
    margin-top: 0;
    width: 85%;
  }

  .col_purchase-stock {
    margin-right: 20px;
    margin-bottom: 0;
    width: calc((100% - 25px) / 2);
  }

  .wrap-select-stock .col_purchase-stock:last-child {
    margin-right: 0;
  }

  .col_input-stock input {
    width: 80px;
    border: 1px solid #e5e5e5;
    padding: 7px 8px;
    font-size: 14px;
    border-radius: 4px;
  }

  .btn-stock-red {
    width: 30%;
    margin: 30px auto;
    padding: 20px 5px;
    font-size: 18px;
    outline: unset;
    transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
  }

  .btn-stock-red:focus {
    outline: unset;
  }

  .btn-stock-red:hover {
    transform: translateY(-4px);
    box-shadow: 0 3px 3px #525252;
  }

  .wrap-purchase-table .col-btn-stock {
    transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
  }

  .wrap-purchase-table .col-btn-stock:hover {
    transform: translateY(-4px);
    box-shadow: 0 3px 3px #525252;
  }

  .main-purchase-table {
    max-height: 400px;
    overflow-y: auto;
  }

  .row_input-stock input {
    width: 20%;
  }

.page-search-stock-pc .p-first {
    line-height: 26px;
    margin-bottom: 20px;
    color: var(--grayscale-125) !important;
  }

  .purchase-table .col-stock {
    padding: 15px 5px;
  }

  .wrap-purchase-table .stock-1 {
    width: 50%;
  }

  .wrap-purchase-table .stock-2,
  .wrap-purchase-table .stock-3 {
    width: 25%;
  }

  .purchase-head .stock-3 {
    padding: 15px 5px;
  }

  .purchase-table.purchase-head .col-stock {
    font-size: 16px;
  }

  .purchase-table .col-stock {
    font-size: 14px;
  }

  .popup-table tr td:first-child {
    width: 150px !important;
    min-width: 150px;
    max-width: 150px;
  }

  .popup-search-stock .popup-table {
    width: auto;
    padding: 10px;
    height: 420px;
  }

  .popup-table th,
  .popup-table td {
    font-size: 14px;
    padding: 15px 6px;
    width: 63px;
    min-width: 63px;
    max-width: 63px;
  }

  .popupCloseButton {
    top: -15px;
    right: -10px;
    font-size: 24px;
    width: 35px;
    height: 35px;
    z-index: 99999;
  }
  /*scroll*/
  .popup-search-stock thead tr th:first-child {
    min-width: 200px;
    max-width: 200px;
  }

  .popup-search-stock .popup-table tbody tr th {
    width: 200px;
    max-width: 200px;
    min-width: 200px;
  }


  .popup-search-stock .table-sizes thead th {
    width: 63px;
    min-width: 63px;
    max-width: 63px;
  }

  .popup-search-stock .table-sizes {
    max-height: 400px;
  }

  .wrap-recommend-purchase ::-webkit-scrollbar {
    width: 10px;
  }
  /*scroll*/

}
.purchase-plain .step-purchase {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ebebeb;
  padding: 25px;
}

.purchase-plain .step-purchase-left {
  font-size: 18px;
  line-height: 30px;
  font-weight: bold;
}

.purchase-plain .rec-purchase-item {
  display: flex;
}

.purchase-plain .img-rec-item {
  margin-bottom: 10px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 45%;
}

.purchase-plain .img-rec {
  width: 140px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.purchase-plain .img-rec-item img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.purchase-plain .rec-purchase-item p {
  font-size: 16px;
  line-height: 30px;
  text-align: justify;
  font-weight: bold;
  margin-bottom: 35px;
  width: 55%;
  padding-left: 15px;
}

.purchase-plain .rec-purchase-item:last-child {
  margin-right: 0;
}

.purchase-plain .wrap-purchase-item li {
  display: flex;
  width: calc(100% / 2);
  padding: 0 7px 13px;
  box-sizing: border-box;
}

.purchase-plain .wrap-purchase-item .product-cat-list.type2 .box {
  box-sizing: border-box;
  border: 2px solid #d8d8d8;
  background: #fff;
  transform: translateY(0);
  padding: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
  height: auto;
  width: 100%;
}

.purchase-plain .wrap-purchase-item .product-cat-list {
  display: flex;
  flex-wrap: wrap;
}

.purchase-plain .wrap-purchase-item .product-cat-list.type2 h3 {
  position: relative;
  margin: 0 -11px;
  background: #ff6813;
  font-size: 10px;
  line-height: 12px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  min-height: 40px;
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.purchase-plain .wrap-purchase-item .product-cat-list.type2 h3:before {
  content: '';
  width: 0;
  height: 0;
  border-top: 4px solid #b67919;
  border-right: 4px solid transparent;
  position: absolute;
  bottom: -4px;
  right: 0;
}

.purchase-plain .wrap-purchase-item .product-cat-list.type2 h3:after {
  content: '';
  width: 0;
  height: 0;
  border-top: 4px solid #b67919;
  border-left: 4px solid transparent;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.purchase-plain .wrap-purchase-item li .product-cat-list.type2 h3 {
  color: #fff;
  display: block;
  width: 100%;
  font-size: 16px !important;
}

.purchase-plain .wrap-purchase-item .product-cat-list.type2 .image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  align-content: center;
  margin: 10px 0;
}

.purchase-plain .wrap-purchase-item .image img {
  display: block;
  margin: 0 auto;
  height: 100%;
}

.purchase-plain .wrap-purchase-item .two-items {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  height: 45px;
  min-height: 45px;
  max-height: 45px;
}

.purchase-plain .wrap-purchase-item .item_colors,
.purchase-plain .wrap-purchase-item .item_size {
  width: 49%;
  height: 45px;
  border: 1px solid #000;
  position: relative;
  background: #007b80;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  flex-wrap: wrap;
}

.purchase-plain .wrap-purchase-item .item_size {
  background: #444;
}

.purchase-plain .wrap-purchase-item .two-items .item_colors:after,
.purchase-plain .wrap-purchase-item .two-items .item_size:after,
.purchase-plain .wrap-purchase-item .item_print:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 1px solid #fff;
}

.purchase-plain .wrap-purchase-item .item_print {
  width: 100%;
  height: 45px;
  min-height: 45px;
  max-height: 45px;
  border: 1px solid #000;
  position: relative;
  background: #747474;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  flex-wrap: wrap;
  margin-bottom: 3px;
  margin-top: 4px;
  text-align: center;
}

.purchase-plain .wrap-purchase-item .price-content {
  display: block;
  padding: 1px;
  border: 1px solid #000;
  background: #fff;
  min-height: 70px;
  height: auto;
}

.purchase-plain .wrap-purchase-item li .item_list_detail {
  border-top: 0;
  margin: 0;
}

.purchase-plain li .item_list_detail .top_price {
  display: block;
  background: #c00020;
  text-align: center;
  font-size: 12px;
  line-height: 19px;
  font-weight: bold;
  color: #fff;
  width: 100%;
  padding: 2px 0;
}

.purchase-plain .wrap-purchase-item .category_head_box h3 {
  font-size: 15px;
  line-height: 22px;
  color: #fff;
  text-align: center;
  background: url(/common/smart/design/img/images_index-add/title-common-bg.png) left top repeat;
  margin: 0 0 10px;
  padding: 7px 5px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  font-weight: bold;
}

.purchase-plain #loader {
  border: 5px solid #f3f3f3;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  border-top: 5px solid #555;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  margin: auto;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.item-rating .fa {
  color: #ffbb00;
  font-size: 20px;
  margin-left: 3px;
}
