
* {
  box-sizing: border-box;
}
body {
  font-family: "Rubik", system-ui, sans-serif;
}
html,
body {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

:root {
  --paprika-900: #2a402c;
  --paprika-600: #006838;
  --paprika-300: #84b852;

  --cuketa-900: #df7500;
  --cuketa-600: #fdba12;
  --cuketa-300: #ffec76;

  --baklazan-900: #2e1635;
  --baklazan-600: #65367e;
  --baklazan-300: #dcd1dd;

  --rebarbora-900: #803c54;
  --rebarbora-600: #d84d52;
  --rebarbora-300: #d87e7e;

  --paradajka-900: #600000;
  --paradajka-600: #bb1802;
  --paradajka-300: #f54624;

  --neutral-900: #ae9b2e;
  --neutral-600: #e2d083;
  --neutral-300: #fff2bb;

  --white: #ffffff;
  --ink: #2a2135;

  --radius: 18px;
  --gap: 16px;
  --maxw: 1440px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}


body {
  font-family: "Rubik", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.cart {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.cart.is-open {
  display: block;
}
.cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: saturate(120%) blur(1px);
}


.cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 405px;
  max-width: 100%;
  height: 840px;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateY(-16px);
  opacity: 0;
  transition: 0.25s ease;
}
.cart.is-open .cart__panel {
  transform: translateY(0);
  opacity: 1;
}


.cart__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: #2e1635;
  cursor: pointer;
}
.cart__title {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--baklazan-900);
  margin: 0;
  padding: 20px 37px 0 27px;
}
.cart__label {
  font: 400 16px/1.35 "Rubik", system-ui, sans-serif;
  color: var(--baklazan-900);
  opacity: 0.9;
  padding: 12px 37px 12px 27px;
  margin-bottom: 5px;
}


.cart__items {
  padding: 0 27px 0 27px;
  overflow: visible;
}
@media (min-width: 561px) {
  .cart__items {
    flex: 1 1 auto;
    overflow: auto;
    padding-right: 17px; /
  }
}


.cart-item {
  position: relative;
  width: 100%;
  max-width: 339px;
  border-radius: 0 0 12px 12px;
  padding: 24px 16px;
  margin: 0 0 16px;
}
.cart-item--pink {
  background: #fcc7bd;
}
.cart-item--yellow {
  background: #fff091;
}
.cart-item--green {
  background: #a9cd86;
}
.cart-item--lilac {
  background: #dcd1dd;
}

.cart-item__title {
  margin: 0 0 21px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.22;
  color: var(--baklazan-900);
}
.cart-item__price {
  font: 500 18px/1.2 "Rubik", system-ui, sans-serif;
  color: var(--baklazan-900);
}
.cart-item__remove {
  position: absolute;
  right: 16px;
  bottom: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 400 15px/1.2 "Rubik", system-ui, sans-serif;
  color: var(--baklazan-900);
  text-decoration: underline;
}
.cart-item__remove:hover {
  color: var(--baklazan-600);
  font-weight: 600;
}


.cart__footer {
  background: #fff7d7;
  padding: 27px 23px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cart__total span {
  font: 400 22px/1.2 "Rubik", system-ui, sans-serif;
  color: var(--baklazan-900);
}
.cart__total strong {
  font: 500 22px/1.2 "Rubik", system-ui, sans-serif;
  color: var(--baklazan-900);
}


.cart__checkout {
  width: 100%;
  height: 57px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--paradajka-300);
  color: #fff;
  font: 400 16px/1 "Rubik", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.cart__checkout:hover,
.cart__checkout:focus-visible {
  background: var(--paradajka-600);
}


@media (max-width: 560px) {
  .cart__panel {
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 0;
  }
  .cart__title {
    padding: 24px 17px 0 17px;
  }
  .cart__label {
    padding: 8px 17px 0 17px;
    margin-bottom: 16px;
  }
  .cart__items {
    padding: 0 17px;
  }
  .cart-item {
    max-width: none;
  }
  .cart-item__price {
    font-weight: 500;
    font-size: 18px;
  }
  .cart__footer {
    padding: 24px 17px 20px;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(217 217 217 /50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  border-radius: 16px;
  padding: 80px 64px 64px;
  max-width: 752px;
  max-height: 488px;
  width: 100%;
  text-align: center;
  color: #2e1635;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-sizing: border-box;
}

.modal.active,
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

#modal1, .modal1 {
  background: #fcc7bd;
}
#modal2, .modal2 {
  background: #fff2bb;
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #2e1635;
}

.modal__title {
  font: 32px Georgia, serif;
  margin: 10px 0 64px;
}

.modal__text {
  font: 400 22px "Rubik", sans-serif;
  margin-bottom: 64px;
}

.modal__btn {
  display: block;
  width: 100%;
  height: 57px;
  border-radius: 999px;
  border: none;
  background: #2e1635;
  color: #fff;
  font: 400 16px "Rubik", sans-serif;
  cursor: pointer;
}
.modal__btn:hover,
.modal__btn:focus-visible {
  background-color: var(--baklazan-600);
}

@media (max-width: 560px) {
  .modal {
    padding: 32px 16px 48px;
    max-width: calc(100% - 34px);

    max-height: none;
    border-radius: 0;
  }

  .modal__title {
    font-size: 32px;
    margin: 32px 0 32px;
  }

  .modal__text {
    font-size: 20px;
    margin-bottom: 32px;
  }
}

.announcement-bar {
    background: var(--baklazan-600);
    height: 35px;
    line-height: 35px;
    font-size: 14px;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
}

.announcement-track {
    display: inline-block;
    padding-left: 10px;
}

.announcement-track span {
    margin-right: 10px;
}

.announcement-bar a {
    text-decoration: underline;
}

.newsletter {
    padding: 50px 92px;
    display: flex;
    justify-content: center;
}

.newsletter__inner {
    background: #dcd1dd;
    border-radius: 18px;
    max-width: 920px;
    width: 100%;
    padding: 50px;
    text-align: center;
    color: var(--baklazan-900);
    margin: 0 auto;
}

.newsletter__title {
    font-family: Georgia, serif;
    font-size: 48px;
    margin-bottom: 32px;
}

.newsletter__subtitle {
    font-family: Georgia, serif;
    font-size: 26px;
    margin-bottom: 32px;
}

.newsletter__text {
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    color: #746178;
    margin-bottom: 50px;
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.newsletter__inputs {
    display: flex;
    gap: 5px;
    margin-bottom: 50px;
}

.newsletter__inputs input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 999px;
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    background: #fff;
}

.newsletter__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    color: var(--baklazan-900);
    margin-bottom: 29px;
    text-align: left;
}

.newsletter__checkbox input {
    accent-color: var(--baklazan-900);
    width: 18px;
    height: 18px;
}

.newsletter__btn {
    width: 100%;
    height: 57px;
    border-radius: 999px;
    border: none;
    background: var(--baklazan-900);
    color: #fff;
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter__btn:hover,
.newsletter__btn:focus-visible {
    background: var(--baklazan-600);
}

@media (max-width: 840px) {
    .newsletter {
        margin-top: 100px;
        padding: 17px;
    }

    .newsletter__inner {
        padding: 30px 20px 20px;
    }

    .newsletter__title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .newsletter__subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .newsletter__text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .newsletter__inputs {
        flex-direction: column;
        gap: 17px;
        margin-bottom: 30px;
    }

    .newsletter__checkbox {
        font-size: 14px;
        margin-bottom: 27px;
    }

    .newsletter__btn {
        height: 58px;
        font-size: 16px;
    }
}
.section--cream-bottom {
    padding-bottom: 180px;
    margin-bottom: -100px;
}

