.product-group {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.product-group h2 {
    color: var(--header-group-color); /* Header group text color */
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.product-group h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--highlight-color); /* Highlight color */
    border-radius: 2px;
}

.product-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-item {
    background: var(--background-color); /* Product card background color */
    border-radius: var(--border-radius); /* Border radius */
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--box-shadow-small); /* Small shadow */
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--highlight-color); /* Highlight color */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-large); /* Large shadow */
}

.product-item:hover::before {
    opacity: 1;
}

.product-name {
    color: var(--p-header-color); /* Product header text color */
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--p-price-color); /* Price text color */
    margin: 1rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price::after {
    content: '';
    font-size: 1rem;
    color: var(--p-price-secondary-color); /* Secondary price color */
    font-weight: 400;
}

.product-description {
    color: var(--p-description-color); /* Card description text color */
    line-height: 1.7;
    font-size: 1rem;
    margin: 1.5rem 0;
    min-height: 80px;
}

.product-button {
    margin-top: 2rem;
}

.product-button a {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--highlight-color); /* Highlight color */
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius); /* Border radius */
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--highlight-color) 0%, var(--p-button-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-button a:hover::before {
    opacity: 1;
}

.product-button a span {
    position: relative;
    z-index: 1;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-color); /* Background color for no products section */
    border-radius: var(--border-radius); /* Border radius */
    color: var(--secondary-text-color); /* Secondary text color */
    font-size: 1.1rem;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.icon {
    text-align: center;
    font-size: 2.5rem;
    color: var(--icon-color); /* Primary color */
    margin: 2rem 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .product-group h2 {
        font-size: 1.75rem;
    }
    
    .product-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-item {
        padding: 1.5rem;
    }
    
    .product-name {
        font-size: 1.25rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
}

.product-item {
    position: relative;
    padding-bottom: 60px; 
}

.product-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px; 
}