.cl-list-container {
    max-width: 1200px;
    margin: auto;
}

.cl-product-list {
    list-style: none;
    padding: 0;
}

.cl-product-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.cl-product-image img {
    max-width: 80px;
    border-radius: 5px;
}

.cl-product-info {
    margin-left: 15px;
    flex-grow: 1;
}

.cl-product-info h3 {
    margin: 0;
    font-size: 18px;
}

.cl-price {
    font-weight: bold;
    color: #0073aa;
}

.cl-product-info .button {
    background-color: #0073aa;
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cl-product-info .button:hover {
    background-color: #005177;
}

/* Contenitore della categoria */
.cl-category-container {
    max-width: 1400px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

/* Titolo della categoria */
.cl-category-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

/* Griglia delle liste */
.cl-list-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow-anchor: none;
    gap: 20px;
    margin-top: 20px;
    padding: 0;
}

.cl-list-item {
    text-decoration: none;
    color: #222;
    border: 1px solid #ddd;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    cursor: pointer;
}

/* Stile della singola lista */
.cl-list-item:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    --c: #1e73be;
    --b: 1px;
    --g: 5px;
    --_g: #0000 25%, var(--c) 0;
    background: conic-gradient(
        from 180deg at top var(--b) right var(--b),
        var(--_g)
      )
    var(--_i, 200%) 0 /200% var(--_i, var(--b)) no-repeat,
    conic-gradient(at bottom var(--b) left var(--b), var(--_g)) 0
    var(--_i, 200%) / var(--_i, var(--b)) 200% no-repeat;
    transition: 0.3s, background-position 0.3s 0.3s;
    cursor: pointer;
	pointer-events: none;
}

.cl-list-item:hover:before {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --_i: 100%;
    transition: 0.3s, background-size 0.3s 0.3s;
}

/* Stile per l'immagine della lista */
.cl-list-image {
    text-align: center;
    margin-bottom: 10px;
}

.cl-list-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* Contenitore della wishlist */
.cl-wishlist {
    position: absolute;
    top: 10px;  /* Allinea in alto */
    right: 10px; /* Allinea a destra */
    z-index: 11; /* Maggiore dell'icona dettagli */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pulsante wishlist */
.single-list .yith-wcwl-add-to-wishlist-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
}

.single-list .yith-wcwl-add-to-wishlist-button:hover {
    transform: scale(1.1);
}

/* Nasconde la label del pulsante wishlist */
.single-list .yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}

/* Stile icona wishlist */
.single-list .yith-wcwl-icon {
    width: 20px;
    height: 20px;
    color: #ff4081;
}

/* Effetto hover per wishlist */
.single-list .yith-wcwl-add-to-wishlist-button:hover .yith-wcwl-icon {
    color: #e60073;
}

.single.single-list .post-body-inner .price-button-wrapp {
    justify-content: center;
    align-items: center;
}

/* Titolo delle liste */
.cl-list-item-title {
    padding: 24px;
    font-family: inherit;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.cl-list-item-title a h4:visited,
.cl-list-item-title a h4:hover {
    transition: color .1sease-out;
    color: #1e73be;
}

/* Pulsante */
.cl-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cl-button:hover {
    background-color: #005177;
}

.cl-category-title {
    color: #111;
    font-family: Jost;
    letter-spacing: .06rem;
    font-weight: 400;
    text-align: left;
}

.cl-divider {
    text-align: left;
    margin-bottom: 24px;
    height: 50px;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #444;
    border-bottom: 1px solid #eee;
}

/* Loader per l'infinite scroll */
#cl-loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1e73be;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
    to{
        transform: rotate(1turn)}
    }
}

/* Media query per schermi più piccoli */
@media (max-width: 1024px) {
    .cl-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cl-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cl-list-item-title {
        padding: 12px;
    }
}

.out-of-stock-label {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 6px;
    background-color: #f2dede;
    color: #a94442;
    font-size: 0.9em;
    border-radius: 3px;
}


.bg-overlay {background-color: #e2f5ff;}

.border-card-list {
    border-radius: 0;
    border: 1.8px solid #eee;
}

