@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@300;400;500;600;700;900&display=swap');

:root {
    --bg-dark: #0d0b08;
    --bg-card: #16130f;
    --gold: #c9a84c;
    --gold-light: #e5c158;
    --gold-dim: #8b7333;
    --text-white: #ffffff;
    --text-ivory: #f5f5f0;
    --text-gray: #a0a0a0;
    --kakao-yellow: #fee500;
    --kakao-brown: #3c1e1e;
    --naver-green: #03c75a;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-gold: 1px solid rgba(201, 168, 76, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-ivory);
    font-family: 'Noto Serif KR', serif;
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 18px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
        line-height: 1.75;
    }
}

h1, h2, h3, .serif {
    font-family: 'Noto Serif KR', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 26px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transition: var(--transition);
}

.reveal.active {
    animation: fadeIn 1s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    font-size: 1.15rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
}

.btn-kakao {
    background-color: var(--kakao-yellow);
    color: var(--kakao-brown);
}

.btn-kakao:hover {
    background-color: #f7de00;
}

.btn-naver {
    background-color: var(--naver-green);
    color: #fff;
}

/* Section Common */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title span {
    color: var(--gold);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(13, 11, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.logo span {
    font-size: 0.9rem;
    margin-left: 5px;
    font-weight: 400;
}

.header-cta .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    width: auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(13, 11, 8, 0.6), rgba(13, 11, 8, 0.6)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-motto {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.hero-info {
    font-size: 0.9rem;
    color: var(--gold-dim);
    margin-top: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-actions .btn {
    width: auto;
    min-width: 200px;
}

/* Empathy Section */
.empathy {
    background-color: #1a1712;
}

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

.empathy-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: var(--border-gold);
    transition: var(--transition);
}

.empathy-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.empathy-icon {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 12px rgba(201,168,76,0.6)); /* Spiritual Glow */
    transition: var(--transition);
}

.empathy-card:hover .empathy-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(201,168,76,0.9));
}

.empathy-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.empathy-footer {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Trust Section */
.trust {
    background: linear-gradient(rgba(13, 11, 8, 0.9), rgba(13, 11, 8, 0.9)), url('assets/ritual_scene.png');
    background-size: cover;
    background-position: center;
}

.trust-card {
    background: rgba(22, 19, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 60px;
    border: var(--border-gold);
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.trust h2 {
    color: var(--gold);
    margin-bottom: 30px;
}

.trust p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-ivory);
}

.trust .note {
    font-size: 0.9rem;
    color: var(--gold);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding-top: 20px;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Product Section */
.product {
    background-color: var(--bg-dark);
}

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

.product-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    /* Premium gold frame */
    border: 1px solid rgba(201,168,76,0.4);
    box-shadow:
        0 0 0 1px rgba(201,168,76,0.1),
        0 4px 20px rgba(0,0,0,0.5),
        0 0 40px rgba(201,168,76,0.07);
    transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 20px;
    position: relative;
}

/* Gold corner accent lines */
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    border: 1px solid rgba(201,168,76,0);
    transition: all 0.45s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover {
    border-color: rgba(201,168,76,0.9);
    /* 3D lift effect */
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(201,168,76,0.5),
        0 20px 50px rgba(0,0,0,0.7),
        0 0 60px rgba(201,168,76,0.25);
}

.product-card:hover::before {
    border-color: rgba(201,168,76,0.3);
}

.product-img {
    height: 280px;
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
}

/* Dark vignette overlay to blend photo edges */
.product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(13,11,8,0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background: transparent;
    filter:
        drop-shadow(0 0 18px rgba(201,168,76,0.55))
        drop-shadow(0 6px 24px rgba(0,0,0,0.85));
    transition: all 0.5s ease;
    position: relative;
    z-index: 0;
}

.product-card:hover .product-img img {
    filter:
        drop-shadow(0 0 32px rgba(201,168,76,0.9))
        drop-shadow(0 8px 32px rgba(0,0,0,0.95));
    transform: scale(1.06);
}

.product-info {
    padding: 30px;
}

.product-tag {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Pricing */
.pricing {
    background: #1a1712;
    padding: 50px;
    border-radius: 20px;
    border: 2px solid var(--gold);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-gray);
    font-size: 1.2rem;
}

.price-new {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    margin: 10px 0;
}

.price-off {
    background: #ff5252;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    font-weight: 700;
    line-height: 1;
}

.shipping-info {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.payment-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-naver {
    background-color: var(--naver-green);
    color: #fff;
    flex: 1;
}

.safe-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.safe-badge {
    display: flex;
    align-items: center;
}

.safe-badge::before {
    content: '✓';
    color: var(--gold);
    margin-right: 5px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--bg-card);
    padding: 40px 30px 30px; /* Top padding increased */
    border-radius: 12px;
    position: relative;
    border-left: 4px solid var(--gold);
}

.best-badge {
    position: absolute;
    top: -12px; /* Popped up higher */
    right: 20px;
    background: var(--gold);
    color: #000;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.review-text {
    font-size: 1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.review-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Kakao Banner */
.kakao-banner {
    background-color: var(--kakao-yellow);
    color: var(--kakao-brown);
    padding: 60px 0;
    text-align: center;
}

.kakao-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.kakao-banner .btn-kakao {
    background-color: #ffffff; /* Changed to White */
    color: var(--kakao-brown);
    width: auto;
    margin-top: 30px;
    padding: 18px 45px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.kakao-banner .btn-kakao:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.faq-q {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.faq-q::before {
    content: 'Q.';
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.5rem;
}

.faq-a {
    font-size: 1rem;
    color: var(--text-gray);
    padding-left: 40px;
    line-height: 1.8;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: linear-gradient(rgba(13, 11, 8, 0.8), rgba(13, 11, 8, 0.8)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.final-cta .cta-box {
    margin-top: 40px;
}

/* Footer */
footer {
    padding: 80px 0;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-logo .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    font-size: 0.8rem;
    color: #444;
}

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 11, 8, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201, 168, 76, 0.3);
    padding: 10px 15px;
    display: flex;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.sticky-footer.visible {
    transform: translateY(0);
}

.sticky-footer .btn {
    padding: 12px 10px;
    font-size: 1rem;
    white-space: nowrap;
}

.sticky-footer .btn-kakao {
    flex: 1;
}

.sticky-footer .btn-gold {
    flex: 2;
}

/* Utils */
.mo-br { display: none; }

/* Responsive */
@media (max-width: 768px) {
    section { padding: 40px 0; }
    .section-title { font-size: 1.7rem; line-height: 1.45; }
    .hero-title { font-size: 1.75rem; padding-top: 20px; line-height: 1.45; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; }
    .padding-x { padding: 0 15px; }
    .header-cta { display: none; }
    .payment-buttons { flex-direction: column; }
    .trust-card { padding: 30px 20px; }
    .final-cta h2 { font-size: 1.7rem; }
    .price-new { font-size: 2.2rem; }
    .mo-br { display: block; height: 0; margin: 0; }
    .empathy-p { font-size: 0.98rem; line-height: 1.9; margin-bottom: 24px; }
    .empathy-highlight { font-size: 1.1rem; }
    .ritual-p { font-size: 0.98rem; line-height: 2.0; }
    .ritual-letter-top { font-size: 1.1rem; }
}

/* --- Sophisticated Redesign Styles --- */

/* Storytelling Layouts */
.empathy-main-title {
    font-size: 1.95rem;
    line-height: 1.7;
    margin-bottom: 60px;
}
@media (max-width: 768px) { .empathy-main-title { font-size: 1.3rem; line-height: 1.6; } }

.empathy-story {
    max-width: 750px;
    margin: 0 auto 70px;
    text-align: center;
}
.empathy-p {
    font-size: 1.15rem;
    line-height: 2.2;
    color: var(--text-ivory);
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
}
.empathy-highlight {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold-light);
    opacity: 1 !important;
    border-top: 1px dashed rgba(201,168,76,0.3);
    border-bottom: 1px dashed rgba(201,168,76,0.3);
    padding: 35px 0;
    margin-top: 20px;
}

/* Ritual Letter Component */
.ritual-letter {
    margin-top: 60px;
    padding: 60px 50px;
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    position: relative;
    text-align: left;
}
@media (max-width: 768px) { .ritual-letter { padding: 40px 25px; } }

.ritual-letter-top {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.25rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
}
.ritual-p {
    font-size: 1.1rem;
    line-height: 2.3;
    color: var(--text-ivory);
    margin-bottom: 30px;
    opacity: 0.95;
}
.ritual-p em {
    font-style: normal;
    color: var(--gold-light);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: rgba(201,168,76,0.3);
}
.ritual-closing {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold-light);
    line-height: 2.1;
    margin-top: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(201,168,76,0.15);
}

/* Sophisticated Pricing Board */
.premium-price-card {
    background: linear-gradient(135deg, #1a1712, #0d0b08);
    padding: 45px 35px;
    border: 1px solid var(--gold-dim);
    border-radius: 4px;
    position: relative;
    margin-bottom: 40px;
}
.premium-price-card::before {
    content: ""; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(201,168,76,0.1); pointer-events: none;
}
.price-tag-line {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 25px; border-bottom: 1px solid rgba(201,168,76,0.1);
    padding-bottom: 15px;
}
.price-value-main { font-size: 2.5rem; font-weight: 800; color: var(--gold-light); font-family: 'Noto Serif KR', serif; }
.price-value-sub { font-size: 1rem; color: var(--text-gray); text-decoration: line-through; }
.benefit-badge {
    display: inline-block; padding: 4px 12px; background: rgba(255, 82, 82, 0.1);
    color: #ff5252; border: 1px solid rgba(255, 82, 82, 0.3); border-radius: 20px;
    font-size: 0.85rem; font-weight: 700; margin-bottom: 20px;
}

/* Additional Sophistication Utilities */
.product-main-title { letter-spacing: -0.02em; font-size: 2.2rem; margin-bottom: 15px; }
.option-title { font-size: 1.2rem; color: var(--gold-light); margin-bottom: 18px; }
.price-details { background: transparent; padding: 0; }
.free-shipping { color: var(--gold-light); font-weight: 600; }

/* Custom Scrollbar for Premium Feel */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 4px; }
/* --- Order Form & Multi-Selection Styles --- */
.order-info-section {
    margin-top: 50px;
    padding: 35px;
    background: #14120e;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 8px;
    margin-bottom: 40px;
}
.order-info-title { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: var(--gold); 
    margin-bottom: 25px; 
    border-bottom: 1px solid rgba(201,168,76,0.1); 
    padding-bottom: 20px; 
    font-family: 'Noto Serif KR', serif;
}

.input-group { margin-bottom: 25px; }
.input-group label { display: block; font-size: 0.95rem; color: var(--text-gray); margin-bottom: 10px; }
.input-field {
    width: 100%; padding: 16px; background: #0d0b08; border: 1px solid #333; border-radius: 8px;
    color: #fff; font-size: 1.1rem; transition: var(--transition);
}
.input-field:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 10px rgba(201,168,76,0.15); }

/* Order section divider */
.order-section-divider {
    font-family: 'Noto Serif KR', serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--gold-dim);
    border-top: 1px solid rgba(201,168,76,0.12);
    padding-top: 24px;
    margin-bottom: 20px;
    margin-top: 8px;
}

/* Gender Selection Styles */
.radio-group { display: flex; gap: 12px; }
.radio-option { flex: 1; position: relative; }
.radio-option input { display: none; }
.radio-label {
    display: block; padding: 15px; text-align: center; background: #0d0b08; border: 1px solid #333;
    border-radius: 8px; cursor: pointer; transition: var(--transition); font-size: 1rem;
}
.radio-option input:checked + .radio-label {
    border-color: var(--gold); background: rgba(201,168,76,0.1); color: var(--gold);
}
.gender-sub { font-size: 0.8rem; opacity: 0.6; display: block; margin-top: 4px; }

/* Dynamic Multi-Selection Rows */
#dynamicOptionsContainer { margin-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.dynamic-option-row { margin-bottom: 25px; animation: fadeIn 0.5s ease; }
.dynamic-option-label { font-size: 1rem; color: var(--gold-light); margin-bottom: 12px; display: block; font-weight: 600; }

/* Payment Buttons */
.payment-section { margin-top: 45px; display: flex; flex-direction: column; gap: 15px; }

/* 토스 위젯 컨테이너 */
#toss-payment-method {
    width: 100%;
    margin-bottom: 4px;
}
#toss-agreement {
    width: 100%;
    margin-bottom: 8px;
}

/* 결제 실행 버튼 */
.btn-toss-submit {
    height: 65px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    letter-spacing: 0.04em;
    font-family: 'Noto Serif KR', serif;
    box-shadow: 0 6px 24px rgba(201,168,76,0.4);
    transition: var(--transition);
}
.btn-toss-submit:hover   { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.55); }
.btn-toss-submit:active  { transform: scale(0.97); }
.btn-toss-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.toss-secure-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 6px;
    letter-spacing: 0.02em;
}
.toss-secure-label i { color: var(--gold-dim); margin-right: 4px; }

/* 결제 버튼 */
.btn-npay {
    background: #03c75a;
    color: #fff;
    display: flex;
}
.btn-kpay {
    background: #fee500;
    color: #3c1e1e;
    display: flex;
}
.btn-pay {
    height: 65px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    transition: var(--transition);
    width: 100%;
}
.btn-pay:hover { transform: translateY(-2px); filter: brightness(1.05); }

@media (max-width: 768px) {
    .order-info-section { padding: 25px 20px; }
    .btn-pay { height: 60px; font-size: 1.1rem; }
}

/* LUXURY TALISMAN RETOUCHING - DETAIL PAGE */
.detail-container {
    padding-top: 120px;
    padding-bottom: 80px;
}
.detail-container .container {
    max-width: 680px;
}

.product-gallery {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 50px;
    position: relative;
    border-radius: 4px;
    overflow: visible;
    background: linear-gradient(160deg, #1e1a14 0%, #0f0d0a 100%);
    height: auto;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid rgba(201,168,76,0.25);
    box-shadow:
        0 0 0 6px rgba(201,168,76,0.06),
        0 20px 60px rgba(0,0,0,0.9);
}

/* Corner ornaments */
.product-gallery::before,
.product-gallery::after {
    content: '';
    position: absolute;
    width: 24px; height: 24px;
    border-color: rgba(201,168,76,0.5);
    border-style: solid;
}
.product-gallery::before {
    top: 10px; left: 10px;
    border-width: 1px 0 0 1px;
}
.product-gallery::after {
    bottom: 10px; right: 10px;
    border-width: 0 1px 1px 0;
}

@keyframes talismanGlow {
    from { box-shadow: 0 0 0 6px rgba(201,168,76,0.04), 0 20px 60px rgba(0,0,0,0.9), 0 0 50px rgba(201,168,76,0.06); }
    to   { box-shadow: 0 0 0 6px rgba(201,168,76,0.1),  0 20px 60px rgba(0,0,0,0.9), 0 0 90px rgba(201,168,76,0.16); }
}
.product-gallery {
    animation: talismanGlow 3.5s ease-in-out infinite alternate;
}

.product-gallery img {
    width: 100%; display: block; border-radius: 2px; position: relative; z-index: 1;
    background: transparent;
    padding: 0; box-sizing: border-box;
    filter:
        drop-shadow(0 0 28px rgba(201,168,76,0.6))
        drop-shadow(0 8px 32px rgba(0,0,0,0.9));
    transition: all 0.6s ease;
    height: auto;
    object-fit: contain;
}
.product-gallery:hover img {
    filter:
        drop-shadow(0 0 44px rgba(201,168,76,0.85))
        drop-shadow(0 12px 40px rgba(0,0,0,0.95));
    transform: scale(1.02);
}

/* Packaging / Envelope Showcase */
.packaging-section {
    margin: 80px 0;
    padding: 60px 40px;
    background: linear-gradient(160deg, #1e1a14 0%, #0f0d0a 100%);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 4px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.packaging-section::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 2px;
    pointer-events: none;
}
.packaging-section-label {
    font-family: 'Noto Serif KR', serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--gold-dim);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}
.packaging-section h3 {
    font-size: 1.7rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    font-weight: 700;
}
.packaging-section p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 2.1;
    max-width: 520px;
    margin: 0 auto 35px;
}
.packaging-img-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}
.packaging-img-wrap img {
    max-width: 340px;
    width: 90%;
    border-radius: 4px;
    filter:
        drop-shadow(0 0 30px rgba(201,168,76,0.5))
        drop-shadow(0 10px 40px rgba(0,0,0,0.9));
    transition: filter 0.5s ease, transform 0.5s ease;
}
.packaging-img-wrap img:hover {
    filter:
        drop-shadow(0 0 50px rgba(201,168,76,0.75))
        drop-shadow(0 12px 50px rgba(0,0,0,0.95));
    transform: translateY(-4px);
}
.packaging-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.packaging-badge {
    font-size: 0.9rem;
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.3);
    padding: 8px 18px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}
@media (max-width: 768px) {
    .packaging-section { padding: 40px 20px; }
    .packaging-section h3 { font-size: 1.4rem; }
}

/* --- Detail Page: Missing Element Styles --- */

/* Option section wrapper */
.option-section {
    margin-bottom: 40px;
    padding: 35px;
    background: #14120e;
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 4px;
}

/* Select wrapper — injected by JS */
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: '▾';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-dim);
    pointer-events: none;
    font-size: 1rem;
}
.select-wrapper select,
select.talisman-select-item {
    width: 100%;
    padding: 16px 44px 16px 18px;
    background: #0d0b08;
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-ivory);
    font-family: 'Noto Serif KR', serif;
    font-size: 1.05rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.6;
}
.select-wrapper select:focus,
select.talisman-select-item:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 12px rgba(201,168,76,0.15);
}
select.talisman-select-item option {
    background: #14120e;
    color: var(--text-ivory);
}

/* Price breakdown rows */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.discount-text {
    color: #ffc107;
    font-weight: 700;
}

/* Responsive detail page */
@media (max-width: 768px) {
    .detail-container { padding-top: 90px; padding-bottom: 40px; }
    .option-section { padding: 20px 16px; }

    /* 부적 이미지 — 한눈에 들어오게 축소 */
    .product-gallery {
        max-width: 200px;
        padding: 14px;
        margin: 0 auto 28px;
    }

    .product-main-title { font-size: 1.5rem; }
    .price-value-main { font-size: 1.9rem; }
    .premium-price-card { padding: 28px 20px; }
    .order-info-section { margin-top: 32px; padding: 22px 16px; }
    .product-long-desc { margin-top: 48px; }
    .packaging-section { margin: 48px 0; padding: 32px 16px; }
    .packaging-section h3 { font-size: 1.2rem; }
    .packaging-section p { font-size: 0.93rem; }
    .btn-pay { height: 54px; font-size: 1rem; }
}

/* LUXURY SCROLL REVEAL ANIMATION */
.product-card { opacity: 0; transform: translateY(50px) scale(0.96); }
.product-card.revealed { opacity: 1; transform: translateY(0) scale(1); }
.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.2s; }
.product-card:nth-child(3) { transition-delay: 0.35s; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* =============================================
   MOBILE LUXURY EXPERIENCE
   ============================================= */

/* --- Keyframes --- */
@keyframes goldShimmer {
    0%   { background-position: -300% center; }
    100% { background-position: 300% center; }
}
@keyframes softPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(201,168,76,0.45), 0 0 0 0 rgba(201,168,76,0); }
    50%       { box-shadow: 0 6px 32px rgba(201,168,76,0.7),  0 0 0 6px rgba(201,168,76,0); }
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* --- Staggered scroll-reveal for cards --- */
.empathy-card, .review-card, .process-step {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.7s ease;
}
.empathy-card.revealed, .review-card.revealed, .process-step.revealed {
    opacity: 1;
    transform: translateY(0);
}
.empathy-card:nth-child(1), .review-card:nth-child(1), .process-step:nth-child(1) { transition-delay: 0.05s; }
.empathy-card:nth-child(2), .review-card:nth-child(2), .process-step:nth-child(2) { transition-delay: 0.18s; }
.empathy-card:nth-child(3), .review-card:nth-child(3), .process-step:nth-child(3) { transition-delay: 0.31s; }
.review-card:nth-child(4) { transition-delay: 0.05s; }
.review-card:nth-child(5) { transition-delay: 0.18s; }
.review-card:nth-child(6) { transition-delay: 0.31s; }
.process-step:nth-child(4) { transition-delay: 0.44s; }
.process-step:nth-child(5) { transition-delay: 0.57s; }

@media (max-width: 768px) {

    /* ── 금 버튼 — 흐르는 광택 ── */
    .btn-gold {
        background: linear-gradient(
            90deg,
            #a87a20 0%, var(--gold) 20%,
            #f0d060 45%, #ffe87a 50%,
            #f0d060 55%, var(--gold) 80%,
            #a87a20 100%
        );
        background-size: 300% auto;
        animation: goldShimmer 4s linear infinite, softPulse 2.5s ease-in-out infinite;
        box-shadow: 0 6px 24px rgba(201,168,76,0.5), 0 2px 8px rgba(0,0,0,0.5);
        border: none;
        letter-spacing: 0.04em;
    }

    /* ── 모든 버튼 터치 피드백 ── */
    .btn:active,
    .btn-pay:active,
    .sticky-footer .btn:active {
        transform: scale(0.96) !important;
        filter: brightness(0.93);
        transition: transform 0.08s ease, filter 0.08s ease !important;
    }

    /* ── 카카오 버튼 ── */
    .btn-kakao {
        box-shadow: 0 4px 16px rgba(0,0,0,0.35);
        font-weight: 800;
        letter-spacing: 0.02em;
    }

    /* ── Sticky footer — 금 효과 유지 ── */
    .sticky-footer {
        background: rgba(8, 6, 3, 0.98);
        border-top: 1px solid rgba(201,168,76,0.5);
        box-shadow: 0 -8px 30px rgba(0,0,0,0.9), 0 -1px 0 rgba(201,168,76,0.2);
        padding: 12px 16px 14px;
    }
    .sticky-footer .btn-gold {
        animation: goldShimmer 4s linear infinite;
        background: linear-gradient(
            90deg,
            #a87a20 0%, var(--gold) 20%,
            #f0d060 45%, #ffe87a 50%,
            #f0d060 55%, var(--gold) 80%,
            #a87a20 100%
        );
        background-size: 300% auto;
        box-shadow: 0 4px 18px rgba(201,168,76,0.55);
        letter-spacing: 0.03em;
        font-size: 1.05rem;
    }

    /* ── Hero motto — pill 스타일 ── */
    .hero-motto {
        display: inline-block;
        padding: 7px 18px;
        border: 1px solid rgba(201,168,76,0.4);
        border-radius: 20px;
        background: rgba(201,168,76,0.07);
        letter-spacing: 0.12em;
        font-size: 0.8rem;
        margin-bottom: 22px;
    }

    /* ── hero-info 라인 ── */
    .hero-info {
        display: inline-block;
        border-top: 1px solid rgba(201,168,76,0.2);
        padding-top: 16px;
        margin-top: 20px;
        letter-spacing: 0.06em;
        font-size: 0.8rem;
    }

    /* ── Empathy 카드 — 모바일 글로우 ── */
    .empathy-card.revealed {
        box-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 0 30px rgba(201,168,76,0.08);
    }
    .empathy-icon {
        animation: iconFloat 3.5s ease-in-out infinite;
    }

    /* ── step-num 글로우 ── */
    .step-num {
        box-shadow: 0 0 0 5px rgba(201,168,76,0.1), 0 4px 16px rgba(201,168,76,0.35);
    }

    /* ── Product 카드 — 깊은 그림자 ── */
    .product-card {
        box-shadow: 0 6px 28px rgba(0,0,0,0.7), 0 0 40px rgba(201,168,76,0.07);
    }
    .product-card.revealed {
        box-shadow: 0 8px 32px rgba(0,0,0,0.75), 0 0 50px rgba(201,168,76,0.1);
    }

    /* ── Review 카드 ── */
    .review-card.revealed {
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    /* ── Kakao 배너 버튼 ── */
    .kakao-banner .btn-kakao {
        box-shadow: 0 6px 22px rgba(0,0,0,0.25);
        border-radius: 14px;
        padding: 18px 36px;
        font-size: 1.05rem;
    }

    /* ── section 구분선 — 미세 금빛 ── */
    section {
        border-bottom: 1px solid rgba(201,168,76,0.04);
    }

    /* ── ritual-letter 테두리 강화 ── */
    .ritual-letter {
        border-left: 2px solid rgba(201,168,76,0.4);
        background: rgba(201,168,76,0.03);
    }

    /* ── trust-card 강화 ── */
    .trust-card {
        border: 1px solid rgba(201,168,76,0.2);
        box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 60px rgba(201,168,76,0.06);
    }
}
