/* ========================================
   주문 페이지 - 오늘을빚다
   Premium Upgrade - 브랜드 통일 테마
   ======================================== */

/* 전역 전환 커브 */
:root {
    --ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gold: #8b7355;
    --gold-light: rgba(139, 115, 85, 0.12);
    --gold-glow: rgba(139, 115, 85, 0.25);
}

/* 섹션 라벨 (골드) */
.section-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* 히어로 - style.css page-hero--dark로 통합 */

/* 섹션 공통 */
.order-section {
    padding: 90px 0;
}

.order-section:nth-child(even) {
    background: var(--bg-warm);
}

.order-section-title {
    text-align: center;
    margin-bottom: 52px;
}

.order-section-title h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.order-section-title .title-en {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.order-section-title .title-line {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 16px auto 0;
}

/* 주문 방법 카드 */
.order-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.method-card {
    background: var(--white);
    padding: 0 0 36px;
    text-align: center;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.45s var(--ease-premium);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--gold-glow);
}

.method-icon {
    width: 68px;
    height: 68px;
    background: var(--gold-light);
    border: 2px solid var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--gold);
    transition: all 0.45s var(--ease-premium);
}

.method-card:hover .method-icon {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: scale(1.08);
}

.method-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 10px;
    padding: 0 28px;
}

.method-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 0 28px;
}

.method-link {
    display: inline-block;
    padding: 12px 32px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.45s var(--ease-premium);
    border-radius: 2px;
}

.method-link:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

/* 주문 방법 이미지 */
.method-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 24px;
}

.method-img .placeholder-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s var(--ease-premium);
}

.method-card:hover .method-img .placeholder-image {
    transform: scale(1.08);
}

/* 주문 절차 - 다크 배경 */
.order-process-section {
    background: #1a1a1a !important;
    padding: 100px 0;
}

.order-process-section .order-section-title h2 {
    color: var(--white);
}

.order-process-section .order-section-title .title-en {
    color: var(--gold);
}

.order-process-section .section-label {
    color: var(--gold);
}

.order-process {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.process-num {
    width: 52px;
    height: 52px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    margin: 0 auto 18px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px var(--gold-glow);
    transition: all 0.45s var(--ease-premium);
}

.process-step:hover .process-num {
    transform: scale(1.1);
    box-shadow: 0 6px 24px var(--gold-glow);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 34px);
    right: calc(-50% + 34px);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(139, 115, 85, 0.3));
    z-index: 0;
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* 가격 안내 */
.price-table-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table thead {
    background: #1a1a1a;
    color: var(--white);
}

.price-table th {
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    letter-spacing: 0.5px;
}

.price-table td {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s var(--ease-premium);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr {
    transition: all 0.3s var(--ease-premium);
}

.price-table tbody tr:hover td {
    background: var(--gold-light);
}

.price-table .price-value {
    font-weight: 600;
    color: var(--gold);
    font-size: 15px;
}

.price-note {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* 유의사항 */
.notice-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.notice-card {
    background: var(--white);
    padding: 28px 28px 28px 32px;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    transition: all 0.45s var(--ease-premium);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.notice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-left-color: var(--gold);
}

.notice-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139,115,85,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b7355;
    margin-bottom: 16px;
}

.notice-card h4 {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.notice-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* CTA */
.order-cta-section {
    padding: 100px 0;
    background: #1a1a1a;
    text-align: center;
    color: var(--white);
    position: relative;
}

.order-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.order-cta-section h2 {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 14px;
}

.order-cta-section p {
    font-size: 15px;
    opacity: 0.6;
    margin-bottom: 36px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 44px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.45s var(--ease-premium);
    border-radius: 2px;
}

.cta-order-btn.primary {
    background: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
}

.cta-order-btn.primary:hover {
    background: #a08766;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.cta-order-btn.outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-order-btn.outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(139, 115, 85, 0.08);
    transform: translateY(-3px);
}

/* FAQ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.45s var(--ease-premium);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item.open {
    border-color: var(--gold);
    box-shadow: 0 4px 20px var(--gold-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    text-align: left;
    font-family: inherit;
    letter-spacing: -0.01em;
    transition: all 0.35s var(--ease-premium);
}

.faq-question:hover {
    background: var(--gold-light);
}

.faq-item.open .faq-question {
    color: var(--gold);
}

.faq-question .faq-icon {
    font-size: 20px;
    color: var(--gold);
    transition: transform 0.45s var(--ease-premium);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-premium);
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.9;
    border-top: 1px solid var(--border-light);
    padding-top: 18px;
    margin: 0 28px;
    padding-left: 0;
    padding-right: 0;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* 케이크 쇼케이스 */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 4px;
}

.showcase-item {
    overflow: hidden;
    border-radius: 2px;
}

.showcase-item--large {
    grid-row: span 2;
}

.showcase-item .placeholder-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-premium);
}

.showcase-item:hover .placeholder-image {
    transform: scale(1.05);
}

/* 반응형 */
@media (max-width: 768px) {
    .order-section { padding: 70px 0; }
    .order-process-section { padding: 70px 0; }

    .order-methods { grid-template-columns: 1fr; gap: 20px; }
    .method-card { padding: 0 0 28px; }

    .order-process { flex-direction: column; gap: 28px; }
    .process-step:not(:last-child)::after { display: none; }

    .notice-cards { grid-template-columns: 1fr; }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .showcase-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    .method-img { height: 140px; }

    .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .order-cta-section h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .order-section { padding: 56px 0; }
    .order-process-section { padding: 56px 0; }
    .order-section-title h2 { font-size: 22px; }

    .cta-btns { flex-direction: column; align-items: center; }
    .cta-order-btn { width: 100%; max-width: 100%; justify-content: center; text-align: center; }

    .notice-card { padding: 20px 20px 20px 24px; }

    .price-table th,
    .price-table td { padding: 10px 12px; font-size: 12px; }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .showcase-item--large {
        grid-column: span 1;
    }

    .faq-question { padding: 18px 20px; font-size: 14px; }
    .faq-answer-inner { margin: 0 20px; }
}

/* 모바일 텍스트 줄바꿈 최적화 */
@media (max-width: 600px) {
    p, li, td, div, h2, h3 { word-break: keep-all; overflow-wrap: break-word; }
}

/* ============================================
   주문서 양식 (Order Form)
   ============================================ */
.order-form-section {
    background: #faf7f2;
}

.order-form-intro {
    margin-top: 14px;
    font-size: 15px;
    color: #6b5a47;
    line-height: 1.7;
}

.order-form-list {
    max-width: 920px;
    margin: 48px auto 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-form-item {
    display: flex;
    gap: 24px;
    padding: 32px 36px;
    background: #ffffff;
    border: 1px solid rgba(139, 115, 85, 0.18);
    border-radius: 14px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.order-form-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.order-form-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8b7355;
    color: #ffffff;
    font-family: var(--font-en, 'Cinzel', serif);
    font-size: 18px;
    font-weight: 500;
    border-radius: 50%;
    letter-spacing: 0.02em;
}

.order-form-body {
    flex: 1;
    min-width: 0;
}

.order-form-body h3 {
    margin: 4px 0 14px;
    font-size: 20px;
    font-weight: 600;
    color: #3d3530;
    letter-spacing: -0.01em;
}

.order-form-body h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #8b7355;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-form-body > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #5d4a36;
}

.order-form-subnote {
    font-size: 13px;
    font-weight: 400;
    color: #8b7355;
    margin-left: 6px;
}

.order-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.order-form-block {
    padding: 20px 22px;
    background: rgba(139, 115, 85, 0.06);
    border-radius: 10px;
}

.order-form-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-form-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid rgba(139, 115, 85, 0.25);
    border-radius: 999px;
    font-size: 14px;
    color: #3d3530;
    font-weight: 500;
}

.chip-price {
    font-family: var(--font-en, 'Cinzel', serif);
    font-size: 12.5px;
    font-weight: 600;
    color: #8b7355;
    letter-spacing: 0.02em;
}

.order-form-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #8b7355;
    line-height: 1.6;
}

.design-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    background: rgba(139, 115, 85, 0.06);
    border-radius: 10px;
}

.design-name {
    font-size: 18px;
    font-weight: 600;
    color: #3d3530;
    letter-spacing: 0.02em;
}

.design-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #5d4a36;
    text-align: right;
}

.design-price strong {
    color: #8b7355;
    font-weight: 600;
    font-family: var(--font-en, 'Cinzel', serif);
    margin-left: 6px;
}

.order-form-addon {
    max-width: 920px;
    margin: 28px auto 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.08), rgba(201, 168, 118, 0.12));
    border: 1px dashed rgba(139, 115, 85, 0.45);
    border-radius: 14px;
}

.order-form-addon-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.order-form-addon-body h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #3d3530;
}

.order-form-addon-body p {
    margin: 0;
    font-size: 14px;
    color: #5d4a36;
    line-height: 1.7;
}

.order-form-addon-body strong {
    color: #8b7355;
    font-family: var(--font-en, 'Cinzel', serif);
    font-weight: 600;
    margin-left: 4px;
}

/* 주의사항 */
.order-caution-section {
    background: #ffffff;
}

.order-caution-list {
    max-width: 920px;
    margin: 48px auto 0;
    padding: 36px 40px;
    list-style: none;
    background: rgba(139, 115, 85, 0.05);
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-caution-list li {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: baseline;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.15);
}

.order-caution-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.order-caution-list li strong {
    font-size: 15px;
    font-weight: 600;
    color: #8b7355;
    letter-spacing: 0.02em;
}

.order-caution-list li span {
    font-size: 14.5px;
    line-height: 1.75;
    color: #3d3530;
}

.order-caution-list li span strong {
    color: #8b7355;
    font-size: inherit;
    letter-spacing: normal;
}

@media (max-width: 720px) {
    .order-form-item { padding: 24px 22px; gap: 16px; }
    .order-form-num { width: 36px; height: 36px; font-size: 15px; }
    .order-form-body h3 { font-size: 18px; }
    .order-form-grid { grid-template-columns: 1fr; gap: 18px; }
    .order-form-block { padding: 18px; }
    .design-option { flex-direction: column; align-items: flex-start; }
    .design-price { text-align: left; }
    .order-form-addon { padding: 20px 22px; }

    .order-caution-list { padding: 26px 22px; gap: 16px; }
    .order-caution-list li { grid-template-columns: 1fr; gap: 6px; }
}
