/**
 * NextBio Website - 임가공 서비스 페이지 스타일
 */

.toll-page {
    width: 100%;
    background: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 160px;
    padding: 160px 0;
}

.toll-page .inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 섹션 01 (개요 및 프로세스) */
.toll-page .section-01 {
    width: 100%;
}

.toll-page .text-center {
    text-align: center;
    margin-bottom: 120px;
}

.toll-page .intro-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 60px;
    color: #000000;
    margin: 0 0 48px 0;
    font-family: var(--font-family-suit);
    font-weight: 800;
}

.toll-page .intro-desc {
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    color: #000000;
    word-break: keep-all;
    margin: 0;
    font-family: "Suit-Medium", sans-serif;
}

.toll-page .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.toll-page .process-box {
    background: #ffffff;
    border: 1px solid #dfdfdf;
    border-radius: 16px;
    padding: 48px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.toll-page .icon-box {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toll-page .icon-box img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.toll-page .process-box p {
    font-size: 24px;
    font-weight: 700;
    color: #555555;
    margin: 0;
    font-family: var(--font-family-suit);
    font-weight: 700;
}

.toll-page .process-box {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 호버 시: 비활성 탭의 테두리만 진하게 */
.toll-page .process-box:not(.active):hover {
    border-color: #8dc63f;
    border-width: 2px;
}

/* 활성화된 탭 스타일 */
.toll-page .process-box.active {
    background: var(--main, #8dc63f);
    border: none;
}

.toll-page .process-box.active p {
    color: #ffffff;
}

.toll-page .process-box.active .icon-box img {
    filter: brightness(0) invert(1);
}

/* 섹션 02 (동적 콘텐츠) */
.toll-page .section-02 {
    width: 100%;
    background: #f4faec;
    padding: 80px 0;
}

.toll-page .section-02 .inner {
    padding: 0 20px;
}

.toll-page .content-wrapper {
    display: flex;
    gap: 122px;
    align-items: flex-start;
}

.toll-page .content-image {
    width: 708px;
    height: 530px;
    flex-shrink: 0;
}

.toll-page .content-image img {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
}

.toll-page .content-text {
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    flex: 1;
}

.toll-page .content-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
    color: #000000;
    margin: 0;
    font-family: "Suit-Bold", sans-serif;
}

.toll-page .content-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.toll-page .detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toll-page .highlight-title,
.toll-page .sub-label {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 8px 0;
    font-family: var(--font-family-suit);
    font-weight: 600;
}

.toll-page .orange {
    color: var(--point-01, #f5821f);
}

.toll-page .detail-list {
    padding-left: 20px;
    list-style: disc;
    color: #555555;
    font-size: 18px;
    line-height: 26px;
    margin: 0;
    font-family: var(--font-family-suit);
    font-weight: 400;
}

.toll-page .detail-list li {
    margin-bottom: 8px;
}

.toll-page .detail-list li:last-child {
    margin-bottom: 0;
}

.toll-page .desc-item {
    font-size: 18px;
    line-height: 26px;
    color: #555555;
    margin: 0;
    font-family: var(--font-family-suit);
    font-weight: 400;
}

.toll-page .point-text {
    color: var(--point-01, #f5821f);
    font-weight: 600;
}

/* 패키징 섹션 전용 스타일 */
.toll-page .packaging-full-width {
    width: 100%;
}

.toll-page .section-02.packaging-mode .content-wrapper {
    flex-direction: column;
    gap: 40px;
}

.toll-page .section-02.packaging-mode .content-image {
    display: none;
}

.toll-page .section-02.packaging-mode .content-text {
    padding-top: 0;
    width: 100%;
}

/* 패키징 테이블 스타일 */
.toll-page .packaging-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.toll-page .packaging-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    font-family: var(--font-family-suit);
    table-layout: fixed;
    border: 1px solid #dfdfdf;
}

.toll-page .packaging-table thead {
    background: var(--main, #8dc63f);
}

.toll-page .packaging-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #ffffff;
    border: 1px solid #dfdfdf;
    vertical-align: middle;
}

.toll-page .packaging-table th:nth-child(1) {
    width: 10%;
}

.toll-page .packaging-table th:nth-child(2) {
    width: 18%;
}

.toll-page .packaging-table th:nth-child(3) {
    width: 18%;
}

.toll-page .packaging-table th:nth-child(4) {
    width: 54%;
}

.toll-page .packaging-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #000000;
    border: 1px solid #dfdfdf;
    vertical-align: middle;
    word-break: keep-all;
}

.toll-page .packaging-table tbody tr {
    background: #ffffff;
}

/* 로스팅 탭 전용: 로스팅설비 사진 (연두색 섹션 아래) */
.toll-page .section-equip-photo {
    width: 100%;
    padding: 60px 0 110px;
    background: #ffffff;
}

.toll-page .equip-photo-title {
    border-left: 2px solid var(--main, #8dc63f);
    padding-left: 24px;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 48px 0;
    font-family: var(--font-family-suit);
    font-weight: 700;
}

.toll-page .equip-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 960px;
    padding-left: 26px;
}

.toll-page .equip-photo-box {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.toll-page .equip-photo-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* 섹션 03 (문의) */
.toll-page .section-03 {
    width: 100%;
}

.toll-page .section-03.last {
    padding-bottom: 0;
}

.toll-page .inquiry-card {
    border: 1px solid #dfdfdf;
    border-radius: 16px;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.toll-page .moq-text {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    color: #000000;
    margin: 0;
    font-family: var(--font-family-suit);
    font-weight: 700;
    word-break: keep-all;
}

.toll-page .contact-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.toll-page .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toll-page .contact-item .label {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    font-family: var(--font-family-suit);
    font-weight: 600;
}

.toll-page .contact-item .val {
    font-size: 20px;
    color: #555555;
    font-family: var(--font-family-suit);
    font-weight: 400;
}

.toll-page .v-line {
    width: 1px;
    height: 18px;
    background: #555555;
    opacity: 0.5;
}

/* 반응형 */
@media (max-width: 1440px) {
    .toll-page .inner {
        padding: 0 120px;
    }
    
    .toll-page .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .toll-page {
        padding: 120px 0;
        gap: 120px;
    }
}

@media (max-width: 1024px) {
    .toll-page {
        padding: 100px 0;
        gap: 100px;
    }
    
    .toll-page .inner {
        padding: 0 40px;
    }
    
    .toll-page .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .toll-page .content-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .toll-page .content-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .toll-page .content-text {
        padding-top: 0;
    }
    
    .toll-page .content-title {
        font-size: 32px;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .toll-page {
        padding: 60px 0;
        gap: 80px;
    }
    
    .toll-page .inner {
        padding: 0 20px;
    }
    
    .toll-page .text-center {
        margin-bottom: 60px;
    }
    
    .toll-page .intro-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 32px;
    }
    
    .toll-page .intro-desc {
        font-size: 18px;
        line-height: 1.5;
    }
    
    .toll-page .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .toll-page .process-box {
        padding: 40px 0;
        gap: 20px;
    }
    
    .toll-page .icon-box {
        height: 80px;
    }
    
    .toll-page .process-box p {
        font-size: 20px;
    }
    
    .toll-page .section-02 {
        padding: 60px 0;
    }
    
    .toll-page .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .toll-page .content-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .toll-page .content-text {
        padding-top: 0;
        gap: 30px;
    }
    
    .toll-page .content-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .toll-page .detail-item {
        gap: 12px;
    }
    
    .toll-page .highlight-title,
    .toll-page .sub-label {
        font-size: 18px;
    }
    
    .toll-page .detail-list,
    .toll-page .desc-item {
        font-size: 16px;
        line-height: 1.5;
    }

    .toll-page .section-equip-photo {
        padding: 60px 0 80px;
    }

    .toll-page .equip-photo-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .toll-page .equip-photo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .toll-page .inquiry-card {
        padding: 60px 20px;
        gap: 40px;
    }
    
    .toll-page .moq-text {
        font-size: 18px;
    }
    
    .toll-page .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .toll-page .v-line {
        width: 18px;
        height: 1px;
    }
    
    .toll-page .contact-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .toll-page .contact-item .label,
    .toll-page .contact-item .val {
        font-size: 18px;
    }
    
    .toll-page .packaging-table {
        min-width: 800px;
    }

    .toll-page .packaging-table th {
        padding: 12px 10px;
        font-size: 16px;
        font-weight: 600;
    }

    .toll-page .packaging-table td {
        padding: 12px 10px;
        font-size: 16px;
        font-weight: 600;
    }
    
    .toll-page .packaging-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px;
    }
    
    .toll-page .section-02.packaging-mode .content-wrapper {
        gap: 30px;
    }
}
