/* Global */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2 {
    padding: 20px 0;
}

/* hide scroll bar */

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* Navbar */

nav {
    width: 100%;
}

.nav_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ff440066;
    font-weight: 800;
    font-size: 25px;
}

.links_container a:hover {
    color: rgba(0, 0, 0, 0.7);
    transition: 0.5s ease-in-out;
}

.links_container {
    display: flex;
    justify-content: space-between;
}

.links_container a {
    margin: 0 150px 0 0;
    text-decoration: none;
    color: black;
}

.rightSide_container {
    display: flex;
    align-items: center;
}

.rightSide_container div {
    display: inline-block;
    margin: 10px;
}

.rightSide_container a {
    color: black;
}

/* Products & Cart Section */

section h2 {
    text-align: center;
}

section {
    background-color: #ff440046;
}

/* Products */

.products_container {
    display: flex;
    flex-wrap: wrap;
    flex: 300px;
    justify-content: space-around;
}

.product_container {
    margin: 20px 0;
}

.product_info {
    margin: 5px 10px;
    display: flex;
    justify-content: space-around;
    align-items: baseline;
}

button {
    width: 25px;
    background-color: #ff7f50;
    opacity: 0.8;
    font-weight: bold;
    text-align: center;
    padding: 1px 0;
    border: none;
    border-radius: 50%;
}

button:hover {
    transition: 0.5s;
    background-color: #ff4500;
    /* border: 1px solid #000; */
}

.product_container img {
    border-radius: 10px;
    object-fit: cover;
    opacity: 0.8;
}

.product_container img:hover {
    transition: 0.5s;
    transition-timing-function: ease-in-out;
    transform: scale(1.03);
    opacity: 1;
}

/* Cart */

.header_row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 10%;
    margin-top: 20px;
    text-align: center;
}

#cart_container hr {
    width: 90%;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin: 20px 0;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

.cart_items_container {
    display: grid;
    grid-template-rows: 100px;
    text-align: center;
    row-gap: 20px;
}

.cart_items_container .cart_item {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 10%;
}

.cart_item div {
    margin: auto;
}

.cart_items_container .quantity {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.cart_items_container .quantity .item_counter {
    margin: 0 10px;
}

.cart_items_container .item {
    display: flex;
}

.cart_items_container .item img {
    border-radius: 10px;
    margin: auto;
}

.cart_items_container .item img:hover {
    transform: scale(1.1);
}

/* Shopping cart icon */

.gg-shopping-cart {
    display: block;
    box-sizing: border-box;
    position: relative;
    transform: scale(var(--ggs,1));
    width: 20px;
    height: 21px;
    background:
    linear-gradient(
    to left,currentColor 12px,
    transparent 0)
    no-repeat -1px 6px/18px 2px,
    linear-gradient(
    to left,currentColor 12px,
    transparent 0)
    no-repeat 6px 14px/11px 2px,
    linear-gradient(
    to left,currentColor 12px,
    transparent 0)
    no-repeat 0 2px/4px 2px,
    radial-gradient(
    circle,currentColor 60%,
    transparent 40%)
    no-repeat 12px 17px/4px 4px,
    radial-gradient(
    circle,currentColor 60%,
    transparent 40%)
    no-repeat 6px 17px/4px 4px
   }

.gg-shopping-cart::after,
.gg-shopping-cart::before {
    content: "";
    display: block;
    position: absolute;
    box-sizing: border-box;
    width: 2px;
    height: 14px;
    background: currentColor;
    top: 2px;
    left: 4px;
    transform: skew(12deg)
   }

.gg-shopping-cart::after {
    height: 10px;
    top: 6px;
    left: 16px;
    transform: skew(-12deg)
   }