body {
  max-width: 100% !important;
}

.item_brand,
.item_product {
  display: inline-block;
  width: 20%;
  box-sizing: border-box;
  position: relative;
  transition: all 0.3s ease-in-out;
  padding: 10px;
}

.item_brand:hover,
.item_product:hover {
  /*
  border: 1px #000 solid;  background-color: #000;
  */
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 1;
}

.item_brand_img,
.item_product_img {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

.item_brand_img::before,
.item_product_img::before {
  padding-top: 100%;
  display: block;
  content: "";
  width: 100%;
}

.item_brand_img::before {
  padding-top: 140%;
}

.item_brand_title,
.item_product_title {
  text-align: center;
  padding: 20px;
  padding-left: 5px;
  padding-right: 5px;
  min-height: 3em;
}

.item_brand:hover .item_brand_title {
  /*
  color: #fff;
*/
}

.list_brands {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.brand_top_info {
  display: flex;
}

.brand_poster {
  width: 20%;
  box-sizing: border-box;
  padding: 10px;
}

.brand_poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand_title {
  width: 20%;
  padding: 10px;
  box-sizing: border-box;
}

.brand_text {
  width: 20%;
  padding: 10px;
  box-sizing: border-box;
}

.item_product_price {
  display: flex;

  justify-content: center;
  flex-direction: column;
}

.item_product_price > del,
.item_product_price > ins {
  display: block;
  padding-bottom: 10px;
}

.variation_popup_bg {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 9000;

  top: 0;
  left: 0;
}

.variation_popup_content {
  width: 90vw;
  height: 80vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  background-color: #fff;
  position: fixed;
  z-index: 9001;
}

.shadow {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
}

.popup_product_images {
  height: 100%;
  width: 30vw;
  background-color: #eee;
}

.popup_product_images {
  position: relative;
}

.popup_product_images .product_title {
  padding: 0.3rem;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

.popup_product_images img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.variation_popup_content > .padding {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

.popup_product_images .swiper {
  height: 100%;
  width: 100%;
}

.popup_product_images img {
  display: block;
  margin: auto;
}

.swiper-notification {
  display: none;
}

.popup_product_images .swiper-slide {
  height: 100%;
}

.swiper-pagination-bullet-active {
  background: #000;
}

.popup_product_variations {
  width: 60vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popup_product_variations_sizes {
  margin-top: 2em;
}

.popup_product_variations .padding {
  display: flex;
  flex-direction: column;
}

.variation_quantity {
  width: 100%;
  box-sizing: border-box;
}

.item_product {
  margin-bottom: 20px;
}

.pa_size {
  text-transform: uppercase;
}

.uppercase {
  text-transform: uppercase;
}

.item_collection {
  padding: 10px;
  display: inline-block;
  cursor: pointer;
  width: 100%;
  width: auto;
  min-width: 10em;
  text-align: center;
  background-color: #eee;
}

.item_collection_select select {
  border: none;
  background-color: #eee;
}

.item_collection_select select:hover {
  background-color: #000;
  color: #fff;
}

.item_collection.active,
.item_collection:hover {
  background-color: #000;
  color: #fff;
}

.list_collection {
  background-color: #eee;
  border-bottom: 1px solid #000;
  display: flex;
}

table {
  width: 100%;
}

.preorder_product_list td,
.woocommerce table.shop_table td {
  vertical-align: top;
}
.product_img,
.woocommerce table.shop_table td.product_img {
  padding: 0;
}

.product_img img,
.product_img {
  width: 20vw;
  height: auto;
}

.product_img img {
  display: block;
}

.button_delete {
  display: block;
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
  line-height: 30px;
  overflow: hidden;

  border-radius: 50%;
}

.button_delete::after {
  box-sizing: border-box;
  padding: 10px;
  content: "";
  width: 20px;
  height: 20px;
  position: relative;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #eee;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  background-image: url(../img/close_black.svg);
}

.variation_quantity_td td {
  vertical-align: middle;
}

.search_sku {
  text-align: center;
  margin-bottom: 2em;
  padding: 10px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.search_sku form {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: row;
  gap: 1em;
}

.search_sku form > div {
  display: flex;
  width: 100%;
}

.search_sku form input[type="submit"] {
  min-width: 10%;
}
.search_sku form > div select {
  width: 100%;
}

.search_sku input[type="submit"] {
  width: fit-content;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.search_sku input {
  width: 100%;
}

.button,
input[type="submit"] {
  border: 1px solid #000;
  width: 100%;
  display: block;
  padding: 1em;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
}

.button:hover,
input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
}

.woocommerce table.shop_table {
  border-collapse: collapse;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
  display: flex;
  gap: 5px;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: #fff;
  color: #000;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: #000;
  color: #fff;
}

.woocommerce table.my_account_orders td,
.woocommerce table.my_account_orders th {
  padding: 5px;
}

.variation_quantity {
  padding: 0;
  border: none;
}

td {
  min-width: 3em;
}

th.material,
td.material {
  max-width: 15vw;
}

.my_account_menu {
  display: flex;
}

.my_account_menu > div {
}

.width_auto {
  width: auto;
  display: inline-block;
}

.buttons {
  margin-bottom: 1em;
  margin-top: 1em;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.button_delete_td {
  width: 2em;
  min-width: 2em;
}

.button_half {
  width: 50%;
}

.button_backto_preorder {
}

.button_submit_order {
}

.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2,
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  float: none;
  width: 100%;
}

.select2-container--default .select2-selection--single,
textarea,
select,
input {
  border-radius: 0;
  border: 1px solid #000;
  padding: 10px;
  height: auto;
}
div.acf-field input[type="text"],
div.acf-field input[type="password"],
div.acf-field input[type="date"],
div.acf-field input[type="datetime"],
div.acf-field input[type="datetime-local"],
div.acf-field input[type="email"],
div.acf-field input[type="month"],
div.acf-field input[type="number"],
div.acf-field input[type="search"],
div.acf-field input[type="tel"],
div.acf-field input[type="time"],
div.acf-field input[type="url"],
div.acf-field input[type="week"],
div.acf-field textarea,
div.acf-field select {
  padding: 10px;
}

.woocommerce form .form-row textarea {
  font-size: unset;
}

.woocommerce .woocommerce-customer-details address {
  box-sizing: border-box;
  border: 1px solid #666;
  padding: 10px;
}

.woocommerce-column--shipping-address {
  margin-top: 1em;
}

.order_buyer_stores {
  border: 1px solid #ccc;
  padding: 10px;
}

.acf-fields.acf-form-fields > .acf-field {
  padding-left: 0;
  padding-right: 0;
}

.popup_select {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.2);
  display: block;
  z-index: 9998;
}

.popup_select.show {
  background-color: rgba(0, 0, 0, 0.8);
}

.nav_bar {
  padding-bottom: 10px;
}

.popup_select select {
  width: 100%;
}

.popup_select_box {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 300px;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  display: none;
}

.popup_select .button {
  border-radius: 0 !important;
  width: 100%;
}

.popup_select_box > * {
  margin-bottom: 5px;
}

.popup_select_box.show {
  display: block;
}

.order_buyer_stores {
  border: 1px solid #ccc;
  padding: 10px;
}

#message {
  border: 1px solid #000;
  box-sizing: border-box;
  padding: 10px;
  background-color: #eee;
  border-left-width: 5px;
}

#message.updated {
  border-color: green;
}

p:last-of-type {
  margin-bottom: 0;
}

.phone_code_box {
  width: 100%;
  display: flex;
}

.phone_code_box > input {
  display: block;
  width: 100%;
}

.woocommerce-MyAccount-content .my_account_menu {
  /*
  display: none;
  */
}

.woocommerce-MyAccount-content-info {
  padding-top: 1em;
  padding-bottom: 1em;
}

.popup_product_variations {
  position: relative;
  box-sizing: border-box;
  height: 100%;
}

.popup_product_variations .padding {
  overflow: scroll;
  height: 100%;
  padding-bottom: 3em;
  box-sizing: border-box;
}

.popup_product_variations .buttons {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  background-color: #fff;
  gap: 0;
}

.buttons > button {
  margin-bottom: 0;
}

.swiper_nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  font-size: 1rem;
  color: #000;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  margin-top: 0;
  height: 0;
}

.swiper-pagination {
  position: static;
}

button.item_product_add {
  margin-bottom: 0;
}

.preorder_brand,
.preorder_product_list .bottom_info_bar {
  position: fixed;
  width: 100%;

  bottom: 0;
  left: 0;
  padding: 10px 20px;
  box-sizing: border-box;
  z-index: 8001;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  margin-top: 0;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

.bottom_info_bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.bottom_info_bar > div:first-of-type {
  width: 61%;
  width: 100%;
}

.bottom_info_bar .buttons {
  width: 39%;
  white-space: nowrap;
}

.preorder_brand_tab {
  position: fixed;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  margin-top: 0;
  z-index: 8001;
  bottom: 0;
  left: 0;
  padding: 10px 20px;
  box-sizing: border-box;
}
.collection_title {
  background-color: #000;
  color: #fff;
  padding: 1em;
}

.preorder_brand_tab a.button {
  margin-bottom: 0;
}

.preorder_product_list {
  margin-bottom: 10vh;
}

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

.no_product_found {
  padding: 10px;
}

tr.active,
tr.active th {
  background-color: green;
  color: #fff;
}

.shipping_band {
  padding: 10px;
  box-sizing: border-box;
}

.item_product_sep th {
  min-width: 4em;
}

.button_lookbook_box {
  margin-top: 2em;
}

input[type="file"] {
  width: 100%;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
  margin-bottom: 0;
}

.woocommerce_MyAccount_content_info_edit_info {
  padding-top: 1em;
}

.woocommerce_MyAccount_content_info_edit_info div {
  padding: 20px;
  margin-bottom: 10px;
}

.woocommerce_MyAccount_content_info_edit_info div.green {
  background-color: green;
}

.woocommerce_MyAccount_content_info_edit_info div {
  padding-left: 3em;
}

.woocommerce_MyAccount_content_info_edit_info {
  display: block;
}

.woocommerce_MyAccount_content_info_edit_info div a {
  display: flex;
  justify-content: space-between;
}

#customer_login {
  margin-top: 2em;
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.register-col {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 10%;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 88%;
}

.brand_collection_info {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.brand_limit_info {
  width: auto;
  margin-bottom: 2em;
  width: 100%;
  table-layout: fixed;
}

.text_bg_green,
.text_bg_green * {
  color: #fff;
  background-color: green;
}

.text_bg_red,
.text_bg_red * {
  color: #fff;
  background-color: red;
}

.woocommerce-Address {
  padding-top: 2em;
}

span.select2-container.-acf .select2-selection,
span.select2-container--default .select2-selection--single,
.select2-dropdown {
  border-radius: 0;
  border-color: #000;
  padding: 5px;
  padding-top: 0;
  padding-bottom: 0;
}

span.select2-container .select2-selection--single {
  height: auto;
  border-color: #000;
}

.acf-field[data-name="store_front_photo"],
.acf-field[data-name="store_photo1"],
.acf-field[data-name="store_photo2"],
.acf-field[data-name="store_photo3"] {
  width: 25%;
  float: left;
  clear: none;
}

.acf-field[data-name="oc_company_reg"] {
  max-width: 400px;
}

div.acf-fields > .acf-field {
  border-top: none;
}

.woocommerce form .form-row {
  padding-left: 0;
  padding-right: 0;
}

.select2-container--default .select2-selection--single,
textarea,
select,
input {
  font-size: 0.8rem;
}

h1.center_title {
  text-align: center;
  font-size: 2em;
}

.woocommerce-orders .woocommerce-MyAccount-navigation {
  display: none;
}
.woocommerce-orders .woocommerce-MyAccount-content {
  width: 100%;
}

.loading {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 8999;
  top: 0;
  left: 0;
  display: none;
}

.loading.show {
  display: block;
}

/**===== circle2 =====*/
#circle2 {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  height: 36px;
  width: 36px;
  margin: -13px 0 0 -13px;
  border: 4px rgba(0, 0, 0, 0.25) solid;
  border-top: 4px #fff solid;
  border-radius: 50%;
  -webkit-animation: spin2 1s infinite linear;
  animation: spin2 1s infinite linear;
}

@-webkit-keyframes spin2 {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin2 {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
/** END of circle2 */

.woocommerce ul.order_details {
  padding-left: 0;
  margin-top: 1em;
  margin-bottom: 1em;
}

.sms-code-box {
  display: flex;
  width: 100%;
}

.sms-code-box input {
  width: 100%;
  display: block;
}

#sms_phone_code {
  width: 100%;
}

.brand_product_cat {
  margin-bottom: 1em;
}

.brand_product_cat a {
  margin-right: 1em;
  display: inline-block;
}

.brand_product_cat a.active {
  color: #fff;
  background-color: #000;
  padding: 0.5em 1em;
}

.no_online_order_text {
  padding: 20px;
  background-color: #eee;
  border-left: 5px solid #ccc;
  margin-bottom: 1em;
}

.woocommerce-view-order .woocommerce-MyAccount-navigation {
  display: none;
}

.woocommerce-view-order .woocommerce-MyAccount-content {
  width: 100%;
}

#ship-to-different-address-checkbox,
#ship-to-different-address {
  display: none;
}

.woocommerce form .form-row.woocommerce-invalid label,
.woocommerce form .form-row.woocommerce-invalid label * {
  color: #a00;
}

.acf-field[data-name="gt_reservation_brands"] li {
  display: inline-block;
  margin-right: 2em;
}

.woocommerce-Input.woocommerce-Input--email.input-text[readonly],
.woocommerce-Input.woocommerce-Input--phone.input-text[readonly] {
  border: none;
  background-color: #eee;
}

.companyinfo.Submitted input,
.companyinfo.Approved input,
.buyerstore.Submitted input,
.buyerstore.Approved input,
.buyerstore.Submitted textarea,
.buyerstore.Approved textarea {
  border: none;
  background-color: #eee;
}

.Submitted div.acf-input-prepend,
.Submitted div.acf-input-append,
.Approved div.acf-input-prepend,
.Approved div.acf-input-append {
  border: none;
  background-color: #eee;
}

.companyinfo.Submitted .acf-actions.-hover,
.companyinfo.Approved .acf-actions.-hover,
.buyerstore.Submitted .acf-actions.-hover,
.buyerstore.Approved .acf-actions.-hover {
  display: none;
  visibility: hidden;
}
.Submitted select:disabled,
.Approved select:disabled {
  color: #000;
}

.Submitted .select2.select2-container.select2-container--default.-acf,
.Approved .select2.select2-container.select2-container--default.-acf {
  /*
  display: none;
*/
}

.Submitted .select2-hidden-accessible,
.Approved .select2-hidden-accessible {
  background-color: #eee;

  clip: none !important;
  height: auto !important;
  margin: auto !important;
  overflow: auto !important;
  padding: 10px !important;
  position: static !important;
  width: 100% !important;
}

.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit:disabled[disabled],
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button:disabled[disabled],
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled] {
  padding: 1em;
}

.select2-selection__placeholder::before {
  content: "请选择";
  display: inline-block;

  left: 0;

  width: 100%;
  z-index: 2;
  background-color: #fff;
}

.select2-selection__placeholder {
  position: relative;
}

.acf-field[data-type="message"] label {
  font-size: 1.5rem;
}

.preorder_buyers_form {
  margin-bottom: 2em;
}

.preorder_buyers_form select {
  width: 100%;
}

.preorder_buyers_select {
  margin-bottom: 1em;
}

.select2-search--dropdown {
  padding-left: 0;
  padding-right: 0;
}

span.select2.select2-container {
  width: 100% !important;
}

.bottom_list,
.bottom_list_mob {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  display: flex;

  background-color: #fff;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.bottom_list_item {
  padding: 1em;
  cursor: pointer;
  display: block;
}

.bottom_list_item.active {
  background-color: #000;
  color: #fff;
}

.product_img_popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

.productImgSwiper {
  width: 100%;
  height: 100%;
}

.product_img {
  cursor: pointer;
}

.product_img_popup.show {
  display: block;
}

.product_img_popup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product_img_popup .button_close {
  display: block;
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
  line-height: 30px;
  overflow: hidden;
  border-radius: 50%;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
}

.product_img_popup .button_close::after {
  box-sizing: border-box;
  padding: 10px;
  content: "";
  width: 20px;
  height: 20px;
  position: relative;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #eee;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  background-image: url(../img/close_black.svg);
  width: 40px;
  height: 40px;
}

.no_prepend_append .acf-input-prepend,
.no_prepend_append .acf-input-append {
  display: none;
}

.bottom_list_mob {
  display: none;

  background-color: #fff;
  z-index: 9999;
}

.variation_info th {
  width: 30%;
}

.cal_table td {
  vertical-align: top;
}

.tracking_code {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 10px;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background-color: #eee;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
  background-color: #ccc;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #ccc;
}

.woocommerce-orders-table__cell {
  min-height: 1rem;
}

.woocommerce-orders-table__cell a {
  text-decoration: underline !important;
}
