﻿/* Wishlist Layout */
.wishlist-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wishlist-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.wishlist-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove {
    cursor: pointer;
}

.wishlist-item-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.wishlist-item-image img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
}

.wishlist-item-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    text-align: right;
    padding-right: 20px;
}

.price {
    font-size: 16px;
    font-weight: bold;
}

.instock {
    font-size: 14px;
    color: green;
}

.btn--primary.style2 {
    position: relative;
    display: inline-block;
    background: #5D1143;
    color: white;
    font-size: 12px;
    line-height: 40px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0px 17px;
    border-radius: 5px;
    margin-top: 10px;
    border: 0px;
    overflow: hidden;
    font-family: 'Fraunces', serif;
    z-index: 1;
}

    .btn--primary.style2::before {
        background: #dfd5dc;
        color: #5D1143;
    }

    .btn--primary.style2:hover {
        background: #dfd5dc;
        color: #5D1143;
    }

/* Empty Wishlist Styles */
.empty-wishlist-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.empty-wishlist-wrapper {
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 3rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wishlist-visual {
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.wishlist-icon {
    width: 160px;
    height: 160px;
    transition: transform 0.4s ease;
}

.empty-wishlist-wrapper:hover .wishlist-icon {
    transform: rotate(5deg) scale(1.1);
}

.wishlist-title {
    font-size: 2.7rem;
    font-weight: 800;
    background: linear-gradient(90deg, #982464, #ffe66d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.2s forwards;
}

.wishlist-subtitle {
    font-size: 1.2rem;
    color: #2d3436;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.4s forwards;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.6s forwards;
}

.cartbtn {
    padding: 0.9rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #982464;
    color: white;
    border: none;
}

    .btn-primary:hover {
        background: #ff8787;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    }

.btn-secondary {
    background: #ffe66d;
    color: #2d3436;
    border: none;
}

    .btn-secondary:hover {
        background: #ffef99;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 230, 109, 0.4);
    }

.arrow {
    width: 22px;
    height: 22px;
}

/* Fixed header container */
.wishlist-header {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: #eeeaed;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeeaed;
    z-index: 999;
}

/* Left section */
.wishlist-left h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.wishlist-left h6 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.breadcrumb {
    margin: 3px 0 0;
    font-size: 14px;
    color: #777;
}

/* Right buttons */
.wishlist-right {
    display: flex;
    gap: 10px;
    margin-right: 3%;
}

/* Outlined button */
.btn-outline {
    border: 1px solid #1F3747;
    background: #8DA5B5;
}

    .btn-outline:hover {
        border: 1px solid #1F3747;
        background: #8DA5B5;
    }

.btn:focus {
    color: #fff;
    background-color: #982464 !important;
    border-color: none !important;
    outline: 0;
    box-shadow: none !important;
}

.btn-custom-primary,
.btn-custom-primary:hover {
    background: #982464;
    color: white;
    border: none;
}

    .btn-custom-primary:hover,
    .btn-primary:hover {
        background: #982464;
        transform: translateY(-3px) scale(1.05);
        box-shadow: none;
        border: none;
    }

/* Add margin so page content doesn’t hide under fixed header */
body {
    padding-top: 200px;
}

/* Loading overlay */
.item-removing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: #b89778;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out both;
}

    .loading-dots span:nth-child(1) {
        animation-delay: -0.32s;
    }

    .loading-dots span:nth-child(2) {
        animation-delay: -0.16s;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@media (max-width: 1025px) {
    .wishlist-header {
        position: fixed;
        top: 63px;
        left: 0;
        width: 100%;
        background: #eeeaed;
        padding: 25px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eeeaed;
        z-index: 999;
    }

    body {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .empty-wishlist-wrapper {
        padding: 2rem;
    }

    .wishlist-title {
        font-size: 2.2rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .wishlist-visual {
        width: 140px;
        height: 140px;
    }

    .wishlist-icon {
        width: 120px;
        height: 120px;
    }

    .wishlist-header {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: #eeeaed;
        padding: 25px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eeeaed;
        z-index: 999;
    }
}

/* Utility classes */
.text-aspiri {
    color: #5D1143;
}

.text-aspiri2 {
    color: #556873;
}

.bg-aspiri {
    background-color: #5D1143;
}

.font-12 {
    font-size: 12px;
}

.font-20 {
    font-size: 20px;
}

.min-vh-90 {
    min-height: 90vh;
}

.z-3 {
    z-index: 3;
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
