body,
html {
  background-color: #f8f9f9;
  height: 100%;
}

h3,
h4 {
  font-family: "Merriweather", serif;
}

.header {
  padding-top: 50px;
  padding-bottom: 50px;
}

.product-img {
  width: 265px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.item-title {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Merriweather", serif;
  height: 70px;
}

.details-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.items {
  font-family: "Merriweather", serif;
  background: #f2ede7;
  border-radius: 8px;
  width: 120px;
  display: flex;
  font-size: 18px;
  height: 30px;
  overflow: hidden;
}

.items__control {
  width: 40px;
  cursor: pointer;
  transition: 0.2s ease-in;
  text-align: center;
}

.items__control:hover {
  background: #eb5a1e;
  color: #fff;
}

.items__current {
  width: 40px;
}

/* items--small */
.items.items--small {
  width: 90px;
  font-size: 16px;
  height: 26px;
  text-align: center;
}

.items.items--small .items__control {
  width: 30px;
}

.items.items--small .items__current {
  width: 30px;
}

.price {
  text-align: left;
}

.price__weight {
  color: #6c757d !important;
  font-size: 80%;
  line-height: 1;
}

.price__currency {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.btn-outline-warning {
  color: #eb5a1e;
  border-color: #eb5a1e;
}

.btn-outline-warning:hover {
  color: #fff;
  background-color: #eb5a1e;
  border-color: #eb5a1e;
}

.cart-item {
}

.cart-item__top {
  display: flex;
  align-items: flex-start;
  padding-bottom: 15px;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 15px;
}

.cart-item__img {
}

.cart-item__img img {
  max-width: 100px;
  height: auto;
}

.cart-item__desc {
  padding-top: 15px;
  padding-left: 15px;
}

.cart-item__title {
  font-family: "Merriweather", serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-item__weight {
  color: #6c757d !important;
  font-size: 80%;
  line-height: 1;
  margin-bottom: 15px;
}

.cart-item__details {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.cart-item__details .price__currency {
  font-size: 18px;
  margin-left: 15px;
}

.cart-total {
  font-size: 18px;
  font-weight: 500;
}

.delivery-cost {
}

.free {
  color: #0ea107;
}

.total-price {
  color: #eb5a1e;
}

.rouble {
  color: #eb5a1e;
}

.none {
  display: none;
}

.control {
  color: #000;
}

.order-id {
  color: #000;
  font-weight: 700;
}

/* ==================== КНОПКИ УПРАВЛЕНИЯ ==================== */
.admin-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.admin-buttons .btn {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #333;
}

.admin-buttons .btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin-buttons .btn i {
  margin-right: 6px;
}

.btns-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

/* ==================== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ==================== */
@media (max-width: 576px) {
  .admin-buttons {
    gap: 8px;
  }

  .admin-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .admin-buttons .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Кнопка "Выход" для админа */
.admin-buttons .btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.admin-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.product-row {
  background: white;
  padding: 25px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
