/* 폰트 추가 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

html, body {
    -webkit-text-size-adjust: 100%;
    /*    touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;*/
}

body
{
    display: flex;
    margin: 0; padding: 0;
    font-family: Pretendard;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    justify-content: center; 
    align-items: center;    
    flex-direction: column;
    gap: 32px;
}

.footer
{
    color: #8A8A8A; 
    text-align: center;
    font-weight: 300;
    font-size: 12px;
    width: 100%;
}

.footer-brand
{
    font-family: Pacifico;
    font-size: 11px;
}

.footer-app
{
    display: flex;
    justify-content:center;
    gap: 16px;
    height: 44px;
}

.coupang-notice
{
    display: flex;
    flex-direction: column; 
    gap: 16px; 
    width: 100%; 
    border-radius: 999px; 
    background-color: #f8f8f8;
}

.notice-text-nopadding
{
    font-weight: 300; 
    color: #8a8a8a; 
    font-size: 11px;
}


.notice-text
{
    padding: 16px;
    font-weight: 300; 
    color: #8a8a8a; 
    font-size: 11px;
}

.logo
{
    padding: 20px;
    display: flex; 
    text-align: center;
    justify-content: center; 
    align-items: center;
    align-content: center;
    gap: 8px;
}

.fixed-category
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8); /* 배경만 투명도 80% 적용 */
    z-index: 1000;
    padding: 20px 0;
    display: flex;
    justify-content: center; /* 내부 컨텐츠 가운데 정렬 */
}

.products
{
    display: flex;
    flex-direction: column;
    max-width: 728px;
    width: 100%;
    align-content: center;
    align-items: center;
    gap: 32px;
    padding: 0;
    box-sizing: border-box;
}

.category
{
    display: flex;
    flex-direction: column;
    max-width: 728px;
    width: 100%;
    align-content: center;
    align-items: center;
    gap: 32px;
    padding: 0;
    box-sizing: border-box;
}

.contents
{
    display: flex;
    flex-direction: column;
    max-width: 728px;
    width: 100%;
    align-content: center;
    align-items: center;
    gap: 32px;
    padding: 0 20px 0 20px;
    box-sizing: border-box;
}

.footer-contents
{
    display: flex;
    flex-direction: column;
    max-width: 728px;
    width: 100%;
    align-content: center;
    align-items: center;
    gap: 32px;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
}

.section
{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

.section-title
{
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.section-title-ko
{
    font-family: Pretendard;
    font-weight: 600;
    font-size: 18px;
}

.section-title-en
{
    font-family: Pacifico;
    font-size: 12px;
}

.chef-wrap
{
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    width: 100%;
    max-width: 728px;
    margin: 0;
    position: relative;
    top: 0;
    padding: 100px 0 32px 0;
    gap: 16px;
}

.brand-wrap
{
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
    max-width: 125px;
    min-width: 125px;
    width: 125px;
    height: 50px;
    text-align: center;
    background-color: #F0ECE7;
    border-radius: 8px;
    justify-content: center;
}

.section-content-row a {
    text-decoration: none;
    color: inherit;
}

.section-content-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    white-space: nowrap;
    padding-right: 20px;
    -webkit-overflow-scrolling: touch;
    cursor: grab; /* 기본 커서를 grab으로 설정 */

    /* 스크롤바 숨기기 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge */
}

.section-content-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* 드래그 중에는 grabbing 스타일 적용 */
.section-content-row.grabbing {
    cursor: grabbing;
    user-select: none;
}

.section-content-row > *:first-child {
    margin-left: 20px;
}

.section-content-row > *:last-of-type
.section-content-row > *:last-child {
    margin-right: 20px;
}

.section-content-column
{
    display: flex; 
    flex-direction: column; 
    gap: 32px;
}

.section-detail-column
{
    display: flex; 
    flex-direction: column; 
    gap: 16px;
    border-radius: 8px; 
    background-color: #f8f8f8; 
    padding: 16px;
}

.how-to-cook-column
{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-to-eat-column
{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-info-wrap
{
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    width: 100%;
}

.detail-info
{
    background-color: #f8f8f8;
    border-radius: 16px 16px 4px 4px;
    display: flex; 
    flex-direction: column;
    padding: 16px;
    gap: 16px;
}

.detail-title-wrap
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-title
{
    font-weight: 600;
    font-size: 18px;
}


.detail-subtitle
{
    font-weight: 400;
    font-size: 16px;
}

.detail-description
{
    font-weight: 300;
    font-size: 14px;
    text-align: justify;
}

.detail-channel-wrap
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-channel
{
    display: flex;
    flex-direction: row;
    align-items: center;                                     
    gap: 8px;
}

.detail-channel-title
{
    font-weight: 700;
    font-size: 14px;
}

.detail-channel-business
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    font-size: 12px;
}

.column-wrap
{
    display:flex;
    flex-direction: column;
    align-content: center; 
    align-items: center;
    box-sizing: border-box; /* 추가 */
}

.chef-image
{
    border-radius: 999px;
    width: 80px; 
    height: 80px;
    background-color: #f8f8f8;
}

.category-image
{
    border-radius: 999px;
    width: 60px; 
    height: 60px;
    box-sizing: border-box; /* 추가 */
}

.category-image.selected
{
    border: 4px solid #34548B;
}

.ellipsis
{
    display: block;
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
    text-align: center;
}

.ellipsis-multiline {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-all;
    text-overflow: ellipsis;
}


.recipe-card
{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.recipe-card-title-wrap
{
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 8px;
}

.recipe-card-title
{
    font-weight: 600;
    font-size: 18px;
    text-align: left;
}

.recipe-card-subtitle
{
    font-weight: 400;
    font-size: 14px;
    text-align: left;
}

.recipe-card-cooking-time-wrap
{
    display: flex; 
    flex-direction: row;
    align-items: center; 
    gap: 8px;
    width: 100%;
}

.recipe-card-cooking-time-left
{
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    padding: 16px;
    border-radius: 4px 4px 4px 16px; 
    gap: 8px; 
    width: 100%; 
    text-align-last: center;
    font-size: 14px;
}

.recipe-card-cooking-time-right
{
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    padding: 16px;
    border-radius: 4px 4px 16px 4px; 
    gap: 8px; 
    width: 100%; 
    text-align-last: center;
    font-size: 14px;
}

.recipe-card-cooking-time-center
{
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    padding: 16px;
    border-radius: 4px 4px 4px 4px; 
    gap: 8px; 
    width: 100%; 
    text-align-last: center;
    font-size: 14px;
}

.recipe-card-tag
{
    font-weight: 300;
    font-size: 12px;
    padding: 8px;
    text-align: left;
}

.recipe-category-wrap
{
    display: flex;
    flex-direction: row;
    align-items: center; 
    font-family: Pretendard;
    font-weight: 400;
    font-size: 16px;
    gap:4px;
}


.cover-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 비율 유지 (9 / 16 = 0.5625) */
}

.cover-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 0;
}

.cover-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px 16px 4px 4px;
    overflow: hidden;
    border: 0;
}

.section-item-wrap
{
    display:flex; 
    flex-direction: row;
    align-items: center; 
    gap: 8px;
    width: 100%;
}

.section-more
{
    margin-top: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    color: #ffffff;
    background-color: #BED443;
    padding: 16px;
}

.section-item-no
{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 999px;
    color: #ffffff;
    background-color: #BED443; 
    width: 32px; 
    height: 32px;
}

.section-item-info
{
    display: flex;
    flex-direction: column;
    gap:8px;
}

.section-item-info-4gap
{
    display: flex;
    flex-direction: column;
    gap:4px;
}

.section-item-image
{
    width: 16px;
    height: 16px;
}
.section-item-title
{
    font-weight: 300;
    font-size: 14px;
}

.ingredient-group
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ingredient-group-name
{
    font-weight: 600;
    font-size: 14px;
}

.ingredient-column
{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-item-head-title
{
    font-weight: 600;
    font-size: 16px;
    flex-grow: 1;
}

.section-item-video-button
{
    font-weight: 600;
    font-size: 14px;
    color: #8CCBAA;
}

.section-item-description
{
    font-weight: 300;
    font-size: 12px;
}

.ingredient-value
{
    font-weight: 300; 
    font-size: 14px; 
    flex-grow: 1; 
    text-align: end;
}

.ingredient-button
{
    cursor: pointer;
    font-weight: 300; 
    font-size: 14px; 
    color: #ffffff; 
    border-radius: 999px; 
    background-color: #BED443; 
    padding: 8px 16px;
}

.detail-channel-business-wrap
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pagination-wrap
{
    display: flex;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
}

.pagination-item
{
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    color: #333333;
    width: 40px;
    height: 40px;
    border: 0 solid transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pagination-item:hover {
    border: 2px solid #BED443;
}

.pagination-item.selected
{
    color: #ffffff;
    background-color: #BED443;
}

/* ================================
   네비게이션
================================ */
.navigation-wrap {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 728px;
    background: rgba(255, 255, 255, 1);
    z-index: 1000;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
.navigation {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 728px;
    gap: 16px;
}
.navigation-title {
    padding: 0;
    width: 100%;
    max-width: 728px;
    display: flex;
    align-items: center;
}
.navigation-image {
    cursor: pointer;
    position: relative;
    z-index: 2;
    height: 20px;
    -webkit-user-drag: none;
}
.navigation-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-weight: 600;
    font-size: 18px;
    z-index: 1;
}

/* ================================
   검색바 영역
================================ */

.searchbar-wrap {
    display: none;
    padding: 16px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 999px;
    border: 1px solid #34548B;
    margin-top: 8px;
}

.searchbar-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
}

input::placeholder {
    font-size: 14px; /* 글자 크기 */
    font-weight: 300; /* 굵기: 400=normal, 500=medium, 700=bold */
    color: #34548B; /* 색상 */
}