.category-title {
  font-weight: 700;
  font-size: 32px;
  color: #2c3e50;
  line-height: 1.2;
}

.category-description {
  border-left: 4px solid #3498db;
  margin: 0 13px;
}

.category-description h4 {
  color: #3498db;
  font-weight: 600;
}

.description-text {
  line-height: 1.6;
  color: #555;
}

.empty-category-alert {
  border-left: 4px solid #f39c12;
}

.category-controls {
  margin-left: 15px;
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #eee;
  background-color: #ffffff;
}

.card-title a {
  color: var(--link-color) !important;
  line-height: 1.2;
}

.card-title a:hover {
  color: var(--link-color-hover) !important;
}

.card-body {
  box-shadow: 3px 3px 5px rgba(169, 208, 232, 0.33);
}

.price-with-discount {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.final-price {
  color: #dc3545;
  font-weight: bold;
}

.discount-badge {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  font-size: 0.7em;
  padding: 4px 6px;
  border-radius: 8px;
  font-weight: bold;
  white-space: nowrap;
  align-self: flex-start;
}

.price-block {
  min-width: 150px;
}

.card-title-right {
    max-width: 25%;
}

@media (min-width: 1201px) and (max-width: 1500px) {
  .card-title-right {
    max-width: 28%;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .card-title-right {
    max-width: 35%;
  }
}

.made-in-belarus-badge-container {
    display: flex;
    align-items: center;
}

.made-in-belarus-badge {
    background: linear-gradient(180deg, #CF0812 0%, #009739 130%);
    color: white;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.made-in-belarus-badge .badge-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

@media (max-width: 576px) {
    .made-in-belarus-badge {
        font-size: 10px;
    }
}