/* ============================
   GUIDE PAGE STYLES
   ============================ */

/* Page Hero */
.guide-hero {
    background: linear-gradient(135deg, #6a1b9a 0%, #ff4d94 100%);
    padding: 64px 0 54px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.guide-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.guide-hero .container { position: relative; z-index: 1; }

.guide-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.guide-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.guide-hero h1 span {
    color: #ffe082;
}

.guide-hero p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Steps nav dots */
.guide-steps-nav {
    background: #fff;
    border-bottom: 1px solid #f0e0f7;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(156,39,176,0.07);
}

.guide-steps-nav .container {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
}

.guide-steps-nav .container::-webkit-scrollbar { display: none; }

.step-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    text-decoration: none;
    color: #888;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.step-nav-item:hover,
.step-nav-item.active {
    color: #ff4d94;
    border-bottom-color: #ff4d94;
}

.step-nav-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #9c27b0;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.step-nav-item:hover .step-nav-num,
.step-nav-item.active .step-nav-num {
    /* background: linear-gradient(135deg, #9c27b0 0%, #ff4d94 100%); */
    background-color: #ff4d94;
    color: #fff;
}

/* Main content */
.guide-main {
    background: #faf5ff;
    padding: 60px 0 80px;
}

/* Step card */
.guide-step {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 30px rgba(156,39,176,0.08);
    border: 1px solid #f3e5ff;
    margin-bottom: 40px;
    overflow: hidden;
    scroll-margin-top: 80px;
}

/* Step header bar */
.step-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 32px;
    background-color: #ff4d94;
    /* background: linear-gradient(135deg, #9c27b0 0%, #ff4d94 100%); */
    color: #fff;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.22);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.step-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Step body: text left, image right */
.step-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.step-content {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.step-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

/* Store logos */
.store-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.store-logo-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f0f0;
    /* border: 1.5px solid #e0b0ff; */
    color: #7b1fa2;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
}

.store-logo-tag:hover {
    background: #9c27b0;
    color: #fff;
    border-color: #9c27b0;
}

/* Address box */
.address-box {
    /* background: #fffde7; */
    border: 2px solid #ff4d94;
    border-radius: 14px;
    padding: 20px 24px;
    position: relative;
}

.address-box-label {
    font-size: 0.78rem;
    font-weight: 700;
    /* color: #f57f17; */
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.address-kr {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.address-en {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.address-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    background: #9c27b0;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.address-copy-btn:hover {
    background: #7b1fa2;
    transform: translateY(-1px);
}

.address-copy-btn.copied {
    background: #4caf50;
}

/* Step tips */
.step-tips {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0f0f0;
    border-radius: 12px;
    padding: 14px 18px;
}

.tip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.tip-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

.tip-text strong {
    color: #9c27b0;
}

/* Options grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 4px;
}

.option-card {
    /* background: #f9f0ff; */
    border: 2px solid #ff4d94;
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    transition: all 0.2s;
}

.option-card:hover {
    border-color: #9c27b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(156,39,176,0.12);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.option-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #7b1fa2;
    margin-bottom: 4px;
}

.option-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
}

/* Image panel */
.step-image-panel {
    background: linear-gradient(135deg, #f9f0ff 0%, #e8f5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-left: 1px solid #f3e5ff;
    min-height: 280px;
}

.step-image-panel img {
    width: 100%;
    /* max-width: 340px; */
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(156,39,176,0.12);
}

/* Alternate layout — image left */
.step-body.reverse .step-image-panel {
    order: -1;
    border-left: none;
    border-right: 1px solid #f3e5ff;
}

/* CTA Banner */
.guide-cta {
    background: linear-gradient(135deg, #9c27b0 0%, #ff4d94 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.guide-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

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

.guide-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #9c27b0;
    border-radius: 30px;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.guide-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    color: #9c27b0;
}

.guide-cta-btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}

.guide-cta-btn.outline:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .step-body {
        grid-template-columns: 1fr;
    }
    .step-body.reverse .step-image-panel {
        order: 0;
        border-right: none;
        border-top: 1px solid #f3e5ff;
    }
    .step-image-panel {
        border-left: none;
        border-top: 1px solid #f3e5ff;
    }
    .guide-hero h1 { font-size: 2rem; }
    .step-header h2 { font-size: 1.2rem; }
    .step-content { padding: 28px 24px; }
    .options-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .guide-hero h1 { font-size: 1.6rem; }
    .step-nav-item { padding: 14px 16px; font-size: 0.8rem; }
    .options-grid { grid-template-columns: 1fr; }
    .guide-cta h2 { font-size: 1.5rem; }
}
