.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 2px 12px rgba(0,188,212,0.07);
    padding: 2rem 1.2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 500px;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,188,212,0.13);
}

.product-img {
    width: 100%;
    height: 230px;
    background: linear-gradient(120deg, #e0f7fa 60%, #b2ebf2 100%);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #0097a7;
    font-weight: 700;
    letter-spacing: 2px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--main-blue);
}

.product-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.product-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    align-self: flex; 
  margin-top: auto;       
}

.product-btn:hover {
    background: #0097a7;
    transform: scale(1.05);
}

#produse {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products-grid {
    width: 90%;
    margin-bottom: 1rem;
}

.product-btn-master {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 0.6rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

.product-btn-master:hover {
    background: #0097a7;
    transform: scale(1.05);
}
