.p2f-wrap { display: flex; justify-content: flex-start; }
/* 2P Favorites 0.2.1. Styles are scoped to .p2f-* components. */
.p2f-button {
  --p2f-icon-size: 23px;
  --p2f-touch-size: 44px;
  --p2f-gap: 8px;
  --p2f-speed: 180ms;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  gap: var(--p2f-gap);
  min-width: var(--p2f-touch-size);
  min-height: var(--p2f-touch-size);
  padding: 8px;
  font-family: var(--e-global-typography-text-font-family, 'Instrument Sans'), sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--p2f-speed) ease, background-color var(--p2f-speed) ease,
              border-color var(--p2f-speed) ease, transform var(--p2f-speed) ease;
}
/*
 * The Elementor Kit can style *all* HTML buttons, including :hover/:focus.
 * Those rules were overriding a transparent state in the Favorites widget.
 * Repeating the component class gives these rules higher specificity than
 * .elementor-kit-<id> button:hover without using !important.
 * Elementor control values are CSS custom properties on the same button.
 * An unset Hover/Preferito background inherits Normale, not the Kit's button.
 */
.p2f-button.p2f-button {
  color: var(--p2f-color-normal, var(--e-global-color-primary, #010101));
  background-color: var(--p2f-bg-normal, transparent);
  background-image: none;
  border-color: var(--p2f-border-normal, transparent);
}
.p2f-button.p2f-button:focus {
  color: var(--p2f-color-normal, var(--e-global-color-primary, #010101));
  background-color: var(--p2f-bg-normal, transparent);
  background-image: none;
  border-color: var(--p2f-border-normal, transparent);
}
.p2f-button.p2f-button:hover,
.p2f-button.p2f-button:active {
  color: var(--p2f-color-hover, var(--p2f-color-normal, var(--e-global-color-76f00da, #8D75BC)));
  background-color: var(--p2f-bg-hover, var(--p2f-bg-normal, transparent));
  background-image: none;
  border-color: var(--p2f-border-hover, var(--p2f-border-normal, transparent));
}
.p2f-button.p2f-button[aria-pressed="true"],
.p2f-button.p2f-button[aria-pressed="true"]:hover,
.p2f-button.p2f-button[aria-pressed="true"]:active,
.p2f-button.p2f-button[aria-pressed="true"]:focus {
  color: var(--p2f-color-active, var(--e-global-color-76f00da, #8D75BC));
  background-color: var(--p2f-bg-active, var(--p2f-bg-normal, transparent));
  background-image: none;
  border-color: var(--p2f-border-active, var(--p2f-border-normal, transparent));
}
.p2f-button:focus-visible {
  outline: 2px solid var(--e-global-color-accent, #CDBCE8);
  outline-offset: 3px;
}
.p2f-button:disabled {
  cursor: wait;
  opacity: .65;
}
.p2f-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: var(--p2f-icon-size);
  line-height: 1;
}
.p2f-icon svg,
.p2f-icon .e-font-icon-svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.p2f-icon-off svg[fill="none"] {
  fill: none;
}
.p2f-icon i {
  font-size: 1em;
  line-height: 1;
}
.p2f-icon-on,
.p2f-text-on {
  display: none;
}
.p2f-button[aria-pressed="true"] .p2f-icon-off,
.p2f-button[aria-pressed="true"] .p2f-text-off {
  display: none;
}
.p2f-button[aria-pressed="true"] .p2f-icon-on {
  display: inline-flex;
}
.p2f-button[aria-pressed="true"] .p2f-text-on {
  display: inline;
}
.p2f-icon-off .p2f-symbol,
.p2f-icon-on .p2f-symbol {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
}
.p2f-button[data-p2f-loading="1"] .p2f-icon {
  opacity: .6;
}
.p2f-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147481000;
  max-width: 340px;
  padding: 12px 16px;
  background: var(--e-global-color-8760ec1, #F7F2F4);
  color: var(--e-global-color-primary, #010101);
  border: 1px solid var(--e-global-color-8e6d7c0, #DDD6DA);
  border-radius: 10px;
  font: 400 14px/1.4 var(--e-global-typography-text-font-family, 'Instrument Sans'), sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
}
.p2f-toast[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .p2f-button { transition: none; }
}

/* 2P Favorites 0.2.2 - List layout. Inherit the site's Elementor Kit. */
.p2f-list {
  --p2f-photo-size: 132px;
  --p2f-photo-bg: var(--e-global-color-8760ec1, #F7F2F4);
  --p2f-photo-radius: 8px;
  --p2f-columns: 2;
  --p2f-card-column-gap: 28px;
  --p2f-card-row-gap: 12px;
  --p2f-actions-width: 186px;
  --p2f-actions-direction: column;
  --p2f-actions-align: stretch;
  --p2f-actions-button-width: 100%;
  --p2f-actions-gap: 8px;
  --p2f-heading-space: 22px;
  --p2f-detail-gap: 8px;
  --p2f-field-gap: 10px;
  --p2f-field-max: 285px;
  --p2f-field-height: 42px;
  --p2f-select-radius: 7px;
  --p2f-btn-radius: 7px;
  --p2f-btn-padding: 10px 14px;
  --p2f-separator-size: 1px;
  --p2f-separator-color: var(--e-global-color-ffa355f, #E9E2E6);
  --p2f-counter-bg: var(--e-global-color-8760ec1, #F7F2F4);
  --p2f-counter-color: var(--e-global-color-76f00da, #8D75BC);
  --p2f-select-bg: var(--e-global-color-8760ec1, #F7F2F4);
  --p2f-select-border: var(--e-global-color-8e6d7c0, #DDD6DA);
  --p2f-select-color: var(--e-global-color-primary, #010101);
  --p2f-cart-bg: var(--e-global-color-primary, #010101);
  --p2f-cart-color: #fff;
  --p2f-cart-hover-bg: var(--e-global-color-76f00da, #8D75BC);
  --p2f-cart-hover-color: #fff;
  --p2f-remove-bg: transparent;
  --p2f-remove-color: var(--e-global-color-secondary, #555156);
  --p2f-remove-hover-bg: var(--e-global-color-8760ec1, #F7F2F4);
  --p2f-remove-hover-color: var(--e-global-color-primary, #010101);
  width: 100%;
  min-width: 0;
  color: var(--e-global-color-secondary, #555156);
  font-family: var(--e-global-typography-text-font-family, 'Instrument Sans'), sans-serif;
}
.p2f-list *, .p2f-list *::before, .p2f-list *::after { box-sizing: border-box; }
.p2f-list-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--p2f-heading-space);
}
.p2f-list-title {
  margin: 0;
  color: var(--e-global-color-primary, #010101);
  font: 600 clamp(21px, 2.5vw, 30px)/1.3 var(--e-global-typography-primary-font-family, 'Instrument Sans'), sans-serif;
}
.p2f-list-count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 28px;
  min-height: 28px;
  padding: 2px 8px;
  border-radius: 30px;
  background: var(--p2f-counter-bg);
  color: var(--p2f-counter-color);
  font-size: 13px;
  font-weight: 600;
}
.p2f-list-message { padding: 12px 0; font-size: 15px; line-height: 1.5; }
.p2f-list-message[hidden] { display: none; }
.p2f-list-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.p2f-list-card {
  display: grid;
  grid-template: "photo detail actions" auto / var(--p2f-photo-size) minmax(0, 1fr) var(--p2f-actions-width);
  align-items: start;
  column-gap: var(--p2f-card-column-gap);
  row-gap: var(--p2f-card-row-gap);
  min-width: 0;
  padding: 22px 0;
  margin: 0;
  border: 0;
  border-bottom: var(--p2f-separator-size) solid var(--p2f-separator-color);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}
.p2f-list--list .p2f-list-card:last-child { border-bottom-color: transparent; }
.p2f-list--list .p2f-list-card--no-image {
  grid-template: "detail actions" auto / minmax(0, 1fr) var(--p2f-actions-width);
}
.p2f-list-photo {
  grid-area: photo;
  align-self: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--p2f-photo-radius);
  background: var(--p2f-photo-bg);
}
.p2f-list-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.p2f-list-photo--preview { position: relative; }
.p2f-list-photo--preview::after {
  content: '';
  position: absolute;
  inset: 24%;
  border: 1px solid var(--e-global-color-e5ba35d, #C4BAC3);
  border-radius: 18px 18px 7px 7px;
}
.p2f-list-detail {
  grid-area: detail;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--p2f-detail-gap);
  min-width: 0;
  width: 100%;
}
.p2f-list-product-name {
  margin: 0;
  color: var(--e-global-color-primary, #010101);
  font: 600 18px/1.3 var(--e-global-typography-primary-font-family, 'Instrument Sans'), sans-serif;
}
.p2f-list-product-name a { color: inherit; text-decoration: none; }
.p2f-list-product-name a:hover { color: var(--e-global-color-76f00da, #8D75BC); }
.p2f-list-price { margin: 0; color: var(--e-global-color-primary, #010101); font-size: 16px; font-weight: 500; }
.p2f-list-price ins { text-decoration: none; }
.p2f-list-price del { color: var(--e-global-color-9a9a7d8, #8D878C); margin-right: 5px; }
.p2f-list-status { margin: 0; font-size: 13px; line-height: 1.4; }
.p2f-list-status[data-state="available"] { color: #4d7754; }
.p2f-list-status[data-state="unavailable"] { color: #a33f55; }
.p2f-list-status[data-state="neutral"] { color: var(--e-global-color-secondary, #555156); }
.p2f-list-fields {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p2f-field-gap);
  align-items: flex-end;
  width: 100%;
  margin-top: 4px;
}
.p2f-list-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 135px;
  max-width: var(--p2f-field-max);
  min-width: 0;
  font-size: 12px;
}
.p2f-list-field span { color: var(--e-global-color-secondary, #555156); font-weight: 500; }
.p2f-list .p2f-list-field select {
  appearance: auto;
  display: block;
  width: 100%;
  min-height: var(--p2f-field-height);
  padding: 9px 12px;
  background: var(--p2f-select-bg);
  background-image: none;
  border: 1px solid var(--p2f-select-border);
  border-radius: var(--p2f-select-radius);
  color: var(--p2f-select-color);
  font: 400 14px/1.4 var(--e-global-typography-text-font-family, 'Instrument Sans'), sans-serif;
}
.p2f-list .p2f-list-field select:focus-visible,
.p2f-list .p2f-list-actions button:focus-visible {
  outline: 2px solid var(--e-global-color-76f00da, #8D75BC);
  outline-offset: 2px;
}
.p2f-list-actions {
  grid-area: actions;
  display: flex;
  flex-direction: var(--p2f-actions-direction);
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: var(--p2f-actions-align);
  gap: var(--p2f-actions-gap);
  width: 100%;
  max-width: var(--p2f-actions-width);
  min-width: 0;
}
.p2f-list-actions button {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 0;
  width: var(--p2f-actions-button-width);
  padding: var(--p2f-btn-padding);
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--p2f-btn-radius);
  box-shadow: none;
  font-family: var(--e-global-typography-text-font-family, 'Instrument Sans'), sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
/* Higher specificity than Elementor Kit's global button hover/focus rules. */
.p2f-list .p2f-list-actions button.p2f-list-cart,
.p2f-list .p2f-list-actions button.p2f-list-cart:focus {
  background: var(--p2f-cart-bg);
  background-image: none;
  border-color: transparent;
  color: var(--p2f-cart-color);
}
.p2f-list .p2f-list-actions button.p2f-list-cart:not(:disabled):hover {
  background: var(--p2f-cart-hover-bg);
  color: var(--p2f-cart-hover-color);
}
.p2f-list .p2f-list-actions button.p2f-list-remove,
.p2f-list .p2f-list-actions button.p2f-list-remove:focus {
  background: var(--p2f-remove-bg);
  background-image: none;
  border-color: var(--e-global-color-8e6d7c0, #DDD6DA);
  color: var(--p2f-remove-color);
}
.p2f-list .p2f-list-actions button.p2f-list-remove:not(:disabled):hover {
  background: var(--p2f-remove-hover-bg);
  color: var(--p2f-remove-hover-color);
}
.p2f-list .p2f-list-actions button:disabled { opacity: .48; cursor: not-allowed; }
.p2f-list .p2f-list-actions button.p2f-list-remove:disabled { cursor: wait; }
.p2f-list--preview .p2f-list-card button,
.p2f-list--preview .p2f-list-card select { pointer-events: none; }
/* Grid cards are independent blocks and do not force a white background. */
.p2f-list--grid .p2f-list-items {
  grid-template-columns: repeat(var(--p2f-columns), minmax(0, 1fr));
  gap: 18px;
}
.p2f-list--grid .p2f-list-card {
  grid-template: "photo" auto "detail" 1fr "actions" auto / minmax(0,1fr);
  padding: 15px;
  border: 1px solid var(--p2f-separator-color);
  border-radius: 10px;
}
.p2f-list--grid .p2f-list-card--no-image {
  grid-template: "detail" 1fr "actions" auto / minmax(0,1fr);
}
.p2f-list--grid .p2f-list-photo { width: 100%; }
.p2f-list--grid .p2f-list-actions { max-width: 100%; }
@media (max-width: 1050px) {
  .p2f-list--list .p2f-list-card:not(.p2f-list-card--no-image) {
    grid-template: "photo detail" auto "photo actions" auto / var(--p2f-photo-size) minmax(0,1fr);
  }
  .p2f-list--list .p2f-list-card--no-image {
    grid-template: "detail" auto "actions" auto / minmax(0,1fr);
  }
}
@media (max-width: 650px) {
  .p2f-list { --p2f-photo-size: 96px; --p2f-card-column-gap: 14px; --p2f-card-row-gap: 12px; }
  .p2f-list--list .p2f-list-card:not(.p2f-list-card--no-image) {
    grid-template: "photo detail" auto "actions actions" auto / var(--p2f-photo-size) minmax(0,1fr);
  }
  .p2f-list--list .p2f-list-card--no-image {
    grid-template: "detail" auto "actions" auto / minmax(0,1fr);
  }
  .p2f-list-card { padding: 16px 0; }
  .p2f-list--list .p2f-list-actions { max-width: 100%; }
  .p2f-list-product-name { font-size: 16px; }
  .p2f-list--grid { --p2f-columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .p2f-list-actions button { transition: none; }
}

/* 2P Favorites 0.2.4 - Layout e isolamento Elementor */
.p2f-list--list {
  --p2f-info-direction:row;
  --p2f-inline-gap:18px;
  --p2f-inline-width:190px;
}
.p2f-list--list .p2f-list-detail {
  display:flex;
  flex-direction:var(--p2f-info-direction);
  flex-wrap:wrap;
  align-items:center;
  column-gap:var(--p2f-inline-gap);
  row-gap:var(--p2f-detail-gap);
}
.p2f-list--list .p2f-list-product-name {
  flex:1 1 180px;
  min-width:0;
}
.p2f-list--list .p2f-list-price,
.p2f-list--list .p2f-list-status {
  flex:0 0 auto;
  margin:0;
}
.p2f-list--list .p2f-list-fields {
  flex:0 1 var(--p2f-inline-width);
  width:var(--p2f-inline-width);
  max-width:100%;
  margin-top:0;
}
.p2f-list--list .p2f-list-field {
  flex:1 1 135px;
}
@media(max-width:1050px) {
  .p2f-list--list { --p2f-info-direction:column; }
  .p2f-list--list .p2f-list-product-name { flex-basis:auto; }
}
@media(max-width:650px) {
  .p2f-list--list .p2f-list-fields {
    width:100%;
    flex-basis:auto;
  }
}

/* Stati cuore indipendenti dai colori pulsanti Elementor */
.p2f-button.p2f-button {
  color:var(--p2f-color-normal,#010101)!important;
  background-color:var(--p2f-bg-normal,transparent)!important;
  border-color:var(--p2f-border-normal,transparent)!important;
  background-image:none!important;
}
.p2f-button.p2f-button:is(:hover,:focus,:active) {
  color:var(--p2f-color-hover,var(--p2f-color-normal,#8D75BC))!important;
  background-color:var(--p2f-bg-hover,var(--p2f-bg-normal,transparent))!important;
  border-color:var(--p2f-border-hover,var(--p2f-border-normal,transparent))!important;
}
.p2f-button.p2f-button[aria-pressed="true"],
.p2f-button.p2f-button[aria-pressed="true"]:is(:hover,:focus,:active) {
  color:var(--p2f-color-active,#8D75BC)!important;
  background-color:var(--p2f-bg-active,var(--p2f-bg-normal,transparent))!important;
  border-color:var(--p2f-border-active,var(--p2f-border-normal,transparent))!important;
}

/* Pulsanti carrello e rimozione */
.p2f-list .p2f-list-actions button.p2f-list-cart,
.p2f-list .p2f-list-actions button.p2f-list-cart:focus {
  background-color:var(--p2f-cart-bg,#010101)!important;
  color:var(--p2f-cart-color,#fff)!important;
  background-image:none!important;
}
.p2f-list .p2f-list-actions button.p2f-list-cart:not(:disabled):is(:hover,:focus-visible,:active) {
  background-color:var(--p2f-cart-hover-bg,#8D75BC)!important;
  color:var(--p2f-cart-hover-color,#fff)!important;
}
.p2f-list .p2f-list-actions button.p2f-list-remove,
.p2f-list .p2f-list-actions button.p2f-list-remove:focus {
  background-color:var(--p2f-remove-bg,transparent)!important;
  color:var(--p2f-remove-color,#555156)!important;
  background-image:none!important;
}
.p2f-list .p2f-list-actions button.p2f-list-remove:not(:disabled):is(:hover,:focus-visible,:active) {
  background-color:var(--p2f-remove-hover-bg,#F7F2F4)!important;
  color:var(--p2f-remove-hover-color,#010101)!important;
}

/* Selettori varianti */
.p2f-list .p2f-list-field select,
.p2f-list .p2f-list-field select:is(:hover,:focus,:active) {
  background-color:var(--p2f-select-bg,#F7F2F4)!important;
  color:var(--p2f-select-color,#010101)!important;
  border-color:var(--p2f-select-border,#DDD6DA)!important;
  background-image:none!important;
}
.p2f-list .p2f-list-product-name a {
  color:inherit!important;
}
.p2f-list .p2f-list-product-name a:hover {
  color:var(--p2f-name-hover,#8D75BC)!important;
}
