/* Royal Raggz Cart Styles - Placeholder */
/* Full cart system to be integrated after Stripe setup */

.cart-dropdown {
    position: fixed;
    top: 100px;
    right: 40px;
    width: 350px;
    max-height: 500px;
    background: white;
    border: 1px solid var(--navy);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: none;
    flex-direction: column;
}

.cart-dropdown.show {
    display: flex;
}

.cart-header {
    padding: 15px 20px;
    background: var(--navy);
    color: var(--cream);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    max-height: 300px;
}

.cart-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    align-items: center;
    position: relative;
}

.cart-item-link {
    display: flex;
    gap: 10px;
    flex: 1;
    text-decoration: none;
    color: inherit;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cart-item-link:hover {
    opacity: 0.7;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    border: 1px solid var(--navy);
    background: white;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.qty-btn:hover {
    background: var(--bone);
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.cart-item-remove:hover {
    color: #ff4444;
}

.cart-total {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    font-weight: 600;
    font-size: 16px;
}

.cart-checkout-btn {
    margin: 15px;
    padding: 12px;
    background: var(--navy);
    color: var(--cream);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cart-checkout-btn:hover {
    background: var(--navy-dark);
}

@media (max-width: 768px) {
    .cart-dropdown {
        right: 20px;
        width: calc(100vw - 40px);
        max-width: 350px;
    }
}
