@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap");
*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
code,
em,
img,
small,
strike,
strong,
sub,
sup,
tt,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
main,
canvas,
embed,
footer,
header,
nav,
section,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
}

footer,
header,
nav,
section,
main {
  display: block;
}

body {
  line-height: 1;
  font-family: "Red Hat Text", sans-serif;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
}

body {
  background-color: hsl(20, 50%, 98%);
}
body main {
  display: flex;
  max-width: 1300px;
  width: 100%;
  margin: 40px auto;
  padding: 0 20px;
  gap: 40px;
}
body main .shop {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 2;
}
body main .shop .shop__title {
  font-size: 34px;
  font-weight: 900;
  color: hsl(14, 65%, 9%);
}
body main .shop .shop__products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}
body main .shop .shop__products .product {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
body main .shop .shop__products .product .image__container {
  position: relative;
}
body main .shop .shop__products .product .image__container .product__image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
}
body main .shop .shop__products .product .image__container .product__button-container .product__button {
  padding: 12px 25px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid hsl(14, 25%, 72%);
  cursor: pointer;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: -moz-max-content;
  width: max-content;
  transition: all 0.1s;
  background-color: white;
}
body main .shop .shop__products .product .image__container .product__button-container .product__button i {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: hsl(14, 86%, 42%);
}
body main .shop .shop__products .product .image__container .product__button-container .product__button span {
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  color: hsl(14, 65%, 9%);
  cursor: pointer;
}
body main .shop .shop__products .product .image__container .product__button-container .product__button:hover {
  border-color: hsl(14, 86%, 42%);
}
body main .shop .shop__products .product .image__container .product__button-container .product__button:hover span {
  color: hsl(14, 86%, 42%);
}
body main .shop .shop__products .product .image__container .product__button-container .product__button:focus {
  transition: none;
  outline: 2px solid hsl(7, 20%, 60%);
  outline-offset: 1px;
}
body main .shop .shop__products .product .image__container .product__button-container .product__button.action {
  background-color: hsl(14, 86%, 42%);
  border-color: transparent;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  color: hsl(20, 50%, 98%);
  gap: 30px;
  padding: 12px 15px;
  cursor: default;
}
body main .shop .shop__products .product .image__container .product__button-container .product__button.action span {
  color: hsl(20, 50%, 98%);
  cursor: default;
}
body main .shop .shop__products .product .image__container .product__button-container .product__button.action button {
  background-color: transparent;
  cursor: pointer;
  border: none;
}
body main .shop .shop__products .product .image__container .product__button-container .product__button.action button i {
  color: hsl(20, 50%, 98%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}
body main .shop .shop__products .product .product__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body main .shop .shop__products .product .product__info .product__category {
  font-size: 14px;
  color: hsl(7, 20%, 60%);
  font-weight: 600;
}
body main .shop .shop__products .product .product__info .product__title {
  font-size: 16px;
  color: hsl(14, 65%, 9%);
  font-weight: 600;
}
body main .shop .shop__products .product .product__info .product__price {
  font-size: 17px;
  color: hsl(14, 86%, 42%);
  font-weight: 600;
}
body main .shop .shop__products .product.selected .image__container .product__image {
  border-color: hsl(14, 86%, 42%);
}
body main .cart {
  flex: 1;
  height: -moz-fit-content;
  height: fit-content;
  padding: 30px;
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
body main .cart .cart__title {
  font-size: 22px;
  font-weight: 900;
  color: hsl(14, 86%, 42%);
}
body main .cart img {
  max-width: 160px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto;
}
body main .cart p {
  font-size: 16px;
  font-weight: 600;
  color: hsl(14, 86%, 42%);
  text-align: center;
}
body main .cart .cart__list {
  width: 100%;
  display: flex;
  flex-direction: column;
}
body main .cart .cart__list li {
  border-bottom: 1px solid hsl(13, 31%, 94%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
}
body main .cart .cart__list li.cart__empty {
  border: none;
  padding-bottom: 20px;
}
body main .cart .cart__list li h4 {
  font-size: 14px;
  font-weight: 600;
  color: hsl(14, 65%, 9%);
}
body main .cart .cart__list li .cart__item-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body main .cart .cart__list li .cart__item-container .cart__item-info {
  display: flex;
  gap: 10px;
}
body main .cart .cart__list li .cart__item-container .cart__item-info .item__quantity {
  color: hsl(14, 86%, 42%);
  font-size: 15px;
  font-weight: 600;
}
body main .cart .cart__list li .cart__item-container .cart__item-info .item__price {
  color: hsl(12, 20%, 44%);
  font-size: 15px;
  font-weight: normal;
}
body main .cart .cart__list li .cart__item-container .cart__item-info .item__quantity__total {
  color: hsl(12, 20%, 44%);
  font-size: 15px;
  font-weight: 900;
}
body main .cart .cart__list li .cart__item-container .cart__button--delete {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: transparent;
}
body main .cart .cart__list li .cart__item-container .cart__button--delete i {
  display: flex;
  justify-content: center;
  align-items: center;
  color: hsl(14, 25%, 72%);
  cursor: pointer;
  font-size: 22px;
}
body main .cart .cart__list li .cart__item-container .cart__button--delete:hover i {
  color: hsl(12, 20%, 44%);
}
body main .cart .cart__list .cart__empty {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body main .cart .cart__total {
  flex-direction: column;
  gap: 20px;
}
body main .cart .cart__total .total--info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body main .cart .cart__total .total--info .order--message {
  font-size: 15px;
  font-weight: normal;
  color: hsl(14, 65%, 9%);
}
body main .cart .cart__total .total--info .cart__total-price {
  font-size: 22px;
  font-weight: 900;
  color: hsl(14, 65%, 9%);
}
body main .cart .cart__total .carbon--message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 6px;
  background-color: hsl(13, 31%, 94%);
  gap: 10px;
}
body main .cart .cart__total .carbon--message img {
  margin: 0;
}
body main .cart .cart__total .carbon--message .cart__note {
  font-weight: normal;
  color: hsl(14, 65%, 9%);
  font-size: 15px;
}
body main .cart .cart__total .carbon--message .cart__note strong {
  font-weight: 600;
}
body main .cart .cart__confirm {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: hsl(20, 50%, 98%);
  cursor: pointer;
  background-color: hsl(14, 86%, 42%);
  transition: background 0.1s;
}
body main .cart .cart__confirm:hover {
  background-color: #982c0b;
}

.order-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
}
.order-overlay .order-popup {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 500px;
  animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.order-overlay .order-popup i {
  font-size: 34px;
  color: hsl(159, 69%, 38%);
}
.order-overlay .order-popup .info-resume {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.order-overlay .order-popup .info-resume .order-title {
  font-size: 32px;
  font-weight: 900;
  color: hsl(14, 65%, 9%);
}
.order-overlay .order-popup .info-resume .order-subtitle {
  color: hsl(12, 20%, 44%);
}
.order-overlay .order-popup .order-list {
  background-color: hsl(20, 50%, 98%);
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}
.order-overlay .order-popup .order-list .order-total-row,
.order-overlay .order-popup .order-list .order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-overlay .order-popup .order-list .order-item-row {
  border-bottom: 1px solid hsl(13, 31%, 94%);
  padding: 20px 0;
}
.order-overlay .order-popup .order-list .order-item-row .order-item-row-name {
  display: flex;
  gap: 15px;
}
.order-overlay .order-popup .order-list .order-item-row .order-item-row-name img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  -o-object-fit: cover;
     object-fit: cover;
}
.order-overlay .order-popup .order-list .order-item-row .order-item-row-name .order-item-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-overlay .order-popup .order-list .order-item-row .order-item-row-name .order-item-text .name {
  color: hsl(14, 65%, 9%);
  font-size: 15px;
  font-weight: 600;
}
.order-overlay .order-popup .order-list .order-item-row .order-item-row-name .order-item-text div {
  display: flex;
  gap: 10px;
}
.order-overlay .order-popup .order-list .order-item-row .order-item-row-name .order-item-text div span:first-child {
  color: hsl(14, 86%, 42%);
  font-size: 15px;
  font-weight: 600;
}
.order-overlay .order-popup .order-list .order-item-row .order-item-row-name .order-item-text div span:last-child {
  color: hsl(12, 20%, 44%);
  font-size: 15px;
}
.order-overlay .order-popup .order-list .order-item-row .subtotal {
  color: hsl(14, 65%, 9%);
  font-size: 15px;
  font-weight: 600;
}
.order-overlay .order-popup .order-list .order-total-row {
  padding: 20px 0;
}
.order-overlay .order-popup .order-list .order-total-row span {
  font-size: 14px;
  color: hsl(14, 65%, 9%);
}
.order-overlay .order-popup .order-list .order-total-row span:last-child {
  font-size: 24px;
  font-weight: 900;
}
.order-overlay .order-popup .order-reset-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: hsl(20, 50%, 98%);
  cursor: pointer;
  background-color: hsl(14, 86%, 42%);
  transition: background 0.1s;
}
.order-overlay .order-popup .order-reset-btn:hover {
  background-color: #982c0b;
}

@media (max-width: 768px) {
  body main {
    max-width: none;
    flex-direction: column;
  }
  body main .shop .shop__products .product .image__container .product__image {
    max-height: 250px;
  }
  body main .cart {
    position: initial;
  }
  .order-overlay .order-popup {
    min-width: initial;
    width: 100%;
  }
}
@keyframes slide-top {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}/*# sourceMappingURL=main.css.map */