/* Vetrina Federata - Front-end CSS v1.6.6 */

/* ================================================================
   TOOLBAR
================================================================ */
.tk-vetrina-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tk-vetrina-search {
    flex: 1;
    min-width: 200px;
    max-width: 380px;
    padding: 9px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}
.tk-vetrina-ordina {
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

/* ================================================================
   STATO / SPINNER — solo per il caricamento
================================================================ */
.tk-vetrina-stato {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.tk-vetrina-stato .tk-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ddd;
    border-top-color: #555;
    border-radius: 50%;
    animation: tkVSpin .7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes tkVSpin { to { transform: rotate(360deg); } }

/* ================================================================
   GRIGLIA
================================================================ */
.tk-vetrina-griglia {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}
.tk-vetrina-col-2 { grid-template-columns: repeat(2, 1fr); }
.tk-vetrina-col-3 { grid-template-columns: repeat(3, 1fr); }
.tk-vetrina-col-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .tk-vetrina-col-3,
    .tk-vetrina-col-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .tk-vetrina-col-2,
    .tk-vetrina-col-3,
    .tk-vetrina-col-4 { grid-template-columns: 1fr; }
}

/* ================================================================
   CARD BASE — identica alla card tema (border + border-radius)
================================================================ */
.tk-pcard {
    background: var(--global-palette9, #fff);
    border: 1px solid var(--global-gray-400, #e2e4e7);
    border-radius: 10px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    position: relative;
}
.tk-pcard:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    transform: translateY(-3px);
}

/* ================================================================
   THUMBNAIL (replica .product-thumbnail)
================================================================ */
.tk-pcard__thumb-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
    border-radius: 10px 10px 0 0;
}
.tk-pcard__thumb-wrap > a {
    display: block;
    width: 100%;
    height: 100%;
}
.tk-pcard__thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.tk-pcard:hover .tk-pcard__thumb-wrap img {
    transform: scale(1.05);
}

/* Badge sconto (replica .onsale WooCommerce) */
.tk-pcard .product-onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}
.tk-pcard .onsale {
    display: inline-block;
    background: #826ac8;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    line-height: 1.4;
}

/* Azioni hover destra — animazione identica al tema Paydea:
   opacity:0 + translate3d(100%,0,0) → opacity:1 + translateZ(0) in 0.3s ease */
.tk-pcard .product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translate3d(100%, 0, 0);
    transition: all 0.3s ease;
    pointer-events: none;
}
.tk-pcard:hover .product-actions {
    opacity: 1;
    transform: translateZ(0);
    pointer-events: auto;
}
/* Bottoni azione — dimensioni e CSS vars dal tema clever.css */
.tk-pcard .product-actions a,
.tk-pcard .woosw-btn,
.tk-pcard .woosc-btn {
    width: 35px;
    height: 35px;
    background: var(--global-palette7, #fff);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    text-decoration: none !important;
    color: var(--global-palette3, #444) !important;
    border: none;
    transition: background .15s, color .15s;
    line-height: 1;
}
.tk-pcard .product-actions a:hover,
.tk-pcard .woosw-btn:hover,
.tk-pcard .woosc-btn:hover {
    background: var(--global-palette-btn-bg, #2e4057) !important;
    color: var(--global-palette-btn, #fff) !important;
}
.tk-pcard .woosw-btn-icon,
.tk-pcard .woosc-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    line-height: 1;
}
.tk-pcard .woosw-btn-icon svg,
.tk-pcard .woosc-btn-icon svg {
    display: block;
    flex-shrink: 0;
}
/* Stato attivo wishlist — cuore pieno */
.tk-pcard .woosw-btn.tkv-attivo,
.tk-pcard .woosw-btn.tkv-attivo:hover {
    background: var(--global-palette7, #fff) !important;
    color: #e0245e !important;
    box-shadow: 0 2px 8px rgba(224,36,94,.25);
}
.tk-pcard .woosw-btn.tkv-attivo .woosw-btn-icon svg { fill: #e0245e; stroke: #e0245e; }
/* Stato attivo compare */
.tk-pcard .woosc-btn.tkv-attivo,
.tk-pcard .woosc-btn.tkv-attivo:hover {
    background: var(--global-palette7, #fff) !important;
    color: #2e4057 !important;
    box-shadow: 0 2px 8px rgba(46,64,87,.25);
}
.tk-pcard .woosc-btn.tkv-attivo .woosc-btn-icon svg { stroke: #2e4057; stroke-width: 2.8; }

/* Anti DOPPIA ICONA — il tema (paydea-custom.css) negli stati attivi
   .tkv-wl-attivo/.tkv-cp-attivo inietta un'icona come background-image
   sullo span .woosw-btn-icon/.woosc-btn-icon. Pensato per i bottoni a
   font-glyph del minisito; i nostri usano un SVG inline → 2 icone.
   Qui annulliamo il background-image del tema e teniamo solo l'SVG inline,
   colorandolo per entrambe le classi attive (federata + minisito). */
.tk-pcard .woosw-btn.tkv-wl-attivo .woosw-btn-icon,
.tk-pcard .woosw-btn.tkv-attivo .woosw-btn-icon,
.tk-pcard .woosc-btn.tkv-cp-attivo .woosc-btn-icon,
.tk-pcard .woosc-btn.tkv-attivo .woosc-btn-icon {
    background-image: none !important;
    width: auto !important;
    height: auto !important;
}
.tk-pcard .woosw-btn.tkv-wl-attivo,
.tk-pcard .woosc-btn.tkv-cp-attivo { color: inherit !important; }
.tk-pcard .woosw-btn.tkv-wl-attivo .woosw-btn-icon svg { fill: #e0245e !important; stroke: #e0245e !important; }
.tk-pcard .woosc-btn.tkv-cp-attivo .woosc-btn-icon svg { stroke: #2e4057 !important; stroke-width: 2.8; }

/* ================================================================
   STELLE — overlay in basso sulla thumbnail
================================================================ */
.tk-pcard .star-rating-block {
    position: absolute;
    display: flex;
    justify-content: center;
    padding: 0 5px;
    margin: 0;
    pointer-events: none;
    transform: translateY(50%);
    bottom: 20px;
    right: 10px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 4;
    flex-direction: row;
}
.tk-pcard .star-rating-block .tk-stars-link,
.tk-pcard .star-rating-block > .tm-star-rating {
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.tk-pcard .tm-star-rating {
    --size: 15px;
    --fill: #f7bb03;
    --half: #f7bb03;
    --empty: #f7bb03;
    display: inline-block;
    font-size: 0;
    line-height: 24px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.tk-pcard .tm-star-rating svg {
    display: inline-block;
    vertical-align: middle;
    width: var(--size);
    height: auto;
}
.tk-pcard .tm-star-full polygon  { fill: var(--fill); stroke: var(--fill); }
.tk-pcard .tm-star-half polygon  { stroke: var(--half); }
.tk-pcard .tm-star-empty polygon { fill: none; stroke: var(--empty); }

.tk-stars-link {
    text-decoration: none !important;
    display: inline-block;
}

/* ================================================================
   BOTTONE CARRELLO — replica .product-action-wrap.style-button
   Animazione slide-up dal basso identica al tema Paydea
================================================================ */
.tk-pcard .product-action-wrap {
    padding: 0 14px 14px;
    border-radius: 0 0 10px 10px;
}

/* Bottone carrello — colore fisso, non dipende da --global-palette-btn-bg
   che varia sito per sito nel Customizer */
.tk-pcard .tk-pcard__btn {
    display: block;
    width: 100%;
    background: #000000 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 11px 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .2s, opacity .2s;
    letter-spacing: .2px;
    line-height: 1.4;
}
.tk-pcard .tk-pcard__btn:hover {
    background: #70d0cc !important;
    color: #fff !important;
}
.tk-pcard .tk-pcard__btn.loading {
    opacity: .6;
    cursor: wait;
    pointer-events: none;
}
.tk-pcard .tk-pcard__btn.added {
    background: #000000 !important;
    color: #fff !important;
}
 .tk-pcard .tk-pcard__btn.added:hover {
    background: #70d0cc !important;
    color: #fff !important;
}

/* ================================================================
   DETTAGLI — titolo+prezzo a sinistra, stelline overlay foto
================================================================ */
.tk-pcard .product-details {
    padding: 18px 14px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--global-palette9, #fff);
}

/* Titolo — sinistra */
.tk-pcard .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.35;
    text-align: left;
    width: 100%;
}
.tk-pcard .woocommerce-loop-product__title a,
.tk-pcard .woocommerce-loop-product__title_ink {
    color: #2d3748;
    text-decoration: none;
    
    /* Limita a 2 righe con ellissi */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Altezza fissa per allineare le card (opzionale ma consigliato) */
    line-height: 1.4;
    min-height: 2.8em; /* 2 righe × line-height */
}
.tk-pcard .woocommerce-loop-product__title a:hover,
.tk-pcard .woocommerce-loop-product__title_ink:hover {
    color: #2d3748;
}

/* Badge sito — overlay basso sinistra thumbnail */
.tk-pcard__badge-sito {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 4;
}

/* Prezzo — sinistra */
.tk-pcard .price,
.tk-pcard__price {
    font-size: 1em;
    color: var(--global-palette3, #333);
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
}
.tk-pcard .price del,
.tk-pcard__price del {
    color: var(--global-palette4, #aaa);
    font-size: 0.9em;
    text-decoration: line-through;
    font-weight: normal;
}
.tk-pcard .price ins,
.tk-pcard .price ins .woocommerce-Price-amount,
.tk-pcard__price ins,
.tk-pcard__price strong {
    text-decoration: none;
    font-weight: 500;
    color: var(--global-palette-highlight, #2271b1);
    font-style: normal;
}

/* Cashback pill — stessa larghezza del bottone, nel footer */
.tk-pcard .tk-cashback-price, 
.tk-pcard .tk-pcard__cashback {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 5px 0 5px !important;
    width: 100% !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #fff !important;
    background: linear-gradient(113deg, #4f3f7d 0%, #826ac8 100%) !important;
    border: 1px solid #826ac8 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
	padding: 10px !important;
}
.tk-pcard .tk-cashback-price::before,
.tk-pcard .tk-pcard__cashback::before {
    content: '↩';
    font-size: 11px;
    opacity: .6;
}

/* ================================================================
   VUOTO / PAGINAZIONE
================================================================ */
.tk-vetrina-vuoto {
    text-align: center;
    padding: 50px 20px;
    color: #888;
    font-size: 15px;
    grid-column: 1 / -1;
}
.tk-vetrina-paginazione {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.tk-vetrina-paginazione button {
    padding: 7px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s, border-color .15s;
}
.tk-vetrina-paginazione button:hover {
    background: #f0f4ff;
    border-color: #2e4057;
}
.tk-vetrina-paginazione button.attiva {
    background: #2e4057;
    color: #fff;
    border-color: #2e4057;
    font-weight: 700;
    cursor: default;
}
.tk-vetrina-paginazione button:disabled {
    opacity: .4;
    cursor: default;
}

/* --- Bottone Add to Cart: spinner e check animati (stile tema Paydea) --- */
.tk-pcard__btn .tk-btn-spinner,
.tk-pcard__btn .tk-btn-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .5em;
    vertical-align: middle;
}
.tk-pcard__btn .tk-btn-spinner svg {
    animation: tk-spin 2s linear infinite;
}
.tk-pcard__btn.loading {
    opacity: .65;
    pointer-events: none;
}
/* Override tema: impedisce che .added collassi il bottone */
.tk-pcard .tk-pcard__btn.added {
    height: auto !important;
    padding: .6em 1em !important;
    overflow: visible !important;
    border: inherit !important;
    pointer-events: none;
}
@keyframes tk-spin {
    to { transform: rotate(360deg); }
}

/* --- Skeleton Loader --- */
.tk-skeleton {
    overflow: hidden;
    border-radius: 10px;
    background: var(--global-palette9, #fff);
}
.tk-skeleton__thumb {
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: tk-shimmer 1.5s ease-in-out infinite;
    border-radius: 10px 10px 0 0;
}
.tk-skeleton__body {
    padding: 16px;
}
.tk-skeleton__line {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: tk-shimmer 1.5s ease-in-out infinite;
    margin-bottom: 10px;
}
.tk-skeleton__line--title { width: 75%; height: 16px; }
.tk-skeleton__line--price { width: 40%; }
.tk-skeleton__line--btn   { width: 100%; height: 38px; border-radius: 6px; margin-top: 14px; }
@keyframes tk-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ================================================================
   CONTROLLO TOTALE pulsanti Wishlist/Confronto (card VETRINA)
   Sovrascrive tema (paydea-custom.css), smart-suite e clever.css.
     • a riposo / già in lista  → cerchio BIANCO + icona NAVY (cuore=rosso se in wishlist)
     • hover (qualsiasi stato)   → cerchio NAVY + icona BIANCA
   Icona = SOLO l'SVG inline: niente glyph/background-image, niente testo, niente tooltip.
================================================================ */
.tk-pcard .woosw-btn,
.tk-pcard .woosc-btn,
.tk-pcard .woosw-btn.woosw-btn-added,
.tk-pcard .woosw-btn.tkv-wl-attivo,
.tk-pcard .woosw-btn.tkv-attivo,
.tk-pcard .woosc-btn.woosc-btn-added,
.tk-pcard .woosc-btn.tkv-cp-attivo,
.tk-pcard .woosc-btn.tkv-attivo {
    background: #fff !important;
    border: none !important;
    color: #2e4057 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.12) !important;
}
.tk-pcard .woosw-btn-icon,
.tk-pcard .woosc-btn-icon {
    background-image: none !important;
    width: auto !important;
    height: auto !important;
    color: inherit !important;
}
.tk-pcard .woosw-btn-icon::before,
.tk-pcard .woosw-btn-icon::after,
.tk-pcard .woosc-btn-icon::before,
.tk-pcard .woosc-btn-icon::after { content: none !important; display: none !important; }
.tk-pcard .woosw-btn-text,
.tk-pcard .woosc-btn-text { display: none !important; }
.tk-pcard .woosw-btn .woosw-btn-icon svg { fill: none !important; stroke: #2e4057 !important; }
.tk-pcard .woosc-btn .woosc-btn-icon svg { fill: none !important; stroke: #2e4057 !important; }
.tk-pcard .woosw-btn.tkv-attivo .woosw-btn-icon svg,
.tk-pcard .woosw-btn.tkv-wl-attivo .woosw-btn-icon svg,
.tk-pcard .woosw-btn.woosw-btn-added .woosw-btn-icon svg { fill: #e0245e !important; stroke: #e0245e !important; }
.tk-pcard .woosc-btn.tkv-attivo .woosc-btn-icon svg,
.tk-pcard .woosc-btn.tkv-cp-attivo .woosc-btn-icon svg,
.tk-pcard .woosc-btn.woosc-btn-added .woosc-btn-icon svg { stroke: #2e4057 !important; stroke-width: 2.8; }
.tk-pcard .woosw-btn:hover,
.tk-pcard .woosc-btn:hover { background: #2e4057 !important; color: #fff !important; }
.tk-pcard .woosw-btn:hover .woosw-btn-icon svg { fill: #fff !important; stroke: #fff !important; }
.tk-pcard .woosc-btn:hover .woosc-btn-icon svg { fill: none !important; stroke: #fff !important; }

/* ================================================================
   ICONA WL/CP via BACKGROUND-IMAGE (bulletproof) — vetrina.css
   L'SVG inline veniva reso invisibile dal tema in stato attivo
   (color:transparent + currentColor). Qui nascondo l'SVG inline e
   dipingo l'icona come background-image sullo span: indipendente da
   currentColor/tema/smart-suite, una sola icona in ogni stato.
================================================================ */
.tk-pcard .woosw-btn-icon,
.tk-pcard .woosc-btn-icon{
    width:16px!important;height:16px!important;
    background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
    color:transparent!important;font-size:0!important;
}
.tk-pcard .woosw-btn-icon>svg,
.tk-pcard .woosc-btn-icon>svg{display:none!important;}
/* WISHLIST: riposo=cuore outline navy */
.tk-pcard .woosw-btn .woosw-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4057' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important;}
/* WISHLIST: in lista=cuore pieno rosso */
.tk-pcard .woosw-btn.tkv-attivo .woosw-btn-icon,
.tk-pcard .woosw-btn.tkv-wl-attivo .woosw-btn-icon,
.tk-pcard .woosw-btn.woosw-btn-added .woosw-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0245e'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/%3E%3C/svg%3E")!important;}
/* WISHLIST: hover=cuore outline bianco */
.tk-pcard .woosw-btn:hover .woosw-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important;}
/* CONFRONTO: riposo + in lista = navy */
.tk-pcard .woosc-btn .woosc-btn-icon,
.tk-pcard .woosc-btn.tkv-attivo .woosc-btn-icon,
.tk-pcard .woosc-btn.tkv-cp-attivo .woosc-btn-icon,
.tk-pcard .woosc-btn.woosc-btn-added .woosc-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4057' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E")!important;}
/* CONFRONTO: hover=bianco */
.tk-pcard .woosc-btn:hover .woosc-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E")!important;}

/* ================================================================
   DEFINITIVO icone WL/CP — vetrina.css (vince su TUTTI i blocchi sopra)
   Fix: sizing 16px forzato anche in stato attivo (batte width:auto
   del blocco anti-doppia, che con l'SVG nascosto collassava a 0x0).
   normale: cerchio bianco + icona scura | hover: cerchio scuro + icona chiara
   wishlist attiva: CUORE ROSSO sempre (anche hover)
   confronto attivo: icona ROSSA sempre (anche hover)
================================================================ */
.tk-pcard .woosw-btn .woosw-btn-icon,
.tk-pcard .woosc-btn .woosc-btn-icon,
.tk-pcard .woosw-btn.tkv-attivo .woosw-btn-icon,
.tk-pcard .woosw-btn.tkv-wl-attivo .woosw-btn-icon,
.tk-pcard .woosw-btn.woosw-btn-added .woosw-btn-icon,
.tk-pcard .woosc-btn.tkv-attivo .woosc-btn-icon,
.tk-pcard .woosc-btn.tkv-cp-attivo .woosc-btn-icon,
.tk-pcard .woosc-btn.woosc-btn-added .woosc-btn-icon{
    width:16px!important;height:16px!important;display:block!important;
    background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
    color:transparent!important;font-size:0!important;
}
.tk-pcard .woosw-btn-icon>svg,
.tk-pcard .woosc-btn-icon>svg{display:none!important;}
/* WISHLIST */
.tk-pcard .woosw-btn .woosw-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4057' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important;}
.tk-pcard .woosw-btn:hover .woosw-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important;}
.tk-pcard .woosw-btn.tkv-attivo .woosw-btn-icon,
.tk-pcard .woosw-btn.tkv-wl-attivo .woosw-btn-icon,
.tk-pcard .woosw-btn.woosw-btn-added .woosw-btn-icon,
.tk-pcard .woosw-btn.tkv-attivo:hover .woosw-btn-icon,
.tk-pcard .woosw-btn.tkv-wl-attivo:hover .woosw-btn-icon,
.tk-pcard .woosw-btn.woosw-btn-added:hover .woosw-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0245e'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/%3E%3C/svg%3E")!important;}
/* CONFRONTO */
.tk-pcard .woosc-btn .woosc-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4057' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E")!important;}
.tk-pcard .woosc-btn:hover .woosc-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E")!important;}
.tk-pcard .woosc-btn.tkv-attivo .woosc-btn-icon,
.tk-pcard .woosc-btn.tkv-cp-attivo .woosc-btn-icon,
.tk-pcard .woosc-btn.woosc-btn-added .woosc-btn-icon,
.tk-pcard .woosc-btn.tkv-attivo:hover .woosc-btn-icon,
.tk-pcard .woosc-btn.tkv-cp-attivo:hover .woosc-btn-icon,
.tk-pcard .woosc-btn.woosc-btn-added:hover .woosc-btn-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0245e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E")!important;}

/* OVERRIDE MASSIMO cerchio bottoni WL/CP — vince su qualsiasi layer (tema/minisito verde) */
html body .tk-pcard .product-actions a.woosw-btn,
html body .tk-pcard .product-actions a.woosc-btn,
html body .tk-pcard .product-actions a.woosw-btn.woosw-btn-added,
html body .tk-pcard .product-actions a.woosw-btn.tkv-wl-attivo,
html body .tk-pcard .product-actions a.woosw-btn.tkv-attivo,
html body .tk-pcard .product-actions a.woosc-btn.woosc-btn-added,
html body .tk-pcard .product-actions a.woosc-btn.tkv-cp-attivo,
html body .tk-pcard .product-actions a.woosc-btn.tkv-attivo{background:#fff!important;border:none!important;box-shadow:0 2px 6px rgba(0,0,0,.12)!important;}
html body .tk-pcard .product-actions a.woosw-btn:hover,
html body .tk-pcard .product-actions a.woosc-btn:hover{background:#2e4057!important;}

/* ATTIVO + HOVER = cerchio scuro (specificità > regola bianco attivo) */
html body .tk-pcard .product-actions a.woosw-btn.woosw-btn-added:hover,
html body .tk-pcard .product-actions a.woosw-btn.tkv-wl-attivo:hover,
html body .tk-pcard .product-actions a.woosw-btn.tkv-attivo:hover,
html body .tk-pcard .product-actions a.woosc-btn.woosc-btn-added:hover,
html body .tk-pcard .product-actions a.woosc-btn.tkv-cp-attivo:hover,
html body .tk-pcard .product-actions a.woosc-btn.tkv-attivo:hover{background:#2e4057!important;}

/* Descrizione breve nella card: sempre 2 righe (vuota = stesso spazio), poi i puntini */
.tk-pcard .tk-pcard__breve{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:2.9em;margin:2px 0 12px!important;font-size:13.5px;line-height:1.45;color:#64748b!important;font-weight:500}

/* tk-pcard-titolo-2righe: titolo al massimo 2 righe con i puntini, senza margini doppi (prima restava una riga vuota sopra la descrizione) */
html body .tk-pcard .tk-pcard__details h2.woocommerce-loop-product__title{margin:0 0 6px!important;min-height:0!important;height:auto!important}
html body .tk-pcard .tk-pcard__details h2.woocommerce-loop-product__title a{margin:0!important;min-height:0!important;max-height:2.6em;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}

/* ===== Prodotti scelti da Paydea (v1.2.1) ===== */
.tk-scelti{position:relative;overflow:hidden;margin:0 0 34px;padding:30px 28px 32px;border-radius:26px;color:#fff;
	background:radial-gradient(120% 140% at 0% 0%,#3b2a9a 0%,#16124a 50%,#0b0e2c 100%);box-shadow:0 26px 60px -28px rgba(16,20,57,.85)}
.tk-scelti::before{content:"";position:absolute;inset:0;pointer-events:none;
	background:radial-gradient(520px 300px at 100% 0%,rgba(34,184,201,.35),transparent 70%),radial-gradient(460px 280px at 10% 120%,rgba(124,58,237,.5),transparent 70%)}
.tk-scelti::after{content:"";position:absolute;right:-80px;top:-80px;width:320px;height:320px;border-radius:50%;pointer-events:none;
	border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 40px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.02)}
.tk-scelti>*{position:relative;z-index:1}
.tk-scelti-testa{text-align:center;margin:0 auto 24px;max-width:640px}
.tk-scelti-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;border-radius:999px;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#fff;
	background:linear-gradient(120deg,#7c3aed 0%,#22b8c9 100%);box-shadow:0 10px 22px -10px rgba(34,184,201,.9)}
.tk-scelti-pill svg{color:#fde68a}
.tk-scelti-titolo{margin:14px 0 6px!important;padding:0!important;color:#fff!important;font-size:clamp(26px,3.2vw,38px)!important;font-weight:900!important;line-height:1.12!important;letter-spacing:-.02em;
	background:linear-gradient(90deg,#fff 0%,#e9e3ff 45%,#a5f3fc 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.tk-scelti-sotto{margin:0!important;color:rgba(255,255,255,.72)!important;font-size:15px;line-height:1.5}
.tk-scelti .tk-scelti-griglia{margin:0}
.tk-scelti .tk-pcard--scelto{position:relative;border:0!important;border-radius:18px!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#a78bfa,#22b8c9) border-box!important;
	border:2px solid transparent!important;box-shadow:0 18px 40px -18px rgba(0,0,0,.6)!important;transition:transform .2s,box-shadow .2s}
.tk-scelti .tk-pcard--scelto:hover{transform:translateY(-4px);box-shadow:0 26px 50px -18px rgba(34,184,201,.55)!important}
.tk-pcard--scelto::before{content:"Scelto da Paydea";position:absolute;z-index:3;top:12px;right:12px;left:auto;padding:5px 11px;border-radius:999px;font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#fff;
	background:linear-gradient(120deg,#f59e0b,#f97316);box-shadow:0 8px 16px -8px rgba(249,115,22,.9)}
.tk-scelti-resto{display:table;margin:4px auto 20px!important;padding:9px 20px!important;border-radius:999px;background:linear-gradient(120deg,#16124a,#2b1f7a);color:#fff!important;font-size:15px!important;font-weight:800!important;letter-spacing:.01em;box-shadow:0 10px 24px -12px rgba(16,20,57,.7)}
@media (max-width:767px){
	.tk-scelti{margin:0 -4px 26px;padding:24px 14px 26px;border-radius:20px}
	.tk-scelti-sotto{font-size:14px}
}

/* ===== Testata della pagina Prodotti del principale (v1.2.2) ===== */
.tkms-negozio-rete{display:block}
.tkms-testata{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:30px;margin:0 0 34px;padding:38px 40px;border-radius:28px;
	background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
	box-shadow:0 30px 70px -30px rgba(16,20,57,.75),inset 0 1px 0 rgba(255,255,255,.25);color:#fff}
.tkms-testata::before{content:"";position:absolute;width:420px;height:420px;right:-120px;top:-200px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(34,184,201,.45),transparent 65%)}
.tkms-testata::after{content:"";position:absolute;width:360px;height:360px;left:-120px;bottom:-220px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(167,139,250,.5),transparent 65%)}
.tkms-testata>*{position:relative;z-index:1}
.tkms-testata-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#a5f3fc}
.tkms-testata-pill i{width:8px;height:8px;border-radius:50%;background:#22d3ee;box-shadow:0 0 0 0 rgba(34,211,238,.7);animation:tkms-pulsa 2s infinite}
.tkms-testata-titolo{margin:16px 0 10px!important;padding:0!important;color:#fff!important;font-size:clamp(34px,4.6vw,58px)!important;font-weight:900!important;line-height:1.02!important;letter-spacing:-.03em}
.tkms-testata-titolo em{font-style:normal;background:linear-gradient(90deg,#c4b5fd 0%,#67e8f9 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.tkms-testata-sotto{margin:0 0 22px!important;max-width:560px;color:rgba(255,255,255,.82)!important;font-size:16px;line-height:1.55}
.tkms-testata-az{display:flex;flex-wrap:wrap;gap:12px}
.tkms-testata-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff!important;font-weight:800;font-size:15px;text-decoration:none!important;transition:transform .15s,box-shadow .15s,background .15s}
.tkms-testata-btn:hover{transform:translateY(-2px);background:rgba(255,255,255,.16)}
.tkms-testata-btn.is-pieno{border:0;background:linear-gradient(120deg,#7c3aed 0%,#22b8c9 100%);box-shadow:0 14px 30px -12px rgba(34,184,201,.8)}
.tkms-testata-btn svg{flex:0 0 auto}
.tkms-testata-numeri{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tkms-testata-num{display:flex;flex-direction:column;gap:4px;padding:18px 16px;border-radius:20px;background:rgba(11,14,44,.45);border:1px solid rgba(255,255,255,.14);text-align:left}
.tkms-testata-ico{display:grid;place-items:center;width:42px;height:42px;margin-bottom:10px;border-radius:13px;background:linear-gradient(120deg,#7c3aed 0%,#22b8c9 100%);color:#fff;box-shadow:0 10px 20px -10px rgba(34,184,201,.9)}
.tkms-testata-num strong{font-size:30px;font-weight:900;line-height:1;color:#fff}
.tkms-testata-num>span:last-child{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:rgba(255,255,255,.65)}
@keyframes tkms-pulsa{0%{box-shadow:0 0 0 0 rgba(34,211,238,.6)}70%{box-shadow:0 0 0 9px rgba(34,211,238,0)}100%{box-shadow:0 0 0 0 rgba(34,211,238,0)}}
@media (max-width:1000px){
	.tkms-testata{grid-template-columns:1fr;padding:30px 24px}
}
@media (max-width:767px){
	.tkms-testata{margin:0 -4px 24px;padding:26px 18px;border-radius:22px;gap:22px}
	.tkms-testata-sotto{font-size:15px}
	.tkms-testata-btn{flex:1 1 100%;justify-content:center}
	.tkms-testata-num{padding:14px 12px}
	.tkms-testata-num strong{font-size:24px}
}
@media (prefers-reduced-motion:reduce){.tkms-testata-pill i{animation:none}}
