/* ============================================
   Products Page Styles
   ============================================ */

/* --- Materials Grid --- */
.materials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.material-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.material-card:hover {
    transform: translateX(5px);
}

.material-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-round);
    background-color: var(--color-teal);
    color: var(--text-light);
    font-size: 1.2rem;
}

.material-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Product Categories --- */
.product-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 2rem;
}

.product-category {
    display: flex;
    gap: 25px;
    padding: 30px;
    background-color: var(--bg-light-blue);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-teal);
    transition: box-shadow var(--transition-normal);
}

.product-category:hover {
    box-shadow: var(--shadow-md);
}

.product-category__icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
    font-size: 2.5rem;
    color: var(--color-teal);
    min-width: 60px;
}

.product-category__content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-category__content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.product-category__sizes {
    margin-top: 10px;
    color: var(--color-teal) !important;
    font-size: 0.9rem;
}

/* --- Cap Sizes Visual Table --- */
.cap-sizes-table {
    margin-top: 30px;
    padding: 30px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cap-sizes-table__title {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.cap-sizes-table__group {
    margin-bottom: 25px;
}

.cap-sizes-table__group:last-of-type {
    margin-bottom: 15px;
}

.cap-sizes-table__group-title {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cap-sizes-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.cap-size {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.cap-size:hover {
    transform: translateY(-3px);
}

.cap-size--green {
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
}

.cap-size--red {
    background-color: #ffebee;
    border: 2px solid #ef5350;
}

.cap-size--yellow {
    background-color: #fff8e1;
    border: 2px solid #ffc107;
}

.cap-size__label {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.cap-size--green .cap-size__label { color: #2e7d32; }
.cap-size--red .cap-size__label { color: #c62828; }
.cap-size--yellow .cap-size__label { color: #f57f17; }

.cap-size__range {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.cap-sizes-table__note {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 10px;
}

.cap-sizes-table__note i {
    color: var(--color-teal);
    margin-right: 5px;
}

/* Reuse video-wrapper and gallery from home.css */
