.custom-product-page {
  padding-top: 60px;
}

.product-gallery > .row {
  margin: 0 !important;
}

.product-gallery .large-col-first {
  flex-basis: 78px;
  max-width: 78px;
}

.product-gallery .large-10 {
  flex-basis: calc(100% - 78px);
  max-width: calc(100% - 78px);
}

.product-thumbnails img {
  margin: 0;
  opacity: 1;
  transform: unset !important;
}

.product-thumbnails .is-nav-selected a img,
.product-thumbnails .is-nav-selected a {
  border-color: #222;
  border-radius: 4px;
}

.product-thumbnails a:hover img,
.product-thumbnails a:hover {
  border-color: transparent;
}

.woocommerce-product-gallery {
  border: 1px solid #e9e9e9;
  border-radius: 5px;
  overflow: hidden;
}

h1.product-title {
  font-weight: 600;
  font-size: 2rem;
  line-height: 40px;
  letter-spacing: 0;
  margin-bottom: 15px;
}

.product-price-container span.amount {
  font-size: 1.625rem;
  font-weight: 400;
}

.product-price-container del {
  text-decoration: unset;
}

.product-price-container del span.amount {
  color: rgb(221, 55, 48);
  text-decoration: line-through;
  opacity: 1;
}

.product-price-container .price-wrapper .price {
  margin-bottom: 30px;
}

.variations tr {
  display: block;
  margin-bottom: 25px;
}

.variations th,
.variations td {
  display: block;
  width: 100%;
  padding: 0;
}

.variations .ux-swatches {
  margin: 0;
  gap: 16px;
}

.variations .ux-swatches.ux-swatches--circle {
  gap: 5px;
}

.variations_form .ux-swatch,
.variations_form .ux-swatch.selected {
  box-shadow: unset !important;
}

.variations_form .ux-swatch--color,
.variations_form .ux-swatch--image {
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  padding: 3px;
}

.variations_form .ux-swatch.selected {
  border-color: #222;
}

.variations_form .ux-swatch--label {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  width: 56px;
  height: 40px;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
}

.variations_form .ux-swatch--label.selected {
  background-color: #222;
  color: #fff;
}

table.variations label {
  margin-bottom: 15px;
  text-transform: capitalize;
  font-size: 16px;
  letter-spacing: 0.025em;
}

table.variations label .selected-value {
  margin-left: -4px;
  font-weight: 400;
}

.woocommerce-variation-price {
  padding: 0;
  border: 0;
}

.product-quantity-container .label {
  margin-bottom: 12px;
  text-transform: capitalize;
  font-size: 16px;
  letter-spacing: 0.025em;
  display: block;
  font-weight: 600;
  line-height: 1.05;
}

.woocommerce-variation-add-to-cart,
form.cart {
  gap: unset;
}

form.cart {
  margin-bottom: 25px;
}

input[type="button"].is-form {
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  background: transparent;
  border-radius: 0.5rem;
  line-height: 1;
  background-color: #f4f5f7;
  border: 0;
}

.quantity input[type="number"] {
  width: 40px;
  height: 40px;
  background-color: #f4f5f7;
  border: 0;
  box-shadow: none !important;
}

.product-quantity-container {
  margin-bottom: 25px;
}

button.single_add_to_cart_button {
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
  width: 100%;
  height: 48px;
  border-radius: 99px;
  box-shadow:
    0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14),
    0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

.accordion-title {
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 0;
  border-color: #e0e0e0;
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 600;
  color: #222222;
}

.accordion-title.active {
  color: #222222;
  border-color: #e0e0e0;
  background-color: transparent;
}

.accordion .toggle {
  width: unset;
  height: unset;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-height: unset;
  right: 0;
  left: unset;
  color: #222;
  opacity: 1;
  font-size: 14px;
}

.accordion-inner {
  padding: 16px 0;
  font-size: 14px;
}

.ux-share__inner {
  display: flex;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #e0e0e0;
  justify-content: space-between;
}

.ux-share__label {
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 600;
  color: #222222;
}

.ux-share__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ux-share__icons a {
  width: 24px;
  height: 24px;
  display: block;
}

.ux-payment-methods {
  margin-bottom: 25px;
}

.ux-payment-methods__list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 8px;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.ux-payment-methods__list > * {
  border-radius: 6px !important;
  outline: 1px solid #e9e9e9;
  outline-offset: -1px;
}

.variations .reset_variations {
  display: none;
}

.size-chart-unit {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.unit-btn {
  border: 1px solid #ddd;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  text-transform: none;
  margin: 0;
}

.unit-btn.active {
  background: #222;
  color: #fff;
}

.size-chart-image {
  text-align: center;
  margin-bottom: 25px;
}

.size-chart-image img {
  max-width: 250px;
}

.size-chart-content table {
  width: 100%;
  border-collapse: collapse;
}

.size-chart-content th,
.size-chart-content td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.chart-cm,
.chart-inch {
  display: none;
}

.chart-inch.active,
.chart-cm.active {
  display: block;
}

.lightbox-content {
  border-radius: 5px;
}

a.size-guide-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  position: absolute;
  right: 0;
  top: -5px;
  cursor: pointer;
}

table.variations .label {
  padding-right: 0;
  position: relative;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .custom-product-page {
    padding-top: 30px;
  }

  .product-gallery > .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  .product-gallery .large-10,
  .product-gallery .large-col-first {
    flex-basis: calc(100%);
    max-width: calc(100%);
  }

  h1.product-title {
    font-size: 1.25rem;
    color: #222222;
    font-weight: 600;
    line-height: 1.5;
  }

  .product-section {
    border-top: 0;
  }

  .product-section-title-related {
    font-size: 1rem;
    line-height: 24px;
    letter-spacing: 0;
    font-weight: 600;
    color: #222222;
  }
}
