@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');

body {
  font-family: var(--default-font);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  background-color: var(--block-bg-color);
  color: var(--text-color);
  color-scheme: var(--tg-color-scheme);
  margin: 0;
  padding: 0;
  width: 1px;
  min-width: 100%;

  --default-font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  --animation: .15s ease;
  --page-animation-duration: .3s;
  --page-animation: var(--page-animation-duration) ease;
  --status-height: 48px;
  --accent-color: #31b545;
  --main-color: (--tg-theme-button-color);
  --ripple-duration: .45s;
  --ripple-end-duration: .3s;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
}



body.order-mode {
  background-color: var(--bg-color);
}

* {
  -webkit-tap-highlight-color: transparent;
}

.cafe-page {
  transition: filter var(--animation);
}

body.closed .cafe-page {
  filter: grayscale(1) opacity(0.7);
}

.cafe-block {
  background-color: var(--block-bg-color);
  -webkit-box-shadow: 0 0.5px rgba(0, 0, 0, .07);
  box-shadow: 0 0.5px rgba(0, 0, 0, .07);
}

.cafe-items {
  display: flex;
  flex-wrap: wrap;
  max-width: 480px;
  justify-content: space-around;
  align-content: flex-end;
  align-items: center;
  transition: max-height var(--page-animation), opacity var(--page-animation);
  background-color: none;
}

body.order-mode .cafe-items {
  max-height: 0 !important;
  opacity: 0 !important;
}

.cafe-items:after {
  content: '';
  flex-grow: 2;
}

.cafe-item,
.cafe-item-shadow {
  position: relative;
  width: 160px;
  padding: 4px 5px 21px;
  box-sizing: border-box;
  text-align: center;
}

.cafe-item-shadow {
  height: 0;
  padding: 0;
  margin: 0;
}

.cafe-item-photo {
  position: relative;
  height: 78px;
}

.cafe-item-photo .cafe-item-emoji {
  font-size: 70px;
  line-height: 78px;
}

.cafe-item-lottie {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin: 0 auto;
}

.cafe-item-photo .cafe-item-lottie {
  width: 74px;
}

.cafe-item-lottie:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.cafe-item-lottie img,
.cafe-item-lottie canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.cafe-item-label {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.cafe-item-title {
  font-weight: 500;
  font-weight: 700;
  white-space: nowrap;
}

.cafe-item-buttons {
  display: flex;
  width: 80px;
  justify-content: space-between;
  position: relative;
  cursor: pointer;
}


.cafe-item-counter {
  display: inline-block;
  font-family: var(--default-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  padding: 6px 16px;
  height: 30px;
  border-radius: 7px;
  box-sizing: border-box;
  background-color: var(--main-color);
  text-transform: uppercase;
  color: #fff;
  outline: none;
  border: none;
}

.cafe-item-counter {
  position: absolute;
  right: 0;
  top: 0;
  min-width: 22px;
  height: 22px;
  padding: 2px 6px;
  margin: 4px 6px;
  border-radius: 11px;
  transform: scale3d(0, 0, 1);
  animation: var(--animation) both;
  pointer-events: none;
  z-index: 3;
}

.cafe-item-incr-button {
  position: absolute !important;
  top: 0;
  right: 0;
  transition: width var(--animation);
  width: 80px;
}

.selected .cafe-item-incr-button {
  width: 38px;
}

.cafe-item-decr-button {
  position: relative;
  width: 38px;
  background-color: #e64d44;
  pointer-events: none;
  transform: scale3d(0.9, 0.9, 1);
  transition: transform var(--animation), visibility var(--animation);
  visibility: hidden;
}

.selected .cafe-item-decr-button {
  pointer-events: auto;
  transform: scale3d(1, 1, 1);
  visibility: visible;
}

.cafe-item-incr-button:before,
.cafe-item-incr-button:after,
.cafe-item-decr-button:before {
  display: inline-block;
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 14px;
  height: 3px;
  background-color: #fff;
  border-radius: 1px;
  z-index: 1;
}

.cafe-item-incr-button:before,
.cafe-item-incr-button:after {
  background-color: rgba(255, 255, 255, 0);
  transition: background-color var(--animation);
}

.selected .cafe-item-incr-button:before,
.selected .cafe-item-incr-button:after {
  background-color: #fff;
}

.cafe-item-incr-button .button-item-label {
  transition: transform var(--animation);
}

.selected .cafe-item-incr-button .button-item-label {
  transform: scale3d(0.4, 0, 1);
}

.cafe-item-incr-button:after {
  width: 3px;
  height: 14px;
}

.cafe-status-wrap {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(var(--tg-viewport-height, 100vh));
}

.cafe-status {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  background-color: #e64d44;
  box-shadow: 0 var(--status-height) #e64d44;
  color: #fff;
  height: var(--status-height);
  transition: transform var(--animation), visibility var(--animation);
  transform: translateY(var(--status-height));
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  z-index: 11;
}

.cafe-status.shown {
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.cafe-order-overview {
  display: none;
  font-family: var(--default-font);
  background-color: var(--bg-color);
  transition: opacity var(--page-animation);
  opacity: 0;
}

body.order-mode .cafe-order-overview {
  opacity: 1;
}

.cafe-order-header-wrap {
  padding: 21px 20px 14px;
  display: flex;
  align-items: center;
}

.cafe-order-header {
  font-size: 17px;
  line-height: 21px;
  text-transform: uppercase;
  flex-grow: 1;
  padding: 0;
  margin: 0;
}

.cafe-order-edit {
  font-size: 15px;
  line-height: 18px;
  font-weight: 500;
  color: var(--accent-color);
}

.cafe-order-item {
  display: none;
  padding: 5px 20px 5px 14px;
}

.cafe-order-item.selected {
  display: flex;
}

.cafe-order-item-label {
  flex-grow: 1;
}

.cafe-order-item-photo {
  text-align: center;
  width: 50px;
  height: 50px;
  margin-right: 11px;
}

.cafe-order-item-photo .cafe-item-emoji {
  font-size: 38px;
  line-height: 50px;
}

.cafe-order-item-photo .cafe-item-lottie {
  width: 40px;
  margin: 4px 0;
}

.cafe-order-item-title {
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
  padding: 3px 0;
}

.cafe-order-item-counter {
  color: var(--main-color);
}

.cafe-order-item-description {
  font-size: 14px;
  line-height: 17px;
  -webkit-font-smoothing: antialiased;
  color: var(--page-hint-color);
  padding: 2px 0;
}

.cafe-order-item-price {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  padding: 4px 0;
}

.cafe-text-field-wrap {
  margin-top: 14px;
}

.cafe-text-field {
  font-family: var(--default-font);
  font-size: 17px;
  line-height: 21px;
  -webkit-font-smoothing: antialiased;
  padding: 12px 20px 13px;
  box-sizing: border-box;
  display: block;
  outline: none;
  border: none;
  border-radius: 0;
  resize: none;
  color: var(--text-color);
  -webkit-user-select: auto;
  user-select: auto;
  cursor: auto;
  width: 100%;
}

.cafe-text-field::-webkit-input-placeholder {
  transition: color var(--animation);
  color: var(--placeholder-color);
  text-overflow: ellipsis;
}

.cafe-text-field::-moz-placeholder {
  transition: color var(--animation);
  color: var(--placeholder-color);
  text-overflow: ellipsis;
}

.cafe-text-field:-ms-input-placeholder {
  transition: color var(--animation);
  color: var(--placeholder-color);
  text-overflow: ellipsis;
}

.cafe-text-field::placeholder {
  text-overflow: ellipsis;
}

.cafe-text-field-hint {
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 18px;
  -webkit-font-smoothing: antialiased;
  padding: 10px 20px 24px;
  color: var(--hint-color);
}


.button-item.ripple-handler {
  position: relative;
}

.ripple-mask {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform: translateZ(0);
  overflow: hidden;
  pointer-events: none;
}

.button-item .ripple-mask {
  border-radius: inherit;
}

.button-item .ripple {
  position: absolute;
  width: 200%;
  left: 50%;
  top: 50%;
  margin: -100% 0 0 -100%;
  padding-top: 200%;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.07);
  transition:
    transform var(--ripple-duration) ease-out,
    opacity var(--ripple-duration) ease-out,
    background-color var(--ripple-duration) ease-out;
  opacity: 0;
}

.button-item-label {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  position: relative;
  z-index: 1;
}

.cafe-item-add-button .ripple,
.cafe-item-incr-button .ripple {
  background-color: #ed960b;
}

.cafe-item-decr-button .ripple {
  background-color: #d3362d;
}


.loading-icon {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  transform: scale(0);
  visibility: hidden;
  opacity: 0.2;
  transform-origin: 50%;
  transition: all var(--animation);
}

body.loading .loading-icon {
  transition-delay: .4s;
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

.loading-icon-circle {
  stroke: #fff;
  stroke-width: 2.25px;
  stroke-linecap: round;
  fill: transparent;
  transform: rotateZ(-90deg);
  transform-origin: 50%;
  animation: rotate-circle linear 1.5s infinite, resize-circle linear 360s infinite;
  stroke-dasharray: calc(var(--radius) * 6.28);
  r: var(--radius);
  --radius: 9px;
}

@-webkit-keyframes rotate-circle {
  from {
    transform: rotateZ(-90deg);
  }

  to {
    transform: rotateZ(630deg);
  }
}

@keyframes rotate-circle {
  from {
    transform: rotateZ(-90deg);
  }

  to {
    transform: rotateZ(630deg);
  }
}

@-webkit-keyframes resize-circle {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 12500px;
  }
}

@keyframes resize-circle {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 12500px;
  }
}

@-webkit-keyframes badge-incr {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(1.2, 1.2, 1);
  }
}

@keyframes badge-incr {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(1.2, 1.2, 1);
  }
}

@-webkit-keyframes badge-incr2 {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(1.2, 1.2, 1);
  }
}

@keyframes badge-incr2 {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(1.2, 1.2, 1);
  }
}

@-webkit-keyframes badge-decr {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(0.8, 0.8, 1);
  }
}

@keyframes badge-decr {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(0.8, 0.8, 1);
  }
}

@-webkit-keyframes badge-decr2 {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(0.8, 0.8, 1);
  }
}

@keyframes badge-decr2 {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  40% {
    transform: scale3d(0.8, 0.8, 1);
  }
}

@-webkit-keyframes badge-show {
  from {
    transform: scale3d(0.5, 0.5, 1);
    opacity: 0;
    visibility: hidden;
  }

  30% {
    transform: scale3d(1.2, 1.2, 1);
  }

  to {
    transform: scale3d(1, 1, 1);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes badge-show {
  from {
    transform: scale3d(0.5, 0.5, 1);
    opacity: 0;
    visibility: hidden;
  }

  30% {
    transform: scale3d(1.2, 1.2, 1);
  }

  to {
    transform: scale3d(1, 1, 1);
    opacity: 1;
    visibility: visible;
  }
}

@-webkit-keyframes badge-hide {
  from {
    transform: scale3d(1, 1, 1);
    opacity: 1;
    visibility: visible;
  }

  to {
    transform: scale3d(0.5, 0.5, 1);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes badge-hide {
  from {
    transform: scale3d(1, 1, 1);
    opacity: 1;
    visibility: visible;
  }

  to {
    transform: scale3d(0.5, 0.5, 1);
    opacity: 0;
    visibility: hidden;
  }
}

/* Product Detail Modal */
.cafe-product-detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--block-bg-color);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity var(--animation);
  overflow: hidden;
}

.cafe-product-detail-overlay.show {
  display: flex;
  opacity: 1;
}

.cafe-product-detail {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--block-bg-color);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.cafe-product-detail-overlay.show .cafe-product-detail {
  transform: translateY(0);
}

.cafe-product-detail-close {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: var(--text-color);
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  transition: background-color var(--animation);
}

.cafe-product-detail-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.cafe-product-detail-image {
  width: 100%;
  min-height: 40vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

.cafe-product-detail-image .cafe-item-lottie {
  width: 300px;
  height: 300px;
  max-width: 90%;
}

.cafe-product-detail-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cafe-product-detail-name-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 5px;
}

.cafe-product-detail-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  flex: 1;
  text-align: right;
  padding-right: 15px;
}

.cafe-product-detail-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  text-align: left;
  padding-left: 15px;
}

.cafe-product-detail-buttons {
  display: flex;
  width: 100%;
  max-width: 200px;
  justify-content: space-between;
  margin: 0 auto 20px;
  position: relative;
  cursor: pointer;
}

.cafe-product-detail-add-btn {
  position: relative;
  width: 100%;
  height: 50px;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: width var(--animation);
}

.cafe-product-detail-buttons.selected .cafe-product-detail-add-btn {
  width: 50%;
  border-radius: 0;
}

.cafe-product-detail-decr-button {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 50px;
  background-color: #e64d44;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transform: scale3d(0.9, 0.9, 1);
  transition: transform var(--animation), visibility var(--animation), width var(--animation);
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cafe-product-detail-buttons.selected .cafe-product-detail-decr-button {
  pointer-events: auto;
  transform: scale3d(1, 1, 1);
  visibility: visible;
}

.cafe-product-detail-decr-button:before {
  display: inline-block;
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 14px;
  height: 3px;
  background-color: #fff;
  border-radius: 1px;
  z-index: 1;
}

.cafe-product-detail-add-btn:before,
.cafe-product-detail-add-btn:after {
  display: inline-block;
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 14px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color var(--animation);
  border-radius: 1px;
  z-index: 1;
}

.cafe-product-detail-buttons.selected .cafe-product-detail-add-btn:before,
.cafe-product-detail-buttons.selected .cafe-product-detail-add-btn:after {
  background-color: #fff;
}

.cafe-product-detail-add-btn .button-item-label {
  transition: transform var(--animation);
  position: relative;
  z-index: 2;
}

.cafe-product-detail-buttons.selected .cafe-product-detail-add-btn .button-item-label {
  transform: scale3d(0.4, 0, 1);
}

.cafe-product-detail-add-btn:after {
  width: 3px;
  height: 14px;
}

.cafe-product-detail-counter {
  position: absolute;
  top: 15px;
  left: 20px;
  min-width: 22px;
  height: 22px;
  padding: 2px 6px;
  border-radius: 11px;
  background-color: var(--main-color);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale3d(0, 0, 1);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--animation), opacity var(--animation), visibility var(--animation);
  z-index: 10;
  pointer-events: none;
}

.cafe-product-detail-counter.visible {
  transform: scale3d(1, 1, 1);
  opacity: 1;
  visibility: visible;
}

.cafe-product-detail-description {
  font-size: 16px;
  line-height: 24px;
  color: var(--page-hint-color);
  padding: 0 5px;
  flex: 1;
  overflow-y: auto;
}
/* checkbox */
.checkbox-wrapper-2 .ikxBAC {
  appearance: none;
  background-color: #dfe1e4;
  border-radius: 72px;
  border-style: none;
  flex-shrink: 0;
  height: 20px;
  margin: 0;
  position: relative;
  width: 30px;
}

.checkbox-wrapper-2 .ikxBAC::before {
  bottom: -6px;
  content: "";
  left: -6px;
  position: absolute;
  right: -6px;
  top: -6px;
}

.checkbox-wrapper-2 .ikxBAC,
.checkbox-wrapper-2 .ikxBAC::after {
  transition: all 100ms ease-out;
}

.checkbox-wrapper-2 .ikxBAC::after {
  background-color: #fff;
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 14px;
}

.checkbox-wrapper-2 input[type=checkbox] {
  cursor: default;
}

.checkbox-wrapper-2 .ikxBAC:hover {
  background-color: #c9cbcd;
  transition-duration: 0s;
}

.checkbox-wrapper-2 .ikxBAC:checked {
  background-color: #6e79d6;
}

.checkbox-wrapper-2 .ikxBAC:checked::after {
  background-color: #fff;
  left: 13px;
}

.checkbox-wrapper-2 :focus:not(.focus-visible) {
  outline: 0;
}

.checkbox-wrapper-2 .ikxBAC:checked:hover {
  background-color: #535db3;
}

[dir="rtl"] .cafe-item-counter,
[dir="rtl"] .cafe-item-incr-button {
  right: auto;
  left: 0;
}

[dir="rtl"] .cafe-order-item {
  padding: 5px 14px 5px 20px;
}

[dir="rtl"] .cafe-order-item-photo {
  margin-right: 0;
  margin-left: 11px;
}

[dir="rtl"] .cafe-product-detail-name {
  text-align: start;
  padding-right: 0;
  padding-left: 15px;
}

[dir="rtl"] .cafe-product-detail-price {
  text-align: end;
  padding-left: 0;
  padding-right: 15px;
}

[dir="rtl"] .cafe-product-detail-decr-button {
  right: auto;
  left: 0;
  border-radius: 10px 0 0 10px;
}

[dir="rtl"] .cafe-product-detail-counter {
  left: auto;
  right: 20px;
}

[dir="rtl"] .checkbox-wrapper-2 .ikxBAC::after {
  left: auto;
  right: 3px;
}

[dir="rtl"] .checkbox-wrapper-2 .ikxBAC:checked::after {
  left: auto;
  right: 13px;
}

.products-page-enter {
  overflow-x: hidden;
  box-sizing: border-box;
  padding-top: max(16px, calc(var(--tg-content-safe-area-inset-top, 0px) + var(--tg-safe-area-inset-top, 0px) + env(safe-area-inset-top, 0px) + 14px));
  background-color: var(--bg-color);
}

/* .products-page-enter::before {
  content: "";
  position: fixed;
  inset: auto -30% -45% -30%;
  height: 60vh;
  background:
    radial-gradient(circle at 50% 35%, rgba(82, 137, 193, 0.38), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(106, 179, 243, 0.22), transparent 34%);
  filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  animation: products-glow-rise 950ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
} */

.products-page-title {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  animation: products-title-in 700ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.products-page-panel {
  border-radius: 24px 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  justify-content: center;
  align-content: start;
  box-sizing: border-box;
  width: min(calc(100% - 24px), 362px);
  max-width: 362px;
  padding: 14px 10px;
  transform-origin: 50% 100%;
  animation: products-panel-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.products-page-panel::after,
.products-page-panel .cafe-item-shadow {
  display: none;
}

.products-page-panel .cafe-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 10px 8px 12px;
}

.products-page-panel .cafe-item-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  width: 100%;
}

.products-page-panel .cafe-item-label {
  min-height: 42px;
  margin-top: 8px;
}

.products-page-enter .cafe-item {
  opacity: 0;
  transform: translateY(76px) scale(0.88) rotateX(18deg);
  transform-origin: 50% 100%;
  animation: products-card-pop 760ms cubic-bezier(0.22, 1.25, 0.36, 1) 220ms forwards;
}

.products-page-add {
  opacity: 0;
  transform: translateY(40px) scale(0.35) rotate(-90deg);
  animation: products-add-pop 650ms cubic-bezier(0.22, 1.4, 0.36, 1) 760ms forwards;
}

.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  max-width: 132px;
  margin: 12px auto 0;
}

.product-card-button {
  flex: 1;
  border-radius: 10px;
  padding: 10px 0;
  border: 1px solid transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform var(--animation), opacity var(--animation), border-color var(--animation);
}

.product-card-button:hover,
.product-card-button:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.product-card-button:active {
  transform: scale(0.96);
}

.product-card-button-primary {
  background: #5289c1;
}

.product-card-button-secondary {
  background: var(--bg-color, #17212b);
}

@keyframes products-glow-rise {
  0% {
    opacity: 0;
    transform: translateY(80px) ;
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 0.55;
    transform: translateY(-26px) ;
  }
}

@keyframes products-title-in {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes products-panel-rise {
  0% {
    opacity: 0;
    transform: translateY(48vh) ;

  }

  100% {
    opacity: 1;
    transform: translateY(0);

  }
}

@keyframes products-card-pop {
  0% {
    opacity: 0;
    transform: translateY(76px) scale(0.88) rotateX(18deg);
  }

  68% {
    opacity: 1;
    transform: translateY(-10px) scale(1.03) rotateX(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
  }
}

@keyframes products-add-pop {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.35) rotate(-90deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-8px) scale(1.08) rotate(8deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-page-enter::before,
  .products-page-title,
  .products-page-panel,
  .products-page-enter .cafe-item,
  .products-page-add {
    animation: none;
    opacity: 1;
    transform: none;
    color: #fff;
  }
}