/* Shopping Cart Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open, .cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.item-image {
    width: 80px;
    height: 80px;
    background-color: #FAF1FF;
    border-radius: 8px;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
    margin-right: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.item-details {
    flex: 1;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

.item-details h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
    padding-right: 0;
}

.item-price {
    font-size: 16px;
    color: #D06AFF;
    font-weight: 600;
    margin: 0 0 10px;
}

/* Quantity controls */
.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.quantity-btn {
    width: 38px;
    height: 38px;
    background-color: white;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 18px;
    color: rgb(199, 98, 243);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn.minus {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.quantity-btn.plus {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.quantity {
    width: 50px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
    font-size: 16px;
}

.remove-item {
    position: relative;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s ease;
    margin-left: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.remove-item:hover {
    color: #ff5252;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: #A703F3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: #8F02D0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 16px;
}

/* Cart icon and badge */
.cart-icon-container {
    position: relative;
    cursor: pointer;
}

.cart-icon-container:hover i {
    color: #A703F3;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #A703F3;
    color: white;
    font-size: 12px;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Notification popup styles */
.notification-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease-out;
    max-width: 300px;
}

.notification-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-popup.hide {
    transform: translateY(100px);
    opacity: 0;
}

.notification-popup .icon {
    color: rgb(2, 166, 13);
    font-size: 18px;
}

.notification-popup .content {
    flex: 1;
}

.notification-popup .header-container {
    display: flex;
    align-items: center;
}

.notification-popup .title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.notification-popup .message {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.notification-popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}

.notification-popup .close:hover {
    color: #333;
}

/* Icon hover effects in navbar */
.icons i, .icons a i {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.icons i:hover, .icons a i:hover {
    transform: scale(1.1);
    color: #A703F3;
} 