/* ===== Общие UI-элементы ===== */

/* Анимация иконки корзины */
@keyframes cart-bounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3) rotate(-5deg);
  }
  60% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1);
  }
}
.cart-bounce {
  animation: cart-bounce 0.7s ease;
}

/* Тост-уведомление */
.toast-message {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: rgba(32, 17, 0, 0.9);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

/* Кнопки, если не переопределены */
button,
.btn {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

/* Общие адаптивные мелочи */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==== Количество (в стиле MUI) ==== */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d2aa67;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.qty-control:focus-within {
  box-shadow: 0 0 0 2px rgba(210, 170, 103, 0.3);
}

.qty-btn {
  background: #f7f3eb;
  color: #5a3c1c;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.qty-btn:hover {
  background: #e9decf;
}

.qty-btn:active {
  transform: scale(0.9);
}

.selector {
  width: 180px;
  padding: 10px;
  border: 1px solid #d3c7b5;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.qty-input {
  width: 55px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
  color: #3b2a14;
  font-family: "Inter", "Cormorant Garamond", serif;
}

/* скрываем стрелки */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input[type="number"] {
  -moz-appearance: textfield;
}

.soc-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s;
}

.soc-icon:hover {
  /* opacity: 0.7; */
  transform: scale(1.1);
}

.contact-info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6a3a;
  margin-bottom: 2px;
}

.contact-text a {
  font-weight: 500;
}
