/* Reset & Base */
:root {
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-amber: #d4a373; /* Muted Amber */
    --color-bg-footer: #ffffff;
    --space-2cm: 76px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    opacity: 0;
}

body.is-page-ready {
    opacity: 1;
    transition: opacity 0.18s ease;
}

body.is-page-leaving {
    opacity: 0;
    transition: opacity 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
    body.is-page-ready,
    body.is-page-leaving {
        transition: none;
    }
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img, video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layer 1: Main Visual & Header */
.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.layer-1-visual {
    position: relative;
    width: 100%;
    height: 220vh;
    overflow: hidden;
}

.visual-bg {
    width: 100%;
    height: 100%;
    position: relative;
}

.visual-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); /* Slight dark overlay for text readability */
}

/* Header Styling */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Occupy full height for positioning elements */
    z-index: 100;
    pointer-events: none; /* Let clicks pass through to background if needed, but we enable pointer-events on children */
}

.main-header > * {
    pointer-events: auto;
}

/* Logo - Top Center */
.logo-center {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px; /* Logo width */
    z-index: 200;
}

.logo-center a {
    display: block;
    width: 100%;
}

.logo-center img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.35s ease, opacity 0.2s ease;
}

.nav-right {
    transition: opacity 0.2s ease;
}

body.is-scrolled .logo-center,
body.is-scrolled .nav-right,
body.is-scrolled .menu-drawer {
    opacity: 0;
    pointer-events: none;
}

body.home-section-2 .menu-trigger span {
    background-color: var(--color-black);
}

body.home-section-2 .nav-right a {
    color: var(--color-black);
    text-shadow: none;
}

body.home-section-2 .logo-center img {
    filter: brightness(0);
}

body.home-section-3 .menu-trigger span {
    background-color: var(--color-white);
}

body.home-section-3 .nav-right a {
    color: var(--color-white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

body.home-section-3 .logo-center img {
    filter: brightness(0) invert(1);
}

/* Left Drawer Menu */
.menu-drawer {
    position: fixed;
    top: 32px;
    left: 32px;
    z-index: 210;
    transition: opacity 0.2s ease;
}

.menu-trigger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.menu-trigger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.nav-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    min-height: 100vh;
    padding: 110px 40px 40px;
    background-color: var(--color-white);
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 40px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    box-shadow: 20px 0 40px rgba(0,0,0,0.08);
}

.menu-drawer:hover .nav-left,
.menu-drawer:focus-within .nav-left,
.menu-drawer.open .nav-left {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.menu-drawer:hover .menu-trigger span,
.menu-drawer:focus-within .menu-trigger span,
.menu-drawer.open .menu-trigger span {
    background-color: var(--color-black);
}

.nav-left ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-left a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-black);
}

/* Submenu Styling */
.submenu {
    display: none !important; /* Force hidden by default */
    flex-direction: column;
    gap: 12px;
    padding-left: 10px;
    padding-top: 15px;
    margin-bottom: 10px;
}

.submenu.active {
    display: flex !important; /* Force show when active */
    animation: fadeIn 0.3s ease-in-out;
}

.submenu li a {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: lowercase; /* Keep lowercase as requested */
    font-weight: 300;
    transition: opacity 0.2s, padding-left 0.2s;
}

.submenu li a:hover {
    opacity: 1;
    padding-left: 5px; /* Subtle movement */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-box a {
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    display: inline-block;
    width: 100px; /* Fixed width for the underline look */
}

/* Right Menu - Top Right */
.nav-right {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 210;
}

.nav-right > ul {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.nav-right a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-white);
    display: block;
    transition: color 0.35s ease, text-shadow 0.35s ease, opacity 0.2s ease;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    padding-bottom: 20px; /* Invisible hover bridge */
    margin-bottom: -20px;
}

.lang-list {
    position: absolute;
    top: 100%; /* Position below the KR text */
    left: 0;
    width: 100%; /* Match width of parent */
    display: none; /* Hidden by default */
    flex-direction: column;
    text-align: center; /* Center text if needed, or left */
    padding-top: 5px; /* Small gap */
}

.lang-dropdown:hover .lang-list {
    display: flex;
}

/* Layer 2: Best Seller (Full Width) */
.layer-2-bestseller {
    width: 100%;
    height: 100vh;
    position: relative;
}

.layer-2-parallax {
    position: relative;
}

.layer-2-parallax-bg {
    position: sticky;
    top: 0;
    height: 100vh;
    margin-bottom: -100vh;
    z-index: 0;
    overflow: hidden;
}

.layer-2-parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}

.layer-2-parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layer-2-parallax-step {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 22px;
}

.layer-2-parallax-link {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-parallax-link--bottom {
    align-self: flex-end;
    margin-bottom: 64px;
}

.layer-2-parallax-title {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 4.2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-parallax-copy {
    max-width: 880px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-parallax-cta {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 22px 26px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.08);
    color: #111;
}

.layer-2-parallax-cta-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,0.35);
    padding-bottom: 4px;
}

.layer-2-parallax-cta-link:hover {
    opacity: 0.75;
}

.layer-2-interactive::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    z-index: 0;
}

.layer-2-interactive .layer-2-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.layer-2-interactive .layer-2-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layer-2-interactive .layer-2-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    padding: 0 64px;
}

.layer-2-interactive .layer-2-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.layer-2-interactive .layer-2-item {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    opacity: 0.7;
    cursor: pointer;
}

.layer-2-interactive .layer-2-item.is-active {
    opacity: 1;
    border-bottom-color: rgba(255,255,255,0.6);
}

.layer-2-interactive .layer-2-cta {
    justify-self: center;
    text-align: center;
    color: var(--color-white);
}

.layer-2-interactive .layer-2-cta-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-interactive .layer-2-cta-sub {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.55);
    padding-bottom: 4px;
}

.layer-2-interactive .layer-2-item:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 4px;
}

.layer-2-interactive .layer-2-cta:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 6px;
}

.layer-2-bestseller .image-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
}

.layer-2-bestseller .layer-2-centered-copy {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    text-align: center;
    color: #111;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 2.05;
    text-shadow: none;
    pointer-events: none;
}

.layer-2-bestseller .layer-2-centered-copy p {
    max-width: 720px;
}

.layer-2-bestseller .layer-2-centered-copy .layer-2-em {
    font-style: italic;
    font-weight: 600;
}

.layer-2-bestseller .caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .layer-2-bestseller .layer-2-centered-copy {
        font-size: 0.85rem;
        line-height: 2;
        letter-spacing: 0.06em;
        padding: 0 18px;
    }

    .layer-2-interactive .layer-2-overlay {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        padding: 0 22px 40px;
        align-items: end;
        gap: 26px;
    }

    .layer-2-interactive .layer-2-items {
        flex-direction: row;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .layer-2-interactive .layer-2-item {
        border-bottom: 1px solid rgba(255,255,255,0.25);
        padding: 8px 2px;
        text-align: center;
    }

    .layer-2-interactive .layer-2-cta-label {
        font-size: 2.2rem;
    }
}

/* Layer 3: Product Grid (3 Columns) */
.layer-3-products {
    width: 100%;
    min-height: 100vh;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: 100vh;
}

.product-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-item .caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Layer 4: Footer */
.layer-4-footer {
    background-color: var(--color-bg-footer);
    color: var(--color-black);
    min-height: 20vh;
    padding: 36px 40px 32px;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.footer-left,
.footer-right {
    width: auto;
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
}

.company-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.7rem;
    line-height: 1.9;
    color: #333;
    letter-spacing: 0;
}

.company-label {
    font-weight: 600;
    letter-spacing: 0;
}

.company-value {
    font-weight: 400;
    letter-spacing: 0;
}

.footer-section h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.footer-section p, .footer-section li {
    font-size: 0.7rem;
    line-height: 1.9;
    color: #333;
}

.footer-right-group {
    display: flex;
    gap: 100px;
}

.cs-section .phone {
    margin-bottom: 10px;
    font-weight: 500;
}

.cs-section .hours {
    margin-bottom: 15px;
    color: #555;
}

.cs-section .email {
    text-decoration: underline;
}

/* Dark Header Variant (for white pages) */
.dark-header .nav-left a,
.dark-header .nav-right a,
.dark-header .logo-center a {
    color: var(--color-black);
    text-shadow: none;
}

.dark-header .logo-center img {
    filter: brightness(0);
}

.dark-header .menu-trigger span {
    background-color: var(--color-black);
}

.dark-header .search-box a {
    border-bottom-color: rgba(0,0,0,0.2);
}

/* Shop Grid Page Styles */
.shop-container {
    padding: 150px 20px 120px 20px;
    max-width: 100%;
    margin: 0 auto;
}

.shop-category-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 0 0 46px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.shop-category-nav a {
    color: #222;
    text-decoration: none;
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
}

.shop-category-nav a:hover {
    border-bottom-color: rgba(0,0,0,0.22);
}

.shop-category-nav a[aria-current="page"] {
    border-bottom-color: rgba(0,0,0,0.55);
}

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

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

.shop-grid-3--same-as-4 {
    width: calc(75% - 5px);
    margin: 0 auto;
}

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

.shop-grid-2--same-as-4 {
    width: calc(50% - 10px);
    margin: 0 auto;
}

.shop-grid-2 .shop-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - 20px) / 2);
    justify-self: center;
}

.shop-empty {
    height: calc(100vh - 260px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #222;
    letter-spacing: 0.02em;
}

.search-page {
    padding: 150px 20px 120px;
    max-width: 1320px;
    margin: 0 auto;
}

.search-hero {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.search-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.search-copy {
    margin-top: 14px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.8;
    color: #555;
}

.search-form {
    max-width: 720px;
    margin: 30px auto 0;
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid rgba(0,0,0,0.18);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: #111;
    background-color: #fff;
}

.search-input:focus {
    outline: none;
    border-color: rgba(0,0,0,0.45);
}

.search-submit {
    min-width: 132px;
    padding: 0 24px;
    border: 1px solid #111;
    background-color: #111;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.search-results-section {
    margin-top: 8px;
}

.search-summary {
    margin-bottom: 28px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: #222;
    letter-spacing: 0.02em;
}

.search-empty {
    padding: 90px 0 40px;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
}

.shop-item-link {
    display: block;
    text-decoration: none;
}

.shop-item-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.shop-item-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-item-link:hover .shop-item-image img {
    transform: scale(1.05);
}

.shop-item-info {
    text-align: left;
    padding: 0 2px;
}

.shop-item-name {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #111;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.shop-item-price {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: #111;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.product-detail-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: start;
}

.product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-thumb {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f7f7f7;
    padding: 0;
    cursor: pointer;
    display: block;
}

.product-thumb.is-active {
    border-color: rgba(0,0,0,0.35);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-main {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f7f7f7;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-summary {
    padding-top: 10px;
}

.product-title {
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.01em;
    line-height: 1.35;
    white-space: pre-line;
}

.product-price {
    margin-top: 10px;
    margin-bottom: 40px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    color: #111;
    letter-spacing: -0.01em;
}

.product-collection {
    margin-top: 0;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.01em;
}

.product-description {
    margin-top: 18px;
    font-size: 0.82rem;
    line-height: 1.95;
    color: #333;
    letter-spacing: -0.01em;
    white-space: pre-line;
}

.product-specs {
    margin-top: 16px;
    font-size: 0.82rem;
    line-height: 1.95;
    color: #333;
    letter-spacing: -0.01em;
}

.product-specs-row {
    display: block;
}

.product-specs-key {
    color: #111;
    font-weight: 500;
}

.product-specs-value {
    color: #333;
}

.product-notes {
    margin-top: 22px;
    font-size: 0.78rem;
    line-height: 1.95;
    color: #444;
    letter-spacing: -0.01em;
    white-space: pre-line;
}

.product-notes-title {
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.product-divider {
    margin: 14px 0;
    color: #111;
    line-height: 1;
}

.product-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-notes li {
    position: relative;
    padding-left: 12px;
}

.product-notes li::before {
    content: '-';
    position: absolute;
    left: 0;
    top: 0;
}

.purchase-panel {
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.12);
}

.purchase-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.purchase-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #111;
    text-transform: uppercase;
}

.purchase-row:nth-child(2) .purchase-label {
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.82rem;
}

.purchase-value {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.01em;
}

.purchase-control {
    display: flex;
    justify-content: flex-end;
}

.purchase-select {
    width: min(420px, 100%);
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.18);
    background: transparent;
    padding: 6px 6px 6px 0;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #777;
    letter-spacing: -0.01em;
}

.product-divider + .product-specs {
    margin-top: 0;
}

.purchase-select:focus {
    outline: none;
    border-bottom-color: rgba(0,0,0,0.45);
}

.purchase-total-count {
    font-size: 0.82rem;
    font-weight: 400;
    color: #111;
}

.purchase-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.purchase-item[hidden] {
    display: none;
}

.purchase-items:empty {
    display: none;
}

.purchase-item-name {
    font-size: 0.82rem;
    color: #777;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.purchase-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.purchase-qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.purchase-qty-value {
    width: 18px;
    text-align: center;
    font-size: 0.82rem;
    color: #111;
    letter-spacing: -0.01em;
}

.purchase-item-price {
    font-size: 0.82rem;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: right;
    min-width: 92px;
}

.purchase-remove {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0,0,0,0.18);
    background: transparent;
    color: #111;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.purchase-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.purchase-btn {
    height: 52px;
    border: 1px solid rgba(0,0,0,0.35);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.purchase-btn--primary {
    background: #111;
    color: #fff;
    border-color: #111;
}

.purchase-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.npay-box {
    margin-top: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

.npay-brand {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: #17a64a;
    letter-spacing: 0.02em;
}

.npay-sub {
    margin-top: 2px;
    font-size: 0.78rem;
    color: #333;
    letter-spacing: -0.01em;
}

.npay-buy {
    height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #17d65c;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.npay-like {
    height: 42px;
    width: 52px;
    border: 1px solid rgba(0,0,0,0.18);
    background: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.pd-sections {
    margin-top: 56px;
    border-top: 1px solid rgba(0,0,0,0.12);
}

.pd-tabs {
    display: flex;
    justify-content: center;
    gap: 56px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.pd-tab {
    border: 0;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    color: #aaa;
    cursor: pointer;
    padding: 0;
}

.pd-tab.is-active {
    color: #111;
    font-weight: 500;
}

.pd-panels {
    padding: 0;
}

.pd-panel {
    padding: 36px 0 0;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #777;
    text-align: center;
}

.pd-detail-image-wrap {
    display: flex;
    justify-content: center;
}

.pd-detail-images {
    width: 100%;
    max-width: 760px;
}

.pd-detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.pd-detail-image + .pd-detail-image {
    margin-top: 28px;
}

.npay-buy:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.agreement-page {
    padding: 160px 20px 120px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.agreement-page .agreement-box {
    padding-bottom: 92px;
}

.agreement-page .agreement-box {
    padding-bottom: 24px;
}

.agreement-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.agreement-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 28px;
}

.agreement-section {
    margin-top: 26px;
}

.agreement-section:first-of-type {
    margin-top: 0;
}

.agreement-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.agreement-section-title {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.join-body .agreement-section:first-of-type {
    margin-top: var(--space-2cm);
}

.join-body .agreement-section-head,
.join-body .agreement-section-title,
.join-body .agree-check,
.join-body .agreement-actions {
    font-size: 0.9rem;
}

.join-body .agreement-box--compact {
    font-size: 0.9rem;
}

.join-body .agreement-box--compact h5 {
    font-size: 0.9rem;
}

.agreement-box {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    padding: 24px;
    height: 360px;
    overflow: auto;
    line-height: 1.8;
    font-size: 0.8rem;
    color: #333;
}

.agreement-page--tall .agreement-box {
    height: 436px;
}

.agreement-box--fluid {
    height: auto;
    overflow: visible;
}

.membership-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    line-height: 1.7;
}

.membership-table th,
.membership-table td {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 12px 10px;
    vertical-align: top;
    text-align: left;
}

.membership-table thead th {
    border-top: 1px solid rgba(0,0,0,0.12);
    font-weight: 600;
    background: rgba(0,0,0,0.02);
}

.membership-table tbody tr:last-child td {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.agreement-box p {
    margin: 0 0 12px;
}

.agreement-box p:last-child {
    margin-bottom: 0;
}

.agreement-box--compact {
    height: auto;
    max-height: 220px;
}

.agreement-box h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 18px 0 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.login-body {
    background: #fff;
}

.login-body .logo-center {
    transition: opacity 0.2s ease;
}

.login-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.membership-body .logo-center {
    transition: opacity 0.2s ease;
}

.membership-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.shop-body .logo-center {
    transition: opacity 0.2s ease;
}

.shop-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.about-body .logo-center {
    transition: opacity 0.2s ease;
}

.about-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.login-page {
    padding: 200px 20px 120px 20px;
    max-width: 520px;
    margin: 0 auto;
}

.login-title {
    font-family: var(--font-sans);
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.login-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #111;
    margin-bottom: 26px;
}

.login-desc-note {
    font-size: 0.85rem;
    color: #222;
}

.login-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-sns {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 58px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.7);
    color: #111;
    font-size: 1rem;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.login-sns-icon {
    width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.login-sns-icon--naver {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.login-input {
    width: 100%;
    height: 60px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,0.35);
    background: #fff;
    font-size: 1rem;
    outline: none;
}

.login-input + .login-input {
    border-top: 0;
}

.login-options {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 18px 2px 10px;
}

.login-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #111;
}

.login-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.login-submit {
    width: 100%;
    height: 62px;
    border: 0;
    background: #0f0f0f;
    color: #fff;
    letter-spacing: 0.08em;
    font-size: 1rem;
    cursor: pointer;
}

.login-links {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

.login-link {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.guest-order {
    margin-top: 140px;
}

.guest-order-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.guest-order-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 22px;
}

.guest-order-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.guest-order-input {
    width: 100%;
    height: 62px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,0.7);
    background: #fff;
    font-size: 1rem;
    outline: none;
}

.guest-order-input + .guest-order-input {
    border-top: 0;
}

.guest-order-submit {
    width: 100%;
    height: 68px;
    margin-top: 28px;
    border: 1px solid rgba(0,0,0,0.7);
    background: #fff;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.join-page {
    padding: 190px 48px 140px 48px;
    max-width: 760px;
    margin: 0 auto;
}

.join-body .logo-center {
    transition: opacity 0.2s ease;
}

.join-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.join-row.join-business {
    display: none;
}

.join-body.is-business .join-row.join-business {
    display: grid;
}

.join-row.join-corporate {
    display: none;
}

.join-body.is-corporate .join-row.join-corporate {
    display: grid;
}

.join-form {
    border-top: 0;
    font-family: var(--font-sans);
}

.join-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 12px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    margin-top: 0;
}

.join-section-head--basic {
    margin-top: var(--space-2cm);
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-section-head--sub {
    justify-content: flex-start;
    gap: 14px;
    margin-top: var(--space-2cm);
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.join-required-note {
    font-size: 0.9rem;
    color: #1b4fd6;
    font-weight: 600;
}

.req-dot {
    color: #1b4fd6;
    font-weight: 700;
}

.join-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.join-row--member-type {
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-row--business-type {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.join-body.is-business .join-row--member-type {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.join-body.is-business .join-row--business-type {
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.join-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-help {
    font-size: 0.9rem;
    color: #333;
}

.join-input {
    width: 100%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,0.25);
    background: #fff;
    font-size: 0.95rem;
    outline: none;
}

.join-input--short {
    max-width: 220px;
}

.join-input--mini {
    max-width: 220px;
}

.join-input--birth {
    max-width: 120px;
}

.join-input--corp {
    max-width: 180px;
}

.join-select {
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.25);
    background: #fff;
    font-size: 0.95rem;
}

.join-select--full {
    width: 100%;
}

.join-btn {
    height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(0,0,0,0.25);
    background: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

.join-btn--compact {
    padding: 0 14px;
    white-space: nowrap;
}

.join-corporate-no {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.join-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-address-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.join-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.join-sep {
    font-size: 0.95rem;
    color: #333;
}

.join-inline {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.join-inline--tight {
    gap: 18px;
}

.join-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.join-birth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.join-unit {
    font-size: 0.95rem;
    color: #333;
}

.join-refund {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.join-refund-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-sub-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
}

.join-actions {
    margin-top: var(--space-2cm);
    padding: 0;
    display: flex;
    justify-content: center;
}

.join-submit {
    width: min(520px, 100%);
    height: 54px;
    border: 0;
    background: #0f0f0f;
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.agreement-actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.agree-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #333;
}

.btn-primary {
    border: 1px solid rgba(0,0,0,0.2);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
    .shop-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-grid-2--same-as-4 {
        width: 100%;
    }

    .shop-grid-3--same-as-4 {
        width: 100%;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-gallery {
        grid-template-columns: 72px 1fr;
    }

    .product-thumb {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background-color: transparent;
        padding-bottom: 0;
    }

    .layer-1-visual {
        height: 220vh;
        min-height: 220vh;
    }
    
    .nav-left {
        width: min(82vw, 320px);
        min-height: 100dvh;
        padding: 100px 24px 32px;
        gap: 20px;
    }
    
    .nav-right {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 0;
        margin-top: 0;
    }
    
    .logo-center {
        position: fixed;
        top: 20px;
        left: 50%;
        width: 180px;
        margin: 0;
        text-align: center;
        transform: translateX(-50%);
    }

    .product-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .product-item {
        height: 33.333vh;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .footer-right {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-right-group {
        flex-direction: column;
        gap: 40px;
    }
    
    .shop-grid-4 {
        grid-template-columns: 1fr;
    }

    .shop-grid-2 {
        grid-template-columns: 1fr;
    }

    .shop-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .shop-container {
        padding: 40px 20px 80px 20px; /* Reduced top padding for mobile if header is relative */
    }

    .search-page {
        padding: 120px 20px 80px;
    }

    .search-title {
        font-size: 2rem;
    }

    .search-copy {
        font-size: 0.88rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-submit {
        min-height: 52px;
    }

    .search-summary {
        margin-bottom: 24px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        order: 2;
    }

    .product-thumb {
        width: 64px;
        height: 64px;
    }


    .join-page {
        padding: 150px 20px 120px 20px;
        max-width: 100%;
    }

    .join-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .join-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Mobile Dark Header Override - keep it dark bg, white text for consistency or switch?
       The original mobile media query sets background-color: #333; for .main-header.
       So text should be white.
       We need to make sure .dark-header doesn't force black text on dark background in mobile.
    */
    .dark-header .nav-right a {
        color: var(--color-white); /* Revert to white for mobile menu */
    }

    .menu-drawer {
        top: 20px;
        left: 20px;
    }

    .menu-trigger span,
    .dark-header .menu-trigger span {
        background-color: var(--color-white);
    }

    .nav-left a,
    .dark-header .nav-left a {
        color: var(--color-black);
    }

    .layer-2-bestseller,
    .layer-3-products,
    .layer-4-footer,
    .snap-section {
        min-height: auto;
        height: auto;
    }

    .layer-4-footer {
        display: block;
        padding: 80px 20px;
    }
}
