* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.container {
    width: 30%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: #f9f9f9;
}

.hero {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

.hero>small {
    font-family: DMSans, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 17px;
    color: rgb(237, 28, 36);
}

.hero>h1 {
    color: rgb(43 42 42);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6rem;
}

.hero>h3 {
    color: rgb(135 134 134);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6rem;
}

.article {
    padding: 20px;
}

.article>p {
    font-size: 17px;
    line-height: 1.6rem;
}

.article>h2 {
    font-size: 20px;
    font-weight: 500;
}

.quote {
    padding: 5px;
    background: rgba(240, 128, 128, 0.377);
}

.quote>p {
    font-size: 17px;
    line-height: 1.6rem;
    font-style: italic;
}

.speech {
    background: #fbeec1;
    padding: 10px;
}

.speech>p {
    font-size: 17px;
    line-height: 1.6rem;
}

.order-form {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: sans-serif;
  text-align: center;
}

.product-image {
  width: 30%;
  max-width: 250px;
  margin-bottom: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.slots-left {
  font-size: 18px;
  color: #d9534f;
  margin-bottom: 10px;
}

.price-box {
  margin-bottom: 20px;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 18px;
  margin-right: 10px;
}

.new-price {
  color: #28a745;
  font-size: 24px;
  font-weight: bold;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="tel"],
input[type="text"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  height: 40px !important;
}

button {
  padding: 12px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #218838;
}

label{
    font-size: 17px;
}

.comment-section {
  max-width: 500px;
  margin: 30px auto;
  font-family: sans-serif;
}

.rules-box {
  background: #f2f2f2;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 14px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.login-button {
  width: 100%;
  padding: 10px;
  background-color: #e2e2e2;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  margin-bottom: 20px;
  cursor: pointer;
  color: black;
}

.comment-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 15px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #999;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.avatar.red {
  background-color: #d9534f;
}

.avatar.brown {
  background-color: #8b5e3c;
}

.username {
  font-weight: bold;
  color: #0056b3;
  text-decoration: none;
}

.time {
  font-size: 12px;
  color: #777;
  margin-left: auto;
}

.comment-text {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.comment-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.likes, .dislikes {
  color: #333;
}

.report-link {
  margin-left: auto;
  color: #888;
  text-decoration: none;
  font-size: 13px;
}


@media screen and (max-width: 1365px) {
    .container {
        width: 50%;
    }
}

@media screen and (max-width: 800px) {
    .container {
        width: 80%;
    }
}

@media screen and (max-width: 550px) {
    .container {
        width: 100%;
    }
}