/* ===== Hero Section ===== */
.hero {
    padding: 48px 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    border-radius: 999px;
    background: rgba(11, 15, 25, 0.02);
    color: rgba(11, 15, 25, 0.55);
    font-weight: 900;
    font-size: 13px;
}

.hero-title {
    margin: 14px 0 12px;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.045em;
    color: #0b0f19;
}

.hero-desc {
    color: rgba(11, 15, 25, 0.55);
    font-size: 16px;
    line-height: 1.65;
}

/* ===== Hero Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 36px 0 20px;
    }

    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 28px 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 14px;
    }
}

/* ===== Content Grid (2컬럼) ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
    margin-top: 20px;
}

/* ===== Input Card ===== */
.input-card {
    border: 1px solid rgba(11, 15, 25, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(11, 15, 25, 0.06);
    padding: 20px;
}

.input-label {
    display: block;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

/* ===== Tag Box ===== */
.tag-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tag-box:focus-within {
    border-color: rgba(17, 24, 39, 0.26);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.tag-input {
    flex: 1 1 200px;
    min-width: 200px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 8px 6px;
    font-size: 14px;
    color: #0b0f19;
}

.tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: #ffffff;
    font-weight: 800;
    font-size: 13px;
}

.tag-remove {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: transparent;
    color: rgba(11, 15, 25, 0.50);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.tag-remove:hover {
    background: rgba(11, 15, 25, 0.06);
    color: #0b0f19;
}

.input-hint {
    margin-top: 10px;
    color: rgba(11, 15, 25, 0.45);
    font-size: 12.5px;
    line-height: 1.5;
}

/* ===== My Ingredient (DB) ===== */
.my-ingredient {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
}

.my-ingredient-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.my-ingredient-title {
    font-weight: 900;
    font-size: 13.5px;
    letter-spacing: -0.01em;
}

.my-ingredient-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(11, 15, 25, 0.50);
    font-size: 12.5px;
    font-weight: 800;
}

.btn-small {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: #ffffff;
    color: rgba(11, 15, 25, 0.70);
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-small:hover {
    background: rgba(11, 15, 25, 0.04);
}

.btn-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.my-ingredient-list {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ing-btn {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.12);
    background: #ffffff;
    color: rgba(11, 15, 25, 0.75);
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ing-btn:hover {
    border-color: rgba(11, 15, 25, 0.20);
    box-shadow: 0 8px 20px rgba(11, 15, 25, 0.08);
}

.ing-btn.active {
    border-color: rgba(34, 197, 94, 0.40);
    background: rgba(34, 197, 94, 0.04);
}

.ing-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.18);
    background: rgba(11, 15, 25, 0.04);
    transition: all 0.15s ease;
}

.ing-btn.active .ing-dot {
    border-color: #22c55e;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.40);
}

.my-ingredient-empty {
    margin-top: 10px;
    padding: 14px;
    border-radius: 12px;
    border: 1px dashed rgba(11, 15, 25, 0.15);
    background: rgba(11, 15, 25, 0.02);
    color: rgba(11, 15, 25, 0.50);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.my-ingredient-empty a {
    color: #111827;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.my-ingredient-empty a:hover {
    color: #1f2937;
}

.my-ingredient-hint {
    margin-top: 10px;
    color: rgba(11, 15, 25, 0.45);
    font-size: 12px;
    line-height: 1.5;
}

/* ===== Option Group (모드 + 개수) ===== */
.option-group {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-label {
    color: rgba(11, 15, 25, 0.50);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    min-width: 60px;
}

.chip-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px;
    border-radius: 12px;
    background: rgba(11, 15, 25, 0.04);
    border: 1px solid rgba(11, 15, 25, 0.06);
}

.chip {
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(11, 15, 25, 0.45);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.chip:hover {
    color: rgba(11, 15, 25, 0.70);
    background: rgba(255, 255, 255, 0.60);
}

.chip.active {
    background: #ffffff;
    color: #0b0f19;
    border-color: rgba(11, 15, 25, 0.10);
    box-shadow: 0 2px 8px rgba(11, 15, 25, 0.08);
}

.count-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.count-label {
    color: rgba(11, 15, 25, 0.50);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    min-width: 60px;
}

.count-group {
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(11, 15, 25, 0.04);
    border: 1px solid rgba(11, 15, 25, 0.06);
}

.count-chip {
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(11, 15, 25, 0.45);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.count-chip:hover {
    color: rgba(11, 15, 25, 0.70);
    background: rgba(255, 255, 255, 0.60);
}

.count-chip.active {
    background: #ffffff;
    color: #0b0f19;
    border-color: rgba(11, 15, 25, 0.10);
    box-shadow: 0 2px 8px rgba(11, 15, 25, 0.08);
}

/* ===== Action Row ===== */
.action-row {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.btn-reset {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: transparent;
    color: #0b0f19;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-reset:hover {
    background: rgba(11, 15, 25, 0.04);
}

.btn-recommend {
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #111827;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(11, 15, 25, 0.10);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-recommend:hover {
    background: #1f2937;
    box-shadow: 0 12px 32px rgba(11, 15, 25, 0.14);
}

.btn-recommend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Status Text ===== */
.status-text {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(11, 15, 25, 0.03);
    border: 1px solid rgba(11, 15, 25, 0.06);
    color: rgba(11, 15, 25, 0.60);
    font-size: 14px;
    font-weight: 700;
    min-height: 24px;
}

/* ===== Preview Card (오른쪽 패널) ===== */
.preview-card {
    border: 1px solid rgba(11, 15, 25, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(11, 15, 25, 0.06);
    padding: 20px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.preview-card::-webkit-scrollbar {
    width: 6px;
}

.preview-card::-webkit-scrollbar-thumb {
    background: rgba(11, 15, 25, 0.10);
    border-radius: 999px;
}

.preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.preview-title {
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.preview-sub {
    margin-top: 4px;
    color: rgba(11, 15, 25, 0.45);
    font-size: 12.5px;
}

.preview-badge {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
    font-weight: 800;
    font-size: 12px;
    color: rgba(11, 15, 25, 0.55);
    white-space: nowrap;
}

/* ----- 탭 ----- */
.preview-tabs {
    margin-top: 14px;
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(11, 15, 25, 0.04);
    border: 1px solid rgba(11, 15, 25, 0.06);
}

.preview-tab {
    flex: 1;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(11, 15, 25, 0.45);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.preview-tab:hover {
    color: rgba(11, 15, 25, 0.70);
    background: rgba(255, 255, 255, 0.60);
}

.preview-tab.active {
    background: #ffffff;
    color: #0b0f19;
    border-color: rgba(11, 15, 25, 0.10);
    box-shadow: 0 2px 8px rgba(11, 15, 25, 0.08);
}

.preview-tab-count {
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
    font-size: 11px;
    color: rgba(11, 15, 25, 0.55);
}

/* ----- 즐겨찾기 검색 ----- */
.preview-search {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
}

.preview-search-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: #0b0f19;
}

/* ----- 요약 ----- */
.preview-summary {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.summary-box {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(11, 15, 25, 0.08);
    background: rgba(11, 15, 25, 0.02);
}

.summary-label {
    display: block;
    color: rgba(11, 15, 25, 0.45);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: -0.01em;
}

.summary-value {
    display: block;
    margin-top: 4px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: -0.02em;
}

/* ----- 레시피 리스트 ----- */
.preview-scroll {
    margin-top: 14px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.preview-scroll::-webkit-scrollbar {
    width: 6px;
}

.preview-scroll::-webkit-scrollbar-thumb {
    background: rgba(11, 15, 25, 0.10);
    border-radius: 999px;
}

.preview-list {
    display: grid;
    gap: 10px;
}

.preview-empty {
    padding: 24px 16px;
    border-radius: 14px;
    border: 1px dashed rgba(11, 15, 25, 0.15);
    background: rgba(11, 15, 25, 0.02);
    color: rgba(11, 15, 25, 0.50);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.preview-empty b {
    color: #0b0f19;
}

/* ----- 레시피 미니카드 ----- */
.recipe-card {
    border: 1px solid rgba(11, 15, 25, 0.10);
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    position: relative;
}

.recipe-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(11, 15, 25, 0.08);
    border-color: rgba(11, 15, 25, 0.16);
}

.recipe-card.active {
    border-color: rgba(17, 24, 39, 0.35);
    box-shadow: 0 12px 32px rgba(11, 15, 25, 0.10), 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.recipe-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.recipe-card-title {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recipe-card-difficulty {
    flex: none;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
    font-weight: 800;
    font-size: 11px;
    color: rgba(11, 15, 25, 0.60);
}

.recipe-card-meta {
    margin-top: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.recipe-card-pill {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.08);
    background: rgba(11, 15, 25, 0.02);
    font-weight: 800;
    font-size: 11.5px;
    color: rgba(11, 15, 25, 0.55);
}

.recipe-card-missing {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(11, 15, 25, 0.06);
    color: rgba(11, 15, 25, 0.45);
    font-size: 12px;
    line-height: 1.4;
}

.recipe-card-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 13px;
    color: rgba(11, 15, 25, 0.30);
}

.recipe-card-fav:hover {
    color: #f59e0b;
    transform: scale(1.2);
}

.recipe-card-fav.on {
    color: #f59e0b;
}

/* ===== Detail Section (상세 레시피) ===== */
.detail {
    margin-top: 32px;
}

.detail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.detail-section-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.detail-sub {
    color: rgba(11, 15, 25, 0.45);
    font-size: 13px;
    white-space: nowrap;
}

.detail-card {
    border: 1px solid rgba(11, 15, 25, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(11, 15, 25, 0.06);
    padding: 24px;
}

.detail-empty {
    color: rgba(11, 15, 25, 0.45);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    padding: 32px 16px;
}

/* ----- 상세 헤더 ----- */
.detail-title {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.detail-meta {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
    font-weight: 800;
    font-size: 12.5px;
    color: rgba(11, 15, 25, 0.60);
}

/* ----- 툴바 ----- */
.detail-toolbar {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-tools {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-detail {
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: #ffffff;
    color: #0b0f19;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-detail:hover {
    background: rgba(11, 15, 25, 0.03);
    box-shadow: 0 6px 16px rgba(11, 15, 25, 0.06);
}

.btn-detail-primary {
    background: #111827;
    color: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}

.btn-detail-primary:hover {
    background: #1f2937;
    box-shadow: 0 8px 24px rgba(11, 15, 25, 0.12);
}

.btn-fav.on {
    border-color: rgba(245, 158, 11, 0.30);
    background: rgba(245, 158, 11, 0.06);
    color: #b45309;
}

/* ----- 구분선 ----- */
.detail-divider {
    height: 1px;
    border: 0;
    background: rgba(11, 15, 25, 0.08);
    margin: 20px 0;
}

/* ----- 2컬럼 그리드 (재료 + 요리정보) ----- */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-block {
    border: 1px solid rgba(11, 15, 25, 0.08);
    border-radius: 14px;
    background: #ffffff;
    padding: 16px;
}

.detail-block-title {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-block-sub {
    margin-top: 10px;
    color: rgba(11, 15, 25, 0.50);
    font-size: 12.5px;
    font-weight: 700;
}

/* ----- 재료 체크리스트 ----- */
.detail-checklist {
    list-style: none;
    margin: 10px 0 0;
    display: grid;
    gap: 8px;
}

.detail-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
}

.detail-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid rgba(11, 15, 25, 0.12);
    background: rgba(11, 15, 25, 0.02);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    color: rgba(11, 15, 25, 0.50);
    flex: none;
    margin-top: 1px;
}

.detail-checklist li small {
    color: rgba(11, 15, 25, 0.45);
    font-weight: 600;
}

/* ----- 부족/선택 재료 태그 ----- */
.detail-ing-tags {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.detail-ing-tag {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.02);
    font-weight: 800;
    font-size: 12px;
    color: rgba(11, 15, 25, 0.60);
}

.detail-ing-tag.missing {
    border-color: rgba(239, 68, 68, 0.20);
    background: rgba(239, 68, 68, 0.04);
    color: #dc2626;
}

/* ----- 콜아웃 ----- */
.detail-callout {
    margin-top: 14px;
    border: 1px solid rgba(11, 15, 25, 0.08);
    background: rgba(11, 15, 25, 0.02);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(11, 15, 25, 0.70);
}

.detail-callout-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(11, 15, 25, 0.08);
    background: #ffffff;
    display: grid;
    place-items: center;
    flex: none;
    font-size: 14px;
}

.detail-callout b {
    color: #0b0f19;
}

/* ----- 요리 정보 박스 ----- */
.detail-info-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.detail-info-box {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(11, 15, 25, 0.08);
    background: rgba(11, 15, 25, 0.02);
}

.detail-info-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: rgba(11, 15, 25, 0.45);
}

.detail-info-value {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* ----- 조리 순서 ----- */
.detail-steps {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.detail-step {
    border: 1px solid rgba(11, 15, 25, 0.08);
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.detail-step-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(11, 15, 25, 0.10);
    background: rgba(11, 15, 25, 0.03);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 13px;
    color: rgba(11, 15, 25, 0.65);
    flex: none;
}

.detail-step-text {
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Detail Responsive ===== */
@media (max-width: 860px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .detail-title {
        font-size: 20px;
    }
    .detail-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .detail-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Content Grid Responsive ===== */
@media (max-width: 980px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-reset,
    .btn-recommend {
        text-align: center;
    }
}
