/*
 Theme Name:   GF Profumi Child
 Description:  Theme GF Profumi Child
 Author:       The Space
 Author URI:   https://thespacesm.com/
 Template:     gf-profumi
 Version:      1.0.0
 Text Domain:  gf-profumi
*/

#cmplz-document {max-width:100%!important}
.grecaptcha-badge { visibility: hidden; }

/* HEADER */

.wd-hb-wrapp{
    display: none !important;
}

.wd-nav-img {
    width: 21px;
    height: 21px;
    max-height: 21px;
    margin-inline-end: 5px;
}

.menu-item-26268 .woodmart-nav-link{
    gap: 10px !important;
    color: #940F4E !important;
    font-weight: 700 !important;
}

.menu-item-26268 img{
    order: 2 !important;
}

.wd-nav-mobile>li>ul .menu-item-26268 .woodmart-nav-link {gap: 10px !important;
    color: #940F4E !important;
    font-weight: 700 !important;
}

.wd-sub-menu #menu-item-26268 li>a img{
    order: 2 !important;
}

/* HOME */

.wd-brand-item {
    width: 100%;
    padding: 10px !important;
}

.wd-brands {
    --wd-brand-img-height: 110px !important;
}

.wd-product-wrapper img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.wd-carousel[data-autoheight="yes"] .wd-carousel-wrap {
  height: auto !important;
  align-items: stretch !important;
}

.wd-carousel .wd-carousel-item {
  height: auto !important;
  display: flex !important;
}

.wd-carousel .wd-info-box {
  height: 100% !important;
  width: 100%;
}

.sib-form {
    text-align: unset !important;
    background-color: unset !important;
	padding: 0px !important;
}

#sib-container{
	background-color: unset !important;
	padding: 0px !important;
    border-style: none !important;
	text-align: unset !important;
}

.sib-input .entry__field{
    border-radius: 30px !important;
    padding: 5px 15px !important;
    border: none !important;
}

.sib-form-block .btn{
    margin-top: 10px !important
}

.entry_errored .entry__error{
    font-size: 14px !important;
	background-color: unset !important;
}

.sib-form-message-panel{
margin-bottom: 10px !important;
}

@media (max-width: 767px) {
.sib-input, .sib-form-block, .sib-optin{
    padding: 0px !important;
}
}

.product-label.out-of-stock {
    color: #fff !important;
}

/* RISULTATI RICERCA */
/* SEARCH RESULTS WOODMART - stile card */

.wd-search-full-screen .wd-search-results {
    padding-top: 0px !important;
}

.wd-search-suggestions .wd-suggestions-group {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 24px 32px;
  background: #f6f7f8;
}

.wd-search-suggestions .wd-suggestion {
  display: block !important;
  position: relative;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  min-height: 320px;
}

.wd-search-suggestions .wd-suggestion-thumb {
  width: 100% !important;
  height: 210px;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-search-suggestions .wd-suggestion-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wd-search-suggestions .wd-suggestion-content {
  padding: 0;
}

.wd-search-suggestions .wd-entities-title {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.wd-search-suggestions .wd-entities-title strong {
  font-weight: 400;
}

.wd-search-suggestions .price {
  font-size: 16px;
  font-weight: 700;
  color: #9b003f;
  margin: 0;
}

/* Link cliccabile sopra tutta la card */
.wd-search-suggestions .wd-fill {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Pulsante view all */
.wd-search-suggestions .wd-all-results {
  display: block;
  text-align: center;
  padding: 18px;
  background: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
  .wd-search-suggestions .wd-suggestions-group {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .wd-search-suggestions .wd-suggestions-group {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    gap: 14px;
  }

  .wd-search-suggestions .wd-suggestion-thumb {
    height: 170px;
  }
}

/* PAGINA CATEGORIA */
.wd-popup-quick-view-wrap .wd-product-brands, .wd-popup-quick-view-wrap .shop_attributes, .wd-popup-quick-view-wrap .sku_wrapper{
display: none !important;
}

.elementor-widget-wd_sidebar .widget-title {
    font-weight: 700 !important;
}

/* PAGINA PRODOTTO */

.aggiungi-penne .out-of-stock{
    margin-bottom: 10px !important;
}

.wd-sticky-btn .wd-sticky-add-to-cart{
    display: none;
}

@media (max-width: 767px) {

	/* Mantiene il pulsante nel DOM per non far sparire la sticky bar */
	.wd-sticky-btn .wd-sticky-add-to-cart {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		clip-path: inset(50%) !important;
	}

    .wd-sticky-btn {
    background-color: #fff !important;
    }

	/* Mantiene visibile e ordinato il contenitore */
	.wd-sticky-btn .wd-sticky-btn-cart {
		position: relative;
		display: flex !important;
		align-items: center;
		gap: 10px;
        justify-content: center;
	}

	/* Fa occupare più spazio ad Acquista ora */
	.wd-sticky-btn .wd-buy-now-btn {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
	}
}

.single-product
.variations_form:has(.woocommerce-variation-availability .out-of-stock)
.woocommerce-variation-add-to-cart {
	display: none !important;
}

.wd-wtl-form {
    border: 1px solid var(--brdcolor-gray-300) !important;
    margin-top: 0px !important;
}

.wd-wtl-form p {
    font-size: 99.5% !important;
}

.wd-wtl-form .wd-wtl-form-fields, .wd-wtl-unsubscribe {
    margin-top: 10px;
}

@media (max-width: 768px) {
.wd-wtl-form {
    padding: 15px !important;
  }
}

.woocommerce-product-gallery__image img{
    max-height: 450px;
}
.wd-carousel .wd-carousel-item {
    justify-content: center;
}

p.stock.wd-style-default:is( .available-on-backorder,.in-stock) {
    color: #008c0d;
}

p.stock.wd-style-default.in-stock:before {
    color: #008c0d;
}

.wd-single-visitor-count .wd-product-info.wd-style-with-bg {
    padding: 5px 10px;
    border-radius: 20px
}

.wd-single-visitor-count .wd-info-msg{
    font-size: 12px;
}

.wd-single-visitor-count .wd-info-number{
    font-size: 12px;
}

.wd-single-visitor-count{
width: fit-content !important;
}

.wd-product-info.wd-style-with-bg:before {
    border-radius: 20px !important;
}

.wd-accordion-item {
    border-top: 1px !important;
}

/* CONTATTI */
/* modulo */
.wpcf7 .cont1 {
    display: grid;
    grid-auto-flow: column;
    gap: 30px;
    margin-bottom: 20px;
    }

.wpcf7 .cont2 {
    display: grid;
}

.modulo2{
    margin-bottom: 20px;
        margin-top: 20px;
}

.wpcf7-select{
      margin-top: 10px;
      }

.wpcf7-textarea {
      margin-top: 10px;
    border-radius: 10px !important;
    border-color: #dbdbdb;
    background-color: unset;
    padding: 10px 0px;
}

.wpcf7-form-control-wrap input {
    border-width: 0px 0px 1px 0px;
    border-radius: 0px;
    border-color: #dbdbdb;
    background-color: unset;
    padding: 10px 0px;
}

.wpcf7-list-item-label {
    font-size: 12px;
    color: #5b5b5b;
}

.wpcf7-list-item {
    margin: 0px;
    padding-bottom: 20px;
}

.wpcf7-submit {
    border: none;
    color: #000;
    text-transform: uppercase;
    padding: 7px 20px;
    text-align: left;
}

.wpcf7-submit:hover {
    background-color: unset;
    color: unset;
    text-decoration: revert;
}

.wpcf7-submit:focus {
    background-color: unset;
    color: unset;
    text-decoration: revert;
}

.wpcf7-not-valid-tip{
    font-size: 12px;
}

.wpcf7-response-output{
    border: none !important;
    background-color: #e8e8e8 !important;
    font-weight: 500;
    color: #000 !important;
    font-size: 12px;
    margin-top: 10px !important;
}

input:-internal-autofill-selected {
    background-color: #fff !important
}

input:focus-visible {
    outline: none !important
}

textarea:focus-visible {
    outline: none !important
}

.wpcf7 .cont1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .wpcf7 .cont1 {
        grid-template-columns: 1fr !important;
        gap: 20px;
        grid-auto-flow: row
    }
}

/* CARRELLO */
.return-to-shop {
    margin-top: 30px !important;
}

/* RESI */

.cf7-reso-form div {
    margin-top: 10px;
}

.cf7-section-title {
    margin-top: 20px;
    color: #000;
}