/* Correzioni mockup shop Tellan — sopra al CSS Helix/SP Page Builder/EShop originale */
@font-face { font-family: 'Tellan'; src: url('/assets/brand/TellanSerif-Round.otf') format('opentype'); font-display: swap; }
:root { --t-green: #25895F; --t-dark: #0c7b4d; --t-cream: #FFFCDE; --t-amber: #E1A200; --t-brown: #5F2C11; --t-text: #3d3d3d; }

/* --- avvisi / segnaposto --- */
mark.todo { background: #fff3a3; color: #4a3b00; padding: 0 .25em; border-radius: 2px; box-shadow: inset 0 -1px 0 #e5c800; }
.fix-banner { position: sticky; top: 0; z-index: 2000; display: flex; gap: 12px; align-items: center; justify-content: center;
  background: #1f2b24; color: #fff; font: 500 13px/1.4 Manrope, sans-serif; padding: 6px 44px 6px 16px; text-align: center; }
.fix-banner mark.todo { color: #4a3b00; }
.fix-banner-close { position: absolute; right: 10px; background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.fix-banner[hidden] { display: none; }

/* --- titoli con il font di marca (come il sito istituzionale) --- */
.eshop-title, .page-title, .pdp-block h2, .product-related h2, .fix-beer-specs h2, .fix-legal h1, .fix-legal h2,
.fix-page h1, .fix-summary h2, .fix-bestsellers h3, #sp-main-body h1, #sp-main-body h2 {
  font-family: 'Tellan', Manrope, serif; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; color: var(--t-green); }
body[data-beer] #sp-main-body h1, body[data-beer] .eshop-title, body[data-beer] #sp-main-body .pdp-block h2, body[data-beer] #sp-main-body .product-related h2 { color: var(--t-brown); }
body[data-beer] #sp-main-body .fix-beer-specs h2 { color: var(--t-amber); }
body[data-beer] .fix-beer-specs h2 { color: var(--t-amber); }

/* --- icone --- */
.fix-icon { display: inline-block; width: auto; max-width: 64px; vertical-align: middle; }
.fix-icon-wrap { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; }
.fix-gusto { width: auto; display: block; margin: 0 auto 8px; }
.fix-gusto-wrap { margin-bottom: 12px; }
.fix-ci { width: auto; height: 18px; margin-right: 8px; vertical-align: -3px; flex: none; }

/* --- prezzo PDP (non piu' H2) --- */
.fix-price { font-size: 1.6rem; font-weight: 700; color: var(--t-green); margin: 0 0 1rem; }
.fix-price .price { font-size: 1.9rem; }

/* --- trust badge PDP: solo icone, senza fascia colorata (richiesta Enzo 04/10) --- */
.fix-badges { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 18px; background: none; color: var(--t-green); }
.fix-badges-beer { color: var(--t-brown); }
.fix-badges li { display: flex; align-items: center; gap: 10px; font: 400 14px/1.2 'Tellan', Manrope, serif; text-transform: uppercase; letter-spacing: .03em; }
.fix-badges .fix-icon { height: 40px; flex: none; }
.fix-allergen { display: flex; gap: 10px; align-items: center; background: #fff4e0; border-left: 4px solid #B47205; padding: 10px 14px; margin: 0 0 1rem; }
.fix-more { margin-top: 1rem; font-weight: 600; }
.fix-more a { color: var(--t-green); text-decoration: underline; }

/* --- sezioni PDP al posto delle tab --- */
.pdp-block { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid #e6eadf; }
.pdp-block h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.pdp-block h3 { font-size: 1.15rem; margin-top: 1.2rem; color: var(--t-green); }
.pdp-block table { width: 100%; max-width: 560px; background: var(--t-cream); border-collapse: collapse; margin: .5rem 0 1rem; }
.pdp-block td { padding: 6px 14px; border-bottom: 1px solid #efe9c2; color: var(--t-green); }
.pdp-block td p { margin: 0; }
.product-related h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }

/* --- scheda degustazione birra --- */
.fix-beer-specs { margin: 2.5rem 0 0; text-align: center; }
.fix-beer-specs h2 { font-size: 1.9rem; margin-bottom: 1.5rem; }
.fix-beer-specs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fix-beer-specs li { padding: 20px 18px; border-right: 1px solid #ece5d6; border-bottom: 1px solid #ece5d6; text-align: left; }
.fix-beer-specs li:nth-child(4n) { border-right: 0; }
.fix-beer-specs li:nth-child(n+5) { border-bottom: 0; }
.fix-beer-specs .fix-icon { height: 44px; margin-bottom: 10px; }
.fix-beer-specs h3 { font: 400 15px/1.2 'Tellan', serif; text-transform: uppercase; color: var(--t-brown); margin: 0 0 6px; }
.fix-beer-specs p { font-size: 13px; color: #6b6b6b; margin: 0; }
@media (max-width: 767px) { .fix-beer-specs ul { grid-template-columns: repeat(2, 1fr); }
  .fix-beer-specs li:nth-child(2n) { border-right: 0; } .fix-beer-specs li:nth-child(4n) { border-right: 0; }
  .fix-beer-specs li:nth-child(n+5) { border-bottom: 1px solid #ece5d6; } .fix-beer-specs li:nth-child(n+7) { border-bottom: 0; } }

/* --- card "prodotti piu' amati" in home --- */
.fix-bestsellers { padding: 10px 0 60px; }
.fix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.fix-card { background: #fff; border: 1px solid #ecefe6; display: flex; flex-direction: column; padding: 14px; text-align: center; }
.fix-card-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.fix-card h5 { font: 600 16px/1.3 Manrope, sans-serif; text-transform: none; margin: 12px 0 6px; flex: 1; }
.fix-card h5 a { color: var(--t-text); }
.fix-card-price { font-weight: 700; color: var(--t-green); font-size: 18px; margin: 0 0 12px; }
@media (max-width: 991px) { .fix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fix-grid { gap: 12px; } .fix-card { padding: 10px; } }

/* --- bottoni --- */
.fix-btn, a.fix-btn { display: inline-block; background: var(--t-green); color: var(--t-cream) !important; border: 1px solid var(--t-green);
  padding: 10px 18px; text-transform: uppercase; font: 400 15px/1 'Tellan', Manrope, serif; letter-spacing: .04em; border-radius: 0; cursor: pointer; text-decoration: none; }
.fix-btn:hover { background: var(--t-cream); color: var(--t-green) !important; }
.fix-add.is-added { background: var(--t-dark); }
.fix-anchor { scroll-margin-top: 100px; }
#acquista-per-categoria { display: block; position: relative; top: -110px; }

/* --- contatore carrello nel menu --- */
.fix-cart-count:not(:empty) { display: inline-block; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px;
  background: var(--t-amber); color: #fff; font-size: 12px; line-height: 20px; text-align: center; font-weight: 700; }

/* --- toast --- */
.fix-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--t-green); color: #fff; padding: 12px 18px;
  z-index: 3000; font: 600 14px Manrope, sans-serif; box-shadow: 0 6px 20px rgba(0,0,0,.2); max-width: calc(100% - 32px); }
.fix-toast a { color: var(--t-cream); text-decoration: underline; margin-left: 8px; }

/* --- gate 18+ --- */
.fix-gate { position: fixed; inset: 0; background: rgba(20,30,24,.85); z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fix-gate-box { background: #fff; max-width: 440px; width: 100%; padding: 32px 28px; text-align: center; border-top: 6px solid var(--t-amber); }
.fix-gate-box h2 { font: 400 26px/1.2 'Tellan', serif; text-transform: uppercase; color: var(--t-brown); margin: 12px 0; }
.fix-gate-box p { color: #555; }
.fix-gate-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
a.fix-btn.fix-btn-ghost, .fix-btn.fix-btn-ghost { background: #fff !important; color: var(--t-green) !important; }

/* --- carrello --- */
.fix-page { padding: 30px 0 60px; }
.fix-cart-table { width: 100%; border-collapse: collapse; }
.fix-cart-table th, .fix-cart-table td { padding: 12px 10px; border-bottom: 1px solid #e8ece3; text-align: left; vertical-align: middle; }
.fix-cart-table img { width: 64px; height: 64px; object-fit: contain; }
.fix-cart-table input { width: 64px; padding: 6px; }
.fix-cart-totals { max-width: 380px; margin: 24px 0 0 auto; }
.fix-cart-totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.fix-cart-totals .fix-total { font-weight: 700; font-size: 1.2rem; border-top: 2px solid var(--t-green); margin-top: 6px; padding-top: 10px; }
.fix-free-ship { background: #eef7f1; padding: 10px 14px; margin: 16px 0; }
.fix-remove { background: none; border: 0; color: #a33; cursor: pointer; text-decoration: underline; }
.fix-cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .fix-cart-table thead { display: none; }
  .fix-cart-table tr { display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid #e8ece3; }
  .fix-cart-table td { border: 0; padding: 0; }
  .fix-cart-table td:first-child { grid-row: span 4; }
}

/* --- checkout --- */
.fix-checkout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.fix-checkout fieldset { border: 1px solid #e3e8dd; padding: 18px 20px; margin: 0 0 18px; }
.fix-checkout legend { font: 400 18px 'Tellan', serif; text-transform: uppercase; color: var(--t-green); padding: 0 8px; width: auto; float: none; margin: 0; }
.fix-step { display: inline-block; width: 26px; height: 26px; line-height: 26px; text-align: center; background: var(--t-green); color: #fff; border-radius: 50%; font: 700 14px/26px Manrope, sans-serif; margin-right: 6px; }
.fix-checkout label { display: block; margin: 10px 0 0; font-weight: 600; font-size: 14px; }
.fix-checkout input:not([type=checkbox]):not([type=radio]), .fix-checkout textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #cfd6c8; font-weight: 400; }
.fix-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 14px; }
.fix-check, .fix-radio { font-weight: 400 !important; }
.fix-check input, .fix-radio input { margin-right: 8px; }
.fix-summary { background: var(--t-cream); padding: 20px; position: sticky; top: 90px; }
.fix-summary h2 { font-size: 1.3rem; }
.fix-summary .fix-line { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 14px; }
.fix-summary .fix-total { font-weight: 700; border-top: 1px solid #d9d2a5; margin-top: 8px; padding-top: 8px; font-size: 16px; }
.fix-error { color: #b00020; font-weight: 600; margin-top: 12px; }
.fix-success { background: #eef7f1; border-left: 4px solid var(--t-green); padding: 16px; }
@media (max-width: 900px) { .fix-checkout { grid-template-columns: 1fr; } .fix-summary { position: static; order: -1; } }

/* --- pagine legali --- */
.fix-legal { max-width: 860px; padding: 40px 16px 60px; }
.fix-legal h1 { font-size: 2.2rem; margin-bottom: .5rem; }
.fix-legal h2 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; }
.fix-note { color: #777; font-size: 14px; }
.fix-form-text { background: #f6f7f2; padding: 16px; border-left: 4px solid var(--t-green); font-size: 14px; }

/* --- social / contatti --- */
.fix-social { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.fix-social a { display: inline-flex; align-items: center; gap: 8px; color: var(--t-green); font-weight: 600; }
.fix-social .fix-ci { height: 24px; }

/* --- footer --- */
.fix-footer { padding: 56px 0 24px !important; }
.fix-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr 1.3fr; gap: 28px; }
.fix-footer-title { font: 400 18px/1.2 'Tellan', serif !important; text-transform: uppercase; color: var(--t-cream) !important; margin: 0 0 16px; }
.fix-footer ul { list-style: none; padding: 0; margin: 0; }
.fix-footer li { margin-bottom: 8px; }
.fix-footer a { color: #fff; }
.fix-footer a:hover { color: var(--t-cream); text-decoration: underline; }
.fix-footer-brand p { margin: 14px 0; opacity: .9; }
.fix-footer-brand img { width: 169px; height: auto; }
.fix-social-footer .fix-ci { height: 26px; margin: 0; }
.fix-contacts { font-style: normal; display: grid; gap: 10px; }
.fix-contacts span { display: flex; align-items: flex-start; }
.fix-footer-pay { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 32px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.fix-pay { display: inline-block; background: #fff; color: #1d3b2c; font: 800 12px/1 Manrope, sans-serif; padding: 7px 10px; border-radius: 4px; letter-spacing: .03em; }
.fix-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 18px; font-size: 13px; opacity: .85; }
@media (max-width: 991px) { .fix-footer-grid { grid-template-columns: 1fr 1fr; } .fix-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fix-footer-grid { grid-template-columns: 1fr; } }

/* burger mobile: sul live e' bianco su header bianco (invisibile) */
#sp-header .burger-icon > span { background-color: var(--t-green) !important; }

/* testi dai Word: descrizioni card, correlati, avviso maggiorenni */
.fix-card-desc{font-size:14px;line-height:1.45;color:#6b6b6b;margin:6px 0 8px}
.fix-note{margin-top:18px;font-style:italic}
.fix-age{font-size:14px;color:#6b4a1f;margin:10px 0}
.product-related .fix-related{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.fix-related li{border:1px solid #e6e6e6;padding:14px;background:#fff}
.fix-related img{width:100%;aspect-ratio:1;object-fit:cover;margin-bottom:10px}
.fix-related .fix-rel-name{display:block;font-weight:700;color:#25895F;line-height:1.3}
.fix-related p{font-size:14px;margin:6px 0 0;color:#6b6b6b}

/* scheda prodotto: box immagine alto quanto il box info (richiesta Enzo 04/10) */
@media (min-width: 768px) {
  .product-info > .row { align-items: stretch; }
  .product-info > .row > .col-md-6 { display: flex; flex-direction: column; }
  .product-info #main-image-area, .product-info .eshop-product-details { flex: 1 1 auto; margin-bottom: 0; }
  .product-info #main-image-area { display: flex; align-items: center; justify-content: center; }
}

/* ===== SCALA TIPOGRAFICA UNICA (richiesta Enzo 04/10): stesso tag = stesso stile in tutto il sito =====
   H1-H4: Tellan Serif maiuscolo · H5-H6: Manrope grassetto · colori: verde, marrone nelle pagine birra */
#sp-main-body h1, #sp-main-body h2, #sp-main-body h3, #sp-main-body h4, #sp-main-body .sppb-addon-title:is(h1,h2,h3,h4) {
  font-family: 'Tellan', Manrope, serif !important; font-weight: 400 !important; text-transform: uppercase !important; letter-spacing: .02em !important; }
#sp-main-body h1 { font-size: 44px !important; line-height: 1.15 !important; }
#sp-main-body h2 { font-size: 30px !important; line-height: 1.2 !important; }
#sp-main-body h3 { font-size: 22px !important; line-height: 1.25 !important; }
#sp-main-body h4 { font-size: 18px !important; line-height: 1.3 !important; }
#sp-main-body h5, #sp-main-body h6, .fix-related .fix-rel-name {
  font-family: Manrope, sans-serif !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.35 !important; }
#sp-main-body h5, .fix-related .fix-rel-name { font-size: 17px !important; }
#sp-main-body h6 { font-size: 15px !important; }
#sp-main-body h3 { margin: 1.4rem 0 .5rem; }
/* eccezione voluta: titolo hero della home */
body[data-fix-path="/"] #sp-main-body .sppb-section:first-of-type h1 { font-size: clamp(40px, 6vw, 72px) !important; }
@media (max-width: 767px) {
  #sp-main-body h1 { font-size: 30px !important; }
  #sp-main-body h2 { font-size: 24px !important; }
  #sp-main-body h3 { font-size: 19px !important; }
  #sp-main-body h4 { font-size: 16px !important; }
}
.fix-spec-label { font: 400 15px/1.2 'Tellan', serif; text-transform: uppercase; color: var(--t-brown); margin: 0 0 6px; }
