/*
 * Stili della vetrina del negozio: portati da hasset-commerce (assets/css/shop.css) con tools/negozio/porta_css_vetrina.php.
 * Non si modifica a mano: si rilancia il convertitore. I colori e il carattere sono quelli del tema del sito (variabili --hb-t-*).
 */

:root {
    --hs-bg: var(--hb-t-fondo, #ffffff);
    --hs-bg-soft: var(--hb-t-fondo-alt, #f6f6f6);
    --hs-surface: var(--hb-t-fondo, #ffffff);
    --hs-surface-2: var(--hb-t-fondo-alt, #f6f6f6);
    --hs-surface-soft: var(--hb-t-fondo-alt, #f6f6f6);
    --hs-border: var(--hb-t-bordo, #e0e0e0);
    --hs-text: var(--hb-t-testo, #111111);
    --hs-text-muted: var(--hb-t-tenue, #3d3d3d);
    --hs-muted: var(--hb-t-tenue, #3d3d3d);
    --hs-primary: var(--hb-t-azione, #111111);
    --hs-primary-dark: var(--hb-t-azione, #000000);
    --hs-accent: var(--hb-t-azione, #111111);
    --hs-btn-bg: var(--hb-t-azione, #111111);
    --hs-btn-fg: var(--hb-t-azione-testo, #ffffff);
    --hs-btn-hover: color-mix(in srgb, var(--hb-t-azione, #111111) 82%, var(--hb-t-fondo, #ffffff));
    --hs-link: var(--hb-t-link, #111111);
    --hs-link-hover: var(--hb-t-tenue, #3a3a3a);
    --hs-font-size: inherit;
    --hs-danger: #b32d2e;
    --hs-danger-soft: #fcf0f1;
    --hs-success: #008a20;
    --hs-warning: #dba617;
    --hs-warning-soft: #fcf9e8;
    --hs-radius: 0;
    --hs-radius-sm: 0;
    --hs-shadow: none;
    --hs-font: inherit;
    --hs-max-width: 100%;
    --hs-cols: 5;
    --hs-scheda-foto: 55%;
}

/* Colonne della griglia dei prodotti: le sceglie il blocco (data-colonne). */
.hs-neg[data-colonne="2"] { --hs-cols: 2; }
.hs-neg[data-colonne="3"] { --hs-cols: 3; }
.hs-neg[data-colonne="4"] { --hs-cols: 4; }
.hs-neg[data-colonne="5"] { --hs-cols: 5; }
.hs-neg[data-colonne="6"] { --hs-cols: 6; }

:where(.hs-neg) {
    box-sizing: border-box;
    font-family: var(--hs-font);
    color: var(--hs-text);
}

:where(.hs-neg) * { box-sizing: border-box; }

:where(.hs-neg) a { color: var(--hs-link, var(--hs-text)); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

:where(.hs-neg) a:hover { color: var(--hs-link-hover, var(--hs-text-muted)); }

:where(.hs-neg) img { max-width: 100%; display: block; }

:where(.hs-neg) h1,
:where(.hs-neg) h2,
:where(.hs-neg) h3 {
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0;
}

.hs-header {
    background: var(--hs-header-bg, var(--hs-surface));
    color: var(--hs-header-fg, var(--hs-text));
    border-bottom: 1px solid var(--hs-border);
    z-index: 20;
}

.hs-anteprima-banner {
    background: #fff8e1;
    color: #9a6400;
    border: 1px solid #f0d78c;
    border-radius: 6px;
    padding: 10px 16px;
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
}

.hs-header-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 0;
    padding: 0;
    gap: 0;
}

.hs-header-cart[hidden] {
    display: none !important;
}

.hs-header-cart svg {
    display: block;
    width: 20px;
    height: 20px;
}

.hs-header-cart--md svg { width: 20px; height: 20px; }

.hs-cart-link {
    font-weight: 600;
    color: var(--hs-header-fg, var(--hs-text));
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.hs-cart-link:hover { color: var(--hs-header-hover, var(--hs-link-hover)); }

.hs-icon-link { padding: 4px; }

.hs-icon-link svg { display: block; flex: 0 0 auto; }

.hs-cart-count {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: var(--hs-text);
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    /* Contro line-height:0 su .hs-header-cart: senza line-height esplicito il badge collassa. */
    line-height: 1;
    letter-spacing: 0;
    pointer-events: none;
}

.hs-main {
    max-width: var(--hs-max-width);
    margin: 0 auto;
    padding: 32px 24px 80px;
    min-height: 60vh;
}

.hs-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hs-filtri {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.hs-catalogo-titolo {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--hs-text);
}

.hs-grid-prodotti {
    display: grid;
    grid-template-columns: repeat(min(2, var(--hs-cols, 5)), minmax(0, 1fr));
    gap: 32px 24px;
}

.hs-card-prodotto {
    color: var(--hs-text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hs-card-prodotto:hover { text-decoration: none; }

.hs-card-prodotto:hover .hs-card-prodotto-nome { text-decoration: underline; text-decoration-color: var(--hs-border); }

.hs-card-prodotto-img {
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-card-prodotto-img img { width: 100%; height: 100%; object-fit: contain; }

.hs-card-prodotto-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b0b0a8;
    background: #fafafa;
    border: 1px solid var(--hs-border);
}

.hs-no-photo-icon {
    width: 40px;
    height: 40px;
    display: block;
    opacity: 0.85;
}

.hs-card-prodotto-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.hs-card-prodotto-nome {
    font-size: 15px;
    font-weight: 500;
    color: var(--hs-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hs-prezzo {
    font-weight: 600;
    font-size: 15px;
}

.hs-prezzo-pieno {
    text-decoration: line-through;
    color: var(--hs-text-muted);
    font-weight: 400;
    font-size: 13px;
    margin-left: 6px;
}

.hs-card-prodotto-body .hs-prezzo-pieno {
    display: block;
    margin-left: 0;
    margin-top: 2px;
}

.hs-prodotto-prezzo {
    font-weight: 600;
    font-size: 1.6em;
}

.hs-prodotto-prezzo-pieno {
    text-decoration: line-through;
    color: var(--hs-text-muted);
    font-weight: 400;
    font-size: 1.2em;
    margin-left: 6px;
}

.hs-prezzo-simbolo {
    font-size: 0.9em;
    font-weight: 400;
    color: var(--hs-text-muted);
    margin-right: 2px;
}

.hs-badge-non-disponibile {
    font-size: 12px;
    color: var(--hs-danger);
    font-weight: 600;
}

.hs-badge-condizione {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: var(--hs-text-muted);
    border: 1px solid var(--hs-border);
    border-radius: 3px;
    padding: 2px 7px;
    margin: 4px 0;
}

.hs-btn[hidden] { display: none !important; }

.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: var(--hs-radius-sm);
    border: 1px solid var(--hs-btn-bg, var(--hs-text));
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    background: var(--hs-btn-bg, var(--hs-text));
    color: var(--hs-btn-fg, #fff);
    width: 100%;
    text-decoration: none;
    letter-spacing: -.01em;
}

.hs-btn:hover {
    background: var(--hs-btn-hover, var(--hs-btn-bg, var(--hs-text)));
    border-color: var(--hs-btn-hover, var(--hs-btn-bg, var(--hs-text)));
    color: var(--hs-btn-fg, #fff);
    text-decoration: none;
}

.hs-btn:disabled { opacity: .5; cursor: not-allowed; }

.hs-btn-secondary {
    background: var(--hs-surface);
    color: var(--hs-text);
    border-color: var(--hs-border);
    filter: none;
}

.hs-btn-secondary:hover {
    border-color: var(--hs-text);
    background: var(--hs-surface-soft);
    color: var(--hs-text);
    filter: none;
}

.hs-btn-sm { padding: 8px 12px; font-size: 13px; width: auto; }

.hs-search {
    margin: 28px 0 8px;
    max-width: 28rem;
}

.hs-search-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: stretch;
}

.hs-search-row .hs-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 10px 12px;
    font-size: 14px;
}

.hs-search-row .hs-btn,
.hs-search-row .hs-search-btn {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.hs-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }

.hs-card-titolo {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.3;
}

.hs-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--hs-surface);
    color: var(--hs-text);
}

.hs-input:focus {
    outline: none;
    border-color: var(--hs-text);
}

.hs-form-group { margin-bottom: 20px; }

.hs-form-group:last-child { margin-bottom: 0; }

.hs-payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--hs-border);
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 10px;
}

.hs-payment-option:last-child { margin-bottom: 0; }

.hs-payment-option-note {
    margin: 4px 0 10px 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hs-text);
}

.hs-payment-option-note:last-child { margin-bottom: 0; }

.hs-card-titolo + .hs-payment-option,
.hs-card-titolo + .hs-input,
.hs-card-titolo + .hs-text-hint,
.hs-card-titolo + #hs-checkout-consensi-list {
    margin-top: 2px;
}

.hs-login-prompt {
    margin-top: 10px;
    padding: 12px 14px;
    background: var(--hs-surface-soft);
    border: 1px solid var(--hs-border);
    font-size: 13px;
    line-height: 1.5;
}

.hs-login-prompt button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--hs-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.hs-login-prompt-code {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hs-login-prompt-code .hs-input {
    max-width: 140px;
    flex: 1;
}

.hs-payment-option:has(input:checked) {
    border-color: var(--hs-text);
    background: var(--hs-surface-soft);
}

.hs-payment-option input { width: auto; margin: 0; }

.hs-card {
    background: var(--hs-surface);
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.hs-prodotto-layout {
    display: grid;
    gap: 20px;
}

.hs-prodotto-media { min-width: 0; }

.hs-prodotto-buy { min-width: 0; }

.hs-prodotto-dettagli { min-width: 0; }

.hs-prodotto-breve {
    color: var(--hs-text-muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.hs-prodotto-breve > *:first-child { margin-top: 0; }

.hs-prodotto-breve > *:last-child { margin-bottom: 0; }

.hs-prodotto-breve p,
.hs-prodotto-breve ul,
.hs-prodotto-breve ol {
    margin: 0 0 0.45em;
}

.hs-prodotto-breve h1,
.hs-prodotto-breve h2,
.hs-prodotto-breve h3,
.hs-prodotto-breve h4 {
    margin: 0.55em 0 0.3em;
    font-size: 1em;
    font-weight: 650;
    line-height: 1.3;
}

#hs-prodotto-varianti .hs-form-group {
    margin: 0;
}

#hs-prodotto-varianti .hs-label {
    margin-bottom: 6px;
}

.hs-prodotto-disponibile {
    margin: 4px 0 12px;
    font-size: 14px;
    color: var(--hs-text-muted);
}

.hs-prodotto-backorder {
    margin: 4px 0 12px;
    font-size: 14px;
    color: #9a6400;
    font-weight: 600;
}

#hs-prodotto-disp.hs-badge-non-disponibile {
    display: block;
    margin: 4px 0 12px;
    font-size: 14px;
}

.hs-prodotto-non-vendibile {
    margin: 12px 0 0;
    padding: 12px 14px;
    background: var(--hs-bg-muted, #f4f4f4);
    border-radius: 8px;
    font-size: 14px;
    color: var(--hs-text-muted);
}

.hs-prodotto-consegna,
.hs-prodotto-soglia {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.45;
}

.hs-prodotto-soglia {
    font-weight: 600;
    color: var(--hs-text);
}

.hs-prodotto-spedizione-costo {
    color: #2db35e;
    font-size: 15px;
	font-weight: 600;
    line-height: 1.5;
    margin: 0 0 12px;
}

.hs-prodotto-spedizione-costo:empty,
.hs-prodotto-spedizione-costo[hidden] {
    display: none;
    margin: 0;
}

.hs-prodotto-meta {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    font-size: 13px;
    color: var(--hs-text-muted);
    line-height: 1.55;
}

.hs-prodotto-meta strong {
    color: var(--hs-text);
    font-weight: 600;
}

.hs-prodotto-lunga {
    color: var(--hs-text);
    font-size: 15px;
    line-height: 1.75;
}

.hs-prodotto-breve {
    color: var(--hs-text);
}

.hs-prodotto-lunga table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 16px;
    font-size: 14px;
}

.hs-prodotto-lunga th,
.hs-prodotto-lunga td {
    border: 1px solid var(--hs-border);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.hs-prodotto-lunga th {
    font-weight: 600;
    background: var(--hs-surface-2, #f4f5f7);
}

.hs-prodotto-lunga + .hs-specifiche { margin-top: 20px; }

.hs-recensioni-summary { margin: 0 0 10px; font-size: 14px; }

.hs-recensioni-stars { color: #c9a227; letter-spacing: 0.06em; }

.hs-prodotto-rec-summary-hint {
    color: var(--hs-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hs-recensioni { margin-top: 2rem; }

.hs-recensione { margin-bottom: 12px; }

.hs-recensione .hs-h3 { margin: 6px 0; font-size: 16px; }

.hs-recensione-autore {
    color: var(--hs-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.hs-recensioni-vuoto {
    color: var(--hs-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.hs-recensioni-form { margin-top: 16px; }

.hs-recensioni-form .hs-h3 { margin-top: 0; }

.hs-prodotto-rec-otp-hint {
    color: var(--hs-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.hs-rec-otp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hs-rec-otp-row .hs-input-narrow {
    margin: 0;
}

.hs-rec-otp-row .hs-btn {
    width: auto;
    flex: 0 0 auto;
}

.hs-prodotto-rec-moderazione {
    color: var(--hs-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.hs-rating {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.hs-rating__star {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0 1px;
    border: 0;
    background: transparent;
    color: #d4d4d8;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.hs-rating__star.is-on { color: #c9a227; }

.hs-rating__star:focus-visible {
    outline: 2px solid var(--hs-accent, #1a1a1a);
    outline-offset: 2px;
    border-radius: 2px;
}

.hs-prodotto-galleria-wrap { margin-bottom: 8px; }

.hs-prodotto-galleria {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hs-badge-offerta {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    background: var(--hs-text);
    color: var(--hs-surface, #fff);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 5px 9px;
}

.hs-prodotto-galleria img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hs-prodotto-galleria-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b0b0a8;
    background: #fafafa;
    border: 1px solid var(--hs-border);
}

.hs-prodotto-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.hs-prodotto-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--hs-border);
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.hs-prodotto-thumb.is-active { border-color: var(--hs-text); }

.hs-prodotto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hs-prodotto-titolo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 4px 0 12px;
    line-height: 1.25;
}

.hs-prodotto-titolo-principale {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 4px 0 12px;
    line-height: 1.25;
}

@media (min-width: 900px) {
.hs-prodotto-layout {
        grid-template-columns: minmax(0, var(--hs-scheda-foto, 55%)) minmax(280px, calc(100% - var(--hs-scheda-foto, 55%)));
        grid-template-areas:
            "media buy"
            "dettagli buy";
        gap: 28px 32px;
        align-items: start;
    }

.hs-prodotto-media { grid-area: media; }

.hs-prodotto-buy { grid-area: buy; position: sticky; top: 88px; }

.hs-prodotto-dettagli { grid-area: dettagli; }

}

.hs-prodotto-componenti { margin: 12px 0 8px; }

.hs-kit-comp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex-wrap: nowrap;
    padding: 12px 0;
    border-bottom: 1px solid var(--hs-border, #e5e5e5);
}

.hs-kit-comp.is-disabled { opacity: 0.55; }

.hs-kit-comp-check {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 10px;
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
}

.hs-kit-comp-check input { margin-top: 3px; flex-shrink: 0; }

.hs-kit-comp-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid var(--hs-border);
    background: #fff;
    object-fit: contain;
}

.hs-kit-comp-thumb-empty { display: inline-block; }

.hs-kit-comp-check .hs-badge-non-disponibile,
.hs-kit-comp-check .hs-kit-comp-backorder {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: -2px;
}

.hs-kit-comp:last-child { border-bottom: none; }

.hs-kit-comp-nome { font-weight: 500; font-size: 14px; line-height: 1.4; min-width: 0; }

.hs-kit-comp-var { width: 100%; margin: 0.35rem 0 0.25rem; display: grid; gap: 0.5rem; }

.hs-kit-var-group { margin: 0; }

.hs-var-sel option:disabled,
.hs-kit-var-sel option:disabled { color: #9a9a9a; }

.hs-kit-comp-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.hs-kit-comp-prezzo {
    font-size: 13px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.hs-kit-qty-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 0 0 auto;
}

.hs-kit-qty.hs-input-narrow {
    width: 4.5rem;
    max-width: 5rem;
    text-align: center;
    flex: 0 0 auto;
}

.hs-kit-qty:disabled {
    opacity: 0.45;
}

.hs-kit-qty.is-invalid,
.hs-input.is-invalid {
    border-color: #c0392b;
    outline-color: #c0392b;
}

.hs-field-err,
.hs-kit-qty-err {
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    color: #c0392b;
    font-weight: 500;
    max-width: 14rem;
    text-align: right;
}

@media (max-width: 560px) {
.hs-kit-comp {
        flex-wrap: wrap;
        align-items: flex-start;
    }

.hs-kit-comp-check { width: 100%; }

.hs-kit-comp-meta {
        width: 100%;
        justify-content: flex-start;
        padding-left: 26px;
        flex-wrap: wrap;
        white-space: normal;
    }

}

.hs-prodotto-optional {
    margin: 16px 0 12px;
    padding: 12px 14px 8px;
    background: var(--hs-surface-soft, #f6f6f6);
    border: 1px solid var(--hs-border, #e0e0e0);
}

.hs-opt-title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hs-text-muted, #3d3d3d);
}

.hs-opt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hs-border, #e0e0e0);
}

.hs-opt-row:last-child { border-bottom: none; }

.hs-opt-row.is-disabled { opacity: 0.55; }

.hs-opt-check-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
}

.hs-opt-check-wrap input { flex-shrink: 0; }

.hs-opt-thumb {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border: 1px solid var(--hs-border);
    background: #fff;
    object-fit: contain;
}

.hs-opt-thumb-empty { display: inline-block; }

.hs-opt-nome { font-weight: 500; font-size: 14px; line-height: 1.4; min-width: 0; }

.hs-opt-check-wrap .hs-badge-non-disponibile {
    flex-basis: 100%;
    margin-left: 0;
}

.hs-opt-prezzo {
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex: 0 0 auto;
}

@media (max-width: 560px) {
.hs-opt-row { flex-wrap: wrap; }

.hs-opt-check-wrap { width: 100%; }

.hs-opt-prezzo { padding-left: 26px; }

}

.hs-prodotto-totale-kit {
    margin: 10px 0 4px;
    line-height: 1.4;
}

.hs-prodotto-kit-totale-label {
    font-weight: 600;
    font-size: 15px;
}

.hs-prodotto-kit-totale-prezzo {
    font-weight: 600;
    font-size: 1.4em;
	color: #0051c3;
}

.hs-prodotto-kit-totale-selezionati {
    font-weight: 400;
    font-size: 13px;
    color: var(--hs-text-muted);
}

.hs-riepilogo-comp {
    font-size: 13px;
    color: var(--hs-text-muted);
    padding-left: 12px;
}

.hs-cart-table-wrap {
    width: 100%;
    margin: 0 0 1.25rem;
    overflow-x: auto;
}

.hs-cart-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--hs-border);
}

.hs-cart-table th,
.hs-cart-table td {
    padding: 1rem 0.85rem;
    border-bottom: 1px solid var(--hs-border);
    border-right: 1px solid var(--hs-border);
    text-align: left;
    vertical-align: middle;
    background: transparent;
}

.hs-cart-table th:last-child,
.hs-cart-table td:last-child {
    border-right: 0;
}

.hs-cart-table thead th {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--hs-text-muted);
    border-bottom: 1px solid var(--hs-border);
}

.hs-cart-table tbody tr:last-child td {
    border-bottom: 0;
}

.hs-cart-col-price,
.hs-cart-col-qty,
.hs-cart-col-sub {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hs-cart-col-price {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--hs-text);
}

.hs-cart-col-sub {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: right;
    color: var(--hs-text);
}

.hs-cart-table thead th:last-child {
    text-align: right;
}

.hs-cart-product {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.hs-cart-foto {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 0;
    display: block;
}

.hs-cart-foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hs-cart-foto--empty {
    background: var(--hs-surface-soft);
}

.hs-cart-product__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.hs-cart-product__name {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.35;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.hs-cart-row--comp .hs-cart-col-product {
    padding-left: 2rem;
}

.hs-cart-row--comp .hs-cart-product__name {
    font-weight: 500;
    font-size: 1.05rem;
}

.hs-cart-collegato-hint {
    font-size: 12.5px;
    color: var(--hs-text-muted);
    margin-top: 2px;
}

.hs-cart-row--comp .hs-cart-col-price,
.hs-cart-row--comp .hs-cart-col-sub {
    font-weight: 500;
    font-size: 1rem;
    color: var(--hs-text-muted);
}

.hs-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px;
    border: 0;
    background: transparent;
    color: var(--hs-text-muted);
    cursor: pointer;
    border-radius: var(--hs-radius-sm);
    line-height: 0;
}

.hs-icon-btn:hover,
.hs-icon-btn:focus-visible {
    color: var(--hs-danger, #b42318);
    outline: none;
}

.hs-cart-qty-ro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    color: var(--hs-text-muted);
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.hs-cart-qty {
    width: 3.5rem;
    padding: 0.5rem;
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius-sm);
    text-align: center;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.hs-cart-totals .hs-riepilogo-riga {
    font-size: 1rem;
}

.hs-cart-totals .hs-riepilogo-totale {
    font-size: 1.25rem;
}

.hs-cart-pay {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--hs-border, #ddd);
}

.hs-cart-pay__title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hs-muted, #666);
}

.hs-cart-pay__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hs-cart-pay__list li {
    padding: 2px 0;
    font-size: 14px;
}

.hs-cart-pay__list li.is-default { font-weight: 650; }

.hs-cart-pay__mark {
    font-weight: 400;
    font-size: 12px;
    color: var(--hs-muted, #666);
}

.hs-cart-pay__note {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--hs-muted, #555);
    margin-top: 2px;
}

.hs-cart-nota {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--hs-border, #ddd);
    background: var(--hs-surface, #fff);
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.hs-carrello-email {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--hs-border, #ddd);
}

.hs-carrello-email .hs-label {
    display: block;
    margin-bottom: 4px;
}

.hs-carrello-email .hs-login-prompt {
    margin-top: 8px;
}

@media (max-width: 720px) {
.hs-cart-table thead {
        display: none;
    }

.hs-cart-table,
.hs-cart-table tbody,
.hs-cart-table tr,
.hs-cart-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

.hs-cart-table {
        border: 0;
    }

.hs-cart-row {
        border: 1px solid var(--hs-border);
        margin: 0 0 0.75rem;
        padding: 0.85rem;
    }

.hs-cart-row--comp {
        margin-left: 0;
    }

.hs-cart-table td {
        border: 0;
        padding: 0.4rem 0;
        text-align: left;
    }

.hs-cart-table td.hs-cart-col-price,
.hs-cart-table td.hs-cart-col-qty,
.hs-cart-table td.hs-cart-col-sub {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        white-space: normal;
    }

.hs-cart-table td.hs-cart-col-price::before,
.hs-cart-table td.hs-cart-col-qty::before,
.hs-cart-table td.hs-cart-col-sub::before {
        content: attr(data-label);
        color: var(--hs-text-muted);
        font-size: 0.875rem;
        font-weight: 500;
        flex: 0 0 auto;
    }

.hs-cart-table td.hs-cart-col-sub {
        font-weight: 700;
        text-align: left;
    }

}

.hs-riepilogo-riga {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 5px 0;
    color: var(--hs-text-muted);
}

.hs-riepilogo-totale { font-size: 18px; font-weight: 600; color: var(--hs-text); border-top: 1px solid var(--hs-border); margin-top: 10px; padding-top: 14px; }

.hs-empty { text-align: center; color: var(--hs-text-muted); padding: 60px 20px; }

.hs-catalogo-msg {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--hs-border, #ddd);
    border-radius: 6px;
    background: var(--hs-bg, #f7f7f7);
    color: var(--hs-text-muted, #555);
    font-size: 0.95rem;
    line-height: 1.4;
}

.hs-text-hint {
    color: var(--hs-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.hs-text-hint:empty,
.hs-text-hint[hidden] {
    display: none;
    margin: 0;
}

.hs-checkout-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hs-checkout-aside .hs-btn {
    width: 100%;
}

.hs-toast {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    padding: 14px 18px;
    border-radius: var(--hs-radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: var(--hs-text);
    color: #fff;
    text-align: center;
}

.hs-toast-error { background: var(--hs-danger); }

.hs-cart-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem;
    padding: 1em 1.25em;
    border: 1px solid #46b450;
    background: #f0faf1;
    color: #1a1a17;
    font-size: 1rem;
    line-height: 1.5;
    list-style: none;
    /* Backup se qualcosa richiama scrollIntoView: lascia spazio sotto header sticky */
    scroll-margin-top: 6.5rem;
}

body.hc-has-adminbar .hs-cart-notice {
    scroll-margin-top: calc(6.5rem + 32px);
}

.hs-cart-notice__check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #46b450;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.hs-cart-notice__text {
    flex: 1 1 14rem;
    margin: 0;
    min-width: 0;
    color: #1a1a17;
}

.hs-cart-notice__collegati {
    display: inline-block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

.hs-cart-notice__link {
    flex: 0 0 auto;
    margin-left: auto;
    font-weight: 600;
    color: #1a1a17;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    white-space: nowrap;
}

.hs-cart-notice__link:hover {
    color: var(--hs-link-hover, var(--hs-text));
}

.hs-hidden { display: none !important; }

.hs-input-narrow { max-width: 100px; }

.hs-text-hint-spaced { margin: 10px 0 0; }

.hs-text-hint-spaced-top { margin-top: 12px; }

.hs-text-hint-flush { margin: 0; }

.hs-text-hint-offset { margin-top: -8px; }

.hs-text-error { color: var(--hs-danger); }

.hs-payment-option-top { align-items: flex-start; }

.hs-specifiche {
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
    border-collapse: collapse;
}

.hs-specifiche td {
    padding: 10px 0;
    border-bottom: 1px solid var(--hs-border);
    vertical-align: top;
}

.hs-specifiche tr:last-child td { border-bottom: none; }

.hs-specifiche td:first-child {
    color: var(--hs-text-muted);
    padding-right: 16px;
    width: 40%;
}

.hs-upsell { margin-top: 32px; }

.hs-upsell .hs-prodotto-titolo,
.hs-cross-sell .hs-prodotto-titolo {
    font-size: 1.15rem;
}

.hs-cross-sell { margin-top: 24px; }

.hs-prezzo-block { 

	margin-bottom: 14px; 
	color: #0051c3;
    font-size: 16px;
    font-weight: 600;

}

.hs-card-soft { background: var(--hs-surface-soft); }

.hs-card-form { max-width: 420px; }

.hs-card-summary { max-width: 480px; }

.hs-card-summary-spaced {
    max-width: 480px;
    margin-top: 16px;
}

.hs-btn-block-spaced { margin-top: 14px; }

.hs-carrello-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.hs-carrello-cta .hs-btn-block-spaced { margin-top: 0; }

.hs-btn-share {
    background: #1f7a3a;
    border-color: #1f7a3a;
    color: #fff;
}

.hs-btn-share:hover {
    background: #17632e;
    border-color: #17632e;
    color: #fff;
}

@media (min-width: 640px) {
.hs-carrello-cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }

.hs-carrello-cta .hs-btn {
        width: auto;
        flex: 0 0 auto;
    }

}

.hs-center-actions {
    text-align: center;
    margin-top: 24px;
}

.hs-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hs-actions-row .hs-btn { width: auto; flex: 1; }

.hs-form-success {
    background: var(--hs-surface-soft);
    color: var(--hs-success);
    padding: 10px 14px;
}

.hs-account-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hs-account-header .hs-prodotto-titolo { margin: 0; }

.hs-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.hs-card-header-row .hs-card-titolo { margin: 0; }

.hs-card-header-row + .hs-text-hint { margin-top: 10px; }

.hs-account-modifica-body { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hs-border); }

.hs-account-modifica-body .hs-payment-option { margin-top: 4px; }

.hs-riga-carrello.hs-order-link {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--hs-border);
    text-decoration: none;
    color: inherit;
}

.hs-riga-carrello.hs-order-link:last-child { border-bottom: 0; }

.hs-order-link:hover { text-decoration: none; color: inherit; }

.hs-riga-carrello-nome { font-weight: 500; font-size: 15px; min-width: 0; }

.hs-riga-carrello-azioni {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: flex-end;
}

.hs-order-amount { font-weight: 600; }

.hs-form-footer { margin: 14px 0 0; }

.hs-text-last { margin-bottom: 0; }

.hs-login-prompt-action { margin-top: 10px; }

@media (min-width: 640px) {
.hs-prodotto-titolo { font-size: 32px; }

.hs-prodotto-titolo-principale { font-size: 32px; }

.hs-grid-prodotti { grid-template-columns: repeat(min(3, var(--hs-cols, 5)), minmax(0, 1fr)); }

.hs-toast { left: auto; right: 24px; bottom: 24px; max-width: 340px; }

}

@media (min-width: 860px) {
.hs-header-cart {
        min-height: 2.5rem;
    }

.hs-grid-prodotti { grid-template-columns: repeat(min(4, var(--hs-cols, 5)), minmax(0, 1fr)); }

.hs-btn { width: auto; }

.hs-checkout-layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 28px;
        align-items: start;
    }

.hs-checkout-aside {
        position: sticky;
        top: 88px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

.hs-checkout-main {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

}

@media (min-width: 1100px) {
.hs-grid-prodotti { grid-template-columns: repeat(var(--hs-cols, 5), minmax(0, 1fr)); }

}

.hs-home-catalogo { margin: 1rem 0 2rem; }

.hc-login-error {
    background: var(--hs-surface-soft);
    color: var(--hs-danger);
    padding: 10px 14px;
}
