/* Wishlist Button Styles */
.woo-wishlist-dropdown {
    position: relative;
    display: inline-block;
}

.woo-wishlist-toggle {
    padding: 0;
    font-size: 0;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: none;
    color: transparent;
    float: left;
}

.woo-wishlist-toggle .icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.woo-wishlist-toggle .icon svg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.woo-wishlist-toggle .icon svg.icon-full {
    display: none;
}

.woo-wishlist-toggle .icon svg.icon-stroke {
    display: block;
}

.woo-wishlist-button-wrapper.in-wishlist-container .woo-wishlist-toggle .icon svg.icon-full {
    display: block;
}

.woo-wishlist-button-wrapper.in-wishlist-container .woo-wishlist-toggle .icon svg.icon-stroke {
    display: none;
}

.woo-wishlist-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    margin-top: 8px;
    overflow: hidden;
}

.woo-wishlist-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.woo-wishlist-item:last-child {
    border-bottom: none;
}

.woo-wishlist-item:hover {
    background: #666666;
    color: #fff;
}

.woo-wishlist-item.in-wishlist {
    background: #000;
    color: #fff;
    font-weight: 500;
}

.woo-wishlist-menu .woo-wishlist-notice {
    margin: 0;
    width: 150px;
    font-size: 11px;
    padding: 10px 11px;
    border: none;
    border-radius: 0;
}

/* Wishlist Page Styles */
.woo-wishlist-page-wrapper {
    max-width: 100%;
    margin: 0;
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    margin: 0 !important;
}

.woo-wishlist-page-wrapper h1 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

.woo-wishlist-create-form {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: #F6F6F6;
}

#new-wishlist-name {
    flex: 1;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 17px;
}

#new-wishlist-name:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

#create-wishlist-btn {
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

#create-wishlist-btn:hover {
    background: #0052a3;
}

.woo-wishlist-section {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.woo-wishlist-section h2 {
    font-size: 20px;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.woo-wishlist-items {
    margin-top: 15px;
}

.woo-wishlist-bulk-add {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.woo-wishlist-bulk-add:hover:not(:disabled) {
    background: #218838;
}

.woo-wishlist-bulk-add:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.woo-wishlist-remove {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.04em !important;
    font-family: 'ITC Kabel Std', sans-serif;
    border-radius: 0;
}

.woo-wishlist-remove:hover {
    background: #c82333;
}

.woo-wishlist-add-cart-single {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.04em !important;
    font-family: 'ITC Kabel Std', sans-serif;
    border-radius: 0;
    margin-left: 10px;
}

.woo-wishlist-add-cart-single:hover {
    background: #218838;
}

.woo-wishlist-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.woo-wishlist-items table.woo-wishlist-table td.product-image-wishlist {
    width: 90px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.woo-wishlist-section .woo-wishlist-header {
    float: left;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woo-wishlist-section .woo-wishlist-header h2 {
    margin: 0;
}

.woo-wishlist-section button.woo-wishlist-bulk-add {
    float: left;
    width: auto;
    margin: 0;
    margin-right: auto;
    letter-spacing: 0.04em !important;
    font-family: 'ITC Kabel Std', sans-serif;
    border-radius: 0;
}

.woo-wishlist-items table.woo-wishlist-table {
    margin-bottom: 0;
}

button.woo-wishlist-delete {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 0;
    transition: background 0.2s ease;
    font-size: 15px;
    letter-spacing: 0.04em !important;
    font-family: 'ITC Kabel Std', sans-serif;
}

button.woo-wishlist-delete:hover {
    background: #c82333;
}

/* Responsive */
@media (max-width: 768px) {
    .woo-wishlist-page-wrapper {
        padding: 0 15px;
    }

    .woo-wishlist-section {
        padding: 15px;
    }

    .woo-wishlist-table {
        font-size: 12px;
    }

    .woo-wishlist-table th,
    .woo-wishlist-table td {
        padding: 8px;
    }

    .woo-wishlist-toggle {
        width: 100%;
    }

    .woo-wishlist-menu {
        width: 100%;
    }
}

.woo-wishlist-item.in-wishlist:after {
    content: '';
    display: inline-block;
    color: red;
    visibility: visible;
    position: relative;
    top: 2px;
    margin-left: 8px;
    line-height: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ff0000" d="M86.9 73.4L64.3 50.7 19 96 41.6 118.6 179 256 41.6 393.4 19 416 64.3 461.3 86.9 438.6 224.3 301.3 361.6 438.6 384.3 461.3 429.5 416 406.9 393.4 269.5 256 406.9 118.6 429.5 96 384.3 50.7 361.6 73.4 224.3 210.7 86.9 73.4z"/></svg>') no-repeat center center;
    background-size: contain;
    width: 14px;
    height: 14px;
}

.woo-wishlist-item.in-wishlist:hover {
    background: #fff;
    color: #000;
}