/*
Theme Name:     Nelle Mani di Martina
Theme URI:      https://hubicmarketing.it/
Template:       neve
Author:         Hubic
Author URI:     https://hubicmarketing.it/
Description:    Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
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:    hubic
Tags: blog, custom-logo, e-commerce, rtl-language-support, post-formats, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/

/* -------------------------------------------------------------------------- */
/* Settings                                                                   */
/* -------------------------------------------------------------------------- */

:root {
  --nmdm-color-cream: #f6f3f1;
  --nmdm-color-taupe: #a8917f;
  --nmdm-color-brown: #62564d;
  --nmdm-color-white: #ffffff;
  --nmdm-transition-fast: 180ms ease;
  --nmdm-transition-link: 0.3s ease;
}

/* -------------------------------------------------------------------------- */
/* Elementor helpers                                                          */
/* -------------------------------------------------------------------------- */

.button-arrow-big .elementor-button-content-wrapper {
  align-items: center;
}

.button-arrow-big .elementor-button-icon svg {
  width: 1.5rem;
}

.secondary-button > a:hover svg path {
  fill: var(--nmdm-color-cream);
}

.num-style-garamond *{
    font-family: 'Cormorant Garamond', serif;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

.carousel-no-line-height .swiper .swiper-slide figure{
  line-height: 0!important;
}

.carousel-custom-navigation .elementor-swiper-button.elementor-swiper-button-next,
.carousel-custom-navigation .elementor-swiper-button.elementor-swiper-button-prev{
  background-color: #A18874;
  border-radius: 0.25rem;
  padding: 0.625rem;
  top: unset !important;
  bottom: 1.25rem;
}

.price-starting-from{font-size: 12px}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.footer-widget img.logo-footer {
  display: inline-block;
  width: 100%;
  max-width: 8.0625rem;
  margin-bottom: 1.5rem;
}

.footer-widget p {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer-widget p:last-child {
  margin-bottom: 0;
}

.footer-widget a {
  text-decoration: none;
  transition: opacity var(--nmdm-transition-link);
}

.footer-widget a:hover,
.footer-credits a:hover {
  opacity: 0.8;
}

.footer-widget a[href^="mailto:"] {
  text-decoration: underline;
}

.footer-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.875rem;
  width: 21.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.footer-image-grid .image-grid__item img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-credits {
  font-size: 0.875rem;
  text-align: center;
}

.footer-credits a {
  text-decoration: underline;
  transition: opacity var(--nmdm-transition-link);
}

/* -------------------------------------------------------------------------- */
/* Accordion card                                                             */
/* -------------------------------------------------------------------------- */

.nmdm-accordion {
  --nmdm-accordion-bg: var(--nmdm-color-taupe);
  --nmdm-accordion-border: var(--nmdm-color-taupe);
  --nmdm-accordion-text: var(--nmdm-color-brown);
  --nmdm-accordion-light: var(--nmdm-color-white);

  display: grid;
  gap: 1.875rem;
  width: min(100%, 878px);
  margin: 0 auto;
  color: var(--nmdm-accordion-text);
}

.nmdm-accordion-card {
  overflow: hidden;
  background: transparent;
  border: 1.5px solid var(--nmdm-accordion-border);
  border-radius: 2.5rem;
  transition:
    background-color var(--nmdm-transition-fast),
    border-color var(--nmdm-transition-fast);
}

.nmdm-accordion-card:not(.is-open) {
  background: var(--nmdm-accordion-bg);
  border-color: var(--nmdm-accordion-bg);
  border-radius: 62.4375rem;
}

.nmdm-accordion-card__heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.nmdm-accordion-card__button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  gap: 0.625rem;
  align-items: center;
  width: 100%;
  padding: 1.25rem 1.5rem;
  color: var(--nmdm-accordion-text);
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: inherit;
  appearance: none;
  cursor: pointer;
}

.nmdm-accordion-card:not(.is-open) .nmdm-accordion-card__button {
  color: var(--nmdm-accordion-light);
}

.nmdm-accordion-card__button:focus-visible {
  outline: 3px solid rgba(168, 145, 127, 0.35);
  outline-offset: 0.25rem;
}

.nmdm-accordion-card__title {
  min-width: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.nmdm-accordion-card__icon {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.nmdm-accordion-card__icon::before,
.nmdm-accordion-card__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 0.125rem;
  background: currentColor;
  border-radius: 62.4375rem;
  transform: translate(-50%, -50%);
  transition: transform var(--nmdm-transition-fast);
}

.nmdm-accordion-card__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.nmdm-accordion-card.is-open .nmdm-accordion-card__icon::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nmdm-accordion-card.is-open .nmdm-accordion-card__icon::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nmdm-accordion-card__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.nmdm-accordion-card__panel p {
  max-width: 46.5625rem;
  color: var(--nmdm-accordion-text);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* Landing page form                                                          */
/* -------------------------------------------------------------------------- */

.landing-page-form-wrapper {
  --nmdm-form-text: #615246;
  --nmdm-form-placeholder: #816d5d;
  --nmdm-form-muted: #d6c6bb;
  --nmdm-form-border: #ece7e3;
  --nmdm-form-border-active: #a18874;
  --nmdm-form-bg: var(--nmdm-color-white);
  --nmdm-form-submit-bg: #a18874;
  --nmdm-form-submit-text: var(--nmdm-color-white);
  --nmdm-form-submit-hover-bg: #816d5d;
  --nmdm-form-gap-x: 2rem;
  --nmdm-form-gap-y: 1.25rem;

  color: var(--nmdm-form-text);
}

.landing-page-form-wrapper *,
.landing-page-form-wrapper *::before,
.landing-page-form-wrapper *::after {
  box-sizing: border-box;
}

.landing-page-form-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--nmdm-form-gap-x);
  row-gap: var(--nmdm-form-gap-y);
  align-items: start;
  margin: 0;
}

/* Contact section form content from Figma node 26:3368. */
.wpcf7-form:has(.landing-page-form-wrapper) {
  box-sizing: border-box;
  width: min(100%, 33.8125rem);
  margin: 0 auto;
  padding: 1.375rem 1.4375rem;
  background: #f7f4f1;
}

/* .wpcf7-form:has(.landing-page-form-wrapper)::before {
  display: block;
  margin: 0 0 1.25rem;
  color: #816d5d;
  content: "Compila il form con la tua richiesta";
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
} */

/* The same heading is rendered above the shortcode in Elementor. */
.elementor-element-38b7c54 > .elementor-element-ca1ed19 {
  display: none;
}

.landing-page-form-wrapper > p,
.landing-page-form-wrapper > div {
  min-width: 0;
  margin: 0;
}

.landing-page-form-wrapper > div > p {
  min-width: 0;
  margin: 0;
}

.landing-page-form-wrapper > p > br {
  display: none;
}

.landing-page-form-wrapper > p:has(textarea),
.landing-page-form-wrapper > p:has(.wpcf7-acceptance),
.landing-page-form-wrapper > p:has(.wpcf7-submit),
.landing-page-form-wrapper > div:has(textarea),
.landing-page-form-wrapper > div:has(.wpcf7-acceptance),
.landing-page-form-wrapper > div:has(.wpcf7-submit),
.landing-page-form-wrapper .wpcf7-response-output,
.landing-page-form-wrapper .nmdm-form-field--full {
  grid-column: 1 / -1;
}

.landing-page-form-wrapper > p:has(.wpcf7-submit),
.landing-page-form-wrapper > div:has(.wpcf7-submit) {
  margin-top: 0;
  text-align: center;
}

.landing-page-form-wrapper > div:has(.wpcf7-submit) > p {
  text-align: center;
}

.landing-page-form-wrapper label {
  display: grid;
  gap: 0.6875rem;
  margin: 0;
  color: var(--nmdm-form-text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.landing-page-form-wrapper label > br {
  display: none;
}

.landing-page-form-wrapper .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--nmdm-form-text);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.45;
}

.landing-page-form-wrapper .wpcf7-acceptance input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.0625rem 0 0;
  accent-color: var(--nmdm-form-submit-bg);
}

.landing-page-form-wrapper .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.landing-page-form-wrapper .wpcf7-acceptance a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.landing-page-form-wrapper .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.landing-page-form-wrapper input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.landing-page-form-wrapper textarea,
.landing-page-form-wrapper select {
  width: 100%;
  min-height: 3.4375rem;
  padding: 1.125rem 1rem;
  color: var(--nmdm-form-placeholder);
  font-family: "Montserrat", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.56;
  background: var(--nmdm-form-bg);
  border: 1px solid var(--nmdm-form-border);
  border-radius: 0.375rem;
  box-shadow: none;
  outline: 0;
  transition:
    border-color var(--nmdm-transition-fast),
    box-shadow var(--nmdm-transition-fast);
  appearance: none;
}

.landing-page-form-wrapper textarea {
  height: 5.75rem;
  padding: 1rem;
  border-color: #f1f3f7;
  border-radius: 0.375rem;
  resize: vertical;
}

.landing-page-form-wrapper input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"])::placeholder,
.landing-page-form-wrapper textarea::placeholder {
  color: var(--nmdm-form-muted);
  opacity: 1;
}

.landing-page-form-wrapper input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.landing-page-form-wrapper textarea:focus,
.landing-page-form-wrapper select:focus {
  border-color: var(--nmdm-form-border-active);
  box-shadow: none;
}

.landing-page-form-wrapper .wpcf7-not-valid {
  border-color: #b94a48 !important;
}

.landing-page-form-wrapper .wpcf7-not-valid-tip {
  margin-top: 0.5rem;
  color: #b94a48;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
}

.landing-page-form-wrapper .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.75rem 3rem 0.75rem 0.75rem;
  color: var(--nmdm-form-submit-text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background-color: var(--nmdm-form-submit-bg);
  background-image: url("assets/icons/arrow-right-white.svg");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5rem 1.5rem;
  border: 0;
  border-radius: 0.25rem;
  box-shadow: none;
  cursor: pointer;
  transition:
    color var(--nmdm-transition-fast),
    background-color var(--nmdm-transition-fast),
    border-color var(--nmdm-transition-fast);
  appearance: none;
}

.landing-page-form-wrapper .wpcf7-submit:hover,
.landing-page-form-wrapper .wpcf7-submit:focus-visible {
  color: var(--nmdm-form-submit-text);
  background-color: var(--nmdm-form-submit-hover-bg);
  border-color: var(--nmdm-form-submit-hover-bg);
}

.landing-page-form-wrapper .wpcf7-submit:focus-visible {
  outline: 3px solid rgba(168, 145, 127, 0.35);
  outline-offset: 0.25rem;
}

.landing-page-form-wrapper .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.landing-page-form-wrapper .wpcf7-spinner {
  margin: 10px auto 0 auto;
  display: block;

}

.wpcf7-response-output {
  margin: 0;
  padding: 0.875rem 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.45;
  border-radius: 1rem;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Minicart                                                                   */
/* -------------------------------------------------------------------------- */
.item--inner.builder-item--header_cart_icon .responsive-nav-cart.menu-item-nav-cart.dropdown a.button{
  font-size: 14px;
  padding: 10px !important;
}

/* Nasconde il contenitore su tutte le pagine */
.header--row.header-bottom.layout-full-contained {
  display: none !important;
}

/* Mostra il contenitore negli archivi WooCommerce */
body.post-type-archive-product .header--row.header-bottom.layout-full-contained,
body.tax-product_cat .header--row.header-bottom.layout-full-contained,
body.tax-product_tag .header--row.header-bottom.layout-full-contained,
body.single-product .header--row.header-bottom.layout-full-contained {
  display: block !important;
}

.woocommerce-mini-cart-item.mini_cart_item .variation{
  display: none;
}

.woocommerce-cart-form__cart-item.cart_item dl.variation dt{
  font-weight: bold;
}

/* -------------------------------------------------------------------------- */
/* Prodotto singolo                                                           */
/* -------------------------------------------------------------------------- */
.woocommerce.single .entry-summary>form.cart {
  display: block;
}

.woocommerce.single .pkset-options .pkset-section{
  overflow: unset;
}

.woocommerce.single .pkset-toast{
  color: red;
  margin-top:10px;
  display: none;
}

.woocommerce.single .pkset-toast.pkset-toast--visible{
  display: block;
}

/* Banner top */
.woocommerce-store-notice__dismiss-link{display: none;}
.woocommerce-store-notice.demo_store{
  top:unset!important;
  bottom: 0;
  background-color: #000;
  font-size: 14px;
  position: fixed;
  padding-left: 15px;
  padding-right: 15px;
}

/* Contenitore principale dello slider */
.single-product .woocommerce-product-gallery .flex-viewport {
  aspect-ratio: 1 / 1;
  height: auto !important;
  overflow: hidden;
}

/* Ogni slide occupa l'altezza del quadrato */
.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

/* Link che riempie tutta la slide */
.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a {
  position: absolute;
  inset: 0;
  display: block;
}

/* Immagine principale quadrata */
.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .footer-widget img.logo-footer {
    max-width: 5.9375rem;
  }

  .footer-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 12.5rem;
  }

  .nmdm-accordion {
    gap: 1.25rem;
  }

  .nmdm-accordion-card {
    border-radius: 1.75rem;
  }

  .nmdm-accordion-card__button {
    min-height: 4.5rem;
    gap: 1.125rem;
    padding: 1.125rem 1.375rem 1.125rem 1.5rem;
  }

 /* .nmdm-accordion-card__title {
    font-size: 1.125rem;
  }*/

  /*.nmdm-accordion-card__panel p {
    margin: -0.125rem 1.5rem 1.5rem;
    font-size: 1rem;
  }*/

  .landing-page-form-wrapper {
    --nmdm-form-gap-x: 2rem;
    --nmdm-form-gap-y: 1.125rem;
  }

  .landing-page-form-wrapper {
    grid-template-columns: 1fr;
  }

  .landing-page-form-wrapper > p,
  .landing-page-form-wrapper > div,
  .landing-page-form-wrapper .wpcf7-response-output,
  .landing-page-form-wrapper .nmdm-form-field--full {
    grid-column: 1;
  }

  .landing-page-form-wrapper .wpcf7-submit {
    width: 100%;
  }
}

/* Use the exact contact image from the referenced Figma node. */
.elementor .e-73d6098-a04067e {
  content: url("../../uploads/2026/10/contact-background-figma.jpeg");
  object-position: center center;
}

@media (max-width: 479px) {
  .landing-page-form-wrapper {
    --nmdm-form-gap-y: 1rem;
  }

  .landing-page-form-wrapper label {
    gap: 0.5625rem;
    font-size: 0.875rem;
  }

  .landing-page-form-wrapper .wpcf7-acceptance label {
    font-size: 0.625rem;
  }

  .landing-page-form-wrapper input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .landing-page-form-wrapper textarea,
  .landing-page-form-wrapper select {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

/* Keep the form in two columns on small tablet-sized viewports. */
@media (min-width: 576px) and (max-width: 767px) {
  .landing-page-form-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-page-form-wrapper > p,
  .landing-page-form-wrapper > div,
  .landing-page-form-wrapper .wpcf7-response-output,
  .landing-page-form-wrapper .nmdm-form-field--full {
    grid-column: auto;
  }

  .landing-page-form-wrapper > p:has(textarea),
  .landing-page-form-wrapper > p:has(.wpcf7-acceptance),
  .landing-page-form-wrapper > p:has(.wpcf7-submit),
  .landing-page-form-wrapper > div:has(textarea),
  .landing-page-form-wrapper > div:has(.wpcf7-acceptance),
  .landing-page-form-wrapper > div:has(.wpcf7-submit),
  .landing-page-form-wrapper .wpcf7-response-output,
  .landing-page-form-wrapper .nmdm-form-field--full {
    grid-column: 1 / -1;
  }

  .landing-page-form-wrapper .wpcf7-submit {
    width: 5.125rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Accessibility                                                              */
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .nmdm-accordion-card,
  .nmdm-accordion-card__icon::before,
  .nmdm-accordion-card__icon::after,
  .nmdm-accordion-card__panel {
    transition: none;
  }
}
