/*=============== GOOGLE FONTS ===============*/
/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #252525;
  --title-color: #252525;
  --text-color: #252525;
  --text-color-light: #808185;
  --body-color: #fcfcfc;
  --container-color: #faf3de;
  --toggle-menu-bg: #f0f0f0;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  /* --body-font: "Open Sans", sans-serif; */
  /* --title-font: "Montserrat", sans-serif; */
  --body-font: "Varela Round", sans-serif;
  --biggest-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --tiny-font-size: 0.625rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 2.7rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
    --tiny-font-size: 0.688rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background 0.4s; /* for dark mode animation */
}

h1,
h2,
h3 {
  color: var(--title-color);
  /* font-family: var(--title-font); */
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.no-select {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.no-select:focus {
  outline: none !important;
}

::selection {
  background-color: #cad9ff;
}

/*=============== THEME ===============*/
.nav__buttons {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.change-them {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color 0.3s;
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --title-color: hsl(207, 4%, 95%);
  --text-color: hsl(207, 4%, 65%);
  --text-color-light: hsl(290, 4%, 73%);
  --body-color: #2c2c2c;
  --container-color: hsl(207, 4%, 12%);
  --toggle-menu-bg: #3a3a3a;
}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.dark-theme .nav,
.dark-theme .nav__menu,
.dark-theme .scrollup {
  background-color: var(--container-color);
  box-shadow: 0 4px 20px hsla(207, 24%, 8%, 0.4);
}

.dark-theme .home__shape-wawes,
.dark-theme .home__shape-circle,
.dark-theme .qualification__img {
  filter: invert(1);
}

.dark-theme .home__social-link {
  color: var(--title-color);
}

.dark-theme .section__border {
  border-bottom: 1px solid hsl(207, 4%, 32%);
}

.dark-theme::-webkit-scrollbar {
  background-color: hsl(207, 4%, 15%);
}

.dark-theme::-webkit-scrollbar-thumb {
  background-color: hsl(207, 4%, 25%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(207, 4%, 35%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1300px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 2.5rem;
}

.section__border {
  border-bottom: 1px solid var(--title-color);
  padding-bottom: 3.5rem;
}

.section__title,
.section__subtitle {
  text-align: center;
  padding: 0 1rem;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 3rem;
}

.main {
  overflow: hidden; /* For animation */
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  position: fixed;
  bottom: 2rem;
  left: 0;
  z-index: var(--z-fixed);
}

.nav {
  height: calc(var(--header-height) + 0.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--body-color);
  box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
  padding-inline: 1.5rem;
  border-radius: 3rem;
  transition: background 0.4s; /* for dark mode animation */
}

.nav__logo,
.nav__toggle,
.nav__close {
  color: var(--title-color);
}

.nav__logo {
  /* font-family: var(--title-font); */
  font-weight: var(--font-medium);
}

.nav__toggle {
  display: flex;
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    width: 93%;
    left: 0;
    right: 0;
    bottom: -100%;
    margin: 0 auto;
    background-color: var(--body-color);
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
    padding: 2rem 1.5rem 5rem;
    border-radius: 2rem;
    transition: bottom 0.3s;
  }
}

.nav__list {
  grid-template-columns: repeat(1, max-content);
  justify-content: center;
  gap: 2rem 3rem;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.25rem;
  color: var(--text-color-light);
  transition: color 0.3s;
}

.nav__link:hover {
  color: var(--title-color);
}

.nav__link i {
  font-size: 1.25rem;
}

.nav__close {
  position: absolute;
  right: 1.5rem;
  bottom: 0.7rem;
  font-size: 1.5rem;
  cursor: pointer;
}
/* Show menu */
.show-menu {
  bottom: 2rem;
}

/* Active link */
.active-link {
  color: var(--title-color);
}

/*=============== GALLERY ===============*/
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery img {
  width: 220px;
}

.gallery__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;

  display: none;
}
.gallery__content.active {
  display: block;
}
.gallery__content img {
  width: 300px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  cursor: pointer;
}

.img-title {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  /* align-items: center; */
  gap: 0.2rem;
  margin-top: 0.5rem;
  padding: 0 0.4rem;
  margin-bottom: 2rem;
}
.name {
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 0.2rem;
}
.sold-out {
  color: #e85e4f;
  letter-spacing: 0.15rem;
}
.size {
  font-size: 12px;
}
.price {
  font-size: 12px;
}
.img-btn {
  white-space: nowrap;
  display: inline-block; /* במקום flex */
  text-align: center;

  background: none;
  border: none;
  padding: 0;
  margin-top: 0.4rem;
  color: var(--text-color);
  font-size: 1.05rem;
  position: relative;
  cursor: pointer;
  font-family: var(--body-font);
  transition: color 0.3s ease;
}

.img-btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #f38376;
  transition: width 0.3s ease;
  right: 50%;
  transform: translateX(50%);
}

.img-btn:hover {
  color: #e85e4f;
}

.img-btn:hover::after {
  width: 100%;
}
.img-btn:disabled,
.sold-out {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
}
.img-btn:disabled,
.sold-out:hover {
  /* background-color: #ccc; */
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
}
.sold-out::after {
  background-color: #cccccc39;
}
.img-btn:disabled::after {
  background-color: #ccc;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0.4rem 2.5rem 0.4rem;
}
.filter {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
}
.filter {
  display: inline-block;
  position: relative;
  z-index: 2;
  width: auto;
  font-size: 1.3rem;
  white-space: no-wrap;
  color: var(--text-color-light);
}
.filter:before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 60%;
  position: absolute;
  z-index: 1;
  left: 0px;
  bottom: 22%;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 0, 140, 0.205) 50%
  );
  background-position: -0% 0;
  background-size: 200% 10px;
  transition: background-position 0.2s ease-out;

  -webkit-transform: skew(0deg, -1.5deg);
  transform: skew(0deg, -1.5deg);
  opacity: 0.8;
}
.filter:hover:before {
  background-position: -99.99% 0;
}
.filter.active {
  color: var(--text-color);
}

.filter.active:before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 60%;
  position: absolute;
  z-index: 1;
  left: 0px;
  bottom: 22%;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 0, 140, 0.272) 50%
  );
  background-position: -0% 0;
  background-size: 200% 10px;
  transition: background-position 0.2s ease-out;

  -webkit-transform: skew(0deg, -1.5deg);
  transform: skew(0deg, -1.5deg);
  opacity: 0.8;
  background-position: -99.99% 0;
}

/* .filter:hover {
  color: var(--text-color);
} */

/*=============== PROJECTS ===============*/
.projects__container {
  overflow: initial;
}

.projects__content {
  display: grid;
  justify-content: center;
}

.projects__img {
  width: 250px;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}

.projects__subtitle {
  font-size: var(--rgular-font-size);
  color: var(--text-color-light);
}

.projects__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1.25rem;
  margin: 0.5rem 0 1.25rem;
}

.projects__button {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-size: var(--rgular-font-size);
  margin-bottom: 1rem;
}

.git-btn {
  display: inline-flex;
  align-items: center;
  column-gap: 0.2rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
}

.projects__button i {
  font-size: 1rem;
  transition: transform 0.3s;
}

.projects__button:hover i {
  transform: translateX(0.25rem);
}

/* Swiper class */
.projects__container .swiper-button-prev::after,
.projects__container .swiper-button-next::after {
  content: "";
}

.projects__container .swiper-button-prev,
.projects__container .swiper-button-next {
  width: initial;
  height: initial;
  margin: initial;
  font-size: 2.5rem;
  color: var(--title-color);
}

.projects__container .swiper-button-prev {
  left: -1rem;
  top: 4.5rem;
}

.projects__container .swiper-button-next {
  right: -1rem;
  top: 4.5rem;
}

.projects__container .swiper-slide {
  margin-bottom: 4.5rem;
}

.projects__container .swiper-pagination-bullets {
  bottom: 0;
}

.projects__container .swiper-pagination-bullet {
  background-color: var(--text-color-light);
  opacity: initial;
}

.projects__container .swiper-pagination-bullet-active {
  background-color: var(--title-color);
}

/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 3.5rem;
}

.contact__title {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 2.5rem;
}

.contact__title i {
  font-size: 1rem;
  font-weight: initial;
}

.contact__info,
.contact__data,
.contact__form {
  display: grid;
}

.bit {
  width: 300px;
}

.contact__info {
  row-gap: 2rem;
}

.contact__data {
  row-gap: 0.75rem;
}

.contact__data-title {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__data-info {
  font-size: var(--small-font-size);
  /* font-family: var(--title-font); */
  color: var(--title-color);
}

.contact__social {
  display: flex;
  column-gap: 1.25rem;
}

.contact__social-link {
  font-size: 1.5rem;
  color: var(--title-color);
  transition: transform 0.3s;
}

.contact__social-link:hover {
  transform: translateY(-0.15rem);
}

.contact__button {
  width: max-content;
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
}

.contact__button i {
  font-size: 1rem;
  transition: transform 0.3s;
}

.contact__button:hover i {
  transform: translateX(0.25rem);
}

.contact__form {
  position: relative;
  row-gap: 2rem;
}

.contact__form-div {
  position: relative;
  height: 4rem;
}

.contact__form-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color-light);
  border-radius: 2rem;
  padding: 1.5rem;
  font-size: var(--normal-font-size);
  /* font-family: var(--title-font); */
  color: var(--title-color);
  background: none;
  outline: none;
  z-index: 1;
}

.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  z-index: 10;
  background-color: var(--body-color);
  color: var(--title-color);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  padding: 0.35rem;
  transition: background 0.4s; /* for dark mode animation */
}

.contact__form-area {
  height: 10rem;
}

.contact__form-area textarea {
  resize: none;
}

.contact__form .contact__button {
  border: none;
  background: none;
  font-size: var(--h2-font-size);
  /* font-family: var(--title-font); */
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  outline: none;
  margin-top: 0.75rem;
  margin-right: 20px;
}

.contact__form .contact__button i {
  font-size: 1.5rem;
  font-weight: initial;
}

.contact__error {
  font-size: var(--small-font-size);
  position: absolute;
  bottom: 2.8rem;
  left: 1.5rem;
}
/* Status color */
.color-red {
  color: hsl(4, 71%, 50%);
}

.color-blue {
  color: hsl(207, 56%, 45%);
}

/*=============== FOOTER ===============*/
.footer__container {
  padding: 0 0 7rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__img {
  margin-top: -30px;
  /* margin-right: 50px; */
}

.footer__list,
.footer__social {
  display: flex;
  justify-content: center;
}

.footer__list {
  margin: 2.5rem 0;
  column-gap: 2.5rem;
}

.footer__link {
  color: var(--title-color);
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__social {
  column-gap: 1.25rem;
}

.footer__social-link {
  font-size: 1.5rem;
  color: var(--title-color);
  transition: transform 0.3s;
}

.footer__social-link:hover {
  transform: translateY(-0.15rem);
}

.footer__copy {
  display: block;
  margin-top: 4.5rem;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}
/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(207, 4%, 75%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(207, 4%, 65%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(207, 4%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--body-color);
  box-shadow: 0 4px 12px hsl(207, 24%, 35%, 0.15);
  display: inline-flex;
  padding: 0.35rem;
  border-radius: 0.25rem;
  font-size: 1.1rem;
  color: var(--title-color);
  z-index: var(--z-tooltip);
  transition: bottom 0.3s, transform 0.3s;
}

.scrollup:hover {
  transform: translateY(-0.25rem);
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 7.5rem;
}

/*=============== BREAKPOINTS ===============*/

/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__menu {
    padding-bottom: 4rem;
  }

  .nav__list {
    gap: 1rem 1.25rem;
  }

  .projects__img {
    width: 220px;
    justify-self: center;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav,
  .nav__menu {
    width: 380px;
  }
  .nav {
    margin: 0 auto;
  }

  .projects__container {
    width: 400px;
    overflow: hidden;
  }
  .projects__container .swiper-button-prev {
    left: 1rem;
  }
  .projects__container .swiper-button-next {
    right: 1rem;
  }
}

@media screen and (min-width: 870px) {
  .contact__container {
    grid-template-columns: repeat(2, max-content);
  }

  .projects__container {
    width: 500px;
  }

  .contact__form {
    width: 360px;
  }
  .contact__container {
    justify-content: center;
    /* column-gap: 8rem; */
  }
  .gallery__content {
    padding: 0 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .header {
    top: 0;
    bottom: initial;
    background-color: var(--body-color);
    transition: 0.4s;
  }

  .nav {
    width: initial;
    height: calc(var(--header-height) + 1.5rem);
    box-shadow: none;
    border-radius: 0;
    column-gap: 3rem;
    margin-inline: 1.5rem;
    /* padding: 0; */
  }
  .nav__link i,
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .nav__menu {
    width: initial;
    margin-left: auto;
    background-color: var(--body-color);
    transition: background 0.4s;
  }
  .nav__list {
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    font-size: var(--normal-font-size);
  }

  .dark-theme .nav,
  .dark-theme .nav__menu {
    background-color: var(--body-color);
    box-shadow: none;
  }

  .change-theme {
    color: var(--text-color-light);
    cursor: pointer;
  }
  .change-theme:hover {
    color: var(--title-color);
  }

  .section {
    padding-block: 5rem 0;
  }

  .scrollup {
    right: 3rem;
  }
  .show-scroll {
    bottom: 5rem;
  }

  /* Change background header */
  .bg-header {
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
  }
  .dark-theme .bg-header {
    box-shadow: 0 6px 24px hsla(207, 24%, 8%, 0.6);
  }
}

@media screen and (min-width: 1048px) {
  .container {
    margin-inline: auto;
  }
}

@media screen and (min-width: 1200px) {
  .section__border {
    padding-bottom: 6rem;
  }
  .section__subtitle {
    margin-bottom: 5rem;
  }

  .projects__container {
    width: 900px;
  }
  .projects__container .swiper-button-prev,
  .projects__container .swiper-button-next {
    font-size: 3rem;
  }
  .projects__container .swiper-button-prev {
    left: -1rem;
  }
  .projects__container .swiper-button-next {
    right: -1rem;
  }
  .projects__container .swiper-slide {
    margin-bottom: 6.5rem;
  }
  .projects__img {
    width: 320px;
    margin-bottom: 2rem;
  }

  .contact__title {
    margin-bottom: 3rem;
  }
  .contact__title i {
    font-size: 1.25rem;
  }
  .contact__info {
    row-gap: 3rem;
  }
  .contact__data-info {
    font-size: var(--normal-font-size);
  }
  .contact__form {
    row-gap: 2.5rem;
  }

  .footer__container {
    padding: 4rem 0 3rem;
  }
  .footer__list {
    column-gap: 3rem;
    margin: 1rem 0;
  }
  .footer__social {
    column-gap: 2rem;
  }
  .footer__social-link {
    font-size: 1.5rem;
  }
  .footer__copy {
    margin-top: 5rem;
  }
}

/* pop */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(115, 114, 114, 0.7);
  z-index: 999;
  margin: 0 auto;
  text-align: center;
}

.popup img {
  /* padding: 4rem 3rem 1rem 3rem; */
  padding: 1rem;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  position: absolute; /* Center the image within the popup */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1200px) {
  .popup img {
    max-width: 75%;
    max-height: 75%;
  }
}
.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-color);
}

a:visited {
  color: inherit;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  background-color: var(--container-color);
  border-radius: 1rem;
  max-width: 500px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-form label {
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  color: var(--title-color);
}
.form-element {
  direction: rtl;
  text-align: right;
}
.payment-form input,
.payment-form select {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.payment-form input:focus,
.payment-form select:focus {
  border-color: #f38376;
  outline: none;
}

.payment-form .cart-total {
  font-size: 1.3rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  text-align: center;
}

.payment-form .paybox-button {
  width: 100%;
  margin-top: 1rem;
}
.form-element {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  background-color: #fff;
  transition: border-color 0.3s ease;
  margin-bottom: 1rem;
}

.form-element:focus {
  border-color: #f38376;
  outline: none;
}

.instructions {
  font-size: var(--small-font-size);
  text-align: center;
  color: var(--text-color-light);
}
.user-info > * + * {
  margin-top: 0.4rem;
}

.toast {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  position: fixed;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background-color: #f38376;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  font-family: var(--body-font);
  animation: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}
.toast {
  cursor: pointer;
  transition: background-color 0.2s;
}
.toast:hover {
  background-color: #e56c61;
}

@keyframes pop {
  0% {
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
  }
  30% {
    transform: translateX(-50%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

.cart-total {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: #333;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p,
.cart-total {
  line-height: 1.6;
}

.form-error {
  color: #e85e4f;
  font-size: 0.8rem;
  margin-top: -0.6rem;
  margin-bottom: 1.3rem;
  margin-right: 0.5rem;
}

.nav__toggle i {
  font-size: 1.7rem;
}
.nav__buttons {
  font-size: 1.5rem;
}
.nav__logo {
  font-size: 1rem;
}
.nav__toggle,
.nav__close i {
  background-color: var(--toggle-menu-bg);
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cart-item.fade-out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quantity-bump {
  animation: bump-soft 200ms ease;
}

@keyframes bump-soft {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.1);
  }
  80% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}
