/* Desideri sul sito: il cuore, la lista, l'avviso in basso. Il colore è quello dei Prodotti (--bos-prod-colore). */
.bos-des-cuore { --dc: var(--bos-prod-colore, #A8455E); display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 38px; height: 38px; padding: 0; margin: 0; border: 1px solid rgba(0,0,0,.08); border-radius: 999px;
  background: rgba(255,255,255,.94); color: #6b6560; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.12); transition: color .15s, transform .15s; font: inherit; line-height: 1; text-transform: none; letter-spacing: 0; min-height: 0; }
.bos-des-cuore svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; flex: none; transition: fill .15s; }
.bos-des-cuore:hover { color: var(--dc); }
.bos-des-cuore:active { transform: scale(.92); }
.bos-des-cuore:focus-visible { outline: 2px solid var(--dc); outline-offset: 2px; }
.bos-des-cuore.bos-des-dentro, .bos-des-cuore[aria-pressed="true"] { color: var(--dc); }
.bos-des-cuore.bos-des-dentro svg, .bos-des-cuore[aria-pressed="true"] svg { fill: currentColor; }
.bos-des-cuore:disabled { opacity: .6; cursor: default; }

/* Sulle schede piccole: in alto a destra sulla foto (e «Esaurito» si sposta accanto). */
.bos-prod-carta { position: relative; }
.bos-prod-carta > .bos-des-cuore { position: absolute; top: 10px; right: 10px; z-index: 3; }
.bos-prod-carta:has(> .bos-des-cuore) .bos-prod-bollino-esaurito { right: 56px; }

/* Nella pagina del prodotto: il cuore con la parola accanto. */
.bos-des-scheda { margin: 12px 0 0; }
.bos-des-cuore-grande { width: auto; height: auto; min-height: 40px; padding: 0 16px 0 12px; box-shadow: none; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); background: transparent; font-size: 14px; font-weight: 600; color: inherit; }
.bos-des-cuore-grande svg { color: var(--dc); }

/* La lista: nella pagina e nell'Area clienti. */
.bos-des { max-width: 860px; }
.bos-des-lista { display: flex; flex-direction: column; }
.bos-des-voce { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 13%, transparent); }
.bos-des-foto { display: block; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--bos-prod-colore, #A8455E) 9%, #fff); }
.bos-des-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bos-des-senza-foto { display: block; width: 100%; height: 100%; }
.bos-des-esaurito .bos-des-foto img { opacity: .55; }
.bos-des-testo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bos-des-nome { font-weight: 600; color: inherit !important; text-decoration: none !important; overflow-wrap: anywhere; }
.bos-des-nome:hover { color: var(--bos-prod-colore, #A8455E) !important; }
.bos-des-testo small { font-size: 13px; color: color-mix(in srgb, currentColor 62%, transparent); }
.bos-des-prezzo { font-size: 15px; }
.bos-des-prezzo b { color: var(--bos-prod-colore, #A8455E); }
.bos-des-prezzo del { font-size: 13px; color: color-mix(in srgb, currentColor 55%, transparent); }
.bos-des-prezzo span { font-size: 13px; color: color-mix(in srgb, currentColor 62%, transparent); }
.bos-des-stato { font-size: 12.5px; font-weight: 600; color: var(--bos-prod-ok, #1A7F4B); }
.bos-des-esaurito .bos-des-stato { color: color-mix(in srgb, currentColor 58%, transparent); }
.bos-des-azioni { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.bos-des-azioni .bos-prod-bottone { min-height: 40px; padding: 0 16px; font-size: 14px; }
.bos-des-togli { all: unset; cursor: pointer; font-size: 13.5px; font-weight: 600; color: color-mix(in srgb, currentColor 62%, transparent); text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.bos-des-togli:hover { color: inherit; }
.bos-des-togli:focus-visible { outline: 2px solid var(--bos-prod-colore, #A8455E); outline-offset: 2px; }
.bos-des-vuota { text-align: center; padding: 34px 16px; color: color-mix(in srgb, currentColor 66%, transparent); }
.bos-des-vuota svg { width: 34px; height: 34px; fill: none; stroke: var(--bos-prod-colore, #A8455E); stroke-width: 1.6; margin: 0 auto 6px; display: block; }
.bos-des-vuota p { margin: 4px auto; max-width: 420px; }
.bos-des-vuota strong { color: inherit; font-size: 17px; }
.bos-des [hidden] { display: none !important; }
.bos-des-avvisi { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 14px; border-radius: 12px; background: color-mix(in srgb, var(--bos-prod-colore, #A8455E) 8%, #fff); cursor: pointer; }
.bos-des-avvisi input { width: 19px; height: 19px; margin: 2px 0 0; flex: none; accent-color: var(--bos-prod-colore, #A8455E); }
.bos-des-avvisi span { display: flex; flex-direction: column; gap: 2px; }
.bos-des-avvisi small { font-size: 13px; color: color-mix(in srgb, currentColor 64%, transparent); line-height: 1.45; }
.bos-des-nota { margin: 16px 0 0; font-size: 14px; color: color-mix(in srgb, currentColor 66%, transparent); }
.bos-des-nota a { color: var(--bos-prod-colore, #A8455E); font-weight: 600; }
.bos-des-attendi { color: color-mix(in srgb, currentColor 60%, transparent); }
@media (max-width: 560px) {
  .bos-des-voce { grid-template-columns: 64px minmax(0, 1fr); }
  .bos-des-foto { width: 64px; height: 64px; }
  .bos-des-azioni { grid-column: 1 / -1; justify-content: space-between; }
  .bos-des-azioni .bos-prod-bottone { flex: 1; }
}

/* L'avviso in basso, come quello del carrello. */
.bos-des-avviso { position: fixed; left: 50%; bottom: 20px; z-index: 99999; display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: #1f1d1b; color: #fff;
  font: 500 14.5px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 10px 28px rgba(0,0,0,.25); transform: translate(-50%, 140%); opacity: 0; transition: transform .25s, opacity .25s; pointer-events: none; }
.bos-des-avviso.bos-des-visibile { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.bos-des-avviso a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; }
