@font-face {
  font-family: "Lato";
  src: url(../fonts/Lato-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Baloo 2";
  src: url(../fonts/Baloo2-Bold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Baloo 2";
  src: url(../fonts/Baloo2-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Baloo 2";
  src: url(../fonts/Baloo2-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
}

body {
  color: #2d2d2d;
  font-family: "Lato";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 22px */
  letter-spacing: 0.66px;
  background: #fff3e0;
}

.container {
  max-width: 1420px;
  margin: 0 auto;
}

.header {
  margin-top: 30px;
  margin-bottom: 80px;
}
.header__container,
.footer__container {
  border-radius: 20px;
  border: 2px solid #cd4116;
  background: #faad30;
  display: flex;
  width: 100%;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}
.navbar {
  font-family: "Baloo 2";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 80.5%; /* 16.1px */
  letter-spacing: 0.6px;
  display: flex;
  gap: 3px;
}
.navbar__item {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.btn {
  border-radius: 10px;
  background: #cd4116;
  display: flex;
  padding: 15px 10px;
  align-items: center;
  gap: 10px;
  color: #fff3e0;
  font-family: "Baloo 2";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 80.5%; /* 16.1px */
  letter-spacing: 0.6px;
  cursor: pointer;
}
.home {
  position: relative;
  margin-bottom: 100px;
}

.home__container {
  display: flex;
  max-width: 869px;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.title {
  color: #2d2d2d;
  text-align: center;
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  line-height: 90%; /* 57.6px */
  letter-spacing: 1.92px;
}

h1 {
  font-size: 64px;
}

.subtitle {
  max-width: 650px;
}

.basel {
  position: absolute;
  top: 15%;
  left: 7%;
}
.cheese {
  position: absolute;
  top: 24%;
  left: 15%;
}
.tomatos {
  position: absolute;
  bottom: 10%;
  left: 10%;
}
.meat {
  position: absolute;
  top: 15%;
  right: 10%;
}
.grib {
  position: absolute;
  bottom: 10%;
  right: 10%;
}

.features {
  margin-bottom: 100px;
}
.features__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card {
  border-radius: 20px;
  border: 2px solid #cd4116;
  background: #faad30;
  display: flex;
  padding: 30px 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  align-self: stretch;
}
h3 {
  text-align: center;
  font-family: "Baloo 2";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 90%; /* 28.8px */
  letter-spacing: 0.96px;
}
.card__subtitle {
  text-align: center;
  font-size: 20px;
  max-width: 290px;
}

.menu {
  margin-bottom: 100px;
}

.menu__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.menu__cards {
  display: flex;
  width: 1420px;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  row-gap: 39px;
  flex-wrap: wrap;
}

.menu__cards .btn {
  max-width: 100%;
  width: 100%;
  justify-content: center;
}

h2 {
  color: #2d2d2d;
  text-align: center;
  font-family: "Baloo 2";
  font-size: 48px;
  line-height: 90%; /* 43.2px */
  letter-spacing: 1.44px;
}

.about {
  background-image: url(../img/bg.png);
  padding: 100px;
  margin-bottom: 100px;
}

.about__container {
  display: flex;
  max-width: 800px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.contact {
  margin-bottom: 100px;
}

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

.contact__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 580px;
}

.contact__address,
.contact__tel {
  font-size: 20px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.link {
  font-family: "Baloo 2";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 90%; /* 28.8px */
  letter-spacing: 0.96px;
}

.order {
  margin-bottom: 100px;
}
.order__container {
  border-radius: 20px;
  background: #faad30;
  display: flex;
  max-width: 620px;
  padding: 20px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.order__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.order__input {
  width: 100%;
  border-radius: 20px;
  background: #fff3e0;
  padding: 10px;
}

.order__input::placeholder {
  color: gray;
  font-size: 18px;
}

.footer {
  margin-bottom: 30px;
}

.welcome {
  margin-bottom: 100px;
}
.welcome__container,
.history__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.welcome__text,
.story__text {
  display: flex;
  max-width: 650px;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.title {
}
.history {
  margin-bottom: 100px;
}
.history__container {
  flex-direction: row-reverse;
}

.preferences {
  border: 2px solid #cd4116;
  background: #faad30;
  margin-bottom: 100px;
}
.prefs__container {
  display: flex;
  padding: 50px 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

h4 {
  font-size: 27px;
  font-weight: 500;
}

.pref {
  display: flex;
  max-width: 290px;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.pref span {
  font-size: 20px;
}

.last {
  margin-bottom: 80px;
}
.last__container {
  display: flex;
  max-width: 630px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

h4.title {
  color: #2d2d2d;
  text-align: center;
  font-family: "Baloo 2";
  font-size: 27px;
  font-style: normal;
  font-weight: 500;
  line-height: 90%; /* 24.3px */
  letter-spacing: 0.81px;
}

.thanks {
  height: 80vh;
}
.thanks__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.thanks .title {
  max-width: 850px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff3e0;
  border-top: 2px solid #cd4116;
  padding: 20px;
  z-index: 9999;
}

.cookie-box {
  max-width: 900px;
  margin: 0 auto;
  background: #faad30;
  border: 2px solid #cd4116;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.cookie-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.cookie-options label {
  background: #fff3e0;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #cd4116;
  font-size: 18px;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Custom checkboxes for cookie banner === */
.cookie-options input[type="checkbox"] {
  /* hide native checkbox */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 20px;
  height: 20px;
  border: 2px solid #cd4116;
  border-radius: 6px;
  background: #fff3e0;
  cursor: pointer;
  position: relative;
  margin-right: 6px;
}

/* when checked */
.cookie-options input[type="checkbox"]:checked {
  background: #cd4116;
  border-color: #cd4116;
}

/* little checkmark */
.cookie-options input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: -2px;
  left: 3px;
  font-size: 16px;
  color: #fff3e0;
  font-weight: bold;
}
