.wishlist-tabs { display:flex; gap:28px; margin: 8px 0 14px; align-items:center; }
.wishlist-tab { display:inline-block; text-transform:uppercase; font-weight:600; color:#222; text-decoration:none; padding:6px 0; }
.wishlist-tab.is-active { border-bottom:2px solid #000; }
.wishlist-empty-tab {
    width: 100%;
    min-height: 55vh;
    margin: 0;
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.wishlist-empty-state__title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 10px;
}
.wishlist-empty-state__subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: #888;
    max-width: 360px;
    margin: 0 auto 18px;
}
.wishlist-empty-state__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 24px !important;
    background: #f2f2f2 !important;
    color: #222 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    white-space: nowrap;
    height: auto !important;
    min-height: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    max-width: 220px;
    float: none !important;
}
.wishlist-empty-state__btn:hover {
    background: #eaeaea !important;
    border-color: #e2e2e2 !important;
}
.wishlist-empty { text-align:center; width:100%; }
.wishlist-remove .wishlist-remove-heart.loading svg {
    animation: wcboost-spin .75s linear infinite;
    transform-origin: 50% 50%;
}
@keyframes wcboost-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.wishlist-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 0;
    flex-wrap: wrap;
}
.wishlist-header-row .page-title { margin: 0; line-height: 1; }
.wishlist-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.wishlist-sort-label {
    font-size: 13px;
    color: #777;
}
.wishlist-sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #f6f6f6 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23999" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat right 10px center;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 10px 34px 10px 12px;
    font-size: 14px;
    color: #333;
}
@media (min-width: 481px) {
    .select2-dropdown.select2-dropdown--below {
        max-width: 197.033px;
    }
}
@media (max-width: 480px) {
    .wishlist-header-row { flex-direction: column; align-items: stretch; gap: 8px; }
    .wishlist-toolbar { justify-content: flex-start; width: 100%; }
    .wishlist-sort-label { display: none; }
    /* .wishlist-sort-select { width: 100%; } */
}

.wishlist-item {
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.wishlist-item:hover {
    background: #f5f5f5;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

.wishlist-remove {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
}

.wishlist-remove .wishlist-remove-heart { display: inline-flex; width: 22px; height: 22px; text-decoration: none; }
.wishlist-remove .wishlist-remove-heart svg { width: 22px; height: 22px; display: block; }

.product-thumbnail {
    display: block;
    padding-top: 100%;
    position: relative;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 8px 0;
}

.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-item:hover .product-thumbnail img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product-brand {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.product-title {
    font-size: 14px;
    margin: 0 0 8px;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #000;
}

.product-price {
    margin: 8px 0;
    color: #000;
}

.product-actions {
    margin-top: auto;
    padding-top: 10px;
}

header.woocommerce-products-header {
  padding: 0 !important;
}
.product-actions .button,
.product-actions .shop_loop_item_dolyame_button {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 10px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.shop_loop_item_dolyame_button .dolyame-icon {
    width: 18px;
    height: 18px;
    vertical-align: text-bottom;
    margin-right: 6px;
    object-fit: contain;
}
@media (max-width: 480px) {
    .shop_loop_item_dolyame_button {
        display: flex;
        flex-wrap: nowrap;
    }
    .woocommerce-Price-amount {
        padding-left: 2px;
    }
    .shop_loop_item_dolyame_button .dolyame-icon {
        top: 2px;
        margin-right: 3px;
    }
    .product-title a {
        font-size: 12px;
        font-weight: 500;
    }
}

.product-actions .button:hover,
.product-actions .add_to_cart_button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-actions .button.added {
    background: #4CAF50;
}

.product-actions .button.loading {
    opacity: 0.7;
    position: relative;
    padding-right: 30px;
}

.product-actions .button.loading:after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.product-actions .out-of-stock {
    display: block;
    text-align: center;
    color: #f44336;
    font-size: 14px;
    padding: 10px 0;
}

.wishlist-item .wl-product-tags-wrapper {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
}
.wishlist-item .wl-product-tags-wrapper .productTags {
    display: inline-flex;
    flex-wrap: nowrap;
}

.product-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-labels .label {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    border-radius: 2px;
    line-height: 1.2;
}

.product-labels .new {
    background-color: #4caf50;
}

.product-labels .sale {
    display: none;
}

.product-labels .discount {
    background-color: #ff9800;
}
.woocommerce-products-header__title {
    display: none;
}

@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.wishlist-empty {
    text-align: center;
    padding: 50px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.wishlist-empty p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

.wishlist-empty .button {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.wishlist-empty .button:hover {
    background: #333;
}
