* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f2f5;
  color: #222;
  line-height: 1.55;
  padding-bottom: 90px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 12px 40px;
}

.bg-white {
  background: #fff;
}

.pt-2 {
  padding-top: 0.5rem;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.25rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pl-3 { padding-left: 1rem !important; }
.pr-3 { padding-right: 1rem !important; }
.text-center { text-align: center; }
.text-secondary { color: #6c757d; }
.font-weight-bold { font-weight: 700; }
.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: 8px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-block { display: block; }
.shadow { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.bg-light { background: #f8f9fa; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.col-12,
.col-lg-4,
.col-lg-6,
.col-lg-8,
.col-lg-9 {
  width: 100%;
  padding: 0 8px;
}

@media (min-width: 992px) {
  .col-lg-4 { width: 33.333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.666%; }
  .col-lg-9 { width: 75%; }
  .offset-md-1 { margin-left: 8.333%; }
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
}

.badge-info {
  background: #17a2b8;
  color: #fff;
}

.alert {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
}

.alert-primary {
  background: #cce5ff;
  color: #004085;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
}

.border-0 {
  border: 0 !important;
}

.button-bottom {
  text-align: center;
  margin: 24px 0;
}

.button-bottom a {
  display: inline-block;
  max-width: 320px;
  width: 100%;
  margin: 10px auto;
  padding: 15px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none;
  background: #1a7fc2;
  border-radius: 50px;
  transition: 0.3s;
}

.button-bottom a:hover {
  background: #0d4f7a;
}

.product-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  display: block;
}

.footer__in {
  background: #1a1a1a;
  color: #ccc;
}

.comments__title {
  font-size: 22px;
  margin: 0 0 16px;
}

.comments__item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.comments__avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}

.comments__info {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.comments__name {
  font-weight: 700;
  color: #365899;
}

.time-comments {
  font-size: 12px;
  color: #888;
}

.comments__text p {
  margin: 0 0 8px;
}

.panel-funct {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #65676b;
}

.panel-funct a {
  color: #65676b;
  text-decoration: none;
}

.like-facebook {
  margin: 6px 0;
}

.wr-box-order {
  position: fixed;
  left: 12px;
  bottom: 90px;
  z-index: 9999;
  display: none;
  animation: slideIn 0.4s ease;
}

.wr-box-order.show {
  display: block;
}

.order-box {
  background: #fff;
  border-left: 4px solid #0d7a4f;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  max-width: 260px;
}

@keyframes slideIn {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.img-placeholder {
  background: linear-gradient(135deg, #e8f5ef 0%, #d4ebe0 50%, #c5e0d4 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0d7a4f;
  font-weight: 600;
  min-height: 220px;
  border: 1px dashed #0d7a4f55;
}

.img-placeholder.tall {
  min-height: 320px;
}

.img-placeholder.wide {
  min-height: 200px;
}

.img-placeholder.chart {
  min-height: 260px;
}

.avatar-ph {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d7a4f, #2bb673);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
