/* common elements */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--soft-cream);
}

main {
    background-color: var(--light-mint);
    color: var(--dark-forest-green);
}

/* cart section */
section:last-of-type {
    padding: 40px 8% 50px 8%;
}

h1, h2, h3 {
    line-height: 1.5;
    font-size: 1.5rem;
}

.cart {
    padding: 50px 4% 30px;
    font-size: 1rem;
    background-color: var(--bg-white);
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    border-radius: 10px;
}

.cart-header {
    display: flex;
    padding: 10px 0;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.cart-header span {
    flex: 1;
    text-align: center;
}

.cart-header span:first-child {
    flex: 2;
    text-align: left;
}

.cart-items {
    height: 300px;
    overflow-x: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}

.cart-item .product {
    display: flex;
    align-items: center;
    flex: 2;
}

.cart-item img {
    width: 50px;
    margin-right: 15px;
}

.cart-item .size-color-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cart-item .size {
    padding: 6px 12px;
    background: #f2f2f2;
    font-size: .854rem;
}

.cart-item :is(.price, .quantity, .total-price) {
    flex: 1;
    text-align: center;
}

.cart-item .quantity input {
    width: 50px;
    padding: 5px;
    border: 1px solid #ccc;
    outline: none;
    text-align: center;
}

.cart-item .remove {
    background-color: transparent;
    border: none;
    flex: 1;
}

.cart-item .remove svg {
    height: 20px;
    width: 20px;
    color: var(--dark-forest-green);
    cursor: pointer;
}

.cart-total {
    width: 400px;
    margin: 30px 0 0 auto;
}

.cart-total h1 {
    font-size: 1.3rem;
}

.cart-total p {
    display: flex;
    justify-content: space-between;
}

.cart-total p:not(:last-of-type) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.cart-total p:last-of-type {
    font-weight: bold;
}

.checkout {
    padding: 12px 30px;
    background: var(--dark-forest-green);
    border: none;
    font-size: 1rem;
    color: var(--bg-white);
    cursor: pointer;
    margin: 30px 0 0 auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Show Buttons */
.show-all-menu-tabs {
    position: fixed;
    bottom: 15px;
    left: 25px;
    display: flex;
    flex-direction: column;
    z-index: 2000;
}

.show-filter-btn {
    position: relative;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    opacity: 1;
    background-color: var(--primary-harvest-green);
    color: var(--bg-white);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.show-filter-btn:hover {
    color: var(--bg-white);
}

.show-filter-btn svg {
    cursor: pointer;
    height: 20px;
    width: 20px;
}

.notification-total {
    position: absolute;
    top: -10px;
    left: 20px;
    border-radius: 50%;
    background-color: var(--leaf-green);
    color: var(--bg-white);
    box-shadow: var(--box-shadow);
    padding: 5px;
    height: 25px;
    width: 25px;
    font-size: .754rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.notification-box {
    position: fixed;
    top: 50px;
    right: -40px;
    z-index: 2000;
    display: none;
}

.notification-close {
    margin-bottom: 5px;
}

.notification-close svg {
    float: right;
    height: 20px;
    width: 20px;
    color: var(--bg-white);
    cursor: pointer;
}

.notification-bell-cart {
    position: absolute;
    top: 30px;
    right: 60px;
    background-color: var(--dark-forest-green);
    border-radius: 10px;
    width: 250px;
    padding: 10px;
    display: grid;
}

.notification-bell-cart p {
    color: var(--bg-white);
    text-align: center;
    margin-bottom: 0px;
}