@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
.container {
  max-width: 1380px;
  padding: 0 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 auto;
}

:root {
  --main-color: #430000;
  --scheme-hover: #a80000;
  --black: #000;
  --white: #fff;
  --backcolor: #211111;
  --font: "Oswald", sans-serif;
  --block-back: #2b1d1c;
  --input-backc: rgb(48 22 22);
}

body {
  font-family: var(--font);
  background-color: var(--backcolor);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #fff;
}

.main-btn {
  display: block;
  text-align: center;
  background-color: var(--scheme-hover);
  color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: none;
  width: 100%;
  max-width: 380px;
  padding: 15px 30px;
  border-radius: 15px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.main-btn.loading {
  pointer-events: none;
  cursor: not-allowed;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1254901961);
}
.header a {
  text-decoration: none;
  color: inherit;
}
.header__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__title a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  text-transform: uppercase;
  font-size: 24px;
}
.header__title a svg {
  display: block;
  width: 36px;
  height: 36px;
  color: #a80000;
}
.header__action a {
  padding: 5px 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 15px;
  font-size: 18px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}
.header__action a img {
  display: block;
  width: 24px;
  height: 24px;
  -o-object-fit: con;
     object-fit: con;
}

.hero {
  padding: 40px 0;
}
.hero .hero-scheme {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.hero .hero-scheme.hide {
  display: none;
}
.hero .hero-scheme .meat-name {
  font-size: 48px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-weight: 700;
  margin-top: 60px;
}
.hero .hero-scheme svg {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.hero .hero-scheme svg > path {
  fill: var(--black);
  -webkit-transition: 0.15s ease;
  transition: 0.15s ease;
}
.hero .hero-scheme svg .scheme-item {
  cursor: pointer;
}
.hero .hero-scheme svg .scheme-item:hover {
  fill: var(--scheme-hover);
}
.hero .hero-scheme svg .disable {
  pointer-events: none;
}
.hero__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  gap: 40px;
}
.hero__content {
  max-width: 920px;
  margin: auto;
  width: calc(100% - 380px);
}
.hero__list {
  padding: 20px 0;
}
.hero__list.hide {
  display: none;
}
.hero__list h2 {
  font-size: 24px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-weight: 600;
  margin: 0;
  display: block;
  margin-bottom: 40px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1254901961);
  padding-bottom: 20px;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
}
.hero__list h2.active {
  background-color: var(--scheme-hover);
  padding: 10px 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.hero__sublist {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 -20px 20px;
  width: 100%;
}
.hero__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: calc(33.33% - 20px);
  margin: 0 10px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  background-color: var(--block-back);
  border-radius: 15px;
  overflow: hidden;
}

.hero__item .action {
  margin-top: auto;
}
.hero__item .product__slider {
  height: 100%;
}
.hero__item .product__slider .swiper-slide {
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  opacity: 0.35;
}
.hero__item .product__slider .swiper-slide.swiper-slide-active {
  opacity: 1;
}
.hero__item .product__slider-nav {
  position: absolute;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  z-index: 10;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  top: calc(50% - 20px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  pointer-events: none;
  padding: 0 5px;
}
.hero__item .product__slider-nav button {
  width: 40px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3137254902);
  background-color: var(--block-back);
  height: 40px;
  position: relative;
  pointer-events: all;
  cursor: pointer;
  opacity: 0.35;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
}
.hero__item .product__slider-nav button:hover {
  opacity: 0.7;
}
.hero__item .product__slider-nav button.product-prev {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.hero__item .product__slider-nav button::before {
  content: "";
  position: absolute;
  left: 15px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  width: 12px;
  height: 2px;
  top: 15px;
  background-color: #fff;
}
.hero__item .product__slider-nav button::after {
  content: "";
  position: absolute;
  left: 15px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
  width: 12px;
  height: 2px;
  bottom: 13px;
  background-color: #fff;
}
.hero__item .img {
  height: 180px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 15px;
  overflow: hidden;
  min-height: 180px;
}
.hero__item .img img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero__item .text {
  padding-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}
.hero__item .text h3 {
  font-size: 18px;
  margin: 0;
  display: block;
  margin-bottom: 20px;
}
.hero__item .text p {
  font-size: 14px;
  opacity: 0.9;
  color: var(--white);
  margin: 0;
  margin-bottom: 10px;
}
.hero__item .action .action__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.hero__item .action span {
  font-size: 16px;
  opacity: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  margin-bottom: 10px;
}

.hero__item .action .price bdi {
  display: flex;
  gap: 3px;
  align-items: center;
}
.hero__item .action .price bdi span{
  margin-bottom: 0;
}
.hero__item .action__body {
  margin-top: auto;
}
.hero__total {
  background-color: var(--block-back);
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 20px 30px;
  width: 100%;
  max-width: 420px;
  border-radius: 15px;
  overflow: hidden;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  position: sticky;
  top: 10px;
}
.hero__total h2 {
  margin: 0;
  font-weight: 500;
  display: block;
  font-size: 24px;
  margin-bottom: 20px;
}
.hero__total .delete {
  color: #a80000;
  border: none;
  background-color: transparent;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: right;
  padding: 0;
  font-size: 14px;
  margin-top: 2px;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: -20px;
}

.hero-scheme {
  background-color: #2b1d1c;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 15px;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 30px;
}

.total__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2509803922);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.total__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.total__item .text span span bdi{
  display: flex;
  white-space: nowrap;
  font-size: 14px;
}
.total__item .text p {
  margin: 0;
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}

.total__item .price span {
  white-space: nowrap;
}
.total__item .text span {
  display: block;
  opacity: 0.75;
  font-size: 14px;
}
.total__promo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  border-radius: 15px;
  overflow: hidden;
}
.total__promo input {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: var(--black);
  color: #fff;
  border: none;
  padding: 15px 30px;
  -webkit-transition: 0.35s ease;
  transition: 0.35s ease;
  outline: none;
}
.total__promo input:focus {
  background-color: var(--main-color);
}
.total__promo button {
  background-color: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: 0.15s ease;
  transition: 0.15s ease;
}
.total__promo button:hover {
  background-color: var(--main-color);
}
.total__final {
  padding: 20px 0;
}
.total__final p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  opacity: 0.75;
  margin: 0;
  margin-bottom: 10px;
}
.total__final p:last-child {
  font-size: 24px;
  opacity: 1;
  -webkit-box-sizing: b;
          box-sizing: b;
  margin-bottom: 0;
  margin-top: 20px;
}

.go-to-checkout .cart-detail {
  display: none;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #fff;
  color: var(--scheme-hover);
  border: none;
  padding: 10px;
  text-decoration: underline;
  margin-bottom: 10px;
  border-radius: 15px;
}

.counter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 15px;
  overflow: hidden;
  background-color: var(--input-backc);
  max-width: 240px;
}
.counter button {
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: transparent;
  border: none;
  padding: 10px;
  width: 30px;
  text-align: center;
  cursor: pointer;
  height: 30px;
}
.counter button.increment {
  position: relative;
}
.counter button.increment::before {
  content: "";
  width: 15px;
  height: 2px;
  opacity: 0.8;
  background-color: #fff;
  left: 10px;
  top: calc(50% - 1px);
  position: absolute;
  pointer-events: none;
}
.counter button.increment::after {
  content: "";
  width: 15px;
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
  height: 2px;
  opacity: 0.8;
  background-color: #fff;
  left: 10px;
  top: calc(50% - 1px);
  position: absolute;
  pointer-events: none;
}
.counter button.decrement {
  position: relative;
}
.counter button.decrement::before {
  content: "";
  width: 15px;
  height: 2px;
  opacity: 0.8;
  background-color: #fff;
  left: 10px;
  top: calc(50% - 1px);
  position: absolute;
  pointer-events: none;
}
.counter input {
  background-color: transparent;
  border: none;
  outline: none;
  color: #fff;
  width: 80px;
  text-align: center;
}

.hero-tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 18px;
  margin-bottom: 20px;
}
.hero-tab p {
  display: block;
  margin: 0;
  margin-right: 20px;
}
.hero-tab .wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 15px;
  overflow: hidden;
  padding: 4px;
  background-color: var(--block-back);
  border: 1px solid rgba(255, 255, 255, 0.1254901961);
  max-width: 240px;
  width: 100%;
}
.hero-tab .wrap .tab-btn {
  font-size: 18px;
  padding: 5px 15px;
  text-align: center;
  border-radius: 15px;
  width: 50%;
  color: #fff;
  border: none;
  background-color: transparent;
}
.hero-tab .wrap .tab-btn.active {
  background-color: var(--main-color);
}

/* Tab content animations */
.tab-content {
  -webkit-animation: slideUp 0.4s ease-out forwards;
          animation: slideUp 0.4s ease-out forwards;
}

.tab-content.hide {
  -webkit-animation: slideDown 0.4s ease-out forwards;
          animation: slideDown 0.4s ease-out forwards;
  pointer-events: none;
}

@-webkit-keyframes slideUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes slideDown {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
}
@keyframes slideDown {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
}
@media (max-width: 1100px) {
  .hero__content {
    max-width: calc(100% - 420px);
  }
  .hero__total {
    min-width: 380px;
  }
  .hero__item {
    width: calc(50% - 20px);
  }
}
@media (max-width: 920px) {
  /* Отключаем анимации табов */
  .tab-content {
    -webkit-animation: none;
            animation: none;
    opacity: 1;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .tab-content.hide {
    -webkit-animation: none;
            animation: none;
    opacity: 0;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .hero-tab {
    display: none;
  }
  .hero__content {
    max-width: none;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .hero__list {
    max-width: none;
    margin: 0;
    padding-bottom: 120px;
  }
  .hero__body {
    display: block;
  }
  .hero .hero-scheme {
    display: none;
  }
  .hero__item {
    width: calc(33.33% - 20px);
  }
  .hero__list {
    display: block;
    max-width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .hero__list.hide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  .hero__total {
    width: 100%;
    max-width: none;
    position: fixed;
    bottom: 0;
    left: 0;
    top: auto;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5411764706);
    background-color: rgba(43, 29, 28, 0.768627451);
    backdrop-filter: blur(5px);
    height: 165px;
  }
  .hero__total h2 {
    display: none;
  }
  .hero__total .go-to-checkout .cart-detail {
    display: block;
  }
  .hero__total .go-to-checkout .main-btn {
    max-width: none;
    width: 100%;
  }
  .hero__total .total__list {
    display: none;
  }
  .hero__total .total__promo {
    display: none;
  }
  .hero__total .total__final {
    padding: 0;
    margin-bottom: 20px;
  }
  .hero__total .total__final p {
    margin-top: 0;
    display: none;
  }
  .hero__total .total__final p:last-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .hero__total.active {
    border-radius: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100vh;
    overflow: hidden;
  }
  .hero__total.active h2 {
    display: block;
  }
  .hero__total.active .total__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: auto;
    max-height: 480px;
    overflow: auto;
  }
  .hero__total.active .total__promo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
  }
  .hero__total.active .go-to-checkout .cart-detail {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 0;
  }
  .hero__total.active .go-to-checkout .cart-detail::before {
    content: "";
    position: absolute;
    left: calc(50% - 7.5px);
    top: calc(50% - 1px);
    width: 15px;
    height: 2px;
    background-color: var(--main-color);
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  .hero__total.active .go-to-checkout .cart-detail::after {
    content: "";
    position: absolute;
    left: calc(50% - 7.5px);
    top: calc(50% - 1px);
    width: 15px;
    height: 2px;
    background-color: var(--main-color);
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }

  .hero__sublist {
    margin: 0;
    box-sizing: border-box;
    width: 100%;
  }
}
@media (max-width: 820px) {
  .hero__item {
    width: calc(50% - 20px);
  }
}
@media (max-width: 540px) {
  .hero__item {
    width: 100%;
  }
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.hidden {
  opacity: 0;
  visibility: hidden;
}

.popup__item {
  background: #fff;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
          box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  -webkit-animation: slideIn 0.3s ease;
          animation: slideIn 0.3s ease;
}

@-webkit-keyframes slideIn {
  from {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
  z-index: 10;
}

.close-popup:hover {
  background: #e0e0e0;
}

.close-popup::before,
.close-popup::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #333;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
      -ms-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.close-popup::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
      -ms-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}

.popup h2 {
  padding: 30px 30px 20px;
  font-size: 24px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

.popup__body {
  padding: 30px;
}

.popup__list {
  margin-bottom: 30px;
}

.list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 10px;
}

.list-item .name p {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.list-item .price {
  font-size: 18px;
  color: #e74c3c;
  font-weight: 600;
}
.list-item .price bdi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.delivery-toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  background: #f0f0f0;
  padding: 5px;
  border-radius: 10px;
}

.delivery-toggle button {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.delivery-toggle button.active {
  background: #fff;
  color: #333;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.delivery-toggle button:hover:not(.active) {
  color: #333;
}

.popup__form form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.popup__form label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.popup__form label span {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.popup__form input,
.popup__form textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.popup__form input:focus,
.popup__form textarea:focus {
  outline: none;
  border-color: #4CAF50;
  -webkit-box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
          box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.popup__form textarea {
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}

.address-field {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  max-height: 100px;
  overflow: hidden;
  opacity: 1;
}

.address-field.hidden {
  max-height: 0;
  opacity: 0;
  margin: 0 !important;
}

.popup__form button[type=submit] {
  padding: 15px;
  background: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.1s ease;
  transition: background 0.2s ease, -webkit-transform 0.1s ease;
  transition: background 0.2s ease, transform 0.1s ease;
  transition: background 0.2s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
  margin-top: 10px;
}

.popup__form button[type=submit]:hover {
  background: #45a049;
}

.popup__form button[type=submit]:active {
  -webkit-transform: scale(0.98);
      -ms-transform: scale(0.98);
          transform: scale(0.98);
}

@media (max-width: 640px) {
  .popup__item {
    max-width: 95%;
    margin: 20px;
  }
  h2 {
    font-size: 20px;
    padding: 20px 20px 15px;
  }
  .popup__body {
    padding: 20px;
  }
  .list-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 10px;
  }
}

@media(max-width:920px) {
  .popup {
    
  }
  .popup__item {
    max-width: none;
    width: 100%;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }
}