@charset "UTF-8";
/* CSS Document */

/*
  This new style block makes the cart icon a floating button
  in the top-right corner.
*/
#cart-icon-container {
    /* Positioning */
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1056; /* Ensures it's above other content */

    /* Prominent Appearance */
    background-color: white;
    padding: 12px;
    border-radius: 50%; /* Makes it a circle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

#cart-icon-container:hover {
    transform: scale(1.1);
}

/* Style for the shopping cart icon itself */
#cart-icon-container .fa-cart-shopping {
    font-size: 1.5rem; /* 24px */
    color: #333;
}

/* This is the red notification bubble with the item count */
#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;

    background-color: #dc3545; /* Bootstrap's danger red */
    color: white;
    font-size: 0.75rem; /* 12px */
    font-weight: bold;
    
    /* Sizing and Shape */
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    
    /* Centering the text */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}