/* AhDelivery — prove di pagina (solo IP di prova, vedi views/js/ux.js che mette html.ahd-ux) */

/* il vecchio modulo delle date: in prova si vede solo il nostro */
.ahd-ux #estimateddelivery, .ahd-ux .estimateddelivery-list { display: none !important; }

/* pagina prodotto */
.ahd-ux #pQuantityAvailable { display: none !important; }          /* «1145 Articoli»: rivelava il +1000 */
.ahd-ux #last_quantities { display: none !important; }             /* «Ultimi articoli in magazzino!»: ora «Disponibilità: solo N» */
.ahd-ux .socialsharing_product { display: none !important; }       /* sostituiti da .ahd-share */
.ahd-bar, .ahd-pc-head, .ahd-hide { display: none; }

.ahd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; }
.ahd-share-t { font-size: 13px; color: #555; margin-right: 2px; }
.ahd-sh { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15); transition: transform .15s; }
.ahd-sh:hover { transform: scale(1.08); }
.ahd-sh svg { width: 20px; height: 20px; }
.ahd-sh-wa { background: #25d366; }
.ahd-sh-instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.ahd-sh-facebook { background: #1877f2; }
.ahd-sh-pinterest { background: #e60023; }
.ahd-sh-email, .ahd-sh-copy { background: #eceae6; color: #333; }
.ahd-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 100010; background: #333; color: #fff;
  padding: 9px 14px; border-radius: 8px; font-size: 13px; max-width: 90vw; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }

/* garanzie sotto il pulsante d'acquisto */
.ahd-trust { list-style: none; margin: 10px 0 4px; padding: 8px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px;
  border: 1px solid #e6e0d6; border-radius: 8px; background: #fff; font-size: 12.5px; color: #333; }
.ahd-trust li { margin: 0; padding: 0; line-height: 1.3; }
.ahd-trust li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ahd-trust a, .ahd-trust span { color: #333 !important; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.ahd-trust a { text-decoration: underline; text-decoration-color: #ccc; }
.ahd-trust i { font-style: normal; width: 18px; text-align: center; flex: none; }
/* spedizione gratis */
.ahd-free { margin: 0 0 10px; padding: 7px 10px; border-radius: 8px; background: #eef7ee; color: #1b5e20; font-size: 13px; line-height: 1.35; }
.ahd-free:empty { display: none; }
.ahd-free-track { display: block; height: 6px; margin-top: 5px; border-radius: 3px; background: #d4e9d4; overflow: hidden; }
.ahd-free-track span { display: block; height: 100%; border-radius: 3px; background: #46a74e; }
.ahd-free-cart { margin: 0 0 12px; font-size: 14px; }

/* liste: etichette sulle foto al posto di «Nuovo» e «Sconti!» (li mostrava a tutti) */
.ahd-ux .product_list .new-box, .ahd-ux .product_list .sale-box { display: none !important; }
.ahd-ux .product_list .product-image-container { position: relative; }
.ahd-tags { position: absolute; top: 6px; left: 6px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.ahd-tag { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: bold; line-height: 1.5; color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.ahd-tag-off { background: #c62828; }
.ahd-tag-few { background: #e67e00; }
.ahd-tag-out { background: #616161; }
.ahd-tag-best { background: #1f2937; }
.ahd-tag-qd { background: #0f5fa8; }
.ahd-tag-new { background: #2e7d32; }

@media (max-width: 767px) {
  /* in alto: titolo piccolo e riga con codice e disponibilità */
  .ahd-ux .ahd-top h1 { font-size: 16px !important; line-height: 1.3 !important; margin: 4px 0 2px !important; padding: 0 !important; font-weight: normal; color: #222; }
  .ahd-ux .ahd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; color: #666; margin-bottom: 6px; }
  .ahd-ux .ahd-meta p { margin: 0 !important; padding: 0 !important; }
  .ahd-ux .ahd-meta #product_reference label { font-weight: normal; }
  .ahd-ux .ahd-proof { color: #8a5a00; }
  .ahd-ux.ahd-crumb-on .breadcrumb { display: none !important; }
  .ahd-crumb { display: inline-block; margin: 2px 0 0; font-size: 13px; color: #0f5fa8 !important; text-decoration: none; }
  .ahd-gal-bar #availability_statut { flex: 0 0 84px; margin: 0 !important; padding: 0 !important; }
  .ahd-gal-bar #availability_statut span#availability_value { background: none !important; border: 0 !important; color: #2e7d32 !important; padding: 0 !important;
    font-size: 12px; font-weight: bold; white-space: nowrap; }
  .ahd-gal-bar #availability_statut span#availability_value.label-warning, .ahd-gal-bar #availability_statut span#availability_value.label-danger { color: #b26a00 !important; }
  .ahd-gal-bar #availability_statut span#availability_value:before { content: '● '; }

  /* foto a tutto schermo da scorrere */
  .ahd-ux .pb-left-column { padding: 0 !important; }
  .ahd-ux #image-block, .ahd-ux #views_block, .ahd-ux .pb-left-column .resetimg { display: none !important; }
  .ahd-gal { margin: 0 10px 6px; }
  .ahd-track { border-radius: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
  .ahd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; background: #fff; }
  .ahd-track::-webkit-scrollbar { display: none; }
  .ahd-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
  .ahd-slide img { width: 100%; height: 100%; object-fit: contain; }
  .ahd-vslide iframe { width: 100%; height: 100%; border: 0; }
  .ahd-gal-bar { display: flex; align-items: center; padding: 6px 0 0; min-height: 36px; }
  .ahd-dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
  .ahd-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c9c9c9; transition: transform .2s, background .2s; }
  .ahd-dots i.on { background: #333; transform: scale(1.25); }
  .ahd-ico { flex: none; width: 38px; height: 38px; margin-left: 4px; border: 0; border-radius: 50%; background: #fff; color: #444;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
  .ahd-ico.ahd-heart { color: transparent; }
  .ahd-ico.ahd-heart svg path { stroke: #444; }
  .ahd-ico.ahd-heart.on { color: #e53935; }
  .ahd-ico.ahd-heart.on svg path { stroke: #e53935; }

  /* blocco d'acquisto in cima alla colonna */
  .ahd-ux .pb-center-column .pb-right-column { width: auto; float: none; padding: 0; margin: 4px 0 14px; }
  .ahd-ux .pb-center-column .pb-right-column #buy_block label { display: block; float: none; width: auto; text-align: left; margin: 0 0 4px; }
  .ahd-ux .pb-center-column .pb-right-column #buy_block .attribute_list, .ahd-ux .pb-center-column .pb-right-column #buy_block p { text-align: left; }
  .ahd-ux .pb-right-column #usefull_link_block, .ahd-ux .pb-right-column #wishlist_button_nopop,
  .ahd-ux .pb-right-column #wishlist_button { display: none !important; }       /* «Stampa» e lista desideri: c'è il cuore */
  .ahd-ux .ahd-share { justify-content: center; }
  /* sotto i 16px il telefono ingrandisce la pagina quando si tocca il campo (e poi scorre di lato) */
  .ahd-ux #quantity_wanted, .ahd-ux #pc_quantity, .ahd-ux .ahd-ev-pick input { font-size: 16px !important; }
  /* il Composer nella pagina (dopo la descrizione) no: si apre a tutto schermo da «Personalizza» */
  .ahd-ux.ahd-pc-on:not(.ahd-pc-open) #pc_composer { display: none !important; }
  .ahd-ux #short_description_block.ahd-clamp { max-height: 10.5em; overflow: hidden; position: relative; }
  .ahd-ux #short_description_block.ahd-clamp:after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3em;
    background: linear-gradient(rgba(244, 241, 236, 0), #f4f1ec); }
  .ahd-more { display: block; margin: 4px 0 12px; padding: 0; border: 0; background: none; color: #0f5fa8; font-weight: bold; text-decoration: underline; }

  /* barra fissa in basso */
  .ahd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e3e3e3;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, .10); transform: translateY(110%); transition: transform .2s; }
  .ahd-bar.on { transform: none; }
  .ahd-bar .ahd-free-bar { flex: 0 0 100%; margin: 0; padding: 4px 8px; font-size: 12px; }
  .ahd-bar .ahd-free-bar .ahd-free-track { height: 4px; margin-top: 3px; }
  .ahd-bar .ahd-bar-info { flex: 1; min-width: 0; line-height: 1.3; }
  .ahd-bar .ahd-bar-price { display: block; font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ahd-bar .ahd-bar-price b { font-size: 18px; color: #222; }
  .ahd-bar .ahd-bar-price span { color: #222; font-weight: bold; }
  .ahd-bar .ahd-bar-date { display: block; font-size: 12px; color: #2e7d32; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ahd-bar .ahd-bar-date.ahd-far { color: #b26a00; }
  .ahd-bar-qty { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 52px; height: 44px;
    border: 1px solid #cfcfcf; border-radius: 8px; background: #f7f7f7; color: #222; padding: 0 6px; line-height: 1.1; }
  .ahd-bar-qty small { font-size: 10px; color: #777; }
  .ahd-bar-qty b { font-size: 15px; }
  .ahd-bar-go { flex: none; height: 44px; border: 0; border-radius: 22px; padding: 0 16px; background: #46a74e; color: #fff; font-weight: bold; font-size: 15px;
    box-shadow: 0 2px 6px rgba(70, 167, 78, .35); }
  .ahd-ux.ahd-bar-on body { padding-bottom: 70px; }
  /* WhatsApp e «torna su» sopra la barra, non sotto */
  .ahd-ux.ahd-bar-on .whatsappBlock, .ahd-ux.ahd-bar-on #back-to-top { transform: translateY(-64px); }

  /* Product Composer a tutto schermo: foto sopra, scelte sotto, quantità e carrello fissi in fondo */
  .ahd-pc-open, .ahd-pc-open body { overflow: hidden !important; }
  .ahd-pc-open .ahd-bar, .ahd-pc-open .whatsappBlock, .ahd-pc-open #back-to-top, .ahd-pc-open .modulesden-cookies-bar { display: none !important; }
  .ahd-pc-open #pc_composer { position: fixed !important; top: 0; left: 0; right: 0; bottom: 0; z-index: 100000; margin: 0 !important; width: auto !important;
    height: 100% !important; display: flex !important; flex-direction: column; background: #fff; }
  .ahd-pc-open #pc_composer > #pc_top, .ahd-pc-open #pc_composer > #pc_bottom, .ahd-pc-open #pc_composer > .pc_close_popup { display: none !important; }
  .ahd-pc-open .ahd-pc-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 6px 0 14px;
    border-bottom: 1px solid #eee; font-size: 16px; color: #222; }
  .ahd-pc-open .ahd-pc-head b { color: #222 !important; }
  .ahd-pc-open .ahd-pc-step { margin: 2px auto 0 8px; font-size: 13px; color: #777; }
  .ahd-pc-x { width: 42px; height: 42px; border: 0; background: none; font-size: 30px; line-height: 1; color: #333; }
  .ahd-pc-open #pc_content { flex: 1; min-height: 0; display: flex !important; flex-direction: column; height: auto !important; overflow: hidden; }
  /* --ahd-r = altezza/larghezza dello sfondo (views/js/ux.js): i livelli sono quadrati, il bianco sotto lo sfondo si taglia */
  .ahd-pc-open #pc_content .pc_main { --ahd-w: min(100vw - 16px, calc(42vh / var(--ahd-r, 1))); order: 0; flex: none; float: none !important;
    width: var(--ahd-w) !important; height: calc(var(--ahd-w) * var(--ahd-r, 1)) !important; overflow: hidden; margin: 6px auto !important;
    transition: width .2s, height .2s; }
  .ahd-pc-open.ahd-pc-small #pc_content .pc_main { --ahd-w: min(70vw, calc(27vh / var(--ahd-r, 1))); }
  .ahd-pc-open #pc_content .pc_main img { width: 100% !important; height: auto !important; max-height: none !important; }
  .ahd-pc-open #pc_content .pc_side { order: 1; flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; float: none !important;
    width: auto !important; margin: 0 !important; padding: 4px 8px 10px !important; border-top: 1px solid #eee; }
  .ahd-pc-open .pc_side .pc_group { width: auto !important; margin: 0 0 6px !important; }
  /* menu come schede: bianche su fondo grigio chiaro, numero del passo, quello aperto con il bordo verde */
  .ahd-pc-open #pc_content .pc_side { background: #f1efeb; }
  .ahd-pc-open .pc_side .pc_group { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .10); overflow: hidden;
    border: 1px solid #e2ddd5; margin: 0 0 8px !important; }
  .ahd-pc-open .pc_side .pc_group:not(.pc_collapsed) { border: 2px solid #46a74e; box-shadow: 0 2px 8px rgba(70, 167, 78, .18); }
  .ahd-pc-open .pc_side .pc_title { min-height: 0 !important; padding: 10px 12px !important; border: 0 !important; border-radius: 0 !important;
    background: #fff !important; box-shadow: none !important; color: #333 !important; display: flex !important; align-items: center; gap: 8px; }
  .ahd-pc-open .pc_side .pc_group:not(.pc_collapsed) .pc_title { background: #f3faf3 !important; border-bottom: 1px solid #dcefdc !important; }
  .ahd-pc-open .pc_side .pc_title span { font-size: 14px !important; color: #222 !important; font-weight: bold; flex: 1 1 auto; }
  .ahd-pc-open .pc_side .pc_title i, .ahd-pc-open .pc_side .pc_title:before, .ahd-pc-open .pc_side .pc_title:after { color: #666 !important; }
  .ahd-pc-open .pc_side .pc_title i.ahd-pc-num { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #b5494a; color: #fff !important;
    font-style: normal; font-size: 12px; font-weight: bold; display: inline-flex; align-items: center; justify-content: center; }
  .ahd-pc-open .pc_side .pc_group:not(.pc_collapsed) .ahd-pc-num { background: #46a74e; }
  .ahd-pc-open .pc_side .pc_indicator { display: none !important; }   /* la barretta nera del menu aperto */
  .ahd-pc-open .pc_side .ahd-pc-todo { flex: none; padding: 1px 7px; border-radius: 9px; background: #fff3e0; color: #b26a00; font-size: 11px;
    font-style: normal; font-weight: bold; }
  .ahd-pc-open .pc_side .pc_images { padding: 0 8px !important; box-sizing: border-box; }
  /* prezzo in più dentro la miniatura, in basso: la scelta resta grande uguale */
  .ahd-pc-open .pc_side .pc_image { position: relative; }
  .ahd-pc-open .pc_side .pc_image .pc_price { display: none !important; }
  .ahd-pc-open .pc_side .ahd-pc-price { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 0; background: rgba(255, 255, 255, .88); color: #2e7d32;
    font-size: 9px; font-weight: bold; line-height: 1.2; text-align: center; pointer-events: none; }
  .ahd-pc-open .pc_side .ahd-pc-cap small { display: block; color: #666; font-size: 11px; line-height: 1.3; margin-top: 1px; }
  /* scelte: tutte visibili, 6 per riga, senza pagine e frecce */
  .ahd-pc-open .pc_side .pc_images { height: auto !important; width: 100% !important; }
  .ahd-pc-open .pc_side .pc_collapsed .pc_images { display: none !important; }
  .ahd-pc-open .pc_side .pc_arrow { display: none !important; }
  .ahd-pc-open .pc_side .pc_list { width: 100% !important; height: auto !important; overflow: visible !important; }
  .ahd-pc-open .pc_side .pc_scroll_div { width: 100% !important; height: auto !important; transform: none !important; left: 0 !important; margin: 0 !important;
    display: flex !important; flex-wrap: wrap; gap: 5px; padding: 6px 0 !important; }
  .ahd-pc-open .pc_side .pc_image_container { display: contents !important; }
  .ahd-pc-open .pc_side .pc_image { width: calc((100% - 25px) / 6) !important; height: auto !important; aspect-ratio: 1 / 1; margin: 0 !important; float: none !important;
    padding: 0 !important; border-radius: 4px; overflow: hidden; }
  .ahd-pc-open .pc_side .pc_image img { width: 100% !important; height: 100% !important; object-fit: cover; }
  .ahd-pc-open .pc_side .pc_image.pc_selected { outline: 3px solid #46a74e; outline-offset: -3px; }
  .ahd-pc-pick { display: none; }
  .ahd-pc-open .pc_side .pc_collapsed .ahd-pc-pick { display: inline-block; width: 30px; height: 30px; object-fit: cover; border-radius: 5px; border: 1px solid #e2ddd5;
    margin: -4px 26px -4px 0; background: #fff; flex: none; }
  .ahd-pc-next { display: none; }
  /* «Avanti» resta in vista in fondo alle scelte anche con elenchi lunghi */
  .ahd-pc-open .pc_side .pc_group:not(.pc_collapsed) .pc_images { overflow: visible !important; }
  .ahd-pc-open .pc_side .ahd-pc-next { display: block; position: sticky; bottom: 0; z-index: 3; width: 100%; margin: 4px 0 6px; padding: 9px 12px;
    border: 1px solid #46a74e; border-radius: 20px; background: #fff; color: #2e7d32; font-weight: bold; font-size: 14px; text-align: center;
    box-shadow: 0 -6px 10px 4px #fff; }
  /* avvisi del Composer («scelta obbligatoria»…) e ingrandimenti sopra il Composer a tutto schermo */
  .ahd-pc-open .fancybox-overlay { z-index: 100005 !important; }
  .ahd-pc-open .fancybox-wrap, .ahd-pc-open .fancybox-opened { z-index: 100006 !important; }
  .ahd-pc-open .qtip { display: none !important; }   /* il riquadro nero delle scelte: nome, prezzo e descrizione sono in «Scelto» */
  /* in fondo: data, prezzo, quantità, carrello */
  .ahd-pc-open #pc_content .dg_box_info { order: 2; flex: none; width: auto !important; margin: 0 !important; float: none !important;
    display: grid !important; grid-template-columns: auto auto 1fr; grid-template-areas: 'date date date' 'price qty cart'; align-items: center; gap: 4px 10px;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom)) !important; border-top: 1px solid #e3e3e3; box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); background: #fff;
    font-size: 0; }   /* «Quantità:» è testo senza contenitore: così sparisce */
  .ahd-pc-open .dg_box_info > * { font-size: 14px; }
  .ahd-pc-open .dg_box_info > br { display: none; }
  .ahd-pc-open .dg_box_info .ahd-mini { grid-area: date; margin: 0 !important; padding: 2px 4px !important; border: 0; background: none; font-size: 12px; }
  .ahd-pc-open .dg_box_info .ahd-mini .ahd-badge { display: none; }
  .ahd-pc-open .dg_box_info #pc_price_div_dg { grid-area: price; width: auto !important; margin: 0 !important; white-space: nowrap; }
  .ahd-pc-open .dg_box_info #pc_price_div_dg #pc_price { font-size: 18px !important; }
  .ahd-pc-open .dg_box_info #pc_quantity_div { grid-area: qty; margin: 0 !important; float: none !important; padding: 0 !important; display: flex; align-items: center; gap: 4px; }
  .ahd-pc-open #pc_quantity_div .pc_minus, .ahd-pc-open #pc_quantity_div .pc_plus { width: 38px !important; height: 38px !important; border-radius: 50%;
    display: inline-flex !important; align-items: center; justify-content: center; margin: 0 !important; padding: 0 !important; }
  .ahd-pc-open #pc_quantity_div .pc_minus i, .ahd-pc-open #pc_quantity_div .pc_plus i { font-size: 15px !important; line-height: 1 !important; }
  .ahd-pc-open #pc_quantity_div #pc_quantity { width: 54px !important; height: 38px !important; font-size: 16px !important; text-align: center; margin: 0 !important;
    border: 1px solid #bbb !important; border-radius: 6px; padding: 0 2px !important; }
  .ahd-pc-open .dg_box_info #pc_cart_div_dg { grid-area: cart; width: auto !important; min-width: 0; margin: 0 !important; float: none !important; }
  .ahd-pc-open .dg_box_info #pc_add_to_cart { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 40px !important;
    border-radius: 20px; margin: 0 !important; overflow: hidden; }
  .ahd-pc-open .dg_box_info #pc_add_to_cart span { font-size: 14px !important; line-height: 1.2 !important; border: 0 !important; white-space: normal;
    padding: 0 8px 0 50px !important; font-size: 12.5px !important; line-height: 1.15 !important; text-align: center; }
  .ahd-pc-open .dg_box_info .ahd-pc-tot { display: block; font-size: 11px; color: #666; font-weight: normal; }
  .ahd-pc-open .pc_side .ahd-pc-cap { font-size: 13px; color: #333; margin: 6px 2px 0; }
  .ahd-pc-open .pc_side .ahd-pc-cap:empty { display: none; }
  .ahd-pc-open .pc_side .ahd-pc-cap span { color: #2e7d32; font-weight: bold; }

  /* categoria: sottocategorie in una fila da scorrere di lato */
  .ahd-ux #subcategories ul { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    padding: 4px 0 8px; margin: 0; }
  .ahd-ux #subcategories ul li { flex: 0 0 31%; width: auto !important; float: none !important; margin: 0 4px !important; scroll-snap-align: start; padding: 0 !important; }
  .ahd-ux #subcategories .subcategory-image { padding: 0 !important; }
  .ahd-ux #subcategories .subcategory-image img { width: 100%; height: auto; }
  .ahd-ux #subcategories h5 { font-size: 11px !important; line-height: 1.25 !important; min-height: 0 !important; margin: 4px 0 0 !important; }

  /* categoria: 2 prodotti per riga */
  .ahd-ux ul.product_list.grid { display: flex; flex-wrap: wrap; margin: 0 -4px; }
  .ahd-ux ul.product_list.grid > li { width: 50% !important; float: none !important; padding: 0 4px !important; margin-bottom: 14px !important; clear: none !important; }
  .ahd-ux ul.product_list.grid > li .product-container { height: 100%; display: flex; flex-direction: column; padding: 0 !important; }
  .ahd-ux ul.product_list.grid > li .right-block { flex: 1; display: flex; flex-direction: column; padding: 4px 2px 6px !important; }
  .ahd-ux ul.product_list.grid > li h5 { font-size: 13px !important; line-height: 1.3 !important; min-height: 0 !important; height: auto !important; margin: 4px 0 !important;
    text-transform: none !important; }
  .ahd-ux ul.product_list.grid > li .product-name { font-size: 13px !important; text-transform: none !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* nomi in maiuscolo nel catalogo: in minuscolo con l'iniziale grande, più facili da leggere */
  .ahd-ux ul.product_list.grid > li .product-name { text-transform: lowercase !important; }
  .ahd-ux ul.product_list.grid > li .product-name::first-letter { text-transform: uppercase; }
  .ahd-ux ul.product_list.grid > li .content_price { margin: 0 !important; padding: 0 !important; }
  .ahd-ux ul.product_list.grid > li .price { font-size: 16px !important; }
  .ahd-ux ul.product_list.grid > li .button-container { margin-top: auto !important; padding: 0 !important; }
  .ahd-ux ul.product_list.grid > li .button-container .button span { font-size: 13px !important; padding: 5px 8px !important; }
  .ahd-ux ul.product_list.grid > li .availability, .ahd-ux ul.product_list.grid > li .functional-buttons { display: none !important; }
  .ahd-ux ul.product_list.grid > li .ahd-list { font-size: 11px; padding: 3px 4px; }
  .ahd-tag { font-size: 10px; padding: 1px 6px; }
}
