/* Promotional Category Grid Styles */
.category-grid {
    margin-bottom: 4rem;
}

.category-grid .category-promo-item {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #333;
}

.category-grid .category-promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-grid .category-promo-item:hover img {
    transform: scale(1.05);
}

/* Header section - title at top */
.category-grid .category-promo-header {
    background: #333;
    padding: 1rem;
    position: relative;
}

.category-grid .category-promo-header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: #333;
    transform: skewY(-2deg);
    transform-origin: bottom left;
}

/* Image section - middle */
.category-grid .category-promo-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.category-grid .category-promo-image img {
    transition: transform 0.3s ease;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Footer section - price at bottom */
.category-grid .category-promo-footer {
    background: #333;
    padding: 1rem;
    position: relative;
}

.category-grid .category-promo-footer::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: #333;
    transform: skewY(2deg);
    transform-origin: top left;
}

.category-grid .category-name {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.category-grid .category-text-line {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.75rem;
}

.category-grid .promo-text-block {
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    display: inline-block;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #dc3545 !important;
}

.category-grid .price-block {
    border-radius: 4px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .category-grid .category-promo-item {
        height: 320px;
    }
    
    .category-grid .category-name {
        font-size: 1.25rem;
    }
    
    .category-grid .promo-text-block {
        font-size: 1rem;
    }
    
    .category-grid .price-block {
        font-size: 1rem;
    }
}
