/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** CUSTOM CSS HERE.   ***************/
body a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

.single .added_to_cart {
  margin-left: 15px;
  position: relative;
  display: inline-block;
  top: -7px;
  transition: 0.3s;
}

.single .added_to_cart:hover {
  color: #eb612a;
}

.woocommerce .stars a:after {
  font-size: 16px;
}

.woocommerce .stars a {
  font-size: 0px;
  margin-left: 0px;
}

body.woo-variation-swatches .variable-items-wrapper {
  margin-bottom: 20px;
}

body.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
  border-radius: 0;
  margin: 6px 18px 6px 0px;
}

body.woo-variation-swatches .variable-items-wrapper .variable-item .variable-item-contents {
  background: #F1F1F1;
}

body.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
  width: auto;
}



/* 
* Custom Variation Swatches CSS
*/
.cart.variations_form .sofastudio-swatches {
  display: inline-flex !important;
  flex-wrap: wrap;
  margin-bottom: 0;
  margin-top: 10px;
}

.cart.variations_form .sofastudio-swatches .swatch-item-wrapper {
  position: relative;
  margin-right: 15px !important;
  margin-bottom: 15px !important;
}

.cart.variations_form .sofastudio-swatches .swatch {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  padding: 2px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
}

.cart.variations_form .sofastudio-swatches .swatch-button {
  width: auto;
  padding: 0;
}

.cart.variations_form .sofastudio-swatches .swatch-button span {
  background: #f3f3f3;
  padding: 3px;
  display: block;
  line-height: 24px;
  transition: all 0.3s;
}

.cart.variations_form .sofastudio-swatches .swatch-button:hover span {
  background: #eee;
}

.cart.variations_form .sofastudio-swatches .swatch__tooltip {
  -webkit-transform: translate(-50%, -100%);
  -moz-transform: translate(-50%, -100%);
  transform: translate(-50%, -100%);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  position: absolute;
  left: 50%;
  top: 0;
  background: #333;
  z-index: 2;
  color: #fff;
  margin: -15px 0 0 0;
  padding: 5px 10px;
  text-indent: initial;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  user-select: none;
  display: inline-block;
  word-break: break-all;
  white-space: normal;
  min-width: max-content;
}

.cart.variations_form .sofastudio-swatches .swatch:hover + .swatch__tooltip {
  opacity: 1;
  visibility: visible;
  user-select: auto;
}

.cart.variations_form .sofastudio-swatches .swatch:before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid #ddd;
}

.cart.variations_form .sofastudio-swatches .swatch.selected:before {
  border-color: #E15E26;
}

.cart.variations_form .sofastudio-swatches .swatch__tooltip:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #333;
  bottom: -4px;
  left: 50%;
  margin-left: -6px;
}

table.variations .label {
  margin-top: 10px;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}