/* Meehee Hanbok inspired v2 layout */
:root {
    --v2-bg: #f7f6f4;
    --v2-surface: #ffffff;
    --v2-text: #2b2927;
    --v2-muted: #77716b;
    --v2-border: #e5e1dc;
    --v2-accent: #1f1d1b;
}

body.v2-layout {
    margin: 0;
    background: var(--v2-bg);
    color: var(--v2-text);
    font-family: "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.01em;
    --v2-header-offset: 88px;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

body.v2-layout a {
    color: inherit;
}

/* 모바일 당겨서 새로고침 인디케이터 */
.v2-pull-refresh {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 400;
    transform: translate(-50%, -120%);
    min-width: 148px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    color: #333;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.v2-pull-refresh.is-visible {
    opacity: 1;
}

.v2-pull-refresh.is-ready {
    color: #5b4b8a;
}

.v2-announcement {
    min-height: 31px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--v2-border);
    background: #fbfaf8;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.v2-announcement-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.v2-announcement-link {
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-announcement-spacer {
    flex: 1;
}

.v2-arrow {
    margin-left: 10px;
}

.v2-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    letter-spacing: 0.06em;
    font-size: 12px;
}

.v2-lang-toggle a {
    text-decoration: none;
    color: #9a948c;
    padding: 3px 2px;
    border-bottom: 1.5px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.v2-lang-toggle a:hover {
    color: #3a342e;
}

.v2-lang-toggle a.active {
    color: #1a1510;
    font-weight: 700;
    border-bottom-color: #1a1510;
}

.v2-lang-toggle-sep {
    color: #d0cbc3;
    font-weight: 400;
}

.v2-header {
    background: var(--v2-bg);
    border-bottom: 1px solid var(--v2-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.v2-header-inner {
    max-width: 1280px;
    min-height: 88px;
    margin: 0 auto;
    padding: 0 56px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.v2-primary-nav,
.v2-header-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.v2-primary-nav a,
.v2-header-link,
.v2-icon-link,
.v2-cart-link {
    border: 0;
    background: transparent;
    color: var(--v2-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
}

.v2-primary-nav a:hover,
.v2-primary-nav a.active,
.v2-header-link:hover,
.v2-icon-link:hover,
.v2-cart-link:hover {
    color: var(--v2-text);
}

.v2-nav-dropdown {
    position: static;
}

.v2-dropdown-trigger {
    border: 0;
    background: transparent;
    color: var(--v2-muted);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.v2-dropdown-trigger:hover,
.v2-nav-dropdown.is-open .v2-dropdown-trigger {
    color: var(--v2-text);
}

.v2-dropdown-trigger::after {
    content: "⌄";
    margin-left: 7px;
    font-size: 11px;
}

.v2-nav-dropdown.is-open .v2-dropdown-trigger::after {
    content: "⌃";
}

.v2-mega-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--v2-bg);
    border-top: 1px solid var(--v2-border);
    border-bottom: 1px solid var(--v2-border);
    box-shadow: 0 16px 24px rgba(30, 28, 26, 0.04);
    padding-top: 12px;
}

.v2-mega-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.v2-nav-dropdown.is-open .v2-mega-menu {
    display: block;
}

/* PC 로고와 히어로 사이의 접이식 메뉴 바 */
.v2-peek-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--v2-border);
    background: var(--v2-bg);
}

.v2-peek-toggle {
    width: 100%;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--v2-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.v2-peek-nav:hover .v2-peek-toggle,
.v2-peek-nav.is-open .v2-peek-toggle {
    color: var(--v2-text);
}

.v2-peek-arrow {
    display: inline-flex;
    transition: transform 0.28s ease;
}

.v2-peek-nav:hover .v2-peek-arrow,
.v2-peek-nav.is-open .v2-peek-arrow {
    transform: rotate(180deg);
}

.v2-peek-menu.v2-primary-nav {
    width: 100%;
    justify-content: center;
    gap: 30px;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.22s ease, padding 0.3s ease;
}

.v2-peek-nav:hover .v2-peek-menu.v2-primary-nav,
.v2-peek-nav.is-open .v2-peek-menu.v2-primary-nav {
    max-height: 160px;
    padding: 4px 0 14px;
    overflow: visible;
    opacity: 1;
}

/* 화살표 클릭으로 강제로 닫은 상태 (호버보다 우선) */
.v2-peek-nav.is-collapsed .v2-peek-menu.v2-primary-nav {
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.v2-peek-nav.is-collapsed .v2-peek-arrow {
    transform: none !important;
}

.v2-mega-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 56px 30px;
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 34px;
}

.v2-mega-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.v2-mega-column a {
    color: var(--v2-muted);
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
}

.v2-mega-column .v2-mega-title {
    color: var(--v2-text);
    margin-bottom: 5px;
}

.v2-logo {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.v2-brand-mark {
    display: block;
    height: 80px;
    width: auto;
    max-width: 182px;
    object-fit: contain;
    background: transparent;
    opacity: 0.92;
}

.v2-brand-mark-footer {
    height: 31px;
    max-width: 88px;
    margin: 0 auto;
    opacity: 0.82;
}

.v2-logo-hanbok,
.v2-logo-jewelry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.v2-logo-mark {
    min-width: 76px;
    min-height: 76px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #8b3a3a;
    color: #8b3a3a;
    background: #fffdfb;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-align: center;
}

body.v2-layout.company-1 .v2-logo-mark {
    border-color: #b8860b;
    color: #b8860b;
    font-size: 22px;
}

.v2-logo-caption {
    color: #8b3a3a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body.v2-layout.company-1 .v2-logo-caption {
    color: #b8860b;
}

.v2-logo-image {
    display: block;
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

body.v2-layout.company-2 .v2-logo-image {
    height: 48px;
    max-width: 176px;
}

.v2-header-right {
    grid-column: 3;
    justify-content: flex-end;
}

.v2-search-wrap {
    position: relative;
}

.v2-search-toggle {
    border: 0;
    background: transparent;
    color: var(--v2-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.v2-header.is-search-open .v2-header-inner {
    display: none;
}

.v2-search-bar {
    background: var(--v2-bg);
    border-bottom: 1px solid var(--v2-border);
    padding: 32px 56px 40px;
}

.v2-search-bar[hidden] {
    display: none !important;
}

.v2-search-bar-row {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.v2-search-field {
    flex: 1 1 auto;
    position: relative;
    display: block;
    border: 1px solid var(--v2-text);
    background: #fff;
}

.v2-search-field input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    font-size: 15px;
    padding: 14px 48px 14px 18px;
    outline: none;
    color: var(--v2-text);
}

.v2-search-field input[type="search"]::placeholder {
    color: #9a948c;
}

.v2-search-submit {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--v2-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.v2-search-close {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--v2-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.v2-chat-toggle {
    border: 0;
    background: transparent;
    color: var(--v2-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    text-decoration: none;
}

/* 채팅형 쇼핑 도우미 전용 페이지 */
.v2-chat-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

.v2-chat-page-head {
    margin-bottom: 20px;
    text-align: center;
}

.v2-chat-page-head h1 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 400;
}

.v2-chat-page-head p {
    margin: 0;
    color: var(--v2-muted);
    font-size: 14px;
    line-height: 1.6;
}

.v2-chat-page-categories {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-chat-page-categories-label {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--v2-muted);
}

.v2-chat-page-categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.v2-chat-page-categories-scroll::-webkit-scrollbar {
    display: none;
}

.v2-chat-page-cat-chip {
    flex: 0 0 auto;
    border: 1px solid var(--v2-border);
    background: #fff;
    color: var(--v2-text);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}

.v2-chat-page-cat-chip:hover {
    background: var(--v2-text);
    color: #fff;
}

.v2-chat-page-shell {
    max-width: 760px;
    margin: 0 auto;
}

.v2-chat-page-conversation {
    display: flex;
    flex-direction: column;
    min-height: min(72vh, 760px);
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    overflow: hidden;
    background: #faf9f7;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.v2-chat-page-messages {
    flex: 1;
    min-height: 420px;
    overflow-y: auto;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-chat-page-form {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid var(--v2-border);
    background: #fff;
}

.v2-chat-page-form input {
    flex: 1;
    border: 1px solid var(--v2-border);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
}

.v2-chat-page-form button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--v2-text);
    color: #fff;
    padding: 0 18px;
    font-size: 13px;
    cursor: pointer;
}

.v2-chat-page-form button:disabled,
.v2-chat-page-form input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.v2-chat-page .v2-chat-bot-wrap {
    align-self: flex-start;
    max-width: 100%;
    width: 100%;
}

.v2-chat-page .v2-chat-bubble {
    max-width: 88%;
}

.v2-chat-page .v2-chat-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.v2-chat-product-category {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f3ece4;
    color: #6b4f2d;
    font-size: 10px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .v2-chat-page .v2-chat-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .v2-chat-page {
        padding: 20px 14px 48px;
    }

    .v2-chat-page-categories {
        flex-direction: column;
        align-items: flex-start;
    }

    .v2-chat-page-conversation {
        min-height: calc(100vh - 240px);
        border-radius: 14px;
    }

    .v2-chat-page-messages {
        min-height: 320px;
        padding: 16px 14px;
    }
}

/* 맞춤 문의 */
.v2-inquiry-toggle {
    border: 0;
    background: transparent;
    color: var(--v2-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    text-decoration: none;
}

.v2-inquiry-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 32px 24px 72px;
}

.v2-inquiry-hero {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-inquiry-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #9b7a4d;
}

.v2-inquiry-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 400;
}

.v2-inquiry-sub,
.v2-inquiry-note {
    margin: 0;
    color: var(--v2-muted);
    line-height: 1.6;
    font-size: 14px;
}

.v2-inquiry-note { margin-top: 8px; }

.v2-inquiry-error {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff4f4;
    color: #b42318;
    font-size: 14px;
}

.v2-inquiry-section {
    margin-bottom: 28px;
    padding: 22px 20px;
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    background: #fff;
}

.v2-inquiry-section h2 {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 600;
}

.v2-inquiry-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.v2-inquiry-chip { display: block; cursor: pointer; }
.v2-inquiry-chip input { position: absolute; opacity: 0; pointer-events: none; }
.v2-inquiry-chip span {
    display: block;
    padding: 12px 10px;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
}
.v2-inquiry-chip input:checked + span {
    border-color: var(--v2-text);
    background: #faf9f7;
    font-weight: 600;
}

.v2-inquiry-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.v2-inquiry-row:last-child { margin-bottom: 0; }

.v2-inquiry-field { display: flex; flex-direction: column; gap: 8px; }
.v2-inquiry-field--wide { grid-column: 1 / -1; }
.v2-inquiry-label { font-size: 13px; color: var(--v2-muted); }
.v2-inquiry-label em { color: #b42318; font-style: normal; }

.v2-inquiry-input,
.v2-inquiry-select,
.v2-inquiry-textarea,
.v2-inquiry-file {
    width: 100%;
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.v2-inquiry-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-inquiry-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }

.v2-inquiry-size-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v2-inquiry-size-methods .v2-inquiry-chip span {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    line-height: 1.45;
}

.v2-inquiry-guide {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #faf9f7;
    font-size: 13px;
    color: var(--v2-muted);
}

.v2-inquiry-guide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.v2-inquiry-guide-head strong {
    color: var(--v2-text);
    font-size: 14px;
}

.v2-inquiry-measure-gender {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.v2-inquiry-guide-layout {
    display: block;
}

.v2-inquiry-guide-text pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.7;
}

.v2-inquiry-measure-caption {
    margin: 0;
    font-size: 12px;
    color: var(--v2-muted);
}

.v2-inquiry-measure-figure {
    display: none;
    margin: 0;
}

.v2-inquiry-measure-figure img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--v2-border);
    background: #fff;
}

.v2-inquiry-measure-inputs {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--v2-border);
}

.v2-inquiry-measure-inputs-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--v2-text);
}

.v2-inquiry-measure-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.v2-inquiry-measure-inputs .v2-inquiry-input {
    padding: 9px 10px;
    font-size: 13px;
}

@media (min-width: 900px) {
    .v2-inquiry-guide-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 20px;
        align-items: start;
    }

    .v2-inquiry-measure-figure {
        display: block;
    }

    .v2-inquiry-measure-inputs {
        display: block;
    }

    .v2-inquiry-guide-side {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}

.v2-inquiry-size-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-inquiry-privacy { margin: 0 0 16px; font-size: 12px; color: var(--v2-muted); }
.v2-inquiry-actions { display: flex; justify-content: flex-end; }
.v2-inquiry-submit {
    border: 0;
    border-radius: 999px;
    background: var(--v2-text);
    color: #fff;
    padding: 14px 28px;
    font-size: 14px;
    cursor: pointer;
}

.v2-inquiry-complete {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}
.v2-inquiry-complete-box {
    text-align: center;
    max-width: 480px;
    padding: 40px 24px;
    border: 1px solid var(--v2-border);
    border-radius: 16px;
    background: #fff;
}
.v2-inquiry-complete-box h1 { margin: 0 0 12px; font-size: 28px; font-weight: 400; }
.v2-inquiry-complete-box p { margin: 0 0 24px; color: var(--v2-muted); line-height: 1.7; }
.v2-inquiry-complete-link {
    display: inline-block;
    margin: 0 6px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--v2-text);
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
}
.v2-inquiry-complete-link--ghost {
    background: transparent;
    color: var(--v2-text) !important;
    border: 1px solid var(--v2-text);
}

@media (max-width: 768px) {
    .v2-inquiry-chip-grid,
    .v2-inquiry-size-methods,
    .v2-inquiry-size-grid { grid-template-columns: 1fr; }
    .v2-inquiry-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .v2-inquiry-page { padding: 24px 16px 56px; }
}

/* 채팅형 상품 검색 패널 (레거시) */
.v2-chat-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 16, 0.42);
    z-index: 210;
}

.v2-chat-backdrop[hidden] {
    display: none !important;
}

.v2-chat-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(92vw, 420px);
    z-index: 220;
    background: #fff;
    border-left: 1px solid var(--v2-border);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.v2-chat-panel[hidden] {
    display: none !important;
}

body.v2-chat-open {
    overflow: hidden;
}

.v2-chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 18px 14px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-chat-head strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.v2-chat-head p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--v2-muted);
}

.v2-chat-close {
    border: 0;
    background: transparent;
    color: var(--v2-text);
    cursor: pointer;
    padding: 4px;
}

.v2-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #faf9f7;
}

.v2-chat-bubble {
    max-width: 92%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.v2-chat-bubble--bot {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--v2-border);
    color: var(--v2-text);
}

.v2-chat-bubble--user {
    align-self: flex-end;
    background: var(--v2-text);
    color: #fff;
}

.v2-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.v2-chat-action {
    border: 1px solid var(--v2-text);
    background: #fff;
    color: var(--v2-text);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.v2-chat-action:hover {
    background: var(--v2-text);
    color: #fff;
}

.v2-chat-action--primary {
    background: var(--v2-text);
    color: #fff;
}

.v2-chat-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.v2-chat-product {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    overflow: hidden;
}

.v2-chat-product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f3f3f3;
    display: block;
}

.v2-chat-product-info {
    padding: 8px 10px 10px;
}

.v2-chat-product-name {
    margin: 0 0 4px;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-chat-product-price {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.v2-chat-product-sold {
    display: inline-block;
    margin-top: 4px;
    font-size: 10px;
    color: #b42318;
}

.v2-chat-form {
    display: flex;
    gap: 8px;
    padding: 12px 14px 16px;
    border-top: 1px solid var(--v2-border);
    background: #fff;
}

.v2-chat-form input {
    flex: 1;
    border: 1px solid var(--v2-border);
    border-radius: 999px;
    padding: 11px 14px;
    font-size: 14px;
}

.v2-chat-form button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--v2-text);
    color: #fff;
    padding: 0 16px;
    font-size: 13px;
    cursor: pointer;
}

.v2-chat-form button:disabled,
.v2-chat-form input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.v2-chat-typing {
    align-self: flex-start;
    font-size: 12px;
    color: var(--v2-muted);
    padding: 4px 2px;
}

.v2-icon-link,
.v2-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--v2-text);
}

.v2-cart-link {
    position: relative;
    font-size: 23px;
    color: var(--v2-text);
}

.v2-cart-link em {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 999px;
    background: var(--v2-text);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    font-style: normal;
}

.v2-mobile-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 40px;
    height: 40px;
    padding: 8px 6px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: var(--v2-text);
}

.v2-mobile-menu-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.v2-mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 16, 0.42);
    z-index: 180;
}

.v2-mobile-nav-backdrop[hidden] {
    display: none !important;
}

.v2-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(92vw, 360px);
    background: #fff;
    border-right: 1px solid #eceef2;
    z-index: 190;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 8px 0 28px rgba(0, 0, 0, 0.08);
}

.v2-mobile-nav[hidden] {
    display: none !important;
}

.v2-mobile-nav-instagram {
    flex-shrink: 0;
    border-bottom: 1px solid var(--v2-border);
    background: #fbfaf8;
}

.v2-mobile-nav-instagram-link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--v2-text);
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

.v2-mobile-nav-instagram-link .v2-arrow {
    margin-left: 2px;
}

.v2-mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 14px 16px 18px;
    border-bottom: 1px solid #f0f1f3;
    background: #fff;
}

.v2-mobile-nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--v2-text);
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-lang-toggle--mobile {
    flex-shrink: 0;
    gap: 6px;
    font-size: 11px;
}

.v2-mobile-nav-close {
    border: 0;
    background: transparent;
    color: var(--v2-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.v2-mobile-nav-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 0 28px;
}

.v2-mobile-shortcuts {
    padding: 18px 16px 8px;
}

.v2-mobile-shortcuts-title,
.v2-mobile-nav-list-title {
    margin: 0 0 12px;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--v2-text);
    letter-spacing: -0.01em;
}

.v2-mobile-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 8px;
}

.v2-mobile-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--v2-text);
    min-width: 0;
}

.v2-mobile-shortcut-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f5f3ff;
    border: 1px solid #ebe6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--v2-text);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.v2-mobile-shortcut:hover .v2-mobile-shortcut-icon,
.v2-mobile-shortcut:active .v2-mobile-shortcut-icon {
    background: #ebe6ff;
    border-color: #ddd5ff;
}

.v2-mobile-shortcut-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    font-style: normal;
}

.v2-mobile-shortcut-label {
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    color: #333;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.v2-mobile-nav-list {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 8px solid #f5f6f8;
}

.v2-mobile-nav-list-title {
    padding: 12px 20px 4px;
    margin-bottom: 0;
    color: #888;
    font-weight: 600;
    font-size: 12px;
}

.v2-mobile-nav-body > a,
.v2-mobile-nav-list > a {
    display: block;
    padding: 15px 20px;
    color: var(--v2-text);
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #f0f1f3;
}

.v2-mobile-nav-body > a:hover,
.v2-mobile-nav-body > a.active,
.v2-mobile-nav-list > a:hover,
.v2-mobile-nav-list > a.active {
    background: rgba(0, 0, 0, 0.03);
}

.v2-mobile-accordion {
    border-bottom: 1px solid #f0f1f3;
}

.v2-mobile-accordion-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--v2-text);
    font-size: 15px;
    text-align: left;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
}

.v2-mobile-accordion-trigger::after {
    content: "⌄";
    font-size: 12px;
    color: var(--v2-muted);
    transition: transform 0.2s ease;
}

.v2-mobile-accordion.is-open .v2-mobile-accordion-trigger::after {
    transform: rotate(180deg);
}

.v2-mobile-accordion-panel {
    padding: 0 12px 12px 20px;
}

.v2-mobile-accordion-panel[hidden] {
    display: none !important;
}

.v2-mobile-submenu-group {
    margin-bottom: 10px;
}

.v2-mobile-submenu-title,
.v2-mobile-accordion-panel > a {
    display: block;
    padding: 8px 0;
    color: var(--v2-text);
    font-size: 14px;
}

.v2-mobile-submenu-group > a {
    display: block;
    padding: 6px 0 6px 12px;
    color: var(--v2-muted);
    font-size: 13px;
}

body.v2-mobile-nav-open {
    overflow: hidden;
}

.v2-viewer360-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    border: 1px solid var(--v2-border);
    background: transparent;
    color: var(--v2-muted);
    font-size: 12px;
    padding: 8px 12px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.v2-viewer360-btn[aria-busy="true"] {
    opacity: 0.82;
}

.v2-viewer360-btn.is-ready::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4caf7d;
    margin-left: 2px;
}

.v2-viewer360-btn:hover {
    color: var(--v2-text);
    border-color: var(--v2-text);
}

.v1-viewer360-btn {
    margin-top: 12px;
}

.viewer360-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.viewer360-modal[hidden] {
    display: none !important;
}

.viewer360-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 14, 12, 0.72);
    cursor: default;
}

.viewer360-backdrop.is-locked {
    pointer-events: none;
}

.viewer360-modal.is-loading-locked .viewer360-close {
    z-index: 20;
}

.viewer360-dialog {
    position: relative;
    width: min(96vw, 580px);
    max-height: 94vh;
    background: #fff;
    border: 1px solid var(--v2-border);
    border-radius: 4px;
    padding: 16px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    box-shadow: 0 24px 64px rgba(16, 14, 12, 0.28);
}

.viewer360-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px 0 12px;
    border: 1px solid rgba(16, 14, 12, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #1a1612;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(16, 14, 12, 0.22);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.viewer360-close:hover {
    background: #1a1612;
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 6px 22px rgba(16, 14, 12, 0.28);
}

.viewer360-close:focus-visible {
    outline: 2px solid #5b8ec4;
    outline-offset: 2px;
}

.viewer360-close svg {
    flex-shrink: 0;
}

.viewer360-close-label {
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .viewer360-close {
        top: 8px;
        right: 8px;
        padding: 0;
        width: 44px;
        justify-content: center;
    }

    .viewer360-close-label {
        display: none;
    }
}

.viewer360-stage {
    position: relative;
    width: 100%;
    height: min(88vh, 760px);
    min-height: 480px;
    background: #f7f4ef;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
    border-radius: 2px;
}

.viewer360-spin {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5%;
    right: 5%;
    overflow: hidden;
    background: #fff;
    isolation: isolate;
}

.viewer360-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    background: #fff;
    user-select: none;
    -webkit-user-drag: none;
    backface-visibility: hidden;
    z-index: 2;
}

.viewer360-frame.viewer360-frame--standby {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.viewer360-unavailable {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    background: rgba(247, 244, 239, 0.96);
}

.viewer360-unavailable[hidden] {
    display: none !important;
}

.viewer360-unavailable p {
    margin: 0;
    font-size: 14px;
    color: var(--v2-text);
}

.viewer360-unavailable-sub {
    font-size: 12px !important;
    color: var(--v2-muted) !important;
}

.viewer360-stage.is-unavailable {
    cursor: default;
}

.viewer360-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #5b8ec4;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.viewer360-ring {
    display: none;
}

.viewer360-controls {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2%;
    pointer-events: none;
}

.viewer360-controls[hidden] {
    display: none !important;
}

.viewer360-step-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1612;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(16, 14, 12, 0.18);
    transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.88;
}

.viewer360-step-btn svg {
    display: block;
}

.viewer360-step-btn:hover {
    background: #fff;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(16, 14, 12, 0.22);
}

.viewer360-step-btn:active {
    transform: scale(0.96);
    box-shadow: 0 1px 6px rgba(16, 14, 12, 0.16);
}

.viewer360-step-btn:focus-visible {
    outline: 2px solid #5b8ec4;
    outline-offset: 2px;
}

.viewer360-stage.is-loading .viewer360-controls,
.viewer360-stage.is-unavailable .viewer360-controls {
    visibility: hidden;
}

.viewer360-drag-hint {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 14, 12, 0.58);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.02em;
    pointer-events: none;
    transition: opacity 0.25s ease;
    white-space: nowrap;
}

.viewer360-drag-hint.is-hidden {
    opacity: 0;
}

.viewer360-stage.is-dragging {
    cursor: grabbing;
}

.viewer360-stage.is-dragging .viewer360-drag-hint {
    opacity: 0;
}

.viewer360-stage.is-loading .viewer360-spin,
.viewer360-stage.is-loading .viewer360-badge,
.viewer360-stage.is-loading .viewer360-drag-hint {
    visibility: hidden;
}

.viewer360-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 244, 239, 0.94);
}

.viewer360-loading[hidden] {
    display: none !important;
}

.viewer360-loading-inner {
    width: min(78%, 320px);
    text-align: center;
}

.viewer360-loading-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    border: 2px solid rgba(91, 142, 196, 0.2);
    border-top-color: #5b8ec4;
    border-radius: 50%;
    animation: viewer360-spin 0.85s linear infinite;
}

.viewer360-loading-text {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--v2-text);
    letter-spacing: 0.02em;
}

.viewer360-loading-sub {
    margin: 0 0 14px;
    font-size: 11px;
    color: var(--v2-muted);
}

.viewer360-loading-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(16, 14, 12, 0.08);
    overflow: hidden;
}

.viewer360-loading-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5b8ec4, #7aa8d8);
    transition: width 0.18s ease;
}

@keyframes viewer360-spin {
    to {
        transform: rotate(360deg);
    }
}

.viewer360-hint {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: var(--v2-muted);
}

body.viewer360-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .viewer360-dialog {
        width: min(96vw, 100%);
        padding: 16px 12px 12px;
    }

    .viewer360-stage {
        height: min(72vh, 680px);
        min-height: 420px;
    }

    .viewer360-controls {
        padding: 0 6px;
    }

    .viewer360-step-btn {
        width: 48px;
        height: 48px;
    }

    .viewer360-step-btn svg {
        width: 24px;
        height: 24px;
    }

    .viewer360-drag-hint {
        bottom: 14px;
        font-size: 11px;
        max-width: calc(100% - 32px);
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }

    .v2-viewer360-btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

.v2-main {
    min-height: 60vh;
}

.v2-main:has(.ai-exp-page) {
    min-height: 0;
}

.v2-home-visual {
    border-bottom: 1px solid var(--v2-border);
}

.v2-hero-button--disabled {
    pointer-events: none;
    cursor: default;
}

.v2-hero-viewer {
    position: relative;
}

.v2-hero-stage {
    position: relative;
    height: min(55vw, 540px);
    min-height: 310px;
    overflow: hidden;
    background: #111;
    cursor: url('/img/logo-cursor.png') 0 0, grab;
    cursor: -webkit-image-set(url('/img/logo-cursor.png') 1x, url('/img/logo-cursor@2x.png') 2x) 0 0, grab;
    cursor: image-set(url('/img/logo-cursor.png') 1x, url('/img/logo-cursor@2x.png') 2x) 0 0, grab;
}

.v2-hero-stage .v2-hero-button,
.v2-hero-stage .v2-hero-pan-btn {
    cursor: pointer;
}

.v2-home-visual-hanbok .v2-hero-stage,
body.v2-layout.company-2 .v2-hero-stage {
    height: min(72vw, 680px);
    min-height: 420px;
    max-height: 720px;
}

.v2-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.v2-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.v2-hero-pan-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: url('/img/logo-cursor.png') 0 0, grab;
    cursor: -webkit-image-set(url('/img/logo-cursor.png') 1x, url('/img/logo-cursor@2x.png') 2x) 0 0, grab;
    cursor: image-set(url('/img/logo-cursor.png') 1x, url('/img/logo-cursor@2x.png') 2x) 0 0, grab;
    touch-action: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.v2-hero-pan-wrap::-webkit-scrollbar {
    display: none;
}

.v2-hero-pan-wrap.is-dragging {
    cursor: grabbing;
}

.v2-hero-pan-wrap:focus {
    outline: none;
}

.v2-hero-pan-wrap:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: -2px;
}

.v2-hero-pan-wrap img,
.v2-hero-pan-wrap .v2-hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 50%;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.v2-hero-pan-wrap .v2-hero-video {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.v2-home-visual-hanbok .v2-hero-pan-wrap img,
.v2-home-visual-hanbok .v2-hero-pan-wrap .v2-hero-video,
body.v2-layout.company-2 .v2-hero-pan-wrap img,
body.v2-layout.company-2 .v2-hero-pan-wrap .v2-hero-video {
    object-position: center 50%;
}

.v2-hero-pan-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.65;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.45);
    transition: opacity 0.2s ease;
}

.v2-hero-pan-btn:hover {
    background: transparent;
    opacity: 1;
}

.v2-hero-pan-up {
    left: 18px;
}

.v2-hero-pan-down {
    right: 18px;
}

.v2-list-category-strip {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 56px 0;
}

.v2-hero-button {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 4;
    transform: translateX(-50%);
    padding: 14px 40px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #ffffff !important;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.5);
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a.v2-hero-button:hover {
    border-color: #fff;
    opacity: 0.92;
}

/* 설유화 히어로 CTA: 투명·흰색 마크, 영상 하단에 밀착 */
.v2-hero-button--mark {
    padding: 0;
    border: 0;
    background: transparent;
    text-shadow: none;
    line-height: 0;
    width: clamp(88px, 12vw, 120px);
    height: auto;
    aspect-ratio: 511 / 588;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    bottom: 8px !important;
    opacity: 1 !important;
}

.v2-hero-button--mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
    opacity: 1 !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45))
            drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

a.v2-hero-button--mark:hover,
a.v2-hero-button--mark:hover img {
    border: 0;
    opacity: 1 !important;
}

a.v2-hero-button--mark:hover {
    transform: translateX(-50%) scale(1.04);
}

@media (max-width: 1024px) {
    .v2-hero-button--mark {
        width: clamp(72px, 20vw, 100px);
        bottom: 8px !important;
        opacity: 1 !important;
    }
}

/* PC: 첫 진입(immersive)일 때만 히어로 로고 표시 — 스크롤/클릭 후 숨김 */
@media (min-width: 1025px) {
    body.v2-layout:not(.v2-hero-immersive) .v2-hero-button--mark {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* PC: 진입 시 헤더 숨김 + 뷰포트 세로 기준 원본 비율 히어로 */
@media (min-width: 1025px) {
    body.v2-hero-immersive {
        overflow-x: hidden;
    }

    body.v2-hero-immersive .v2-announcement {
        max-height: 0;
        min-height: 0;
        overflow: hidden;
        opacity: 0;
        border: 0;
        pointer-events: none;
        visibility: hidden;
    }

    body.v2-hero-immersive .v2-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        border: 0;
    }

    .v2-home-visual--fill .v2-hero-viewer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        background: #fff;
        overflow: hidden;
    }

    body.v2-hero-immersive .v2-home-visual--fill .v2-hero-viewer {
        min-height: 100dvh;
    }

    .v2-home-visual--fill .v2-hero-stage,
    .v2-home-visual--fill.v2-home-visual-hanbok .v2-hero-stage,
    body.v2-layout.company-2 .v2-home-visual--fill .v2-hero-stage {
        width: var(--v2-hero-w, min(100vw, calc(100dvh * 16 / 9)));
        height: var(--v2-hero-h, 100dvh);
        max-width: 100vw;
        min-height: 0;
        max-height: none;
        margin: 0 auto;
        background: #fff;
    }

    body.v2-hero-immersive .v2-home-visual--fill .v2-hero-stage,
    body.v2-hero-immersive .v2-home-visual--fill.v2-home-visual-hanbok .v2-hero-stage,
    body.v2-hero-immersive.v2-layout.company-2 .v2-home-visual--fill .v2-hero-stage {
        height: var(--v2-hero-h, 100dvh);
    }

    /* 원본 비율 유지 — 크롭 없음 */
    .v2-home-visual--fill .v2-hero-pan-wrap img,
    .v2-home-visual--fill .v2-hero-pan-wrap .v2-hero-video,
    .v2-home-visual--fill.v2-home-visual-hanbok .v2-hero-pan-wrap img,
    .v2-home-visual--fill.v2-home-visual-hanbok .v2-hero-pan-wrap .v2-hero-video,
    body.v2-layout.company-2 .v2-home-visual--fill .v2-hero-pan-wrap img,
    body.v2-layout.company-2 .v2-home-visual--fill .v2-hero-pan-wrap .v2-hero-video {
        object-fit: contain;
        object-position: center center;
    }
}

.v2-category-strip {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 56px 8px;
    display: flex;
    gap: 26px;
    overflow-x: auto;
}

.v2-category-strip a {
    color: var(--v2-muted);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.v2-home-products,
.v2-products-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 56px 70px;
}

.v2-home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.v2-home-section-head h1,
.v2-products-header h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 400;
    line-height: 1.2;
}

.v2-home-section-head a {
    color: var(--v2-muted);
    font-size: 13px;
    text-decoration: underline;
}

.v2-products-toolbar {
    margin: 64px 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--v2-muted);
    font-size: 13px;
}

.v2-filter,
.v2-sort {
    display: flex;
    align-items: center;
    gap: 18px;
}

.v2-filter button,
.v2-sort button {
    border: 0;
    background: transparent;
    color: var(--v2-muted);
    cursor: default;
    font-size: 13px;
}

.v2-catalog-toolbar {
    width: 100%;
}

.v2-catalog-select {
    border: 0;
    background: transparent;
    color: var(--v2-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.v2-catalog-select:focus {
    outline: none;
    color: var(--v2-text);
}

.v2-category-strip a.active {
    color: var(--v2-text);
    text-decoration: underline;
}

.v2-pagination {
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--v2-muted);
    font-size: 13px;
}

.v2-pagination a {
    color: var(--v2-text);
    text-decoration: underline;
}

.v2-footer-logo-text {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--v2-text);
    letter-spacing: 0.04em;
}

.v2-sort em {
    font-style: normal;
}

.v2-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 10px;
}

.v2-product-card {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.v2-product-image {
    position: relative;
    height: 420px;
    margin-bottom: 14px;
    background: #eeeae5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.v2-product-card:hover .v2-product-image img {
    transform: scale(1.015);
}

.v2-no-image {
    color: #9b9690;
    font-size: 12px;
}

.v2-product-image .v2-sold-out {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    font-size: 11px;
}

.v2-product-name {
    margin: 0 0 9px;
    color: #4a4642;
    font-size: 14px;
    line-height: 1.45;
}

.v2-product-price {
    margin: 0;
    color: #2f2c29;
    font-size: 15px;
}

.v2-story-band {
    max-width: 780px;
    margin: 0 auto 80px;
    padding: 0 56px;
    text-align: center;
    color: var(--v2-muted);
    font-size: 16px;
    line-height: 1.8;
}

.v2-product-detail-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 56px 80px;
}

.v2-product-detail-page .detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 56px;
    align-items: start;
}

.v2-detail-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.v2-detail-image-cell {
    min-height: 560px;
    background: #eeeae5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.v2-detail-image-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.v2-detail-empty {
    min-height: 520px;
    background: #eeeae5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Detail gallery: thumbnails + draggable stage ===== */
.v2-detail-gallery {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.v2-detail-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 72px;
    width: 72px;
    max-height: 700px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.v2-detail-thumb {
    padding: 0;
    border: 1px solid transparent;
    background: #eeeae5;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    opacity: 0.55;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}

.v2-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.v2-detail-thumb:hover {
    opacity: 1;
}

.v2-detail-thumb.is-active {
    border-color: var(--v2-text);
    opacity: 1;
}

.v2-detail-stage {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eeeae5;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.v2-detail-stage:focus {
    outline: none;
}

.v2-detail-stage.is-dragging {
    cursor: grabbing;
}

.v2-detail-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.v2-detail-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.v2-detail-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.v2-detail-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.v2-detail-bars {
    display: none;
}

.v2-product-detail-page .detail-info {
    position: sticky;
    top: 154px;
    padding-top: 8px;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--v2-muted);
}

.product-breadcrumb a {
    color: var(--v2-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-breadcrumb a:hover {
    color: var(--v2-text, #222);
    text-decoration: underline;
}

.product-breadcrumb .crumb-current {
    color: var(--v2-text, #222);
    font-weight: 500;
}

.product-breadcrumb .crumb-sep {
    color: #ccc;
}

.v2-product-detail-page .brand {
    display: block;
    margin-bottom: 12px;
    color: var(--v2-muted);
    font-size: 13px;
}

.v2-product-detail-page .detail-info h1 {
    margin: 0 0 18px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
}

.v2-product-detail-page .summary {
    color: var(--v2-muted);
    line-height: 1.7;
}

.v2-product-detail-page .price-block {
    margin: 22px 0 28px;
}

.v2-product-detail-page .sale-price {
    font-size: 18px;
    font-weight: 400;
}

.v2-product-detail-page .original {
    margin-right: 8px;
    color: #999;
    text-decoration: line-through;
}

.v2-product-detail-page .stock-info {
    color: var(--v2-muted);
    font-size: 13px;
}

.v2-product-detail-page .stock-info.sold {
    color: #a94442;
}

.v2-product-detail-page .option-group {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: transparent;
}

.v2-product-detail-page .option-group-title {
    margin: 0 0 12px;
    color: var(--v2-text);
    font-size: 14px;
    font-weight: 400;
}

.v2-product-detail-page .option-row {
    margin-bottom: 16px;
}

.v2-product-detail-page .option-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--v2-muted);
    font-size: 13px;
}

.v2-product-detail-page .quantity-row label {
    display: block;
    margin-bottom: 8px;
    color: var(--v2-muted);
    font-size: 13px;
}

.option-required-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 20px;
    padding: 0 6px;
    border-radius: 2px;
    background: #f3ece4;
    color: #8b2f2f;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.v2-product-detail-page select,
.v2-product-detail-page input[type="number"] {
    width: 100%;
    height: 46px;
    border: 1px solid #b9b3ad;
    border-radius: 0;
    background: transparent;
    color: var(--v2-text);
    font-size: 14px;
}

.v2-product-detail-page .product-option-select.is-invalid {
    border-color: #b91c1c;
    box-shadow: 0 0 0 1px #b91c1c;
}

.v2-product-detail-page .option-error {
    margin: 7px 0 0;
    color: #b91c1c;
    font-size: 12px;
}

.v2-quantity-box {
    max-width: 112px;
}

.v2-product-detail-page .action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

.v2-product-detail-page .btn-primary,
.v2-product-detail-page .btn-secondary {
    width: 100%;
    height: 48px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.v2-product-detail-page .btn-primary {
    border: 1px solid var(--v2-text);
    background: var(--v2-text);
    color: #fff;
}

.v2-product-detail-page .btn-secondary {
    border: 1px solid var(--v2-text);
    background: transparent;
    color: var(--v2-text);
}

.v2-product-detail-page .delivery-info {
    margin-top: 34px;
    color: var(--v2-muted);
    font-size: 13px;
    line-height: 1.7;
}

.v2-product-detail-page .detail-tabs {
    max-width: 820px;
    margin-top: 72px;
}

.v2-product-detail-page .detail-section {
    padding: 28px 0;
    border-top: 1px solid var(--v2-border);
}

.v2-product-detail-page .detail-section h3,
.v2-related-products h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 400;
}

.v2-product-detail-page .detail-content,
.v2-product-detail-page .detail-section div {
    color: #4a4642;
    line-height: 1.8;
}

.v2-related-products {
    margin-top: 52px;
    padding-top: 34px;
    border-top: 1px solid var(--v2-border);
}

.v2-footer {
    padding: 14px 10px 16px;
    border-top: 1px solid var(--v2-border);
    text-align: center;
    color: var(--v2-muted);
    font-size: 12px;
}

.v2-footer p {
    margin: 2px 0;
    line-height: 1.4;
}

.v2-footer-brand {
    margin-bottom: 4px;
    color: var(--v2-text);
}

.v2-footer-hanbok .v2-footer-brand-link {
    display: inline-block;
    margin-bottom: 5px;
}

.v2-footer-logo {
    height: 21px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
}

.sullyuwha-story-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 18px 96px;
}

.sullyuwha-story-hero {
    text-align: center;
    margin-bottom: 48px;
    padding: 24px 0 8px;
}

.sullyuwha-story-eyebrow {
    margin: 0 0 12px;
    color: #9b7a4d;
    letter-spacing: 0.35em;
    font-size: 0.78rem;
}

.sullyuwha-story-hero h1 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.12em;
}

.sullyuwha-story-tagline {
    margin: 0 auto;
    max-width: 34em;
    color: #5f544b;
    font-size: 1.05rem;
    line-height: 1.75;
}

.sullyuwha-story-lead,
.sullyuwha-story-block {
    margin-bottom: 56px;
}

.sullyuwha-story-lead h2,
.sullyuwha-story-block h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #2e2924;
}

.sullyuwha-story-lead p,
.sullyuwha-story-block p {
    margin: 0 0 18px;
    color: #4a4038;
    font-size: 1rem;
    line-height: 1.85;
}

.sullyuwha-story-lead p:last-child,
.sullyuwha-story-block p:last-child {
    margin-bottom: 0;
}

.sullyuwha-story-block--alt {
    padding: 32px 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, #faf6f0 0%, #f3ebe2 100%);
}

.sullyuwha-story-checklist {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.sullyuwha-story-checklist li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: #4a4038;
    line-height: 1.7;
    border-bottom: 1px solid rgba(201, 168, 115, 0.25);
}

.sullyuwha-story-checklist li:last-child {
    border-bottom: none;
}

.sullyuwha-story-checklist li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 12px;
    color: #8b2942;
    font-size: 0.65rem;
}

.sullyuwha-story-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 56px;
}

.sullyuwha-story-value-card {
    padding: 28px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #ead8bd;
    box-shadow: 0 8px 24px rgba(36, 28, 22, 0.05);
}

.sullyuwha-story-value-num {
    display: block;
    margin-bottom: 12px;
    color: #c9a873;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.sullyuwha-story-value-card h3 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #2e2924;
}

.sullyuwha-story-value-card p {
    margin: 0;
    color: #5f544b;
    font-size: 0.92rem;
    line-height: 1.7;
}

.sullyuwha-story-scroll {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 56px;
}

.sullyuwha-story-scroll img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(36, 28, 22, 0.08);
    background: #fff;
}

.sullyuwha-story-empty {
    margin: 0;
    padding: 28px 18px;
    text-align: center;
    color: var(--v2-muted);
    border: 1px dashed var(--v2-border);
    border-radius: 16px;
    background: #faf9f7;
}

.sullyuwha-story-promo {
    margin-bottom: 56px;
    padding: 40px 28px;
    border-radius: 24px;
    background: linear-gradient(165deg, #2e2924 0%, #4a3630 55%, #6b3344 100%);
    color: #fffaf4;
}

.sullyuwha-story-promo-head {
    text-align: center;
    margin-bottom: 32px;
}

.sullyuwha-story-promo-head h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.06em;
}

.sullyuwha-story-promo-head p {
    margin: 0;
    color: #ead9cc;
    font-size: 0.98rem;
}

.sullyuwha-story-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sullyuwha-story-promo-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 20px;
    border-radius: 16px;
    background: rgba(255, 250, 244, 0.95);
    color: #2e2924;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sullyuwha-story-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.sullyuwha-story-promo-card--accent {
    background: rgba(255, 250, 244, 0.12);
    border: 1px solid rgba(201, 168, 115, 0.55);
    color: #fffaf4;
}

.sullyuwha-story-promo-card--accent p {
    color: #ead9cc;
}

.sullyuwha-story-promo-card--accent .sullyuwha-story-promo-link {
    color: #e8cfc5;
}

.sullyuwha-story-promo-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: #9b7a4d;
}

.sullyuwha-story-promo-card strong {
    font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
    font-size: 1.15rem;
    font-weight: 400;
}

.sullyuwha-story-promo-card p {
    margin: 0;
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #5f544b;
}

.sullyuwha-story-promo-link {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #8b2942;
}

.sullyuwha-story-promo-foot {
    margin-top: 28px;
    text-align: center;
}

.sullyuwha-story-promo-foot p {
    margin: 0;
    font-size: 0.92rem;
    color: #ead9cc;
}

.sullyuwha-story-promo-foot a {
    color: #fff;
    text-decoration: underline;
}

.sullyuwha-story-contact {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    border: 1px solid #ead8bd;
    background: #fffaf4;
}

.sullyuwha-story-contact h2 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #2e2924;
}

.sullyuwha-story-contact > p {
    margin: 0 0 24px;
    color: #5f544b;
    line-height: 1.75;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.sullyuwha-story-contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sullyuwha-story-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid #c9a873;
    color: #2e2924;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.sullyuwha-story-btn:hover {
    background: #f3ebe2;
}

.sullyuwha-story-btn--primary {
    background: #8b2942;
    border-color: #8b2942;
    color: #fffaf4;
}

.sullyuwha-story-btn--primary:hover {
    background: #6b2033;
}

.sullyuwha-story-contact-note {
    margin: 0;
    font-size: 0.9rem;
    color: #9b7a4d;
}

.sullyuwha-story-contact-note a {
    color: #8b2942;
    text-decoration: none;
}

@media (max-width: 768px) {
    .sullyuwha-story-values,
    .sullyuwha-story-promo-grid {
        grid-template-columns: 1fr;
    }

    .sullyuwha-story-block--alt {
        padding: 24px 20px;
    }

    .sullyuwha-story-promo {
        padding: 32px 20px;
    }
}

.mobile-preview-grid .v2-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mobile-preview-grid .v2-product-image {
    height: 150px;
}

@media (max-width: 1024px) {
    .v2-announcement {
        display: none !important;
    }

    .v2-header-inner {
        min-height: 96px;
        padding: 0 14px;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        grid-template-areas: "menu logo actions";
        align-items: center;
        gap: 8px;
        position: relative;
    }

    body.v2-layout {
        --v2-header-offset: 96px;
    }

    .v2-mobile-menu-toggle {
        display: inline-flex;
        grid-area: menu;
        justify-self: start;
        z-index: 2;
    }

    .v2-primary-nav.v2-desktop-nav {
        display: none !important;
    }

    .v2-peek-nav {
        display: none !important;
    }

    /* 모바일 로고: absolute 금지(너비 0 붕괴) — 가운데 칸에 일반 배치 */
    .v2-logo {
        grid-area: logo;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        justify-self: center;
        align-self: center;
        z-index: 5;
        width: auto;
        max-width: min(62vw, 262px);
        min-width: 150px;
        min-height: 62px;
        margin: 0 auto;
        pointer-events: auto;
        display: flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .v2-header-right {
        grid-area: actions;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
        justify-self: end;
        min-width: 0;
        height: 36px;
        z-index: 2;
    }

    .v2-header-right .v2-search-wrap,
    .v2-header-right .v2-search-toggle,
    .v2-header-right .v2-icon-link,
    .v2-header-right .v2-cart-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 36px;
        padding: 0;
        margin: 0;
        line-height: 0;
        font-size: 0;
        vertical-align: middle;
        box-sizing: border-box;
    }

    .v2-header-right .v2-search-wrap {
        width: 28px;
        height: 36px;
    }

    .v2-header-right svg {
        width: 20px !important;
        height: 20px !important;
        display: block;
        flex-shrink: 0;
    }

    .v2-header-right .v2-cart-link em {
        top: 0;
        right: -4px;
    }

    .v2-mega-menu {
        display: none !important;
    }

    .v2-logo-mark {
        min-width: 52px;
        min-height: 52px;
        font-size: 12px;
    }

    .v2-brand-mark,
    .v2-logo .brand-mark,
    .v2-logo .v2-brand-mark {
        height: 74px !important;
        width: auto !important;
        max-width: min(62vw, 262px) !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 모바일: 히어로 좌우 화살표 숨김 (스와이프로 전환) */
    .v2-hero-viewer .v2-hero-pan-btn,
    .v2-hero-pan-btn,
    button.v2-hero-pan-btn {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }

    /* 모바일 헤더: 검색 + 장바구니 + 로그인 */
    .v2-chat-toggle,
    .v2-inquiry-toggle,
    .v2-header-link {
        display: none !important;
    }

    .v2-icon-link,
    .v2-cart-link {
        display: inline-flex !important;
    }

    /* 모바일만 히어로 풀스크린 채움 */
    .v2-home-visual--fill .v2-hero-stage,
    .v2-home-visual--fill.v2-home-visual-hanbok .v2-hero-stage,
    body.v2-layout.company-2 .v2-home-visual--fill .v2-hero-stage {
        height: calc(100dvh - var(--v2-header-offset, 72px));
        min-height: 420px;
        max-height: none;
    }

    .v2-home-visual--fill .v2-hero-pan-wrap {
        cursor: grab;
        touch-action: none;
    }

    .v2-home-products,
    .v2-products-page,
    .v2-product-detail-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .v2-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 8px;
    }

    .v2-product-image {
        height: 310px;
    }

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

    .v2-product-detail-page .detail-info {
        position: static;
    }
}

@media (max-width: 640px) {
    .v2-announcement {
        min-height: 28px;
        font-size: 11px;
    }

    .v2-announcement-inner {
        padding: 4px 12px;
        gap: 10px;
    }

    .v2-header-inner {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        grid-template-areas: "menu logo actions";
        gap: 6px;
        justify-content: initial;
        min-height: 88px;
        padding: 0 12px;
        position: relative;
    }

    body.v2-layout {
        --v2-header-offset: 88px;
    }

    .v2-logo {
        max-width: min(60vw, 218px);
        min-width: 137px;
    }

    .v2-brand-mark,
    .v2-logo .brand-mark,
    .v2-logo .v2-brand-mark {
        height: 66px !important;
        max-width: min(60vw, 218px) !important;
    }

    .v2-mobile-menu-toggle {
        display: inline-flex;
        z-index: 2;
    }

    .v2-header-right {
        z-index: 2;
        gap: 0;
        height: 36px;
    }

    .v2-search-bar {
        padding: 24px 20px 28px;
    }

    .v2-search-bar-row {
        gap: 12px;
    }

    .v2-cart-link {
        font-size: 0;
    }

    .v2-hero-stage {
        height: 68vh;
        min-height: 390px;
        max-height: 560px;
    }

    .v2-home-visual-hanbok .v2-hero-stage,
    body.v2-layout.company-2 .v2-hero-stage {
        height: min(95vw, 72vh);
        min-height: 420px;
        max-height: 640px;
    }

    /* 모바일만: 화면을 크게 채우되, 세로 드래그가 가능하도록 비율 확보 */
    .v2-home-visual--fill .v2-hero-stage,
    .v2-home-visual--fill.v2-home-visual-hanbok .v2-hero-stage,
    body.v2-layout.company-2 .v2-home-visual--fill .v2-hero-stage {
        height: min(100dvh - var(--v2-header-offset, 78px), 140vw);
        min-height: 420px;
        max-height: none;
    }

    .v2-home-visual--fill .v2-hero-pan-wrap {
        cursor: grab;
        touch-action: none;
    }

    .v2-hero-button {
        top: auto;
        bottom: 28px;
        padding: 13px 34px;
        font-size: 13px;
        transform: translateX(-50%);
    }

    .v2-hero-button--mark {
        padding: 0;
        width: clamp(72px, 20vw, 100px);
        height: auto;
        bottom: 8px !important;
        opacity: 1 !important;
    }

    .v2-category-strip {
        padding: 18px 16px 4px;
        gap: 20px;
        scrollbar-width: none;
    }

    .v2-category-strip::-webkit-scrollbar {
        display: none;
    }

    .v2-home-products,
    .v2-products-page {
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .v2-home-section-head {
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 22px;
    }

    .v2-home-section-head h1,
    .v2-products-header h1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .v2-products-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin: 34px 0 24px;
        font-size: 12px;
    }

    .v2-filter,
    .v2-sort {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .v2-sort em {
        margin-left: auto;
        white-space: nowrap;
    }

    .v2-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 8px;
    }

    .v2-product-image {
        height: auto;
        aspect-ratio: 3 / 4.25;
        margin-bottom: 10px;
        background: #efebe6;
    }

    .v2-product-image img {
        object-fit: contain;
        padding: 0;
    }

    .v2-product-name {
        margin-bottom: 6px;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .v2-product-price {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .v2-product-detail-page {
        padding-top: 20px;
        padding-bottom: 52px;
    }

    .v2-detail-image-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .v2-detail-image-cell {
        min-height: 0;
        height: auto;
        aspect-ratio: 3 / 4;
        background: #efebe6;
    }

    .v2-detail-image-cell img {
        object-fit: contain;
    }

    .v2-detail-gallery {
        flex-direction: column;
        gap: 10px;
    }

    .v2-detail-stage {
        order: 1;
        width: 100%;
        aspect-ratio: 3 / 4;
    }

    .v2-detail-thumbs {
        order: 2;
        flex-direction: row;
        width: 100%;
        flex: 0 0 auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        padding-bottom: 2px;
    }

    .v2-detail-thumb {
        flex: 0 0 54px;
        width: 54px;
    }

    .v2-detail-bars {
        display: flex;
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        gap: 5px;
        z-index: 3;
        pointer-events: auto;
    }

    .v2-detail-bar {
        flex: 1 1 0;
        height: 3px;
        padding: 0;
        border: 0;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .v2-detail-bar.is-active {
        background: #ffffff;
    }

    .v2-product-detail-page .detail-layout {
        gap: 24px;
    }

    .v2-product-detail-page .detail-info {
        padding: 0 2px;
    }

    .v2-product-detail-page .brand {
        margin-bottom: 9px;
        font-size: 12px;
    }

    .v2-product-detail-page .detail-info h1 {
        margin-bottom: 14px;
        font-size: 24px;
    }

    .v2-product-detail-page .summary {
        font-size: 13px;
    }

    .v2-product-detail-page .price-block {
        margin: 18px 0 22px;
    }

    .v2-product-detail-page select,
    .v2-product-detail-page input[type="number"] {
        height: 48px;
        font-size: 16px;
    }

    .v2-product-detail-page .action-buttons {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(247, 246, 244, 0.97);
        border-top: 1px solid var(--v2-border);
        backdrop-filter: blur(8px);
    }

    body.v2-layout:has(.v2-product-detail-page .action-buttons) {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .v2-product-detail-page .btn-primary,
    .v2-product-detail-page .btn-secondary {
        height: 50px;
    }

    .v2-product-detail-page .detail-tabs {
        margin-top: 42px;
    }

    .v2-related-products {
        margin-top: 34px;
    }

    .v2-story-band {
        margin-bottom: 52px;
        padding: 0 22px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .v2-header-inner {
        padding: 0 10px;
    }

    .v2-logo-mark {
        min-width: 44px;
        min-height: 44px;
        font-size: 10px;
    }

    .v2-brand-mark {
        height: 62px !important;
        max-width: min(58vw, 199px) !important;
    }

    .v2-hero-stage {
        min-height: 360px;
    }

    .v2-product-grid {
        gap: 26px 7px;
    }

    .v2-product-name,
    .v2-product-price {
        font-size: 12px;
    }
}

/* ===================== V2 Cart ===================== */
.v2-cart-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 56px 24px 96px;
}

.v2-cart-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.v2-cart-head h1 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
    color: var(--v2-text);
}

.v2-cart-continue {
    font-size: 13px;
    color: var(--v2-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2-cart-continue:hover {
    color: var(--v2-text);
}

.v2-cart-table-head {
    display: grid;
    grid-template-columns: 1fr 200px 160px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--v2-border);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--v2-muted);
}

.v2-cart-table-head .col-qty {
    text-align: center;
}

.v2-cart-table-head .col-total {
    text-align: right;
}

.v2-cart-row {
    display: grid;
    grid-template-columns: 1fr 200px 160px;
    align-items: center;
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-cart-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.v2-cart-thumb {
    flex: 0 0 auto;
    width: 92px;
    height: 116px;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.v2-cart-noimg {
    font-size: 11px;
    color: var(--v2-muted);
}

.v2-cart-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v2-cart-name {
    font-size: 15px;
    color: var(--v2-text);
}

.v2-cart-name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2-cart-price,
.v2-cart-option {
    font-size: 13px;
    color: var(--v2-muted);
}

.v2-cart-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.v2-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--v2-border);
}

.v2-qty-stepper form {
    margin: 0;
}

.v2-qty-btn {
    width: 34px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--v2-text);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.v2-qty-btn:disabled {
    color: #cfc9c1;
    cursor: default;
}

.v2-qty-value {
    min-width: 34px;
    text-align: center;
    font-size: 14px;
    color: var(--v2-text);
}

.v2-cart-remove {
    border: 0;
    background: transparent;
    color: var(--v2-muted);
    cursor: pointer;
    display: inline-flex;
    padding: 4px;
}

.v2-cart-remove:hover {
    color: var(--v2-text);
}

.v2-cart-line-total {
    text-align: right;
    font-size: 15px;
    color: var(--v2-text);
}

.v2-cart-summary {
    margin-top: 36px;
    margin-left: auto;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    text-align: right;
}

.v2-cart-subtotal {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 15px;
    color: var(--v2-text);
}

.v2-cart-subtotal strong {
    font-size: 20px;
    font-weight: 500;
}

.v2-cart-note {
    font-size: 12px;
    color: var(--v2-muted);
    margin: 0 0 6px;
}

.v2-cart-checkout {
    width: 100%;
    min-width: 280px;
    border: 0;
    background: var(--v2-text);
    color: #fff !important;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 16px 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.v2-cart-checkout:hover {
    opacity: 0.9;
}

.v2-cart-empty {
    text-align: center;
    padding: 60px 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.v2-cart-empty p {
    font-size: 15px;
    color: var(--v2-muted);
    margin: 0;
}

.v2-cart-empty-link {
    border: 1px solid var(--v2-text);
    color: var(--v2-text);
    font-size: 13px;
    padding: 12px 26px;
}

.v2-cart-empty-link:hover {
    background: var(--v2-text);
    color: #fff;
}

@media (max-width: 720px) {
    .v2-cart-page {
        padding: 32px 16px 72px;
    }

    .v2-cart-head h1 {
        font-size: 28px;
    }

    .v2-cart-table-head {
        display: none;
    }

    .v2-cart-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .v2-cart-qty {
        justify-content: flex-start;
    }

    .v2-cart-line-total {
        text-align: left;
        font-weight: 500;
    }

    .v2-cart-summary {
        max-width: none;
        align-items: stretch;
        text-align: left;
    }

    .v2-cart-subtotal {
        justify-content: space-between;
    }
}

/* AI체험 */
.ai-exp-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 20px 28px;
}

.ai-exp-hero {
    text-align: center;
    margin-bottom: 18px;
}

.ai-exp-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 10px;
    font-weight: 500;
}

.ai-exp-hero p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.ai-exp-sample-warn {
    margin-top: 10px !important;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff4e5;
    color: #9a6700;
    font-size: 0.88rem;
}

.ai-exp-steps {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: stretch;
    margin-bottom: 28px;
    width: 100%;
}

.ai-exp-step {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 6px;
    border-radius: 999px;
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.ai-exp-step.is-active {
    border-color: #8b2942;
    color: #8b2942;
    font-weight: 600;
}

.ai-exp-step.is-done:not(.is-active) {
    border-color: #c9a86c;
    color: #6b4f2d;
}

.ai-exp-step:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ai-exp-panel[hidden] {
    display: none !important;
}

.ai-exp-panel h2 {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 16px;
}

.ai-exp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 420px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .ai-exp-grid {
        max-width: 900px;
        gap: 22px;
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .ai-exp-asset {
        padding: 12px;
    }

    .ai-exp-asset span {
        font-size: 0.92rem;
        margin-top: 10px;
    }

    .ai-exp-focus-preview {
        max-width: 640px;
    }

    .ai-exp-focus-frame--garment {
        max-width: 480px;
    }

    .ai-exp-focus-frame--background {
        max-width: 640px;
    }
}

.ai-exp-asset {
    position: relative;
    border: 2px solid transparent;
    background: #faf8f6;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    text-align: center;
}

.ai-exp-asset img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.ai-exp-asset span {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #444;
}

.ai-exp-asset.is-selected {
    border-color: #8b2942;
    box-shadow: 0 0 0 1px #8b2942;
}

.ai-exp-asset.is-selected::after {
    content: '✓';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #8b2942;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.ai-exp-empty {
    color: #888;
    text-align: center;
    padding: 24px 0;
}

.ai-exp-select-area[hidden] {
    display: none !important;
}

.ai-exp-focus-preview[hidden] {
    display: none !important;
}

.ai-exp-focus-preview {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.ai-exp-focus-label {
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #8b2942;
}

.ai-exp-focus-frame {
    margin: 0 auto 12px;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f3ef;
    border: 2px solid #8b2942;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.ai-exp-focus-frame--garment {
    max-width: 360px;
    aspect-ratio: 4 / 5;
}

.ai-exp-focus-frame--background {
    max-width: 480px;
    aspect-ratio: 4 / 3;
}

.ai-exp-focus-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.ai-exp-focus-name {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.ai-exp-focus-hint {
    margin: 0 0 18px;
    font-size: 0.88rem;
    color: #777;
    line-height: 1.55;
}

.ai-exp-focus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ai-exp-ready-board {
    margin-bottom: 20px;
    padding: 18px 16px;
    background: linear-gradient(180deg, #fdfbf9 0%, #f7f3ef 100%);
    border: 1px solid #e8dfd6;
    border-radius: 14px;
}

.ai-exp-ready-board[hidden] {
    display: none !important;
}

.ai-exp-ready-board-title {
    margin: 0 0 16px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #8b2942;
}

.ai-exp-ready-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ai-exp-ready-item {
    margin: 0;
    text-align: center;
}

.ai-exp-ready-item-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
}

.ai-exp-ready-item-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #8b2942;
    background: #fff;
    margin-bottom: 8px;
    aspect-ratio: 4 / 5;
    min-height: 180px;
}

.ai-exp-ready-item-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ai-exp-ready-item--garment .ai-exp-ready-item-frame,
.ai-exp-ready-item--background .ai-exp-ready-item-frame {
    aspect-ratio: 4 / 5;
}

.ai-exp-ready-item figcaption {
    font-size: 0.72rem;
    color: #666;
    line-height: 1.35;
    word-break: keep-all;
}

@media (max-width: 640px) {
    .ai-exp-ready-board-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .ai-exp-panel--camera .ai-exp-ready-board-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
        gap: 8px;
    }

    .ai-exp-focus-frame--garment {
        max-width: 100%;
    }
}

.ai-exp-selection-summary {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #f7f3ef;
    border-radius: 10px;
    text-align: center;
    color: #555;
    font-size: 0.92rem;
}

.ai-exp-picked-preview {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ai-exp-picked-preview[hidden] {
    display: none !important;
}

.ai-exp-picked-item {
    margin: 0;
    width: 92px;
    text-align: center;
}

.ai-exp-picked-item img {
    width: 92px;
    height: 115px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #8b2942;
    display: block;
}

.ai-exp-picked-item figcaption {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #666;
    line-height: 1.3;
}

.ai-exp-panel--camera {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-exp-camera-panel-body {
    flex: 0 0 auto;
}

.ai-exp-panel--camera .ai-exp-ready-board {
    margin-bottom: 0;
    padding: 12px 10px;
}

.ai-exp-panel--camera .ai-exp-ready-item-frame {
    min-height: 0;
    margin-bottom: 0;
    aspect-ratio: 3 / 4;
}

.ai-exp-panel--camera .ai-exp-ready-item-label {
    margin-bottom: 6px;
    font-size: 0.78rem;
    color: #8b2942;
}

.ai-exp-panel--camera .ai-exp-camera-launch {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 5;
    width: 100%;
    margin-top: 0;
    padding: 8px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.ai-exp-panel--camera .ai-exp-camera-launch-actions {
    width: 100%;
    max-width: 320px;
}

.ai-exp-panel--camera .ai-exp-status:empty {
    display: none;
}

.ai-exp-selection-summary[hidden] {
    display: none !important;
}

.ai-exp-camera-launch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.ai-exp-captured-thumb {
    text-align: center;
}

.ai-exp-captured-thumb img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #8b2942;
    display: block;
    margin: 0 auto 8px;
}

.ai-exp-captured-thumb span {
    font-size: 0.88rem;
    color: #6b4f2d;
}

.ai-exp-result-thumb {
    text-align: center;
}

.ai-exp-result-thumb img {
    width: 140px;
    height: 175px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #2f4f4f;
    display: block;
    margin: 0 auto 8px;
}

.ai-exp-result-thumb span {
    font-size: 0.88rem;
    color: #2f4f4f;
}

.ai-exp-modal-view h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
}

.ai-exp-modal-view[hidden] {
    display: none !important;
}

.ai-exp-generating {
    text-align: center;
    padding: 28px 12px;
}

.ai-exp-generating-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 18px;
    border: 3px solid #e8dfd6;
    border-top-color: #8b2942;
    border-radius: 50%;
    animation: ai-exp-spin 0.9s linear infinite;
}

@keyframes ai-exp-spin {
    to { transform: rotate(360deg); }
}

.ai-exp-generating p {
    margin: 0 0 6px;
    color: #444;
}

.ai-exp-generating-sub {
    font-size: 0.88rem;
    color: #888 !important;
}

.ai-exp-result-wrap {
    width: 100%;
    max-height: 52vh;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.ai-exp-result-wrap img {
    width: 100%;
    height: auto;
    max-height: 52vh;
    object-fit: contain;
    display: block;
}

.ai-exp-print-hint {
    margin: 0;
    text-align: center;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
}

.ai-exp-print-sheet {
    display: none;
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .ai-exp-print-sheet,
    .ai-exp-print-sheet * {
        visibility: visible !important;
    }

    .ai-exp-print-sheet {
        display: block !important;
        position: fixed;
        inset: 0;
        margin: 0;
        padding: 0;
        background: #fff;
    }

    .ai-exp-print-sheet img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    @page {
        margin: 8mm;
    }
}

.ai-exp-camera-launch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

body.ai-exp-modal-open {
    overflow: hidden;
}

.ai-exp-camera-modal {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ai-exp-camera-modal[hidden] {
    display: none !important;
}

.ai-exp-camera-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 14, 12, 0.78);
}

.ai-exp-camera-dialog {
    position: relative;
    width: min(92vw, 480px);
    max-height: 92vh;
    background: #fff;
    border-radius: 16px;
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

#aiExpModalCapture {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

#aiExpModalCapture .ai-exp-camera-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: auto;
    padding-top: 12px;
    background: linear-gradient(to top, #fff 75%, rgba(255, 255, 255, 0.92));
}

.ai-exp-camera-dialog h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
}

.ai-exp-camera-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px 0 12px;
    border: 1px solid rgba(16, 14, 12, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #1a1612;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(16, 14, 12, 0.12);
}

.ai-exp-camera-close:hover {
    background: #1a1612;
    color: #fff;
}

.ai-exp-modal-status {
    text-align: center;
    min-height: 1.4em;
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.ai-exp-modal-status.is-error {
    color: #b42318;
}

.ai-exp-camera-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    max-height: 52vh;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
}

.ai-exp-video,
.ai-exp-preview,
.ai-exp-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ai-exp-camera-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.95rem;
    text-align: center;
    padding: 16px;
}

.ai-exp-camera-placeholder[hidden] {
    display: none !important;
}

.ai-exp-camera-hint {
    text-align: center;
    color: #666;
    margin-bottom: 16px;
}

.ai-exp-file-actions-native {
    flex-direction: column;
    align-items: stretch;
}

.ai-exp-native-picker-group {
    position: relative;
    display: block;
    width: min(100%, 320px);
    margin: 0 auto;
}

.ai-exp-native-picker {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.ai-exp-native-picker-label {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid #d8d2cc;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 0.92rem;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1.4;
}

.ai-exp-native-picker-group:focus-within .ai-exp-native-picker-label {
    outline: 2px solid #8b2942;
    outline-offset: 2px;
}

.ai-exp-http-hint {
    margin: 0;
    text-align: center;
    font-size: 0.82rem;
    color: #8b6914;
    line-height: 1.5;
}

.ai-exp-live-actions,
.ai-exp-file-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.ai-exp-camera-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ai-exp-btn {
    border: 1px solid #ccc;
    background: #fff;
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.92rem;
}

.ai-exp-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ai-exp-btn-primary {
    background: #8b2942;
    border-color: #8b2942;
    color: #fff;
}

.ai-exp-btn-accent {
    background: #2f4f4f;
    border-color: #2f4f4f;
    color: #fff;
}

.ai-exp-status {
    text-align: center;
    margin-top: 16px;
    min-height: 1.4em;
    color: #555;
}

.ai-exp-status.is-error {
    color: #b42318;
}

.ai-exp-result {
    margin-top: 40px;
    text-align: center;
}

.ai-exp-result img {
    max-width: min(100%, 520px);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.ai-exp-result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

@media (max-width: 640px) {
    .ai-exp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── AI 의상 입히기 ── */
.v2-main:has(.dressup-page) {
    max-width: none;
    padding: 0;
}

.dressup-page {
    padding: 24px 20px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.dressup-hero {
    text-align: center;
    margin-bottom: 28px;
}

.dressup-hero h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin: 0 0 8px;
}

.dressup-hero p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.dressup-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 28px;
    align-items: start;
}

.dressup-left h2,
.dressup-right h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: #333;
}

.dressup-model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.dressup-model-btn {
    padding: 10px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: border-color 0.15s, background 0.15s;
}

.dressup-model-btn:hover {
    border-color: #999;
}

.dressup-model-btn.is-active {
    border-color: #1a1a1a;
    background: #f8f8f8;
    font-weight: 600;
}

.dressup-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #f7f5f2 0%, #ebe8e4 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e2de;
}

.dressup-base,
.dressup-layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.dressup-base {
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    z-index: 1;
}

.dressup-stage-loading {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    text-align: center;
    padding: 16px;
}

.dressup-stage-loading[hidden] {
    display: none;
}

.dressup-stage-loading p {
    margin: 0;
    font-size: 0.88rem;
    color: #333;
    font-weight: 500;
    max-width: 80%;
}

.dressup-stage-status {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: #2a7d4f;
    min-height: 1.1em;
}

.dressup-stage-status.is-error {
    color: #c0392b;
}

.dressup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dressup-actions .dressup-btn {
    flex: 1;
    text-align: center;
}

.dressup-actions .dressup-btn[hidden] {
    display: none;
}

.dressup-layers {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.dressup-layer {
    object-fit: contain;
}

.dressup-layer--bottom {
    bottom: 4%;
    width: 62%;
    height: 52%;
    z-index: 2;
}

.dressup-layer--top {
    top: 15%;
    width: 64%;
    height: 36%;
    z-index: 3;
}

.dressup-layer--accessory {
    top: 40%;
    width: 15%;
    height: 34%;
    z-index: 4;
}

.dressup-layer--head {
    top: 0;
    width: 34%;
    height: 22%;
    z-index: 5;
}

.dressup-layer--full {
    inset: 5%;
    width: 90%;
    height: 90%;
    z-index: 6;
}

.dressup-selection-summary {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    font-size: 0.85rem;
    color: #555;
}

.dressup-selection-summary li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.dressup-summary-empty {
    color: #999;
    font-style: italic;
}

.dressup-generate-wrap {
    margin-top: 20px;
}

.dressup-provider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dressup-provider-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
}

.dressup-provider-opt {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.dressup-provider-opt:has(input:checked) {
    border-color: #1a1a1a;
    background: #f5f5f5;
    font-weight: 600;
}

.dressup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.dressup-btn-primary {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    width: 100%;
}

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

.dressup-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.dressup-tab {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.dressup-tab.is-active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.dressup-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.dressup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.15s;
}

.dressup-item:hover {
    border-color: #ccc;
}

.dressup-item.is-selected {
    border-color: #1a1a1a;
    background: #fff;
}

.dressup-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #faf8f5;
    border-radius: 6px;
}

.dressup-item span {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.3;
    color: #444;
}

.dressup-empty {
    color: #999;
    font-size: 0.9rem;
}

.dressup-result-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dressup-result-modal[hidden] {
    display: none;
}

.dressup-result-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.dressup-result-dialog {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.dressup-result-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.dressup-result-dialog h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
}

.dressup-result-loading {
    text-align: center;
    padding: 32px 0;
}

.dressup-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: dressup-spin 0.8s linear infinite;
}

@keyframes dressup-spin {
    to { transform: rotate(360deg); }
}

.dressup-result-view img {
    width: 100%;
    border-radius: 10px;
}

.dressup-result-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.dressup-result-actions .dressup-btn-primary {
    width: auto;
    flex: 1;
}

.dressup-result-status {
    margin: 12px 0 0;
    color: #b42318;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .dressup-layout {
        grid-template-columns: 1fr;
    }

    .dressup-stage {
        max-width: 360px;
        margin: 0 auto;
    }
}

/* 한복디자인이야기 */
.hbd-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 36px 24px 72px;
}

.hbd-hero {
    text-align: center;
    margin-bottom: 28px;
}

.hbd-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9b7a4d;
}

.hbd-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
}

.hbd-lead {
    margin: 0;
    color: var(--v2-muted);
    line-height: 1.75;
    font-size: 15px;
}

.hbd-legal {
    margin-bottom: 32px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #faf9f7;
    border: 1px solid var(--v2-border);
    font-size: 13px;
    line-height: 1.7;
    color: var(--v2-muted);
}

.hbd-legal strong {
    display: block;
    margin-bottom: 6px;
    color: var(--v2-text);
}

.hbd-episodes {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hbd-episode {
    padding: 24px 22px 28px;
    border: 1px solid var(--v2-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.hbd-episode-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.hbd-episode-num {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #2b2622;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hbd-episode-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 600;
}

.hbd-episode-head p {
    margin: 0;
    font-size: 13px;
    color: var(--v2-muted);
}

.hbd-cover-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hbd-cover-btn:hover {
    transform: translateY(-3px);
}

.hbd-cover-btn img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hbd-cover-hint {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #9b7a4d;
    font-weight: 600;
}

.hbd-comic-strip {
    display: grid;
    gap: 12px;
}

.hbd-panel {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--v2-border);
    background: #fff;
    position: relative;
}

.hbd-panel::before {
    content: '';
    position: absolute;
    left: 22px;
    top: -8px;
    width: 14px;
    height: 14px;
    background: inherit;
    border-left: 1px solid var(--v2-border);
    border-top: 1px solid var(--v2-border);
    transform: rotate(45deg);
}

.hbd-panel--warm { background: #fff8f3; }
.hbd-panel--cool { background: #f3f8ff; }
.hbd-panel--bright { background: #f3fff8; }
.hbd-panel--neutral { background: #faf9f7; }

.hbd-panel-speaker {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #9b7a4d;
    letter-spacing: 0.04em;
}

.hbd-panel-line {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--v2-text);
}

.hbd-outro {
    margin-top: 48px;
    padding: 32px 24px;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(180deg, #faf9f7 0%, #fff 100%);
    border: 1px solid var(--v2-border);
}

.hbd-outro h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 500;
}

.hbd-outro p {
    margin: 0 0 20px;
    color: var(--v2-muted);
    font-size: 14px;
}

.hbd-outro-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hbd-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--v2-text);
    color: var(--v2-text);
    text-decoration: none;
    font-size: 13px;
}

.hbd-btn--primary {
    background: var(--v2-text);
    color: #fff;
}

.hbd-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 16, 0.45);
    z-index: 300;
}

.hbd-modal-backdrop[hidden] {
    display: none !important;
}

.hbd-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 310;
    width: min(92vw, 640px);
    max-height: 86vh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.hbd-modal::backdrop {
    background: transparent;
}

.hbd-modal[open] {
    display: flex;
    flex-direction: column;
}

.hbd-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--v2-border);
}

.hbd-modal-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.hbd-modal-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--v2-text);
}

.hbd-modal-body {
    padding: 20px 22px 24px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.75;
    color: var(--v2-text);
}

.hbd-modal-body h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.hbd-detail-summary {
    margin: 0 0 18px;
    color: var(--v2-muted);
}

.hbd-detail-block {
    margin-bottom: 16px;
}

.hbd-detail-block h4 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #9b7a4d;
}

.hbd-detail-block p {
    margin: 0;
}

.hbd-detail-block ul {
    margin: 0;
    padding-left: 18px;
}

.hbd-detail-ref {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px dashed var(--v2-border);
    font-size: 12px;
    color: var(--v2-muted);
}

body.hbd-modal-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .hbd-comic-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hbd-panel:nth-child(odd):last-child {
        grid-column: 1 / -1;
        max-width: 72%;
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .hbd-page {
        padding: 24px 16px 56px;
    }

    .hbd-episode {
        padding: 18px 16px 22px;
    }
}
