/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */

.header {
    background: rgba(252, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(228, 219, 207, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    height: 52px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--ink-light, #6b5e52);
    border-radius: 10px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.back-btn:hover {
    color: var(--terracotta, #c5532c);
    background: var(--terracotta-glow, rgba(197, 83, 44, 0.08));
}

.back-btn:active {
    transform: scale(0.92);
}

.back-btn svg { width: 18px; height: 18px; }

.header-title {
    font-family: var(--font-display, -apple-system, sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-dark, #1a1512);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
    min-width: 0;
    flex-shrink: 1;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 12px;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-light, #6b5e52);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-link:hover {
    color: var(--terracotta, #c5532c);
    background: var(--terracotta-glow, rgba(197, 83, 44, 0.08));
}

.header-link:active {
    transform: scale(0.96);
}

.header-link.accent {
    color: var(--terracotta, #c5532c);
    font-weight: 600;
}

/* Purchase button style */
.header-purchase {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--terracotta, #c5532c);
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-purchase:hover {
    background: var(--accent-hover, #a84628);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(197, 83, 44, 0.3);
}

.header-purchase:active {
    transform: scale(0.96);
}


/* ═══════════════════════════════════════
   LOGO — HOMEPAGE BRAND
   ═══════════════════════════════════════ */

.logo-wrap {
    padding: 56px 0 36px;
    text-align: center;
    position: relative;
}

.logo-wrap::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--terracotta, #c5532c);
    border-radius: 2px;
    margin: 16px auto 0;
    opacity: 0.5;
}

.logo {
    font-family: var(--font-display, -apple-system, sans-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--ink-dark, #1a1512);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-accent {
    color: var(--terracotta, #c5532c);
}

.logo-subtitle {
    font-family: var(--font-body, -apple-system, sans-serif);
    font-size: 11px;
    color: var(--ink-light, #95877a);
    letter-spacing: 0.2em;
    margin-top: 8px;
    text-transform: uppercase;
    font-weight: 500;
}


/* ═══════════════════════════════════════
   HEADER: BRAND & ABOUT LINK (homepage)
   ═══════════════════════════════════════ */

.header-brand {
    font-family: var(--font-display, -apple-system, sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-dark, #1a1512);
    letter-spacing: -0.02em;
    cursor: default;
    user-select: none;
}

.header-brand .accent {
    color: var(--terracotta, #c5532c);
}

.footer-about-link {
    display: inline-block;
    font-size: 12px;
    color: var(--ink-muted, #95877a);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.footer-about-link:hover {
    color: var(--terracotta, #c5532c);
    background: var(--terracotta-glow, rgba(197, 83, 44, 0.08));
}


/* ═══════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 767px) {
    .header-inner {
        padding: 0 12px;
        height: 48px;
    }

    .header-title {
        font-size: 14px;
    }

    .header-link {
        font-size: 12px;
        padding: 5px 8px;
    }

    .logo-wrap {
        padding: 40px 0 28px;
    }

    .logo {
        font-size: 28px;
    }
}
