* {
    margin: 0;
    padding: 0;
}

:root {
    --font-body: Montserrat;
    --cart-color: #F2F2F2;
    --orange-color: #F2994A;
}

body {
    font-family: var(--font-body);
}

section {
    display: flex;        
    gap: 4rem;
}

.form-group {
    margin: 1rem 0;
    position: relative;
}

.inline_address {
    display: flex;
    gap: 1rem;
}

.heading {
    font-weight: bold;
}

small {
    font-size: 10px;
    font-weight: bold;
}

.form-group > i {
    position: absolute;
    top: 35px;
    left: 0.5rem;    
}

input[type="text"], input[type="email"] {
    padding-left: 30px;
}

button {
    background-color: var(--orange-color);
    border-color: var(--orange-color);    
    border-radius: 10px;    
    margin-left: 80%;    
    transition: 0.5s ease-in-out;
}

button:hover {
    border-color: var(--orange-color);    
    background-color: var(--orange-color);
    opacity: 80%;
    transition: 0.5s ease-in-out;
}

button:focus {
    border-color: var(--orange-color);    
    background-color: var(--orange-color);        
}

.dropdown-toggle {
    position: absolute;
    top: -0px;
    margin-left: 13.5rem;
    margin-top: 0.5rem;
    padding: 0;
    height: 1.5rem;
    width: 1.5rem;
}

/* Cart */
.cart {
    background-color: var(--cart-color);
    padding: 2rem;        
    height: fit-content;
    min-width: 320px;
}

.items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 5rem;
}

img {    
    width: 125px;
    height:125px;
}

.item {
    display: flex;
    gap: 1rem;
}

.item_name {
    margin-bottom: 5px;
    font-size: 14px;
}

.item_value {    
    font-size: 14px;    
    color: var(--orange-color);    
}

.item_value > span {    
    margin-left: 1rem;
    font-size: 12px;    
    color: black;
    text-decoration: line-through;
}

.box_counter {
    margin-top: 2rem;
    border: 1px solid black;
    border-radius: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0.5rem;        
    width: 8rem;
}


.bottom_row {    
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgb(0,0,0,0.3);
    padding-top: 1rem;
    font-size: 14px;
    font-weight: bold;
}

/* Footer */
footer {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

a {
    text-decoration: none;
    color: black;
    opacity: 70%;
}

a:hover {
    opacity: 100%;
}

@media screen and (max-width: 768px){
    section {
        display: flex;        
        flex-direction: column-reverse;
    }
    .cart {
        width: 90%;
        margin: auto;
    }
    .dropdown-toggle {        
        margin-left: 13.5rem;        
    }
}

@media screen and (max-width:992px) and (min-width:768px) {
    .dropdown-toggle {        
        margin-left: 7rem;        
    }
}