/* ============================================
   JEJULABS - 원료 서브페이지 스타일시트
   테라코타 오렌지 테마
   ============================================ */

/* ========== PAGE HERO ========== */
.page-hero {
    padding: 160px 5% 80px;
    background: linear-gradient(135deg, #5C2E1A 0%, #CE6542 40%, #D8825F 100%);
    text-align: center;
    color: var(--text-white);
}

.page-hero .section-tag {
    color: var(--accent);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-white);
}

.page-hero p {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== INGREDIENT LIST ========== */
.ingredient-list {
    padding: 100px 5%;
    background: var(--bg-white);
}

.ingredient-list-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ingredient-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    align-items: flex-start;
}

.ingredient-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

/* ★ 원물 이미지 */
.ingredient-img {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* 이미지 없을 때 아이콘 표시용 */
.ingredient-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-warm), rgba(206,101,66,0.12));
    border-radius: 16px;
}

.ingredient-img-placeholder i {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.3;
}

.ingredient-info {
    flex: 1;
    min-width: 0;
}

.ingredient-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.ingredient-inci {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(206,101,66,0.08);
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.ingredient-info p {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========== INGREDIENT INQUIRY ========== */
.ingredient-inquiry {
    padding: 100px 5%;
    background: linear-gradient(135deg, #5C2E1A 0%, #CE6542 100%);
    color: var(--text-white);
}

.inquiry-container {
    max-width: 700px;
    margin: 0 auto;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    transition: var(--transition);
}

.checkbox-label:hover {
    background: rgba(255,255,255,0.15);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .ingredient-item {
        flex-direction: column;
        gap: 16px;
    }

    .ingredient-img {
        width: 100%;
        height: 200px;
    }

    .checkbox-group {
        flex-direction: column;
    }

    .ingredient-list {
        padding: 60px 5%;
    }

    .ingredient-inquiry {
        padding: 60px 5%;
    }
}
