/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.test-order-toggle span.head_test {
  display: flex;
  align-items: center;
}

.test-order-toggle span.head_test h3 {
  margin: 0;
}
.tooltiptext {
  font-size: 12px;
}

div#orderDetailsLoader {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}
/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position the tooltip above the text */
  left: 50%;
  margin-left: -100px; /* Center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip icon */
.tooltip-icon {
  background-color: #0073aa;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 7px;
  margin-left: 5px;
  font-size: 12px;
}

/* Show the tooltip text when hovering over the container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*  toggle switch */
.test-order-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(26px);
}
/**test order toggle end***/

div#orderDetailsModal table th {
  padding: 5px;
  vertical-align: middle;
}

div#orderDetailsModal tbody tr td {
  padding: 5px;
  vertical-align: middle;
  text-align: center;
}

.address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.brand-card_link {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
}

.collection-slide.brand-card:has(.brand-card_link) {
  position: relative;
}
#customers-table select.customer-group-select {
  max-width: 220px;
  margin-bottom: 5px;
}
.customer-table-scroll {
  overflow-y: scroll;
  height: 770px;
}
.saved {
  color: green;
}
/*.home #search-result-other {
    display: none ;
}*/
body {
  margin-left: 0;
  margin-right: 0;
}
img.banner_home {
  max-width: 100%;
}
.table-grid-main {
  overflow-x: auto;
}

.table-grid {
  float: left;
  width: 100%;
  margin-bottom: 5px;
  font-size: 14px;
  min-width: 900px;
}

.table-grid .top-th {
  float: left;
  padding: 0;
  margin: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px #dcdcdb solid;
  flex-wrap: nowrap;
  display: flex;
}

.table-grid .top-th .color {
  float: left;
  min-width: 154px;
  width: 22.4%;
  text-align: left;
  margin: 0;
  color: #767674;
  font-size: 14px;
  font-weight: bold;
  background: transparent;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 7px;
  padding-right: 7px;
  margin-right: 25px !important;
}

.table-grid .top-th span {
  float: left;
  min-width: 56px;
  width: 5.84%;
  text-align: center;
  font-weight: bold;
  margin: 0;
  color: #767674;
  font-size: 14px;
  background: transparent;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 6px;
  padding-right: 6px;
}

.table-grid .hr {
  height: 1px;
  margin: 0;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  background: #dcdcdb;
  overflow: hidden;
  width: 100%;
  float: left;
}

.table-grid .inner-column {
  float: left;
  padding-top: 2px;
  padding-bottom: 2px;
  width: 100%;
  clear: both;
  color: #3e4042;
  margin-top: 5px;
  margin-bottom: 5px;
}

.table-grid .inner-column .color {
  float: left;
  min-width: 140px;
  width: 15%;
  white-space: wrap;
  padding: 5px;
  padding-bottom: 0;
  padding-top: 0;
  margin: 0;
}

.table-grid .inner-column .color .swatch {
  float: left;
  min-width: 54px;
  width: 7.11%;
  height: 35px;
}

.table-grid .inner-column .color .name {
  float: left;
  font-size: 11px;
  margin-bottom: -5px;
  clear: left;
}

.mt-10 {
  margin-top: 10px;
}

.button-order {
  border-radius: 40px;
  border-width: 1px;
  border-style: solid;
  float: left;
  padding: 1px 5px;
  text-align: center;
  font-size: 16px;
  text-decoration: none !important;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.2s cubic-bezier(0.4, 0, 1, 1);
  transition-property: color, border-color, background-color;
  color: #767674;
  background-color: #fff;
  border-color: #aeaead;
  font-size: 13px;
  clear: left;
}

.button-order:focus,
.button-order:hover {
  color: #555553;
  background-color: #f5f5f5;
  border-color: #aeaead;
  text-decoration: none !important;
}

/* .show-hide-prices {
        height: 16px;
        width: 16px;
        margin-top: 16px;
        color: #767674;
    }*/

/* .expanded-price {
        content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-minus'><line x1='5' y1='12' x2='19' y2='12'></line></svg>");
        cursor: pointer;
    } */

.table-grid .inner-column .size {
  float: left;
  min-width: 75px;
  width: 9.68%;
  padding: 4px;
  padding-bottom: 0;
  padding-top: 0;
  text-align: left;
  margin: 0;
  font-size: 11px;
}
.table-grid .inner-column .size span {
  float: left;
  height: 17px;
  width: 58px;
  white-space: nowrap;
  clear: left;
}

.table-grid .inner-column .case-quantities {
  float: left;
  min-width: 42px;
  width: 5.84%;
  padding: 6px;
  padding-bottom: 0;
  padding-top: 0;
  text-align: right;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.table-grid .inner-column .case-quantities span {
  float: left;
  height: 17px;
  width: 40px;
}

.table-grid .inner-column .case-quantities .shrink {
  letter-spacing: -1px;
}

.table-grid .inner-column .color .warehouse {
  float: left;
  font-weight: bold;
  clear: left;
}

.table-grid .inner-column .color .shipby {
  float: left;
  font-size: 10px;
  clear: left;
}

.table-grid .inner-column input {
  float: left;
  min-width: 42px;
  width: 5.53%;
  text-align: right;
  padding-top: 1px;
  padding-bottom: 0;
  height: 21px;
  padding: 1px 3px;
  background: #fff;
  border: 1px solid #aeaead;
  box-shadow: 0 31px 80px rgba(204, 204, 204, 0.07),
    0 6.2px 13px rgba(204, 204, 204, 0.035);
  border-radius: 22px;
  clear: left;
}
.table-grid .inner-column input:focus,
.table-grid .inner-column input:focus-visible {
  border: 1px solid #ffb061;
  outline: 0px solid #ffb061;
}
.table-grid .sale {
  color: #c45003;
  letter-spacing: -1px;
}
.sd-main-colorGrid-section {
  display: grid;
  grid-template-columns: 40% 1fr;
}
/* .sd-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(53px,1fr));
} */
.sd-color-grid {
  display: flex;
  flex-wrap: wrap;
}
.sd-color-box {
  padding: 3px;
  border: 1px solid #ccc;
  font-size: 10px;
  font-weight: 600;
  height: 39px;
  width: 53px;
  text-transform: capitalize;
  cursor: pointer;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-selected-color-div {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
}
.add-toCart-btn {
  border-radius: 40px;
  border-width: 1px;
  border-style: solid;
  float: left;
  padding: 10px 20px;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.2s cubic-bezier(0.4, 0, 1, 1);
  transition-property: color, border-color, background-color;
  color: #fff;
  background-color: #c45003;
  border-color: #c45003;
  width: max-content;
  cursor: pointer;
}
.sd-selected-color-div select {
  padding: 10px 20px;
  border-radius: 40px;
  width: 100%;
  max-width: 150px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23767674' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat, repeat;
  background-position: right 15px top 50%, 0 0;
  appearance: none;
}
.custom-brands-gallery.grid,
.custom-product-gallery.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.search-result-card img {
  max-width: 100% !important;
}
/*.custom-product-gallery.grid {
    grid-template-columns: 1fr 1fr 1fr;
}*/
.custom-brands-gallery.grid .grid-item,
.custom-product-gallery.grid .grid-item {
  box-shadow: 1px 1px 11px #ddd;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  text-align: center;
}
.custom-brands-gallery.grid .grid-item h3,
.custom-product-gallery.grid .grid-item h3 {
  font-size: 20px;
  margin: 10px 0 0;
}
.outer_products {
  width: 100%;
  overflow: auto;
  height: 400px;
  white-space: normal;
}
.outer_categories {
  background: #fff;
  padding: 20px;
  box-shadow: 1px 1px 11px #ddd;
  max-width: 900px;
  margin: 0 auto 30px;
  border-radius: 8px;
}
button#fetch-products {
  display: flex;
  justify-content: end;
  width: 100%;
  max-width: max-content;
  margin-left: auto;
  background: #000;
  color: #fff;
  padding: 12px 14px;
  margin-top: 20px;
  border-radius: 6px;
}
.fetch_button {
  max-width: 900px;
  margin: 0 auto 30px;
}

/**brands listing ***/
a.brand-link {
  text-decoration: none;
  color: black;
}
/**main dtf tab**/
.main-content-first {
  margin-top: 70px;
  padding: 50px 40px 50px 35px;
  background-color: #fff;
}
.main-content-first p {
  font-size: 15px;
  line-height: 1.5;
  margin: 3em 0;
  padding: 9px 30px 30px 30px;
}

/*single page sku*/

.table-grid .inner-column .color {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 5px;
}

.table-grid .inner-column .color .button-order {
  max-width: fit-content;
  width: fit-content;
  font-size: 11px;
  margin-top: 5px;
}

body .table-grid .inner-column .color .name {
  margin-bottom: 0;
}

.table-grid .inner-column .color .skus_data {
  position: relative;
  border: 1px solid #000;
  background: transparent;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}

.table-grid .inner-column .color .skus_data:before {
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-top: solid #000000 7px;
  bottom: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -10px;
  position: absolute;
  width: 0;
}

.table-grid .inner-column .color .tooltip-skus {
  margin-top: 0px;
  position: absolute;
  z-index: 9;
  top: 90px;
}

.table-grid .inner-column {
  position: relative;
}
.table-grid .inner-column .color .tooltip-skus ul {
  overflow: auto;
  max-height: calc(30vh - 10px);
}

.table-grid .inner-column .color .tooltip-skus ul li {
  font-size: 13px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.table-grid .inner-column .color .tooltip-skus ul li span {
  width: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

/* 18-07-2025 */

.custom-modal {
  width: 100%;
  max-width: 900px;
}
.custom-modal h4 {
  font-size: 18px;
  line-height: normal;
  margin: 0;
  padding: 10px 0;
  color: #000;
}
.custom-modal .address p,
.custom-modal p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #000;
}

.custom-modal .product_detail_popup {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}
.custom-modal .product_detail_popup .popup_name {
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px solid #9f9f9f;
  font-weight: 500;
}
.custom-modal .product_detail_popup .popup_total,
.custom-modal .product_detail_popup .popup_color,
.custom-modal .product_detail_popup .popup_size,
.custom-modal .product_detail_popup .popup_warehouse,
.custom-modal .product_detail_popup .popup_qty {
  font-weight: bold;
}

div#orderDetailsModal {
    max-width: 55%;
}
.woocommerce-view-order .woocommerce-MyAccount-content table th {
    padding: 10px 10px;
}

.woocommerce-view-order .woocommerce-MyAccount-content table tbody td {
    padding: 10px 10px;
}

section.woocommerce-order-details h2.woocommerce-order-details__title {
    padding-left: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    padding-left: 0;
    display: inline-flex;
    flex-direction: column;
    row-gap: 15px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link {
    margin: 0 !important;
    width: 100%;
    display: flex;
    line-height: 1;
    align-items: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link a {
    font-size: 20px;
    line-height: 1.2;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    padding-left: 0 !important;
}
.dtf_list ~ div#orderDetailsModal .edit_buttons {
    display: none;
}
/**/

@media screen and (max-width: 1499px) {
  table.dataTable {
    overflow: hidden;
    overflow-x: auto;
    display: block;
  }
  table.dataTable td {
    min-width: 100px;
  }
  div#orderDetailsModal {
    max-width: 68%;
} 
}
@media screen and (max-width: 1299px) {
  .custom-modal {
    max-width: 85%;
  }
}
@media screen and (max-width: 991px) {
  .table-grid .inner-column .color {
    width: 15%;
  }
  .table-grid .top-th .color {
    width: 24.1%;
  }

  .custom-modal .product_detail_popup .popup_name {
    margin-right: 6px;
    padding-right: 6px;
  }
  .custom-modal .address p,
  .custom-modal p {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.4;
  }
  .custom-modal .product_detail_popup {
    font-size: 12px;
    line-height: 1.4;
  }
  .custom-modal h4 {
    font-size: 16px;
  }
}
@media screen and (max-width: 767px) {
  .custom-modal {
    max-width: 74%;
  }
}
