.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, .33);
}

.product-rating {
    font-size: 0.9rem;
    line-height: 1.0;
}

.product-rating .star-full,
.product-rating .star-half,
.product-rating .star-empty {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
}

.product-rating .star-full {
    color: #ffc107;
}

.product-rating .star-half {
    background: linear-gradient(90deg, #ffc107 50%, #e4e5e9 50%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.product-rating .star-empty {
    color: #e4e5e9;
}

.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: 9px;
    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: 768px) {
    .made-in-belarus-badge {
        font-size: 12px;
    }
}

.card-title-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.category-card .card-body {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.category-card .category-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.category-card .category-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.category-card .category-count {
    font-size: 0.85rem;
    color: #6c757d;
}

.category-card .card-body .btn-outline-secondary {
    margin-top: 10px;
}

.card.position-relative {
    overflow: visible !important;
}

.discount-badge-corner {
    position: absolute;
    top: 100px;
    right: -10px;
    background: linear-gradient(135deg, #ff9800 0%, #e65100 100%);
    opacity: 0.7;
    border: 2px #555 solid;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    
    padding: 8px 22px 8px 38px;
    
    clip-path: polygon(100% 0%, 100% 100%, 25% 100%, 0% 65%, 15% 0%);
    
    transform: rotate(-4deg);
    transform-origin: center;
    
    box-shadow: -2px 4px 8px rgba(0,0,0,0.25);
    z-index: 10;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    text-align: center;
}

@media (max-width: 576px) {
    .discount-badge-corner {
        font-size: 14px;
        padding: 6px 18px 6px 30px;
        top: 100px;
        right: -5px;
    }
}

.product-admin-controls {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.product-admin-controls .btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
}
