/* COOKZZANG 상품 상세 페이지 스타일 (U5892-P1926-E3575) */
/* 모든 스타일에 !important 적용하여 외부 스타일 상속 방지 */

/* 기본 스타일 초기화 */
.tks-container * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-family: 'Noto Sans KR', sans-serif !important;
}

/* 컨테이너 스타일 */
.tks-container {
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

/* 헤더 스타일 */
.tks-header {
    text-align: center !important;
    margin-bottom: 30px !important;
    padding: 30px 15px !important;
    background: linear-gradient(135deg, #fff0e9 0%, #fdf4ed 100%) !important;
    border-radius: 10px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.tks-header::before {
    content: "" !important;
    position: absolute !important;
    top: -50px !important;
    right: -50px !important;
    width: 150px !important;
    height: 150px !important;
    background-color: rgba(217, 81, 30, 0.05) !important;
    border-radius: 50% !important;
    z-index: 0 !important;
}

.tks-product-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 15px !important;
    position: relative !important;
    font-family: 'Noto Serif KR', serif !important;
}

.tks-product-subtitle {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #666 !important;
    margin-bottom: 15px !important;
    position: relative !important;
}

/* 프로모션 배너 스타일 */
.tks-promotion-banner {
    background: linear-gradient(135deg, #ffebe0 0%, #ffe4d5 100%) !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.tks-promotion-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 5px !important;
    position: relative !important;
}

.tks-promotion-text {
    font-size: 16px !important;
    color: #666 !important;
    position: relative !important;
}

/* 메인 이미지 스타일 */
.tks-main-image-container {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    flex-wrap: wrap !important;
}

.tks-main-image {
    width: 100% !important;
    max-width: 450px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* 섹션 스타일 */
.tks-section {
    margin-bottom: 40px !important;
    padding: 0 15px !important;
}

.tks-section-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #d9511e !important;
    font-family: 'Noto Serif KR', serif !important;
    position: relative !important;
}

.tks-section-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background-color: #d9511e !important;
}

/* 배지 스타일 */
.tks-tags-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
}

.tks-tag {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #fff0e9 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #d9511e !important;
}

.tks-tag::before {
    content: "#" !important;
    margin-right: 5px !important;
    font-weight: 700 !important;
}

/* 제품 특징 스타일 */
.tks-features-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.tks-feature-card {
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.tks-feature-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.tks-feature-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background-color: #d9511e !important;
}

.tks-feature-icon {
    font-size: 32px !important;
    margin-bottom: 15px !important;
    color: #d9511e !important;
}

.tks-feature-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #d9511e !important;
}

.tks-feature-text {
    font-size: 16px !important;
    color: #666 !important;
}

/* 스펙 테이블 스타일 */
.tks-spec-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 30px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.tks-spec-table th, 
.tks-spec-table td {
    padding: 12px 15px !important;
    text-align: left !important;
    border-bottom: 1px solid #eee !important;
}

.tks-spec-table th {
    background-color: #fff0e9 !important;
    font-weight: 700 !important;
    width: 30% !important;
    color: #d9511e !important;
}

.tks-spec-table tr:nth-child(even) {
    background-color: #fafafa !important;
}

.tks-spec-table tr:last-child th,
.tks-spec-table tr:last-child td {
    border-bottom: none !important;
}

/* 아이콘 그리드 스타일 */
.tks-icon-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 20px !important;
    margin: 20px 0 30px 0 !important;
}

.tks-icon-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.tks-icon-circle {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background-color: #fff0e9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    font-size: 30px !important;
}

.tks-icon-label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
}

/* 사용 방법 스타일 */
.tks-usage-steps {
    margin-bottom: 30px !important;
}

.tks-usage-step {
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.tks-usage-step:last-child {
    margin-bottom: 0 !important;
}

.tks-usage-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.tks-usage-number {
    width: 28px !important;
    height: 28px !important;
    background-color: #d9511e !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.tks-usage-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
}

.tks-usage-content {
    padding-left: 38px !important;
    font-size: 16px !important;
    color: #666 !important;
}

/* 보관 방법 스타일 */
.tks-storage-container {
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    text-align: center !important;
}

.tks-storage-icon {
    font-size: 36px !important;
    margin-bottom: 15px !important;
    color: #d9511e !important;
}

.tks-storage-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 10px !important;
}

.tks-storage-text {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 10px !important;
}

.tks-storage-text:last-child {
    margin-bottom: 0 !important;
}

.tks-storage-highlight {
    display: inline-block !important;
    background-color: #fff0e9 !important;
    color: #d9511e !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    margin-top: 10px !important;
}

/* 갤러리 스타일 */
.tks-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
}

.tks-gallery-image {
    width: 100% !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.tks-gallery-image:hover {
    transform: scale(1.02) !important;
}

/* 특별 노트 스타일 */
.tks-note-box {
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border-left: 4px solid #d9511e !important;
}

.tks-note-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
}

.tks-note-title::before {
    content: "📝" !important;
    margin-right: 8px !important;
    font-size: 20px !important;
}

.tks-note-text {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
}

.tks-note-text:last-child {
    margin-bottom: 0 !important;
}

/* 팁 섹션 스타일 */
.tks-tips-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.tks-tip-card {
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.tks-tip-card:hover {
    transform: translateY(-5px) !important;
}

.tks-tip-icon {
    font-size: 24px !important;
    margin-bottom: 10px !important;
    color: #d9511e !important;
}

.tks-tip-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 10px !important;
}

.tks-tip-text {
    font-size: 16px !important;
    color: #666 !important;
    line-height: 1.5 !important;
}

/* 레시피 섹션 스타일 */
.tks-recipes-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.tks-recipe-card {
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.tks-recipe-card:hover {
    transform: translateY(-5px) !important;
}

.tks-recipe-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
}

.tks-recipe-title::before {
    content: "🍲" !important;
    margin-right: 8px !important;
}

.tks-recipe-description {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

.tks-recipe-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.tks-recipe-tag {
    background-color: #fff0e9 !important;
    color: #d9511e !important;
    font-size: 12px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

/* 푸터 스타일 */
.tks-footer {
    background-color: #fff0e9 !important;
    padding: 20px !important;
    text-align: center !important;
    border-radius: 8px !important;
    margin-top: 40px !important;
}

.tks-company-info {
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 10px !important;
}

.tks-company-info strong {
    font-weight: 700 !important;
    color: #d9511e !important;
}

/* 강조 스타일 */
.tks-highlight {
    color: #d9511e !important;
    font-weight: 700 !important;
}

/* 스토리 섹션 스타일 (고정 폰트 사이즈) */
.tks-story-heading {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #d9511e !important;
    margin-bottom: 15px !important;
    font-family: 'Noto Serif KR', serif !important;
}

.tks-story-text {
    font-size: 18px !important;
    color: #333 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .tks-product-title {
        font-size: 26px !important;
    }
    
    .tks-section-title {
        font-size: 22px !important;
    }
    
    .tks-features-container,
    .tks-tips-container,
    .tks-recipes-container,
    .tks-gallery {
        grid-template-columns: 1fr !important;
    }
    
    .tks-icon-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .tks-spec-table th {
        width: 40% !important;
    }
    
    .tks-main-image {
        max-width: 100% !important;
    }
}
