/* ──────────────────────────────────────────────
   ECLOEN — Nothing unnecessary.
   Dior Beauty Inspired Design
   ────────────────────────────────────────────── */

:root {
    --black: #1a1a1a;
    --near-black: #222222;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-light: #f8f7f5;
    --bg-warm: #f3f0ec;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #999999;
    --border: #e5e5e5;
    --border-light: #eeeeee;

    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;

    --nav-height: 56px;
    --ease: cubic-bezier(0.25, 0, 0.15, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.5s;
    --dur-fast: 0.3s;
}

/* ═══ Reset ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--black); color: var(--white); }


/* ═══ Preloader ═══ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}
#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner { text-align: center; }
.preloader-logo {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 1.5rem;
}
.preloader-line {
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}
.preloader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    animation: preloaderSlide 1s var(--ease) infinite;
}
@keyframes preloaderSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}
.preloader-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}


/* ═══ Top Banner ═══ */
.top-banner {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}
.top-banner a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ═══ Navigation — Dior Beauty style ═══ */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--dur-fast);
}
.nav.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 왼쪽: 네비 링크 */
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex: 1;
}
.nav-link {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    transition: color var(--dur-fast);
    padding: 4px 0;
    white-space: nowrap;
}
.nav-link:hover { color: var(--text-muted); }
.nav-link.active { font-weight: 700; }

/* 중앙: 로고 */
.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav-logo:hover { opacity: 0.7; }

/* 오른쪽: 유틸 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
}
.lang-switcher { display: flex; gap: 0; }
.lang-btn {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    padding: 4px 7px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--dur-fast);
}
.lang-btn:hover, .lang-btn.active { color: var(--text-primary); }

.nav-cart { position: relative; }
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--black);
    color: var(--white);
    font-size: 0.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 20px;
    padding: 2px 0;
}
.nav-toggle span {
    display: block; width: 100%; height: 1px; background: var(--black);
    transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }


/* ═══ Mobile Menu ═══ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur), visibility var(--dur);
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-inner { text-align: center; }
.mobile-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--black);
}
.mobile-link:hover { opacity: 0.4; }
.mobile-lang {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.mobile-lang .lang-btn { font-size: 0.85rem; padding: 8px 16px; }


/* ═══ Hero Banner — Dior Beauty Full-Width ═══ */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    max-height: 800px;
    overflow: hidden;
    cursor: pointer;
}

.hero-visual {
    position: absolute;
    inset: 0;
}

.hero-visual-img {
    width: 100%;
    height: 100%;
    background: var(--bg-warm);
    background-size: cover;
    background-position: center;
    transition: transform 8s var(--ease);
}

.hero:hover .hero-visual-img {
    transform: scale(1.03);
}

/* 제품 비주얼 — 중앙 대형 원형 배경 + 그라디언트 */
.hero-visual-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(243,240,236,0) 0%,
        rgba(243,240,236,0) 30%,
        rgba(243,240,236,0.4) 60%,
        rgba(243,240,236,0.85) 100%
    );
    z-index: 1;
}

/* 추상 제품 비주얼 */
.hero-product-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    z-index: 1;
    text-align: center;
}

.hero-product-circle {
    width: 280px;
    height: 380px;
    border-radius: 140px;
    background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-product-letter {
    font-family: var(--font-serif);
    font-size: 8rem;
    font-weight: 300;
    color: rgba(26,26,26,0.12);
    line-height: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 40px 60px;
}

.hero-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--black);
    padding: 14px 40px;
    transition: background var(--dur-fast);
}
.hero-cta:hover { background: var(--text-secondary); }


/* ═══ Section Module ═══ */
.section {
    padding: 60px 0;
}
.section-lg {
    padding: 80px 0;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title-serif {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}


/* ═══ Product Cards — Dior grid ═══ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    display: block;
    text-align: center;
    transition: opacity var(--dur-fast);
}
.product-card:hover { opacity: 0.85; }

.product-card-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 16px;
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    transition: transform 1s var(--ease);
}
.product-card:hover .product-card-placeholder {
    transform: scale(1.04);
}
.product-card-placeholder span {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--border);
}

.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    opacity: 0;
    transition: opacity var(--dur-fast);
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay span {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--black);
    color: var(--white);
    padding: 10px 24px;
    width: 100%;
}

.product-card-info {
    padding: 0 8px;
}
.product-card-name {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    line-height: 1.4;
}
.product-card-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}
.product-card-price {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}


/* ═══ Wide Banner — Between sections ═══ */
.wide-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-warm);
}

.wide-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s var(--ease);
}
.wide-banner:hover .wide-banner-bg {
    transform: scale(1.02);
}

.wide-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
}

.wide-banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding: 0 40px;
}

.wide-banner-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.wide-banner-desc {
    font-size: 0.8rem;
    line-height: 1.8;
    margin-bottom: 28px;
    opacity: 0.9;
}

.wide-banner-cta {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--white);
    color: var(--black);
    padding: 13px 36px;
    transition: opacity var(--dur-fast);
}
.wide-banner-cta:hover { opacity: 0.85; }

/* 밝은 배경 배너 */
.wide-banner--light {
    background: var(--bg-warm);
}
.wide-banner--light .wide-banner-content {
    color: var(--text-primary);
}
.wide-banner--light .wide-banner-cta {
    background: var(--black);
    color: var(--white);
}


/* ═══ Story Split — Dior editorial ═══ */
.story-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.story-split-visual {
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.story-split-visual-inner {
    text-align: center;
}

.story-circle {
    width: 140px;
    height: 140px;
    border: 1px solid rgba(26,26,26,0.15);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: breathe 6s var(--ease) infinite;
}
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.story-origin-text {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.story-origin-sub {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.story-split-content {
    display: flex;
    align-items: center;
    padding: 60px 64px;
    background: var(--white);
}

.story-split-content-inner {
    max-width: 440px;
}

.story-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 24px;
}

.story-text-accent {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.9;
}


/* ═══ Marquee Strip ═══ */
.section-marquee {
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    flex-shrink: 0;
}

.marquee-content span {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.marquee-dot {
    color: var(--border) !important;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ═══ Philosophy Strip ═══ */
.philosophy-strip {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}
.philosophy-strip-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 32px;
}
.philosophy-strip-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.philosophy-strip-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    line-height: 1.9;
}


/* ═══ Page Hero (Sub pages) ═══ */
.page-hero {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}
.page-hero-compact {
    padding: 60px 0 30px;
}
.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}
.page-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.page-hero-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 0.08em;
}


/* ═══ Shop ═══ */
.shop-section {
    padding: 48px 0 100px;
}

.shop-filters {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
}
.filter-btn {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all var(--dur-fast);
}
.filter-btn:hover { color: var(--text-primary); }
.filter-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--black);
    font-weight: 700;
}

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


/* ═══ Product Detail ═══ */
.breadcrumb {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb span { margin: 0 6px; opacity: 0.4; }

.product-section {
    padding: 32px 0 100px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-main-image {
    aspect-ratio: 1/1;
    background: var(--bg-light);
    overflow: hidden;
}
.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}
.product-image-placeholder span {
    font-family: var(--font-serif);
    font-size: 7rem;
    font-weight: 300;
    color: var(--border);
}

.product-info {
    padding-top: 20px;
}
.product-info-inner {
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}

.product-category-tag {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.product-name {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 16px;
}

.product-price-large {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    height: 48px;
}
.qty-btn {
    width: 44px;
    height: 100%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background var(--dur-fast);
}
.qty-btn:hover { background: var(--bg-light); }
.qty-value {
    width: 40px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    line-height: 48px;
}


/* ═══ Buttons ═══ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 36px;
    height: 48px;
    transition: background var(--dur-fast);
    flex: 1;
}
.btn-primary:hover { background: var(--text-secondary); }
.btn-full { width: 100%; flex: none; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 13px 36px;
    border: 1px solid var(--black);
    color: var(--black);
    transition: all var(--dur-fast);
}
.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity var(--dur-fast);
}
.btn-text:hover { opacity: 0.5; }


/* ═══ Product Tabs ═══ */
.product-tabs {
    max-width: 800px;
    margin: 0 auto 80px;
}

.product-tab-nav {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}
.tab-btn {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all var(--dur-fast);
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--black);
    font-weight: 700;
}

.tab-panel {
    display: none;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 2.2;
}
.tab-panel.active { display: block; }


/* ═══ Related Products ═══ */
.product-related { margin-bottom: 0; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.section-title-sm {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 32px;
}
.product-card-sm .product-card-image { aspect-ratio: 1; }


/* ═══ About Page ═══ */
.about-origin { padding: 80px 0; }

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }

.about-big-text {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
}
.about-big-serif { font-style: italic; display: block; }
.about-big-plus {
    font-size: 1.5rem;
    color: var(--text-muted);
    display: block;
    margin: 8px 0;
}

.about-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: 2rem;
}
.about-text-accent {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.9;
}

.about-values-section {
    background: var(--bg-light);
    padding: 80px 0;
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    text-align: center;
}
.about-value-item {
    padding: 40px 16px;
    border-right: 1px solid var(--border-light);
}
.about-value-item:last-child { border-right: none; }

.about-value-num {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.15em;
}
.about-value-text {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-philosophy-section { padding: 80px 0; }
.about-aesthetics-section { padding: 80px 0; }

.about-visual-block {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: var(--bg-warm);
}
.about-zen-circle {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(26,26,26,0.12);
    border-radius: 50%;
    position: relative;
    animation: zenRotate 30s linear infinite;
}
.about-zen-circle::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    right: 15%;
    bottom: 15%;
    border: 1px solid rgba(26,26,26,0.08);
    border-radius: 50%;
}
@keyframes zenRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-fullquote {
    background: var(--bg-warm);
    padding: 120px 0;
    text-align: center;
}
.about-fullquote-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 32px;
}
.about-fullquote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}
.about-fullquote-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}


/* ═══ Cart ═══ */
.cart-section {
    padding: 32px 0 100px;
}

.cart-empty, .cart-success {
    text-align: center;
    padding: 60px 0;
}
.cart-empty-icon, .cart-success-icon {
    margin-bottom: 1.5rem;
    color: var(--border);
}
.cart-empty p, .cart-success p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.cart-items { margin-bottom: 48px; }

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}
.cart-item-image {
    aspect-ratio: 1;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-image span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--border);
}
.cart-item-info h3 {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.cart-qty { height: 36px; }
.cart-qty .qty-btn { width: 32px; font-size: 0.9rem; }
.cart-qty .qty-value { width: 32px; line-height: 36px; font-size: 0.78rem; }

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 600;
}
.cart-item-remove {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--dur-fast);
}
.cart-item-remove:hover { color: var(--text-primary); }

.cart-summary {
    max-width: 380px;
    margin-left: auto;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.cart-total-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.cart-total-value {
    font-size: 1.3rem;
    font-weight: 700;
}


/* ═══ Toast ═══ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--black);
    color: var(--white);
    padding: 14px 28px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    z-index: 2000;
    transform: translateY(60px);
    opacity: 0;
    transition: all var(--dur-fast) var(--ease-out);
}
.toast.show { transform: translateY(0); opacity: 1; }


/* ═══ Footer — Dior style ═══ */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 48px 0 32px;
}
.footer-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 32px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 32px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.footer-logo {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.footer-tagline {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom p {
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}


/* ═══ Scroll Reveal ═══ */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}


/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-values-grid { grid-template-columns: repeat(3, 1fr); }
    .about-value-item:nth-child(3) { border-right: none; }
    .story-split-content { padding: 48px 32px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .lang-switcher { display: none; }
    .nav-toggle { display: flex; }
    .nav-inner { padding: 0 20px; }
    .nav-right { right: auto; position: static; }
    .nav-logo { position: static; transform: none; flex: 1; text-align: center; }

    .container { padding: 0 20px; }
    .section { padding: 48px 0; }
    .section-lg { padding: 60px 0; }

    .hero { height: 70vh; min-height: 450px; }
    .hero-content { padding: 0 20px 40px; }

    .story-split { grid-template-columns: 1fr; }
    .story-split-visual { min-height: 350px; }
    .story-split-content { padding: 48px 20px; }

    .products-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .about-split, .product-layout { grid-template-columns: 1fr; gap: 32px; }
    .about-split.reverse { direction: ltr; }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .about-value-item { border-right: none !important; border-bottom: 1px solid var(--border-light); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }

    .cart-item { grid-template-columns: 70px 1fr; gap: 12px; }
    .cart-item-price, .cart-item-remove { grid-column: 2; }

    .product-info-inner { position: static; }
    .footer-top { flex-direction: column; gap: 16px; }
    .wide-banner { height: 50vh; min-height: 350px; }
}

@media (max-width: 480px) {
    .products-grid, .shop-grid, .related-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .about-values-grid { grid-template-columns: 1fr 1fr; }
    .hero { height: 65vh; }
    .product-card-name { font-size: 0.72rem; }
    .product-card-desc { display: none; }
}


/* ═══════════════════════════════════════════════
   Hero Story Section — Dior Beauty 쟈도르 구조
   ═══════════════════════════════════════════════ */
.hero-story {
    position: relative;
    width: 100%;
    height: 130vh; /* sticky 스크롤 공간 (짧게) */
    background: #000;
}

.hero-story__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 600px;
    max-height: 960px;
    overflow: hidden;
}

.hero-story__wrapper {
    display: grid;
    grid-template-columns: 0fr 1fr 0fr; /* 초기: 풀 비디오 */
    height: 100%;
    transition: grid-template-columns 0.8s cubic-bezier(0.25, 0, 0.15, 1);
}

.hero-story.split .hero-story__wrapper {
    grid-template-columns: 1fr 3.5fr 1fr; /* 스크롤 후: 3단 분리 */
}

/* 좌우 타일 */
.hero-story__side {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s 0.2s cubic-bezier(0.25, 0, 0.15, 1);
}

.hero-story.split .hero-story__side {
    opacity: 1;
}

.hero-story__tile {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: block;
    min-width: 0; /* grid 0fr 지원 */
}

.hero-story__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.25, 0, 0.15, 1);
}

/* 초기 상태: 타일 내용 숨김 */
.hero-story__side .hero-story__tile-overlay {
    visibility: hidden;
}
.hero-story.split .hero-story__side .hero-story__tile-overlay {
    visibility: visible;
}

.hero-story__tile:hover img {
    transform: scale(1.08);
}

.hero-story__tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 16px;
    opacity: 0;
    transition: opacity 0.5s;
}

.hero-story__tile:hover .hero-story__tile-overlay {
    opacity: 1;
}

.hero-story__tile-text {
    font-size: 0.68rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.hero-story__tile-btn {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding-bottom: 2px;
    display: inline-block;
    width: fit-content;
}

/* 중앙 영상 */
.hero-story__center {
    position: relative;
    overflow: hidden;
}

.hero-story__video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-story__video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* 중앙 텍스트 오버레이 — 디올 스타일 */
.hero-story__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px 56px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(0,0,0,0.45) 100%
    );
    pointer-events: none;
}

.hero-story__content > * {
    pointer-events: auto;
}

/* 초기: 큰 텍스트, split 후: 작은 텍스트 */
.hero-story__ontitle {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
    transition: opacity 0.6s;
}

/* 초기: 풀스크린용 큰 타이틀, split 후: 중앙 컬럼용 작은 타이틀 */
.hero-story__title {
    font-family: var(--font-sans);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    max-width: 520px;
    transition: font-size 0.8s cubic-bezier(0.25,0,0.15,1);
}

.hero-story.split .hero-story__title {
    font-size: clamp(1rem, 2vw, 1.4rem);
}

.hero-story__cta {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 3px;
    transition: border-color 0.3s;
}

.hero-story__cta:hover {
    border-bottom-color: #fff;
}

/* 사운드 버튼 */
.hero-story__sound {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    color: #fff;
}

.hero-story__sound:hover {
    background: rgba(0,0,0,0.55);
}


/* ═══ 추천 제품 캐러셀 ═══ */
.section-recommend {
    padding: 56px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.recommend-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 32px;
}

.recommend-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    text-align: center;
}

.recommend-carousel {
    overflow: hidden;
}

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

.recommend-card {
    display: block;
    text-align: center;
    transition: opacity 0.3s;
}

.recommend-card:hover { opacity: 0.8; }

.recommend-card__img {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 14px;
}

.recommend-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0, 0.15, 1);
}

.recommend-card:hover .recommend-card__img img {
    transform: scale(1.04);
}

.recommend-card__name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
    line-height: 1.4;
}

.recommend-card__desc {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.5;
}

.recommend-card__price {
    font-size: 0.78rem;
    font-weight: 600;
}


/* ═══ 에디토리얼 블록 — 풀와이드 ═══ */
.editorial-block {
    position: relative;
    overflow: hidden;
}

.editorial-block__link {
    display: block;
    position: relative;
}

.editorial-block__visual {
    width: 100%;
    height: 520px;
    overflow: hidden;
}


.editorial-block__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 0, 0.15, 1);
}

.editorial-block__link:hover .editorial-block__visual img {
    transform: scale(1.02);
}

.editorial-block__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 48px;
    background: linear-gradient(to top, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 100%);
}

.editorial-block__content--center {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0,0,0,0.35);
}

.editorial-block--dark .editorial-block__content {
    background: rgba(0,0,0,0.35);
}

.editorial-block--dark .editorial-block__cta {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.6);
}

.editorial-block__label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.editorial-block__title {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    line-height: 1.4;
}

.editorial-block__desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
    max-width: 400px;
}

.editorial-block__cta {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 2px;
    transition: opacity 0.3s;
}

.editorial-block__link:hover .editorial-block__cta {
    opacity: 0.6;
}


/* ═══ 에디토리얼 스플릿 — 이미지+텍스트 오버레이 ═══ */
.editorial-split {
    border-bottom: 1px solid var(--border-light);
}

.editorial-split__link {
    display: block;
    position: relative;
}

.editorial-split__visual {
    overflow: hidden;
    height: 520px;
}


.editorial-split__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0, 0.15, 1);
}

.editorial-split__link:hover .editorial-split__visual img {
    transform: scale(1.02);
}

.editorial-split__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 56px;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0) 100%);
}


/* ═══ 서비스 그리드 — Dior Exclusive Services ═══ */
.services-grid {
    padding: 64px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.services-grid__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.services-grid__item {
    text-align: center;
    padding: 24px 20px;
    border-right: 1px solid var(--border);
}

.services-grid__item:last-child {
    border-right: none;
}

.services-grid__icon {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.services-grid__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.services-grid__desc {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ═══ Hero Story Responsive ═══ */
@media (max-width: 1024px) {
    .hero-story.split .hero-story__wrapper {
        grid-template-columns: 0.7fr 3fr 0.7fr;
    }
    .recommend-track { grid-template-columns: repeat(2, 1fr); }
    .editorial-split__link { grid-template-columns: 1fr; }
    .editorial-split__visual { max-height: 400px; }
    .services-grid__inner { grid-template-columns: repeat(2, 1fr); }
    .services-grid__item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
    /* 모바일: 스크롤 분리 비활성, 풀영상만 */
    .hero-story {
        height: auto;
    }
    .hero-story__sticky {
        height: 70vh;
        min-height: 450px;
        max-height: 700px;
        position: relative; /* sticky 해제 */
    }
    .hero-story__wrapper {
        grid-template-columns: 1fr !important;
    }
    .hero-story__side {
        display: none !important;
    }
    .hero-story__video-container iframe {
        width: 300%;
        height: 300%;
    }
    .hero-story__content {
        padding: 0 24px 36px;
    }
    .hero-story__title {
        font-size: 1.1rem !important;
    }
    .recommend-track { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .editorial-block__visual { height: 360px; }
    .editorial-split__visual { height: 360px; }
    .editorial-split__content { padding: 32px 24px; }
    .services-grid__inner { grid-template-columns: 1fr 1fr; }
    .services-grid__item { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 480px) {
    .hero-story__sticky {
        height: 60vh;
        min-height: 380px;
    }
    .hero-story__video-container iframe {
        width: 400%;
        height: 400%;
    }
    .recommend-track { grid-template-columns: 1fr 1fr; gap: 8px; }
    .services-grid__inner { grid-template-columns: 1fr; }
    .services-grid__item { border-right: none; }
    .editorial-block__visual { height: 280px; }
    .editorial-split__visual { height: 280px; }
    .editorial-split__content { padding: 24px 20px; }
}
