/* Products page specific styles */

.products-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 920px;
    margin: 18px auto 28px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.06);
    border-left: 4px solid var(--primary-color);
    font-size: 0.98rem;
    color: var(--secondary-color);
}

.products-note-section {
    padding-top: 18px;
    padding-bottom: 30px;
}

.products-note-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 2px;
}

.products-note p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .products-note-section {
        padding-top: 10px;
        padding-bottom: 18px;
    }

    .products-note {
        max-width: 100%;
        margin: 14px auto 18px;
        padding: 12px 14px;
        gap: 10px;
        font-size: 0.95rem;
    }

    .products-note-icon {
        font-size: 1.2rem;
        margin-top: 1px;
    }
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    color: var(--accent-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-2);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
    line-height: 1.4;
}

.product-card p {
    color: var(--accent-color);
    font-size: 0.95rem;
}

.product-card.hidden {
    display: none;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 20px 12px;
        text-align: center; /* 👈 Add this */
    }

    .product-card h3 {
        font-size: 0.95rem;
        text-align: center;  /* 👈 Add this */
        width: 100%;         /* 👈 Add this */
    }

    .product-card p {
        text-align: center;  /* 👈 Add this */
        width: 100%;         /* 👈 Add this */
    }
}

@media (max-width: 480px) {
  .semi-break {
    display: block;
  }
}