/* Simple Wishlist CSS */

/* Wishlist Toggle Button (Heart) */
.sw-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    outline: none;
}

.sw-btn:hover {
    transform: scale(1.1);
}

.sw-btn.sw-loading {
    opacity: 0.5;
    pointer-events: none;
}

.sw-heart {
    width: 24px;
    height: 24px;
    transition: color 0.3s ease, filter 0.3s ease;
    color: #ffffff; /* Balta spalva (kontūrui, kai tuščia, ir vidui, kai pilna) */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); /* Šešėlis, kad matytųsi ant šviesių fonų */
}

.sw-btn.sw-active .sw-heart {
    color: #ffffff;
}

/* Wishlist Page Container */
.simple-wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sw-empty-message {
    text-align: center;
    padding: 40px;
    background: #f0f0f0; /* šviesiai pilka */
    border-radius: 8px;
    color: #333;
}

/* Wishlist Grid */
.sw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.sw-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    background: #fff; /* balta */
    position: relative;
}

.sw-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sw-item-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.sw-item-title {
    font-size: 1.1em;
    margin: 0 0 10px;
}

.sw-item-title a {
    text-decoration: none;
    color: inherit;
}

.sw-item-price {
    font-weight: bold;
    color: var(--wp--preset--color--primary, #333);
    margin-bottom: 15px;
}

.sw-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sw-item-actions .button {
    width: 100%;
}

.sw-remove-item {
    background: transparent;
    border: none;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9em;
    padding: 5px;
    transition: color 0.2s ease;
}

.sw-remove-item:hover {
    color: var(--wp--preset--color--vivid-red, #e74c3c);
}

/* Page Actions (Share, Add to Cart) */
.sw-page-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.sw-page-actions .button {
    min-width: 200px;
}

.sw-share-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    background: #f5f5dc; /* smėlio */
    padding: 20px;
    border-radius: 8px;
}

.sw-share-url {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

 / *   H e a d e r   I c o n   * / 
 . s w - h e a d e r - i c o n   { 
         d i s p l a y :   i n l i n e - f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         t e x t - d e c o r a t i o n :   n o n e   ! i m p o r t a n t ; 
         c o l o r :   # f f f ; 
         t r a n s i t i o n :   c o l o r   0 . 3 s   e a s e ; 
 } 
 
 . s w - h e a d e r - i c o n   . s w - h e a d e r - h e a r t   { 
         f i l l :   # f f f ; 
         t r a n s i t i o n :   f i l l   0 . 3 s   e a s e ; 
 } 
 
 . s w - h e a d e r - i c o n . s w - h a s - i t e m s   . s w - h e a d e r - h e a r t   { 
         f i l l :   # 0 0 0 ; 
 } 
 
 . s w - h e a d e r - i c o n . s w - h a s - i t e m s   { 
         c o l o r :   # 0 0 0 ; 
 } 
 
 . s w - h e a d e r - c o u n t   { 
         m a r g i n - l e f t :   5 p x ; 
         f o n t - w e i g h t :   b o l d ; 
         f o n t - s i z e :   1 4 p x ; 
 }  
 