/*
 Theme Name:     VM base
 Description:    VM base theme
 Author:         Valerio Meroni
 Author URI:     http://valeriomeroni.it
 Version:        1.0.1
 Text Domain:    vm-base
 Main Color: #cb9e67
*/

html, body {
  margin: 0;
  padding: 0;
}

body > .woocommerce {
  max-width: 1080px;
  padding: 0 20px;
  margin: 30px auto;
}

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
}

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

.woocommerce-Address-title .edit {
  width: 40px;
  height: 40px;
  font-size: 0;
  background-color: #cb9e67;
  border-radius: 50px;
  position: relative;
}

.woocommerce-Address {
  margin-top: 20px;
}

.woocommerce-Address h3 {
  margin-bottom: 5px;
}

.woocommerce-Address-title .edit::after {
  content: '';
  display: block;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" width="24" height="24" viewBox="0 0 24 24"><path d="M7.127 22.562l-7.127 1.438 1.438-7.128 5.689 5.69zm1.414-1.414l11.228-11.225-5.69-5.692-11.227 11.227 5.689 5.69zm9.768-21.148l-2.816 2.817 5.691 5.691 2.816-2.819-5.691-5.689z"/></svg>') no-repeat;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.woocommerce #coupon_code {
  height: 35px;
  min-width: 150px;
}

.woocommerce-input-wrapper [type="email"],
.woocommerce-input-wrapper [type="tel"],
.woocommerce-input-wrapper [type="password"],
.woocommerce-input-wrapper [type="text"],
.woocommerce-Input[type="email"],
.woocommerce-Input[type="tel"],
.woocommerce-Input[type="password"],
.woocommerce-Input[type="text"] {
  height: 30px;
  line-height: 30px;
  font-size: 15px;
  padding: 0 5px;
}

[name="save_address"] {
  margin-top: 10px!important;
}

.woocommerce-error {
  font-size: 14px;
}

.woocommerce-EditAccountForm fieldset {
  margin-top: 30px;
  margin-bottom: 30px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation ul a {
  display: block;
  border: 2px solid #cb9e67;
  padding: 5px 10px;
}

.woocommerce-MyAccount-navigation .is-active a {
  background-color: #cb9e67;
  color: #fff;
}

#order_review_heading {
  margin-top: 20px;
}

.woocommerce ul.order_details {
  padding: 0;
}

.woocommerce ul.order_details li {
  margin-bottom: 10px;
}

.woocommerce-order .woocommerce-customer-details .woocommerce-column {
  margin-bottom: 20px;
}

.woocommerce-order .woocommerce-customer-details .woocommerce-column__title {
  margin-bottom: 10px;
}

.woocommerce-column address {
  line-height: 1.7;
}

.img-magnifier-glass {
  position: absolute;
  border: 4px double #cb9e67;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 120px;
  height: 120px;
}

.woocommerce-product-search {
  background: #eceeef;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  overflow: hidden;
  border: 0 solid transparent;
  min-height: 50px;
  border-radius: 3px;
}

.woocommerce-product-search .search-field {
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  background: none;
  line-height: 1;
  min-width: 0;
  font-size: 15px;
  -webkit-appearance: none;
  color: #333333;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  -webkit-transition: color .2s;
  -o-transition: color .2s;
  transition: color .2s;
  padding: 0 10px;
}

.woocommerce-product-search button::before {
  font-size: 16px;
  content: "\f002";
}

.woocommerce-product-search button {
  font-size: 0;
  min-width: 50px;
  background-color: #333333;
  color: #fff;
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

@media screen and (max-width:1024px) {
  .woocommerce ul.order_details li {
    width: 100%;
    border-right: 0;
    padding: 0;
  }
}
