/* =====================================================================
   Cartolab Tema - STILE DELLE AGGIUNTE AL TEMA DI OPENCART 4
   File: extension/cartolab_tema/catalog/view/stylesheet/cartolab.css
   Creato: 15/11/2026 (chatbot: da catalog/view/theme/default/stylesheet/chatbot.css
   di OpenCart 2 e dallo stile scritto dentro footer.tpl; il resto dagli stili
   scritti dentro header.tpl)
   File collegati: extension/cartolab_tema/catalog/view/template/common/header.twig, footer.twig
   ===================================================================== */

/* ---------- piè di pagina sempre DOPO il contenuto ----------
   OpenCart 4 lo tiene fisso in fondo (position:absolute) e gli riserva uno spazio
   fisso sotto il contenuto (padding-bottom 400/730px). Il nostro è più alto (link
   ai negozi, icone pagamenti): da cellulare copriva menu e carrello. Qui torna nel
   flusso normale e resta comunque in fondo anche nelle pagine corte. */
#container { position: relative; min-height: 100vh; display: flex; flex-direction: column; margin-bottom: 0; }
#container > main { flex: 1 0 auto; }
footer { position: static; margin-top: 30px; }
#content, #column-left, #column-right { padding-bottom: 20px; }
@media (min-width: 576px) { #content, #column-left, #column-right { padding-bottom: 20px; } }

/* ---------- barra in alto ---------- */
#promo-stampa-online a { color: #e8590c; font-weight: 600; text-decoration: none; }
.cl-arancio, .cl-arancio:hover { color: #e8590c; }
.cl-pezzi { font-size: 10px; vertical-align: top; }

/* ---------- striscia "Vuoi contattarci in negozio?" (www, da cellulare) ---------- */
#copisteria-strip { background: #e8590c; color: #fff; padding: 10px 38px 10px 12px; border-radius: 6px; margin: 10px 0; position: relative; font-size: 14px; line-height: 1.4; }
#copisteria-strip a { color: #fff; text-decoration: none; display: block; }
#copisteria-strip .btn-close { position: absolute; top: 10px; right: 12px; }

/* ---------- logo piccolo accanto al logo ---------- */
#logo { display: flex; align-items: center; justify-content: center; gap: 6px; }
@media (min-width: 768px) { #logo { justify-content: flex-start; } }
.cl-logo-piccolo { max-height: 60px; }

/* ---------- book: riquadro indirizzo e orario ---------- */
#book-negozio { font-size: 15px; line-height: 1.6; margin: 10px 0; }
#book-negozio .cl-titolo { font-size: 18px; color: #3399ff; }
#book-negozio .cl-oggi { font-size: 14px; }
.cl-aperto { color: #28a745; font-weight: 700; }
.cl-chiuso { color: #dc3545; font-weight: 600; }

/* ---------- piè di pagina ---------- */
.cl-pagamenti img { margin: 0 2px; vertical-align: middle; }

/* ---------- chatbot di book: pulsante che apre la finestra ---------- */
#book-chatbot-btn { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; border-radius: 50%; background: #3399ff; color: #fff; border: none; font-size: 28px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.3); z-index: 9999; transition: transform .2s; }
#book-chatbot-btn:hover { transform: scale(1.1); }

/* ---------- Assistente Cartolab (www e ingrosso) ---------- */
#chatbot-toggle { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; cursor: pointer; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 46px 43px; z-index: 9999; }
#cartolab-chatbot { position: fixed; bottom: 90px; right: 20px; width: 320px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid #ddd; border-radius: 10px; display: none; flex-direction: column; z-index: 9999; font-family: Arial, sans-serif; }
#chatbot-header { background: #3399ff; color: #fff; padding: 10px; font-weight: bold; border-radius: 10px 10px 0 0; }
#chatbot-messages { padding: 10px; height: 260px; overflow-y: auto; font-size: 14px; }
.chatbot-msg { margin-bottom: 8px; }
.chatbot-user { text-align: right; color: #333; }
.chatbot-bot { text-align: left; color: #000; }
#chatbot-input { display: flex; border-top: 1px solid #ddd; }
#chatbot-input input { flex: 1; padding: 8px; border: none; outline: none; }
#chatbot-input button { background: #3399ff; color: #fff; border: none; padding: 0 15px; cursor: pointer; }
.chatbot-operator-wrap { display: flex; gap: 8px; margin: 6px 10px 4px 10px; justify-content: flex-start; }
.chatbot-operator-wrap button { padding: 7px 14px; border: none; border-radius: 20px; cursor: pointer; font-size: 13px; font-weight: 600; transition: opacity .2s, transform .15s; }
.chatbot-operator-wrap button:hover { opacity: .85; transform: scale(1.04); }
.chatbot-btn-yes { background: #25d366; color: #fff; }
.chatbot-btn-no { background: #e0e0e0; color: #444; }

/* ---------- pagina prodotto (15/11/2026, da product.tpl di OpenCart 2) ---------- */
.cl-whatsapp, .cl-whatsapp:hover { background: #25d366; color: #fff; border: none; }
.cl-offerta { margin: 10px 0 15px; background: linear-gradient(135deg, #fff8e1 0%, #ffe9b3 100%); border: 2px solid #ff9800; border-radius: 8px; padding: 12px 14px; box-shadow: 0 2px 6px rgba(255,152,0,.15); max-width: 420px; }
.cl-offerta-titolo { font-size: 11px; font-weight: bold; color: #e65100; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.cl-offerta-perc { background: #e65100; color: #fff; padding: 1px 6px; border-radius: 3px; }
.cl-offerta-testo { font-size: 13px; color: #333; }
.cl-offerta-prezzo { font-size: 22px; font-weight: bold; color: #e65100; line-height: 1.2; margin: 2px 0; }
.cl-offerta-prezzo span { font-size: 13px; font-weight: normal; color: #666; }
.cl-offerta-risparmio { font-size: 14px; color: #28a745; font-weight: bold; margin-top: 4px; }
.cl-offerta-btn { margin-top: 10px; width: 100%; background: #ff9800; color: #fff; border: none; padding: 9px 12px; border-radius: 5px; font-weight: bold; font-size: 13px; cursor: pointer; transition: background .2s; }
.cl-offerta-btn:hover { background: #e65100; }

/* ---------- schede prodotto negli elenchi (15/11/2026, da product_grid.tpl) ---------- */
.cl-promo { position: absolute; left: 5px; top: 7px; z-index: 2; max-width: 70px; }
/* 23/11/2026: cartello Promo anche sulla foto grande della scheda prodotto (sopra la galleria) */
.cl-galleria .cl-promo-grande { left: 8px; top: 8px; max-width: 110px; z-index: 4; pointer-events: none; }
.product-thumb .button .cl-qta { width: 25%; border: none; border-top: 1px solid var(--bs-border-color); border-radius: 0; text-align: center; padding: 0 4px; -moz-appearance: textfield; }
.product-thumb .button:has(.cl-qta) button { width: 25%; }

/* ---------- carrello: promemoria minimo d'ordine / spedizione gratuita (15/11/2026) ---------- */
.cl-promemoria { padding: 12px 15px; }
.cl-promemoria-testo { font-size: 16px; }

/* ---------- 15/11/2026: 4 prodotti per riga su computer, come sul vecchio sito ----------
   OpenCart (common.js, vista a griglia) mette 3 colonne: dove la pagina non ha colonne
   laterali (Novità, Più venduti, ricerca...) ne mostro 4 da 992 px in su. */
@media (min-width: 992px) {
  .row:not(:has(#column-left)):not(:has(#column-right)) > #content #product-list.row-cols-lg-3 > * { flex: 0 0 auto; width: 25%; }
}

/* ---------- 15/11/2026: scheda prodotto come sul vecchio sito (prodotto.php -> scheda) ---------- */
.cl-titolo-prodotto { text-transform: uppercase; font-size: 1.45rem; font-weight: 700; line-height: 1.3; }
.cl-scheda { font-size: 13px; margin-bottom: 12px; }
.cl-marca { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 420px; margin-bottom: 6px; }
.cl-marca img { max-height: 50px; max-width: 120px; }
.cl-dati { margin-bottom: 10px; }
.cl-dati li { margin-bottom: 2px; }
.cl-disponibili .fa-circle { color: #28a745; font-size: 8px; vertical-align: middle; }
/* 23/11/2026: riga "Spedizione gratuita" nella pagina prodotto (prodotto.php, da 100 € non ingrosso) */
.cl-gratis { color: #1e7e34; }
.cl-gratis .fa-truck { margin-right: 4px; }
/* 22/11/2026: in esaurimento come su c2 (pagina prodotto): arancione, grassetto, pulsa ogni secondo */
.cl-stock-blink { color: #ff8800; font-weight: bold; animation: cl-blink-stock 1s infinite; }
@keyframes cl-blink-stock { 0% { opacity: 1; } 50% { opacity: .2; } 100% { opacity: 1; } }
.cl-listino { color: #555; font-size: 13px; }
.cl-prezzo { font-size: 30px; font-weight: 700; color: #222; line-height: 1.2; margin: 4px 0; }
.cl-prezzo .cl-iva, .cl-ivato .cl-iva { font-size: 14px; font-weight: normal; color: #555; }
.cl-ivato { font-size: 15px; font-weight: 600; color: #444; }
.cl-risparmio { color: #28a745; font-weight: 700; margin-top: 6px; }
.image.magnific-popup { position: relative; }
.cl-bandierina { position: absolute; top: 8px; right: 8px; z-index: 2; background: #e8590c; color: #fff; font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.25); }

/* ---------- 16/11/2026: barra in alto e menu come su cartolab2 ---------- */
#top { font-size: 13px; padding: 4px 0; }
#top .list-inline { margin: 0; white-space: nowrap; }
#top .cl-barra .list-inline-item { margin-right: .7rem; }
#top .cl-barra .list-inline-item:last-child { margin-right: 0; }
#top #promo-stampa-online a, #top #promo-stampa-online a:hover { color: #e8590c; font-weight: 600; }
#top .dropdown-toggle::after { display: none; }
/* menu blu su una riga: voci un po' più strette */
@media (min-width: 992px) {
  #menu .navbar-nav > .nav-item > .nav-link, #menu .navbar-nav > li > a { padding-left: .7rem; padding-right: .7rem; font-size: 13.5px; }
}

/* ---------- 16/11/2026: prodotti correlati 3 per riga (foto più grandi, come cartolab2) ----------
   22/11/2026: 4 per riga da desktop: la scheda prodotto ora è a tutta larghezza (categorie a
   scomparsa, tema/prodotto.php), con 4 le foto restano grandi come prima */
@media (min-width: 992px) {
  #product-info .row[class*="row-cols"] > * { flex: 0 0 auto; width: 25%; }
}

/* =====================================================================
   16/11/2026 - DISPONIBILITÀ ("Consegna") E PULSANTI − / +
   (tema/magazzino.php, tema/elenco.php, tema/prodotto.php, cartolab.js)
   ===================================================================== */
.cl-stock { font-size: 13px; margin: 4px 0 6px; }
.cl-stock .fa-circle { font-size: 10px; vertical-align: 1px; }
.cl-stock-si .fa-circle { color: #16a34a; }
.cl-stock-no { color: #c62828; }
.cl-stock-poco { color: #d97706; }
.cl-lampeggia { animation: cl-lampeggio 1s steps(2, start) infinite; }
@keyframes cl-lampeggio { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .cl-lampeggia { animation: none; } }
.product-thumb .cl-stock { padding: 0; }
.product-thumb .button .cl-esaurito { width: 100%; background: #f3f4f6; color: #9ca3af; cursor: not-allowed; }
#button-cart[disabled] { background: #9ca3af; border-color: #9ca3af; }
/* niente freccette del browser sui campi quantità */
input.cl-qta-pm::-webkit-outer-spin-button, input.cl-qta-pm::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input.cl-qta-pm { -moz-appearance: textfield; text-align: center; }
.cl-pm { padding: 0 10px; font-weight: bold; border: 1px solid var(--bs-border-color); border-radius: 0; min-width: 32px; }
.product-thumb .button .cl-pm { width: 12.5%; padding: 0; border-width: 1px 0 0; }
.product-thumb .button:has(.cl-pm) .cl-qta { width: 20%; }
.product-thumb .button:has(.cl-pm) button[formaction] { width: 18.3%; }
#input-quantity.cl-qta-pm { max-width: 70px; }
.cl-manca { white-space: normal; }

/* =====================================================================
   16/11/2026 - SCHEDA NEGLI ELENCHI COME CARTOLAB2 (tema/scheda.twig)
   ===================================================================== */
.cl-card { display: flex; flex-direction: column; }
.cl-card .image { text-align: center; padding: 10px; }
.cl-card .image img.img-fluid { max-height: 200px; object-fit: contain; }
.cl-card-badge { position: absolute; right: 8px; top: 8px; z-index: 2; background: #f15a24; color: #fff; font-size: 12px; font-weight: bold; padding: 4px 8px; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cl-card .content { flex: 1; display: flex; flex-direction: column; }
.cl-card .description { padding: 0 15px; flex: 1; }
.cl-card .description h4 { font-size: 13px; text-transform: uppercase; font-weight: bold; line-height: 1.3; margin: 6px 0 4px; }
.cl-card .description h4 a { color: #1d9cd8; }
.cl-card-codice { font-size: 11px; color: #6b7280; margin-bottom: 6px; }
.cl-card-prezzo { line-height: 1; margin-top: 4px; }
.cl-card-euro { font-size: 26px; font-weight: bold; color: #333; }
.cl-card-cent { font-size: 13px; font-weight: bold; color: #333; vertical-align: top; margin-left: 1px; }
.cl-card-iva { font-size: 11px; color: #555; margin-left: 4px; }
.cl-card-pieno { font-size: 12px; color: #c62828; margin-left: 6px; }
.cl-card-ivato { font-size: 12px; color: #333; margin: 3px 0 6px; }
.cl-card-pronto { font-size: 12px; font-weight: bold; color: #333; }
.cl-card-disp { font-size: 12px; color: #333; margin-bottom: 4px; }
.cl-card-disp .fa-circle { font-size: 7px; color: #16a34a; vertical-align: 2px; }
.cl-card .cl-stock { font-size: 12px; margin: 4px 0; }
.cl-card .cl-ai-slot, .cl-card .cl-simili { display: none; }   /* il "Simili" di cartolab_ai: c'è già nella barra */
.cl-card-form { padding: 6px 15px 10px; }
.cl-card-carrello { display: flex; gap: 6px; align-items: stretch; }
.cl-card-carrello .cl-qta { width: 56px; flex: 0 0 auto; padding: 4px; height: 34px; }
.cl-card-carrello .cl-pm { min-width: 26px; padding: 0 6px; height: 34px; }
.cl-card-carrello:has(.cl-pm) { gap: 0; }
.cl-card-carrello:has(.cl-pm) .cl-card-aggiungi { margin-left: 6px; }
.cl-card-aggiungi { white-space: nowrap; height: 34px; }
.cl-card-esaurito { width: 100%; cursor: not-allowed; }
.cl-card-sconto { font-size: 12px; color: #f97316; margin-top: 6px; }
.cl-card-barra { display: flex; border-top: 1px solid #e5e7eb; background: #f3f4f6; }
.cl-card-barra a { flex: 1; text-align: center; padding: 9px 0; font-size: 12px; font-weight: bold; color: #4b5563; text-decoration: none; }
.cl-card-barra a + a { border-left: 1px solid #e5e7eb; }
.cl-card-barra a:hover { background: #e5e7eb; color: #111; }

/* 16/11/2026 - tendina dei suggerimenti della ricerca (cartolab.js, tema/ricerca.php) */
.cl-sugg { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 1050; background: #fff; border: 1px solid #d1d5db; border-top: none; box-shadow: 0 10px 25px rgba(0,0,0,.15); max-height: 480px; overflow-y: auto; }
/* 17/11/2026: suggerimenti solo testo (righe più basse, nome su una riga) */
.cl-sugg a { display: block; padding: 6px 12px; color: #222; text-decoration: none; border-bottom: 1px solid #f1f1f1; }
.cl-sugg a:hover, .cl-sugg a.attivo { background: #e8f4fb; }
.cl-sugg img, .cl-sugg-vuota { width: 44px; height: 44px; object-fit: contain; flex: 0 0 44px; }
.cl-sugg-testo { flex: 1; min-width: 0; line-height: 1.25; }
.cl-sugg-nome { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-sugg-testo small { color: #6b7280; font-size: 11px; }
.cl-sugg-prezzo { font-weight: bold; font-size: 13px; white-space: nowrap; }
.cl-sugg-tutti { text-align: center; font-weight: bold; color: #1d9cd8 !important; }

/* 16/11/2026 - pagina prodotto: preferiti, confronta, WhatsApp, Simili sotto il carrello (tema/prodotto.php) */
/* 22/11/2026: pulsanti preferiti/confronta/WhatsApp/Simili in alto sopra il titolo, come su c2:
   una riga ordinata, stessa altezza, spazio sotto prima del titolo */
.cl-azioni { margin: 0 0 12px; }
.cl-azioni .btn-group { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-azioni .btn { border-radius: 4px !important; font-size: 14px; padding: 6px 12px; line-height: 1.4; display: inline-flex; align-items: center; gap: 6px; }
.cl-azioni .btn-light { background: #eee; border: 1px solid #ddd; color: #555; }
.cl-azioni .btn-light:hover { background: #e2e2e2; }

/* 16/11/2026 - pagina prodotto: foto più grande (colonna della foto 7/12, dati 5/12, da tablet in su)
   23/11/2026: metà e metà: la pagina ora è a tutta larghezza (categorie a scomparsa) e la foto era enorme */
@media (min-width: 768px) {
  #product-product #content > .row.mb-3 > .col-sm:first-child, #content > .row.mb-3:has(.magnific-popup) > .col-sm:first-child { flex: 0 0 50%; max-width: 50%; }
  #product-product #content > .row.mb-3 > .col-sm:last-child, #content > .row.mb-3:has(.magnific-popup) > .col-sm:last-child { flex: 0 0 50%; max-width: 50%; }
  /* 19/11/2026: grande solo la foto principale (prima anche le foto aggiuntive diventavano grandi) */
  #content .image.magnific-popup:not(.cl-galleria) > a > img { width: 100%; height: auto; }
}

/* 19/11/2026 - pagina prodotto: foto aggiuntive piccole, in fila sotto la principale (come cartolab2)
   23/11/2026: valgono solo se manca la galleria nuova (.cl-galleria, tema/prodotto.php galleria()) */
#content .image.magnific-popup:not(.cl-galleria) > div { display: flex; flex-wrap: wrap; gap: 8px; }
#content .image.magnific-popup:not(.cl-galleria) > div > a > img { width: 100px; height: 100px; object-fit: contain; padding: 3px; }
#content .image.magnific-popup:not(.cl-galleria) > div > a:hover > img { border-color: #1d9cd8; }

/* ---------- 23/11/2026 - GALLERIA FOTO della scheda prodotto (tema/prodotto.php galleria()) ----------
   una foto alla volta, frecce sulla foto, pallini e contatore; clic = foto grande */
.cl-galleria { position: relative; margin-bottom: 1rem; }
.cl-galleria .carousel-item a { display: flex; align-items: center; justify-content: center; height: 460px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; cursor: zoom-in; overflow: hidden; }
.cl-galleria .carousel-item img { max-width: 92%; max-height: 430px; object-fit: contain; transition: transform .25s; }
.cl-galleria .carousel-item a:hover img { transform: scale(1.03); }
.cl-galleria .carousel-control-prev, .cl-galleria .carousel-control-next { width: 60px; height: 460px; opacity: 1; }
.cl-freccia { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; color: #333; font-size: 16px; }
.cl-freccia:hover { background: #fff; color: #000; }
@media (hover: hover) {
  .cl-galleria .carousel-control-prev, .cl-galleria .carousel-control-next { opacity: 0; transition: opacity .2s; }
  .cl-galleria:hover .carousel-control-prev, .cl-galleria:hover .carousel-control-next { opacity: 1; }
}
.cl-galleria .carousel-indicators { position: static; margin: 10px 0 0; gap: 6px; }
.cl-galleria .carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; background: #c4c4c4; border: 0; margin: 0; opacity: 1; }
.cl-galleria .carousel-indicators .active { background: #1d9cd8; width: 22px; border-radius: 5px; }
.cl-ingrosso .cl-galleria .carousel-indicators .active { background: #ff9e1f; }
.cl-contatore { position: absolute; bottom: 12px; left: 12px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 10px; }
.cl-zoom { text-align: center; color: #888; font-size: 12px; margin-top: 6px; }
@media (max-width: 767px) {
  .cl-galleria .carousel-item a, .cl-galleria .carousel-control-prev, .cl-galleria .carousel-control-next { height: 320px; }
  .cl-galleria .carousel-item img { max-height: 300px; }
  .cl-zoom { display: none; }
}

/* 16/11/2026 - pagina di accesso: scelta del tipo di account (tema/account.php) */
.cl-tipi .list-group-item { padding: 10px 12px; }
.cl-tipi .list-group-item i { color: #1d9cd8; }

/* =====================================================================
   17/11/2026 - INGROSSO: menu arancione come su cartolab2 (ingrosso.cartolab.it)
   al posto del blu di cartolab.it. Classe cl-ingrosso sul <body> (common/header.twig)
   ===================================================================== */
.cl-ingrosso #menu {
  background-color: #ffa837;
  background-image: linear-gradient(to bottom, #ffa837, #ff9e1f);
  border-color: #ff9e1f #ff9e1f #d97f00;
}
.cl-ingrosso #menu .navbar-nav > li > a,
.cl-ingrosso #menu .navbar-nav > .nav-item > .nav-link,
.cl-ingrosso #menu #category { color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.25); }
.cl-ingrosso #menu .navbar-nav > li > a:hover,
.cl-ingrosso #menu .navbar-nav > li.show > a { background-color: rgba(0,0,0,.08); }
.cl-ingrosso #menu .btn-navbar,
.cl-ingrosso #menu .navbar-toggler { background-color: #ff9e1f; border-color: #e88a00; }

/* 17/11/2026 - INGROSSO: "Accedi per vedere i prezzi" / "Accedi per acquistare" in arancione */
.cl-ingrosso .cl-card .btn-outline-primary { color: #e88a00; border-color: #ff9e1f; }
.cl-ingrosso .cl-card .btn-outline-primary:hover { color: #fff; background-color: #ff9e1f; border-color: #ff9e1f; }
.cl-ingrosso .cl-prezzi .btn-primary,
.cl-ingrosso a.btn-primary[href*="account/login"] { background-color: #ff9e1f; border-color: #ff9e1f; color: #fff; }
.cl-ingrosso .cl-prezzi .btn-primary:hover,
.cl-ingrosso a.btn-primary[href*="account/login"]:hover { background-color: #e88a00; border-color: #e88a00; }

/* 17/11/2026 - INGROSSO: benvenuto nella pagina di registrazione (tema/account.php) */
.cl-benvenuto-ingrosso { border: 1px solid #ffd59a; border-left: 5px solid #ff9e1f; background: #fff8ee; border-radius: 6px; padding: 18px 22px; margin-bottom: 22px; }
.cl-benvenuto-ingrosso h2 { font-size: 1.4rem; color: #c86f00; margin: 0 0 .5rem; }
.cl-benvenuto-ingrosso .lead { font-size: 1.05rem; }
.cl-benvenuto-ingrosso .cl-vantaggi { list-style: none; padding: 0; margin: .8rem 0 1rem; }
.cl-benvenuto-ingrosso .cl-vantaggi li { padding: 4px 0; }
.cl-benvenuto-ingrosso .cl-vantaggi i { color: #ff9e1f; width: 24px; text-align: center; }

/* ---------- 17/11/2026: CELLULARE (controllo a 390 px di larghezza) ---------- */
/* frecce dei caroselli (banner home): uscivano di 4 px a destra e la pagina
   si spostava di lato col dito */
.carousel { overflow: hidden; }
/* briciole di pane: il nome lungo del prodotto allargava la pagina */
.breadcrumb { flex-wrap: wrap; }
.breadcrumb-item, .breadcrumb-item a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }   /* il tema le teneva su una riga (nowrap) */
@media (max-width: 767px) {
	/* accesso: "Cliente esistente" (login) sopra e "Nuovo cliente" sotto, a tutta
	   larghezza; prima erano due colonne strette affiancate */
	#account-login #content > .row { flex-direction: column-reverse; }
	#account-login #content > .row > .col { flex: 0 0 100%; max-width: 100%; }
	/* spazio in fondo: le bolle della chat e dei cookie non coprono gli ultimi pulsanti */
	#container > main { padding-bottom: 70px; }
}

/* ---------------------------------------------------------------------
   22/11/2026 - FONT INTER (prova) al posto del font di sistema di Bootstrap
   File del font nel nostro sito (niente Google Fonts: nessun dato ai server di Google):
   extension/cartolab_tema/catalog/view/fonts/inter-latin-wght-normal.woff2 (font "variabile": tutti i pesi in un
   file da 48 KB; lettere latine, accenti italiani e simbolo €). Licenza SIL OFL 1.1
   (stessa cartella, OFL-inter.txt).
   PER TORNARE COM'ERA: cancellare da qui alla fine del blocco "FINE FONT INTER".
   --------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}
:root { --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body, button, input, select, textarea, .btn, .form-control, .form-select, footer h5 { font-family: var(--bs-body-font-family); }
/* Inter è un po' più largo: lettere leggermente più strette nei titoli e numeri dei prezzi tutti larghi uguali */
h1, h2, h3, h4, h5 { letter-spacing: -0.01em; }
.price, .cl-card-prezzo, .cl-card-euro, .cl-card-cent { font-variant-numeric: tabular-nums; }
/* FINE FONT INTER */
