/**
 * 공통 페이지 스타일
 * CSS 중복 제거 및 인라인 스타일 분리
 *
 * 페이지네이션, 상품카드, 히어로 섹션 등 프로젝트 공통 컴포넌트
 * 브랜드, 품질정보, 매장안내 등 페이지에서 공통으로 사용하는 스타일
 */

/* ===== 페이지네이션 (공통) ===== */
.pagination-wrap {
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination a,
.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    background: none;
    transition: color 0.2s;
}

.pagination a:hover,
.pagination li a:hover {
    color: var(--color-primary);
}

.pagination a.active,
.pagination li.active a {
    color: var(--color-primary);
    font-weight: 700;
}

.pagination li.disabled span {
    color: #ddd;
    cursor: default;
}

/* ===== 페이지 히어로 섹션 ===== */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/hero-bg.png') center/cover;
    background-color: var(--color-primary);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.page-hero.hero-lg {
    padding: 120px 20px;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-hero.hero-lg h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.page-hero.hero-lg p {
    font-size: 1.3rem;
}

/* 기본 히어로 (메인 페이지 배너 없을 때 fallback) */
.hero-default {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero-bg.png') center/cover;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== 상품 카드 (공통) ===== */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 4px;
    background: #f8f9fa;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BEST 뱃지 */
.badge-best {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.28px;
    line-height: 1.4;
    z-index: 2;
}

/* 장바구니 버튼 (이미지 오버레이) */
.product-cart-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    transition: background 0.2s;
    padding: 6px;
}

.product-cart-btn:hover {
    background: rgba(34, 34, 34, 0.7);
}

.product-cart-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* 상품 정보 영역 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

/* 태그 행 (보관방법 + 등급) */
.product-tags {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.product-tag {
    background: #fce6e7;
    color: var(--color-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.28px;
    line-height: 1.4;
    white-space: nowrap;
}

/* 텍스트 그룹 (상품명 + 가격) */
.product-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    letter-spacing: -0.36px;
    line-height: 1.4;
    margin: 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.product-price .price {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.36px;
    line-height: 1.4;
}

.product-price .weight {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.32px;
    line-height: 1.4;
}

/* 품절 상품 */
.product-soldout {
    cursor: pointer;
    opacity: 0.7;
}

.product-soldout:hover {
    transform: none;
}

.product-soldout .product-image img {
    filter: grayscale(100%);
}

.product-soldout .product-name {
    color: #9ca3af;
}

.product-soldout .product-price .price {
    color: #9ca3af;
    text-decoration: line-through;
}

.product-soldout .product-cart-btn {
    display: none;
}

.soldout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.badge-soldout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    z-index: 2;
    letter-spacing: 0.1em;
}

/* ===== 서브 네비게이션 (탭 메뉴) ===== */
.sub-nav {
    background: white;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.sub-nav .container {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 0 20px;
}

.sub-nav a {
    padding: 20px;
    color: #767676;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* ===== 섹션 공통 스타일 ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    color: #2d3436;
}

.section-desc {
    text-align: center;
    color: #636e72;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== 그리드 레이아웃 ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ===== 공통 카드 스타일 ===== */
.content-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content-card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2d3436;
}

.content-card p {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 아이콘 카드 (아이콘 + 제목 + 설명) */
.icon-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.icon-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.icon-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2d3436;
}

.icon-card p {
    color: #636e72;
    margin-bottom: 20px;
    line-height: 1.6;
}

.icon-card ul {
    list-style: none;
    padding: 0;
}

.icon-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #2d3436;
}

.icon-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* ===== 실적/통계 카드 ===== */
.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3436;
    margin-bottom: 5px;
}

.stat-detail {
    font-size: 0.9rem;
    color: #767676;
}

/* ===== CTA 섹션 ===== */
.cta-section {
    background: var(--color-primary);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-section .btn {
    background: white;
    color: var(--color-primary);
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s;
}

.cta-section .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* ===== 이미지 플레이스홀더 ===== */
.image-placeholder {
    background: #f1f2f6;
    padding: 80px;
    border-radius: 16px;
    text-align: center;
}

.image-placeholder span {
    font-size: 5rem;
}

.image-placeholder p {
    margin-top: 15px;
    color: #767676;
}

/* ===== 태그/배지 스타일 ===== */
.tag {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
}

.tag-highlight {
    background: #fff3cd;
    color: #856404;
}

/* ===== 소개 박스 ===== */
.intro-box {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: #f0f3ff;
    border-radius: 12px;
}

.intro-box p {
    font-size: 1.1rem;
    color: #636e72;
    line-height: 1.6;
}

/* ===== 2컬럼 레이아웃 (텍스트 + 이미지) ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-column .text-content h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.two-column .text-content .highlight {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #2d3436;
}

.two-column .text-content p {
    color: #636e72;
    line-height: 1.8;
}

/* ===== 비전 박스 ===== */
.vision-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: white;
    border-radius: 16px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* ===== Quality 페이지 네비게이션 (sub-nav 별칭) ===== */
.quality-nav {
    background: white;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.quality-nav .container {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 0 20px;
}

.quality-nav a {
    padding: 20px 10px;
    color: #636e72;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.quality-nav a:hover,
.quality-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* ===== 등급 페이지 스타일 ===== */
.grade-section {
    padding: 80px 0;
}

.grade-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: #f0f3ff;
    border-radius: 12px;
}

.grade-intro p {
    font-size: 1.1rem;
    color: #636e72;
    line-height: 1.6;
}

.grades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.grade-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.grade-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.15);
}

.grade-badge {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.grade-premium {
    background: linear-gradient(135deg, var(--color-primary), #ff6b6b);
    color: white;
}

.grade-special {
    background: linear-gradient(135deg, #d63031, #ffb3b3);
    color: white;
}

.grade-first {
    background: linear-gradient(135deg, #ff7675, #ffe5e5);
    color: white;
}

.grade-second {
    background: linear-gradient(135deg, #fdcb6e, #fff5e6);
    color: #2d3436;
}

.grade-third {
    background: linear-gradient(135deg, #b2bec3, #ecf0f1);
    color: #2d3436;
}

.grade-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2d3436;
}

.grade-features {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #636e72;
}

.grade-features li {
    padding: 6px 0;
    line-height: 1.6;
}

/* 육량 등급 */
.yield-grades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.yield-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border-left: 5px solid var(--color-primary);
}

.yield-card h4 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.yield-card p {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.6;
}

/* 돼지고기 등급 */
.pork-grades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.pork-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pork-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pork-card h4 {
    font-size: 1.3rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.pork-card ul {
    list-style: none;
    padding: 0;
    color: #636e72;
}

.pork-card li {
    padding: 8px 0;
    font-size: 0.95rem;
}

/* 비교 테이블 */
.comparison-table {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background: var(--color-primary);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.comparison-table td.label {
    background: #f8f9fa;
    font-weight: 500;
    color: #2d3436;
    text-align: left;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.score-5 {
    color: #d63031;
    font-weight: bold;
}

.score-4 {
    color: #ff7675;
    font-weight: bold;
}

.score-3 {
    color: #fdcb6e;
    font-weight: bold;
}

.score-2 {
    color: #a4b0bd;
}

.score-1 {
    color: #636e72;
}

/* ===== 이력조회 페이지 스타일 ===== */
.trace-search-section {
    padding: 50px 0;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.search-box h2 {
    font-size: 1.5rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.search-guide {
    color: #636e72;
    margin-bottom: 25px;
    line-height: 1.6;
}

.search-guide .example {
    font-size: 0.9rem;
    color: var(--color-primary);
}

.search-form .input-group {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 15px 20px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 2px;
}

.search-form input:focus {
    border-color: var(--color-primary);
    outline: none;
}

.input-hint {
    font-size: 0.85rem;
    color: #767676;
    margin-top: 10px;
}

.error-message {
    margin-top: 20px;
    padding: 15px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    color: #c62828;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 결과 섹션 */
.trace-result-section {
    padding: 30px 0 50px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
}

.result-header h2 {
    font-size: 1.5rem;
    color: #2d3436;
}

.trace-no {
    color: #636e72;
}

.trace-no strong {
    color: var(--color-primary);
    font-family: monospace;
    font-size: 1.1rem;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.result-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.result-card .card-header .icon {
    font-size: 1.3rem;
}

.result-card .card-header h3 {
    font-size: 1rem;
    color: #2d3436;
    margin: 0;
}

.result-card .card-body {
    padding: 20px;
}

.result-card .card-body dl {
    margin: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f2f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row dt {
    color: #636e72;
    font-size: 0.9rem;
}

.info-row dd {
    color: #2d3436;
    font-weight: 500;
    margin: 0;
}

.info-row.highlight dd {
    font-size: 1.2rem;
}

/* 이력조회 등급 배지 */
.trace-grade-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: #e9ecef;
    color: #2d3436;
}

.trace-grade-badge.grade-plus-plus {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5D4037;
    font-weight: bold;
}

.trace-grade-badge.grade-plus {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    color: #333;
    font-weight: bold;
}

.result-notice {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.result-notice p {
    margin: 5px 0;
    color: #636e72;
    font-size: 0.9rem;
}

.result-notice a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* 가이드 섹션 */
.trace-guide-section {
    padding: 50px 0;
    border-top: 1px solid #e9ecef;
}

.trace-guide-section h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #2d3436;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.guide-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.guide-card h3 {
    font-size: 1.1rem;
    color: #2d3436;
    margin-bottom: 10px;
}

.guide-card p {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== 위생관리 페이지 스타일 ===== */
.hygiene-section {
    padding: 80px 0;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 인증 카드 */
.certification-intro {
    margin-bottom: 50px;
}

.cert-card {
    background: linear-gradient(135deg, var(--color-primary), #d63031);
    color: white;
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.2);
}

.cert-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cert-card p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* HACCP 정보 */
.haccp-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--color-primary);
}

.info-card h4 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.info-card p {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 10px 0;
    color: #2d3436;
    font-size: 1rem;
}

/* 프로세스 그리드 */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.process-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.process-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.process-item h3 {
    font-size: 1.3rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.process-item>p {
    color: #636e72;
    margin-bottom: 20px;
    line-height: 1.6;
}

.process-details {
    list-style: none;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.process-details li {
    padding: 8px 0;
    color: #2d3436;
    font-size: 0.95rem;
}

/* 온도 관리 */
.coldchain-info {
    margin: 40px 0;
}

.temperature-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.temp-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.temp-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.temp-item h4 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 10px;
}

.temp-range {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.temp-item .description {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 검사 테이블 */
.inspection-table {
    overflow-x: auto;
}

.inspection-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.inspection-table th {
    background: var(--color-primary);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.inspection-table td {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.inspection-table td:first-child {
    text-align: left;
}

.inspection-table tr:hover {
    background: #f8f9fa;
}

.result {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.result.pass {
    background: #d4edda;
    color: #155724;
}

/* 교육 그리드 */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.training-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.training-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.training-card h3 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.training-card p {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 인증 그리드 */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.cert-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cert-logo {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.cert-item h4 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 10px;
}

.cert-item p {
    color: #636e72;
    font-size: 0.95rem;
}

/* ===== 결제 결과 페이지 ===== */
.payment-result {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
}

.payment-result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.payment-result-icon.error {
    color: #e74c3c;
}

.payment-result h1 {
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 10px;
}

.payment-result>p {
    color: #636e72;
    margin-bottom: 40px;
}

.payment-info-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 30px;
    text-align: left;
}

.payment-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f2f6;
}

.payment-info-row:last-child {
    border-bottom: none;
}

.payment-info-label {
    color: #636e72;
}

.payment-info-value {
    font-weight: 600;
}

.payment-info-value.primary {
    color: var(--color-primary);
}

.payment-hint {
    margin-top: 16px;
    color: #666;
}

.payment-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.payment-actions .btn {
    padding: 12px 30px;
}

/* ===== 구분선 ===== */
.divider {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #eee;
}

.divider-light {
    margin: 25px 0;
    border: none;
    border-top: 1px solid #f1f2f6;
}

/* ===== 유틸리티 ===== */
.container-narrow {
    max-width: 800px;
}

.link-primary {
    color: var(--color-primary);
    font-weight: 500;
}

.text-nowrap {
    white-space: nowrap;
}

.section-heading-sm {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.text-hint {
    color: #999;
    font-size: 0.8rem;
    margin-left: 8px;
}

/* ===== 폼 유틸리티 ===== */
.input-group-flex {
    display: flex;
    gap: 10px;
}

.input-group-flex .form-control.zipcode {
    max-width: 150px;
}

.form-help {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 5px;
}

.form-success-text {
    font-size: 0.85rem;
    color: #16a34a;
    margin-top: 5px;
}

.form-success-text.bold {
    font-weight: 500;
}

/* ===== 관리자 공통 ===== */
.btn-admin-save {
    background: var(--color-admin);
    border-color: var(--color-admin);
}

.btn-admin-delete {
    background: #fee2e2;
    color: #991b1b;
}

.btn-group-inline {
    display: flex;
    gap: 5px;
}

.icon-lg {
    font-size: 1.2rem;
}

.col-drag {
    width: 50px;
}

.star-active {
    color: #f59e0b;
}

.star-inactive {
    color: #d1d5db;
}

.empty-icon {
    font-size: 2rem;
    color: #9ca3af;
}

.empty-cell {
    padding: 40px;
}

/* ===== 상품 폼 ===== */
.radio-group-inline {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.input-with-unit {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-unit-select {
    width: 120px;
}

.input-readonly {
    background-color: #f3f4f6;
    font-weight: 600;
    font-size: 1.1rem;
}

.checkbox-group-inline {
    display: flex;
    gap: 20px;
}

.image-label-new {
    background: #16a34a;
}

.upload-hint {
    font-size: 0.85rem;
    color: #9ca3af;
}

.preview-img {
    max-width: 200px;
    display: none;
    border-radius: 8px;
}

.preview-container {
    margin-top: 10px;
}

/* ===== 매장/브랜드 정보 공통 ===== */
.store-info,
.store-feature {
    padding: 80px 0;
}

.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-box {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 20px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero.hero-lg h1 {
        font-size: 2.2rem;
    }

    .sub-nav .container,
    .quality-nav .container {
        gap: 20px;
    }

    .sub-nav a,
    .quality-nav a {
        padding: 15px 8px;
        font-size: 0.9rem;
    }

    .section,
    .section-alt,
    .grade-section,
    .hygiene-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    /* 등급 페이지 반응형 */
    .grades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .yield-grades,
    .pork-grades {
        grid-template-columns: 1fr;
    }

    .comparison-table table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }

    /* 이력조회 페이지 반응형 */
    .search-box {
        padding: 25px;
    }

    .search-form .input-group {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* 위생관리 페이지 반응형 */
    .haccp-info {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .temperature-guide {
        grid-template-columns: 1fr;
    }

    .inspection-table table {
        font-size: 0.85rem;
    }

    .inspection-table th,
    .inspection-table td {
        padding: 12px 8px;
    }

    .training-grid,
    .certification-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
.util-icon{
    width: 24px;
    height: 24px;
    display: inline-block;
}

/* ===== 섹션 탭 ===== */
.section-tabs {
    display: flex;
    margin-bottom: 30px;
    gap: 12px;
}

.section-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    color: #666;
    background: white;
    transition: all 0.2s;
}

.section-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.section-tab:hover:not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===== 브레드크럼 ===== */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    margin: 0 8px;
}