/**
Theme Name: Astra Child
Author: Ester Puzzangaro
Author URI: https://api.whatsapp.com/send?phone=393314244866
Description: Astra child theme for Arredotop
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
.woocommerce-js div.product table.variations > tbody > tr > td.value {
  max-height: 0px;
  overflow: hidden;
  visibility: hidden;
  transition: all 0.6s ease;
}

.woocommerce-js
  div.product
  table.variations
  > tbody
  > tr
  > td.value.variations-visibled {
  max-height: 1000px;
  overflow: unset;
  visibility: visible;
  margin-bottom: 20px;
}

.woocommerce-js div.product table.variations > tbody > tr > th.label {
  padding: 15px 12px;
  background: #fefefe;
  margin-bottom: 10px;
  display: flex;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.woo-variation-swatches.wvs-show-label
  .variations
  td
  .woo-selected-variation-item-name,
.woo-variation-swatches.wvs-show-label
  .variations
  th
  .woo-selected-variation-item-name {
  font-size: 14px;
  font-weight: 400;
  background: #ede7e2;
  color: #a6866a;
  padding: 0 10px;
  border-radius: 3px;
  margin-left: auto;
}

.woocommerce-js div.product form.cart .variations label {
  display: flex;
  gap: 10px;
}
.woocommerce-js
  div.product
  form.cart
  .variations
  label
  > span.attribute_label_number {
  color: #261B14;
  font-size:20px;
}
.forma-selector {
  padding-bottom: 30px 0;
}
.forma-selector-items {
  display: grid;
  justify-content: space-between;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.forma-selector-item {
  border: 1px solid #c1c1b6;
  border-radius: 4px;
  background-color: white;
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.forma-selector-square {
  width: 30px;
  height: 30px;
  border: 1px solid #222;
}
.forma-selector-rectangle {
  width: 35px;
  height: 25px;
  border: 1px solid #222;
}
.forma-selector-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #222;
}
.forma-selector-item.selected {
  border: 2px solid #222;
}
.forma-selector-item-label-text {
  color: #261B14;
  font-size: 14px;
}
.postid-13735 .elementor-widget-woocommerce-product-title,
.postid-13735 .elementor-widget-woocommerce-product-price,
.postid-13735 .elementor-element-50091e3 {
  display: none;
}

.attribute_label_icon {
  order: 3;
  transition: all 0.3s;
  transform: rotate(-180deg);
}
.attribute_label_icon.open {
  transform: rotate(0deg);
}
.forma-selector-item-label {
  line-height: 1;
}

.woo-variation-swatches
  .wvs-style-squared.variable-items-wrapper
  .variable-item:not(.radio-variable-item) {
  box-shadow: none !important;
  border: 1px solid #ede7e2 !important;
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  width: calc(33.3% - 8px) !important;
}

.woo-variation-swatches
  .variable-items-wrapper[data-attribute_name="attribute_pa_forma-del-bordo"]
  .variable-item
  .variable-item-contents,
.woo-variation-swatches
  .variable-items-wrapper[data-attribute_name="attribute_pa_aggiungi-una-base"]
  .variable-item
  .variable-item-contents {
  padding: 8px;
}

.woo-variation-swatches
  .wvs-style-squared.variable-items-wrapper[data-attribute_name="attribute_pa_forma-del-bordo"]
  .variable-item:not(.radio-variable-item) {
  width: calc(50% - 6px) !important;
}

.woo-variation-swatches
  .wvs-style-squared.variable-items-wrapper[data-attribute_name="attribute_pa_aggiungi-una-base"]
  .variable-item:not(.radio-variable-item) {
  min-height: 60px;
}

.woo-variation-swatches
  .variable-items-wrapper
  .variable-item:not(.radio-variable-item).color-variable-item.selected:not(
    .no-stock
  )
  .variable-item-contents::before,
.woo-variation-swatches
  .variable-items-wrapper
  .variable-item:not(.radio-variable-item).image-variable-item.selected:not(
    .no-stock
  )
  .variable-item-contents::before {
  border: 2px solid #261b14 !important;
  background: none !important;
}

@media (max-width: 767px) {
  #configuratore,
  .elementor-element-ebdbb5c,
  .elementor-element-38f066d0,
  .elementor-element-38f066d0 > div:nth-child(1),
  .elementor-add-to-cart,
  .variations_form,
  .variations_form > div:nth-child(1) {
    display: contents;
  }
  .elementor-element-697fef5 {
    order: 2;
  }
  .single_variation_wrap {
    order: 3;
  }
  .variations {
    order: 1;
    margin-top: -20px;
  }
  .elementor-element-93ff291 {
    order: 3;
  }
  .elementor-element-0d11d3c {
    order: 4;
  }
  .elementor-element-90407ad {
    order: 5;
  }
  #su > div:nth-child(1) {
    padding: 10px;
	      background-color: #fbf9f6;

  }
  .elementor-2478 .elementor-element.elementor-element-697fef5 {
    margin-top: 60px;
	order: 2;
  }
  .reset_variations {
	order: 1!important;	  
  }
	#configuratore,
	.elementor-element-a399804,
	.elementor-element-d967cf7,
	.elementor-element-d967cf7 > div:nth-child(1),
	.elementor-add-to-cart,
	.variations_form,
	.elementor-element-3fcf86b,
	.variations_form > div:nth-child(1) {
		display: contents;
	}
	.elementor-element-f787493{
		order: 6;
	}
	.elementor-element-3bbdb11{
		order: 7;
	}
	.elementor-element-e6e86d9{
		order: 8;
	}
	.elementor-element-ef3de1f{
		order: 9;
	}
	.elementor-element-2abc4a8{
		order: 2;
	}
}

@media (max-width: 768px) {
.elementor-41353 .elementor-element.elementor-element-952d160:not(.elementor-motion-effects-element-type-background), .elementor-41353 .elementor-element.elementor-element-952d160 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #FBF9F6 !important;
	padding-right:10px;
	padding-left:10px;
  }
}

/* Nasconde la 6ª riga delle variazioni (colore base) */
.woocommerce-js div.product table.variations > tbody > tr:nth-child(6) {
  display: none !important;
}
/* Nasconde la riga dell'attributo "colore base" ovunque (desktop + mobile) */
.variations_form .variations tr[data-attribute_name="attribute_pa_colore-base"] {
  display: none !important;
}
