/* Liked Products Drawer */
.bridal-liked-drawer {
    width: 420px !important;
    max-width: 100%;
    background: #fffdfb;
    border-left: 1px solid rgba(212, 175, 55, 0.12);
}

/* Header */
.bridal-liked-header {
    min-height: 88px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #b08d57, #d9b8aa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.liked-header-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.liked-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}

.bridal-liked-header .offcanvas-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.liked-header-subtitle {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,0.88);
    font-size: 0.82rem;
}

/* Body */
.bridal-liked-body {
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(212,175,55,0.05), transparent 28%),
        #fffdfb;
}

/* Footer */
.bridal-liked-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(176, 141, 87, 0.12);
    background: #fff;
}

/* Empty State */
.liked-empty-state {
    padding: 40px 10px;
}

.liked-empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff4ef, #f9ece5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c89a8b;
    font-size: 2rem;
    box-shadow:
        inset 0 0 0 1px rgba(176, 141, 87, 0.08),
        0 10px 30px rgba(0,0,0,0.04);
}

.liked-empty-state h4 {
    color: #4d4038;
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 700;
}

.liked-empty-state p {
    color: #7c6e65;
    line-height: 1.9;
    max-width: 280px;
    margin: 0 auto 20px;
}

.liked-empty-btn {
    background: linear-gradient(135deg, #d4af37, #e7c7b7);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 11px 24px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.22);
    transition: all 0.3s ease;
}

.liked-empty-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Clear button */
.bridal-clear-liked-btn {
    background: #fff5f3;
    color: #b66d5d;
    border: 1px solid rgba(182, 109, 93, 0.15);
    border-radius: 18px;
    padding: 12px 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.bridal-clear-liked-btn:hover {
    background: #fce9e4;
    color: #a85f50;
    border-color: rgba(182, 109, 93, 0.28);
}

/* Loaded liked items from JS */
.liked-product-item {
    position: relative;
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: 22px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(176, 141, 87, 0.08);
    transition: all 0.3s ease;
}

.liked-product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.liked-product-item.deleted {
    opacity: 0.75;
    background: #fdf8f6;
    border-style: dashed;
}

/* image */
.liked-product-image {
    width: 88px;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
    flex-shrink: 0;
    background: #f6f1ed;
}

/* info */
.liked-product-info {
    flex: 1;
    min-width: 0;
    padding-inline-end: 28px;
}

.liked-product-info h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #4d4038;
    margin-bottom: 6px;
    line-height: 1.6;
}

.liked-product-info .brand {
    color: #9a8577;
    font-size: 0.9rem;
}

.liked-product-info .price {
    color: #b08d57;
    font-size: 1rem;
    font-weight: 700;
}

.liked-product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* action buttons inside item */
.liked-product-actions .btn {
    border-radius: 14px;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 7px 12px;
}

.liked-product-actions .btn-outline-primary {
    color: #8b6f5c;
    border-color: rgba(176, 141, 87, 0.22);
    background: #fff;
}

.liked-product-actions .btn-outline-primary:hover {
    background: #fff8f4;
    color: #b08d57;
    border-color: rgba(176, 141, 87, 0.35);
}

.liked-product-actions .btn-outline-success {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #d4af37, #e7c7b7);
}

.liked-product-actions .btn-outline-success:hover {
    color: #fff;
    opacity: 0.95;
}

/* delete button */
.delete-liked-item {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #fff5f3;
    color: #b66d5d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.delete-liked-item:hover {
    background: #fce6e0;
    color: #a65849;
}

/* deleted notice */
.deleted-product-notice {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff3ef;
    color: #9b675c;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.remove-deleted {
    align-self: flex-start;
    border: none;
    background: transparent;
    color: #b66d5d;
    font-weight: 700;
    padding: 0;
}

/* loading state */
#likedProductsContainer.loading {
    min-height: 220px;
    position: relative;
}

#likedProductsContainer.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    margin-right: -21px;
    border-radius: 50%;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: #d4af37;
    animation: bridalSpin 0.8s linear infinite;
}

@keyframes bridalSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Scrollbar */
.bridal-liked-body::-webkit-scrollbar {
    width: 8px;
}

.bridal-liked-body::-webkit-scrollbar-thumb {
    background: rgba(176, 141, 87, 0.25);
    border-radius: 20px;
}

.bridal-liked-body::-webkit-scrollbar-track {
    background: transparent;
}

/* Responsive */
@media (max-width: 575.98px) {
    .bridal-liked-drawer {
        width: 100% !important;
    }

    .liked-product-item {
        padding: 12px;
        gap: 12px;
    }

    .liked-product-image {
        width: 76px;
        height: 96px;
    }

    .liked-product-info {
        padding-inline-end: 20px;
    }

    .liked-product-actions {
        flex-direction: column;
    }

    .liked-product-actions .btn {
        width: 100%;
    }
}