* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "CustomFont";
  src: url("../fonts/custom.otf") format("opentype"),
    url("../fonts/custom.otf") format("opentype");
  /* Add additional font formats if needed */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "CustomFont2";
  src: url("../fonts/lato.ttf") format("truetype"),
    url("../fonts/lato.ttf") format("truetype");
  /* Add additional font formats if needed */
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "CustomFont";
}

.cart-content {
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  z-index: 9999;
  display: flex;
  position: fixed;
  row-gap: 2.4rem;
  padding: 1rem 0;
  visibility: hidden;
  line-height: normal;
  box-sizing: border-box;
  flex-direction: column;
  transition: all 0.4s ease-out;
  border-radius: 12px 0 0 12px;
}

.cart-content .cart-contet-container {
  height: 100%;
  display: flex;
  row-gap: 1rem;
  flex-direction: column;
}

.cart-content.active {
  box-shadow: 0 0 16px rgba(0, 0, 0, .4);
  background-color: white;
  visibility: visible;
  padding: 1rem 1rem;
  width: 26rem;
}

.cart-content .cart-header {
  display: flex;
  color: white;
  align-items: center;
  justify-content: space-between;
}

.cart-header .cart-header-content {
  display: flex;
  color: black;
  column-gap: .32rem;
  align-items: center;
  justify-content: center;
}

.cart-header-content .cart-header-img {
  width: 36px;
  height: 36px;
}

.cart-header-content .cart-header-title {
  margin: 0;
  font-size: 18px;
  margin-top: .32rem;
  text-transform: uppercase;
  font-family: "CustomFont2";
}

.cart-header .cart-close-button {
  border: none;
  color: #444;
  outline: none;
  font-size: 32px;
  animation: all 0.3 ease-in-out;
  background-color: transparent;
}

.cart-header .cart-close-button:hover {
  color: #555;
  cursor: pointer;
}

.cart-content .cart-products-content {
  height: 75%;
  display: flex;
  color: white;
  row-gap: 1.8rem;
  padding: .32rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 1rem;
  flex-direction: column;
  border-bottom: 1px solid black;
}

.product-cart-item {
  color: black;
  display: flex;
  padding: 1rem;
  border-radius: 12px;
  align-items: center;
  justify-content: space-between;
  transition: all 200ms ease-in-out;
  box-shadow: 0 0 12px rgba(0, 0, 0, .4);
}

.product-cart-item:hover {
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 0, 0, .5);
}

.product-item-data {
  display: flex;
  row-gap: .32rem;
  align-items:  start;
  flex-direction: column;
  justify-content: center;
}

.product-item-content {
  display: flex;
  column-gap: 1rem;
}

.product-item-title {
  font-size: 20px;
  font-family: "CustomFont2";
}

.product-item-price {
  color: #DF5778;
}

.product-item-content img {
  width: 100px;
  height: 75px;
}

.product-item-delete {
  width: 25px;
  height: 25px;
  transition: all 200ms ease-in-out;
}

.product-item-delete:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.cart-content .cart-footer {
  flex-grow: 1;
  display: flex;
  color: white;
  font-weight: 600;
  padding-bottom: .32rem;
  flex-direction: column;
  text-transform: uppercase;
  font-family: "CustomFont2";
  justify-content: space-between;
}

.cart-footer .cart-footer-info {
  display: flex;
  color: black;
  align-items: center;
  justify-content: space-between;
}

.cart-info-amount {
  color: #33b864;
}

.cart-footer .cart-footer-buttons {
  display: flex;
  row-gap: 1rem;
  flex-direction: column;
}

.cart-footer-buttons .cart-footer-button {
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 0.78rem 0;
  border-radius: 12px;
  line-height: normal;
  text-transform: uppercase;
}

.cart-footer-button:hover {
  cursor: pointer;
}

.cart-footer-button.checkout-button {
  background-color: #33b864;
  transition: all .2s ease-in-out;
}

.cart-footer-button.checkout-button:hover {
  cursor: pointer;
  background-color: #259a50;
}

.cart-footer-button.shopping-button {
  background-color: #006ea5;
  transition: all .2s ease-in-out;
}

.cart-footer-button.shopping-button:hover {
  cursor: pointer;
  background-color: #025680;
}

@media screen and (max-width: 375px) {
  .cart-content.active {
    width: 18rem;
    padding: 1rem .32rem;
  }
}