:root {
  color-scheme: light;
  --ink: #17283b; --muted: #526476; --line: #d6dfe5; --wash: #f1f5f7;
  --navy: #102f50; --blue: #175792; --paper: #fff; --accent: #f1bc58;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Inter", sans-serif;
  font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff;
  scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
button { border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #287ab9; outline-offset: 3px; }
button:disabled { opacity: .45; cursor: default; }
h1, h2, h3, h4, p, ul { margin: 0; }
img { display: block; max-width: 100%; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset: .5rem auto auto .5rem; z-index: 100; padding: .6rem 1rem; color: #fff; background: var(--navy); }
.wrap { width: min(1216px, calc(100% - 72px)); margin-inline: auto; }
.notice { color: #f7fafc; background: var(--navy); font-size: .79rem; font-weight: 550; letter-spacing: .01em; }
.notice .wrap { min-height: 29px; display: flex; gap: .5rem; align-items: center; }
.notice span { color: var(--accent); }
.masthead { background: #fff; position: relative; z-index: 2; }
.headline { display: flex; gap: clamp(1.2rem, 4vw, 4.5rem); align-items: center; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: .58rem; flex: none; color: var(--navy); font-weight: 850; letter-spacing: -.06em; font-size: clamp(1.34rem,2vw,1.75rem); white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 5px 13px 5px 5px; background: var(--navy); color: #fff; font-family: "Inter", Arial, sans-serif; font-style: italic; font-weight: 900; font-size: 1.35rem; letter-spacing: -.1em; padding-right: .14em; }
.search { flex: 1; max-width: 560px; border: 1.5px solid #8b9fab; border-radius: 8px; display: flex; background: #f8fafb; align-items: center; }
.search:focus-within { border-color: var(--blue); outline: 2px solid #8bb5d7; outline-offset: 1px; }
.search input { flex: 1; min-width: 0; padding: .58rem .9rem; min-height: 44px; border: 0; background: transparent; }
.search input:focus { outline: 0; }
.search input::placeholder { color: #596d7d; }
.search button, .icon-button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
.icon { display: inline-block; flex: none; position: relative; }
.i-search { width: 17px; height: 17px; border: 2px solid currentColor; border-radius: 50%; }
.i-search::after { content: ""; position: absolute; width: 8px; height: 2px; right: -6px; bottom: -3px; background: currentColor; transform: rotate(45deg); }
.i-bag { width: 18px; height: 15px; border: 1.75px solid currentColor; border-radius: 2px 2px 4px 4px; margin-top: 4px; }
.i-bag::before { content: ""; position: absolute; left: 3px; top: -7px; width: 8px; height: 7px; border: 1.75px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.cart-shortcut { margin-left: auto; display: inline-flex; flex: none; align-items: center; gap: .45rem; padding: .4rem 0 .4rem .35rem; min-height: 44px; font-weight: 750; }
.quantity-badge { display: inline-grid; min-width: 1.38rem; height: 1.38rem; padding: 0 .3rem; place-items: center; border-radius: .7rem; color: #fff; background: var(--blue); font-size: .76rem; font-variant-numeric: tabular-nums; }
.nav-border { border-block: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: stretch; position: relative; }
.category-menu { flex: none; }
.category-menu summary { list-style: none; display: flex; gap: .7rem; align-items: center; justify-content: center; height: 100%; min-height: 51px; padding: 0 1.2rem; min-width: 145px; font-weight: 750; background: var(--wash); border-inline: 1px solid var(--line); }
.category-menu summary::-webkit-details-marker { display: none; }
.i-menu { width: 16px; height: 12px; border-block: 2px solid currentColor; }
.i-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; }
.category-panel { position: absolute; top: 100%; inset-inline: 0; z-index: 5; padding: 20px 24px 24px; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px #122d471a; border-radius: 0 0 8px 8px; }
.category-panel strong { display: block; margin-bottom: .5rem; color: var(--muted); font-size: .9rem; }
#menu-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: .7rem; }
#menu-options button { text-align: left; min-height: 44px; border-bottom: 1px solid #e8edf1; padding: .45rem .4rem; }
#menu-options button:hover, #menu-options button[aria-pressed="true"] { background: #eef4f9; color: var(--blue); }
.main-nav, #primary-nav { display: flex; align-items: center; }
.main-nav { overflow: auto; white-space: nowrap; scrollbar-width: thin; }
.main-nav a, .main-nav button { padding: .78rem clamp(.6rem,1.5vw,1.3rem); min-height: 48px; display: inline-flex; align-items: center; font-size: .98rem; font-weight: 650; }
.main-nav a:hover, .main-nav button:hover { color: var(--blue); text-decoration: underline; }
.nav-rule { width: 1px; height: 16px; background: var(--line); flex: none; }
#top { scroll-margin-top: 1rem; }
.hero { margin-top: 22px; border-radius: 10px; overflow: hidden; border: 1px solid #cad4de; background: var(--wash); }
.banner-item { display: block; width: 100%; padding: 0; }
.banner-item:focus-visible { outline-offset: -4px; }
.banner-stage { position: relative; display: block; width: 100%; aspect-ratio: 1216/333; overflow: hidden; background: #172536; perspective: 1400px; touch-action: pan-y pinch-zoom; isolation: isolate; }
.banner-panel { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0,1.77fr) minmax(0,1fr); backface-visibility: hidden; --ad:#302624; --ray:#ffc264; --shade:#281f19; }
.showcase-person { --ad:#eef0ef; --ray:#a0daff; --shade:#182631; }
.showcase-zones { --ad:#e94707; --ray:#ffae77; --shade:#321e1b; }
.banner-ad { display: grid; place-items: center; min-height: 0; min-width: 0; background: var(--ad); }
.banner-ad picture { position: relative; display: block; width: 100%; max-height: 100%; aspect-ratio: 2000/596; overflow: hidden; }
.banner-ad img { position: absolute; width: 100%; height: auto; left: 0; bottom: 0; }
.hero-story { display: grid; position: relative; min-width: 0; min-height: 0; grid-template-rows: minmax(0,1fr) auto; background: var(--shade); color: #fff; text-align: left; overflow: hidden; }
.story-window { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; }
.studio-cast { position: relative; display: block; height: 100%; max-width: 100%; aspect-ratio: 1120/800; }
.studio-base,.studio-subject,.story-signal { position: absolute; inset: 0; height: 100%; width: 100%; pointer-events: none; }
.studio-base,.studio-subject { object-fit: fill; user-select: none; }
.studio-base { transform-origin: 48% 63%; animation: scene-room 6.8s cubic-bezier(.19,.51,.39,1) both; }
.studio-subject { transform-origin: 54% 59%; animation: scene-dolly 6.8s cubic-bezier(.16,.50,.35,1) both; }
.showcase-person .studio-subject { transform-origin: 60% 56%; animation-name: scene-rack; }
.showcase-zones .studio-subject { transform-origin: 44% 65%; animation-name: scene-return; }
.story-copy { position: relative; display: block; padding: .38rem .9rem .64rem; background: var(--shade); }
.story-copy small,.story-copy strong { display: block; }
.story-copy small { color: var(--ray); font-size: clamp(.65rem,1.2vw,.81rem); line-height: 1.3; font-weight: 680; letter-spacing:.025em; }
.story-copy strong { margin-top: .17rem; font-size: clamp(.92rem,1.6vw,1.35rem); line-height: 1.32; letter-spacing:-.045em; word-break:keep-all; }
.story-signal { color: var(--ray); }
.signal-line,.signal-ring,.signal-second,.signal-point { display:block; position:absolute; }
.signal-line { top:var(--line-y); left:var(--line-x); width:var(--line-length); height:2px; transform-origin:left center; background:linear-gradient(90deg,transparent,currentColor 22%,currentColor); box-shadow:0 0 6px currentColor; animation: hero-trace 1.3s ease-out both; }
.signal-point { left:var(--line-x); top:var(--line-y); width:8px; height:8px; border-radius:100%; background:currentColor; box-shadow:0 0 9px currentColor; animation: hero-entry 1.15s ease-out both; }
.signal-ring,.signal-second { left:var(--ring-x); top:var(--ring-y); width:9%; aspect-ratio:1; border:2px solid currentColor; border-radius:50%; transform:translate(-50%,-50%); animation: hero-ring 1.6s .32s ease-out both; box-shadow:0 0 7px currentColor; }
.signal-second { display:none; }
.showcase-mobile .story-signal { --line-x:41%;--line-y:28%;--line-length:24%;--ring-x:65%;--ring-y:28%; }
.showcase-person .story-signal { --line-x:17%;--line-y:49%;--line-length:22%;--ring-x:39%;--ring-y:49%; }
.showcase-zones .story-signal { --line-x:27%;--line-y:65%;--line-length:18%;--ring-x:27%;--ring-y:65%; }
.showcase-zones .signal-second { display:block;left:45%;top:65%;animation-delay:.67s; }
.hero.paused .hero-story *, .hero-story.waiting * { animation-play-state: paused; }
.banner-stage.moving .banner-panel { will-change: transform,opacity; }
#banner-play i { display:inline-block; width:13px; height:13px; border-inline:4px solid currentColor; }
#banner-play[aria-label$="재생"] i { border:0; width:0; height:0; border-top:7px solid transparent; border-bottom:7px solid transparent; border-left:11px solid currentColor; }
#photo-model { display:block; color:var(--muted); margin-top:.14rem; font-size:.85rem; }
@keyframes scene-room { from {transform:scale(1.075) translateX(-1.2%);} to {transform:scale(1.025) translateX(.9%);} }
@keyframes scene-dolly { from {transform:perspective(650px) translateX(-2.2%) rotateY(-5deg) scale(.98);} to {transform:perspective(650px) translateX(2.2%) rotateY(3deg) scale(1.11);} }
@keyframes scene-rack { from {transform:perspective(650px) translateX(2.6%) rotateY(5deg) scale(1.04);} to {transform:perspective(650px) translateX(-2.1%) rotateY(-3deg) scale(1.11);} }
@keyframes scene-return { from {transform:perspective(650px) translateY(2%) rotateX(3deg) scale(1.09);} to {transform:perspective(650px) translateY(-1.6%) rotateX(-2deg) scale(1.01);} }
@keyframes hero-entry { 0% {opacity:0;transform:translate(-20px,-5px) scale(.55);} 34% {opacity:.95;transform:translate(0,0) scale(1);} 100% {opacity:0;transform:scale(.85);} }
@keyframes hero-trace { 0% {opacity:0;transform:scaleX(.02);} 22% {opacity:.9;} 64% {opacity:.92;transform:scaleX(1);} 100% {opacity:0;transform:scaleX(1);} }
@keyframes hero-ring { 0% {opacity:0; transform:translate(-50%,-50%) scale(.4);} 27% {opacity:.95;} 85% {opacity:.35;} 100% {opacity:0;transform:translate(-50%,-50%) scale(1.85);} }
@media(prefers-reduced-motion:reduce) {
  .hero-story * { animation:none!important; }
  .story-signal { display:none; }
}
.banner-bar { display: flex; align-items: center; justify-content: space-between; gap: .65rem; color: #fff; background: var(--navy); min-height: 48px; padding: 0 .7rem 0 1.25rem; }
.banner-label { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.banner-label strong { font-size: .95rem; font-weight: 650; }
.marker { width: 5px; height: 17px; border-radius: 1px; flex: none; background: var(--accent); }
.banner-control { display: flex; gap: .2rem; align-items: center; flex: none; }
.banner-control button { color: #fff; font: 1.6rem/1 Georgia,serif; min-height: 44px; min-width: 44px; }
.banner-control button:hover { background: #ffffff19; border-radius: 4px; }
.banner-control span { font-size: .84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.section { margin-block: clamp(2.5rem,5vw,4rem); scroll-margin-top: 1.2rem; }
.section-heading { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding-bottom: .85rem; border-bottom: 2px solid var(--navy); margin-bottom: 1.2rem; }
.section h2, .modal-top h2 { font-size: clamp(1.58rem,2.6vw,2.1rem); letter-spacing: -.055em; line-height: 1.25; }
.all-products { display: inline-flex; gap: .3rem; align-items: center; min-height: 44px; color: var(--blue); font-weight: 650; }
.all-products:hover, .source-link:hover { text-decoration: underline; }
.result-count { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem 1rem; }
.featured-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product { min-width: 0; display: flex; flex-direction: column; border: 1px solid #dbe2e7; border-radius: 8px; background: #fff; overflow: hidden; }
.product-open { text-align: left; display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: stretch; padding: 0; }
.product-open:focus-visible { outline-offset: -3px; }
.product-image { position:relative; width:100%; flex:none; aspect-ratio: 4/3; display: grid; place-items: center; background: #f6f7f8; border-bottom: 1px solid #e4e9ed; overflow: hidden; }
.product-image > img { position:absolute;inset:0; }
.product-image img, .detail-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-copy { display: block; padding: .85rem .9rem 0; }
.category-text { display: block; color: var(--blue); font-size: .78rem; font-weight: 650; line-height: 1.55; }
.product-name { display: block; padding-top: .25rem; font-size: 1rem; font-weight: 700; line-height: 1.5; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere; }
.product-open:hover .product-name { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: .3rem; padding: .3rem .7rem .6rem .9rem; }
.product-price { font-size: 1rem; font-weight: 770; font-variant-numeric: tabular-nums; }
.add-button { padding: .2rem .45rem; min-width: 44px; min-height: 44px; color: var(--blue); font-size: .9rem; font-weight: 650; border-radius: 4px; }
.add-button:hover { background: #eff5fa; }
.inventory { display: grid; grid-template-columns: minmax(170px,205px) minmax(0,1fr); gap: clamp(1.1rem,3vw,2.6rem); }
.sidebar { align-self: start; }
.sidebar h3 { padding: .2rem .65rem .6rem; font-size: 1.05rem; }
#category-options { display: grid; }
#category-options button { display: flex; align-items: center; justify-content: space-between; gap: .35rem; text-align: left; min-height: 44px; padding: .6rem .65rem; border-bottom: 1px solid #e7edf0; font-size: .93rem; }
#category-options button small { font-variant-numeric: tabular-nums; color: var(--muted); }
#category-options button[aria-pressed="true"] { background: #e8f1f7; color: var(--blue); border-inline-start: 3px solid var(--blue); padding-inline-start: calc(.65rem - 3px); font-weight: 750; }
.catalog-tools { display: flex; align-items: center; gap: .65rem; justify-content: space-between; min-height: 44px; margin-bottom: .55rem; }
#scope-title { font-size: 1.1rem; }
.results { min-width: 0; }
.mobile-filters { display: none; }
.text-button { color: var(--blue); min-height: 44px; text-decoration: underline; padding: .4rem; }
.more, .secondary, .primary { min-height: 46px; padding: .6rem 1rem; border-radius: 6px; font-size: 1rem; font-weight: 680; text-align: center; }
.more, .secondary { color: var(--navy); background: #fff; border: 1px solid #aebdca; }
.more { display: block; width: min(100%, 350px); margin: 1.7rem auto 0; }
.more:hover, .secondary:hover { background: #f1f5f8; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: var(--navy); color: #fff; }
.primary:hover { background: #174671; }
.empty { padding: 2rem 1rem; text-align: center; background: var(--wash); border-radius: 7px; }
.empty h3 { font-size: 1.2rem; }
.empty p { margin: .35rem 0 .9rem; color: var(--muted); }
.foot { border-top: 1px solid var(--line); min-height: 90px; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.foot strong { color: var(--navy); font-size: 1.08rem; }.foot a { margin-left: auto; padding: .7rem .2rem; }
body:has(.modal[open]) { overflow: hidden; }
.modal { color: var(--ink); background: #fff; padding: 0; border: 1px solid var(--line); border-radius: 12px; overscroll-behavior: contain; }
.modal::backdrop { background: #0a1d33a8; }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .65rem 1.35rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1; background: #fff; }
.modal-top strong, .modal-top h2 { font-weight: 750; font-size: 1.2rem; }
.close { font: 1.65rem/1 Arial,sans-serif; background: var(--wash); border-radius: 50%; }
.detail-modal { width: min(920px, calc(100% - 40px)); max-height: 90vh; max-height: 90dvh; }
.detail-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1rem,3vw,2.6rem); padding: clamp(1rem,3vw,2rem); }
.detail-info, .gallery { min-width: 0; }
.detail-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--wash); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.thumbnails { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.thumbnails button { width: 54px; height: 54px; border: 1px solid var(--line); padding: 2px; border-radius: 5px; }
.thumbnails button[aria-pressed="true"] { border: 2px solid var(--blue); padding: 1px; }
.thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.thumbnails .studio-button,.thumbnails .extra-photo { width: auto; display: flex; align-items: center; gap: .35rem; padding-inline: .4rem; }
.thumbnails .studio-button img,.thumbnails .extra-photo img { width: 36px; height: 36px; }
.thumbnails .extra-photo .image-missing { display:none; }
#gallery-caption { margin-top: .3rem; font-size: .9rem; color: var(--muted); }
.detail-info h2 { margin: .4rem 0; line-height: 1.35; letter-spacing: -.045em; font-size: clamp(1.45rem,2.6vw,2rem); word-break: keep-all; overflow-wrap: anywhere; }
.detail-price { font-size: 1.3rem; font-weight: 750; color: var(--navy); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.detail-block { margin-top: 1rem; }
.detail-block h3 { font-size: .95rem; margin-bottom: .25rem; }
.detail-block p, .detail-block li { color: var(--muted); overflow-wrap: anywhere; white-space: pre-line; }
.detail-block ul { padding-left: 1.2rem; }
#option-selectors { display: grid; gap: .52rem; }
#option-selectors label { display: grid; gap: .18rem; font-size: .9rem; font-weight: 650; }
#option-selectors select { min-width: 0; width: 100%; min-height: 44px; padding: .42rem .4rem; background: #fff; border: 1px solid #9aafbc; border-radius: 5px; font-weight: 450; }
#option-note:not(:empty), #selection-total:not(:empty) { margin-top: .55rem; }
#selection-total { color: var(--navy); font-weight: 700; }
.cart-option { font-size: .93rem; color: var(--blue); }
.detail-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.detail-status { color: var(--blue); font-size: .92rem; margin-top: .35rem; }
.source-link { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; color: var(--muted); font-size: .93rem; }
.specs { margin: 0 clamp(1rem,3vw,2rem) 1.5rem; border-top: 1px solid var(--line); }
.specs summary { padding: .85rem .25rem; font-weight: 700; min-height: 48px; }
#spec-images { display: grid; justify-items: center; gap: .8rem; }
#spec-images img { max-width: 100%; width: auto; height: auto; }
.asset-error { color: var(--muted); font-size: .92rem; padding: .8rem; }
.asset-error a { color: var(--blue); text-decoration: underline; }
.gallery-zoom { display: grid; place-items: center; position: relative; width: 100%; height: 100%; padding: 0; cursor: zoom-in; }
.gallery-zoom b { position: absolute; bottom: .5rem; right: .5rem; font-size: .84rem; font-weight: 650; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: .25rem .55rem; }
.detail-guides { margin: 0 clamp(1rem,3vw,2rem) 1.5rem; }
.detail-guides > details { margin: 0; border-top: 1px solid var(--line); }
.detail-guides > details > summary { font-size: 1rem; font-weight: 720; min-height: 49px; padding: .8rem .15rem; }
.guide-body { padding: 0 .15rem .95rem; }
.guide-body p { white-space: pre-line; overflow-wrap: anywhere; }
.fact-list { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .35rem .9rem; }
.fact-list dt { color: var(--muted); }.fact-list dd { margin: 0; }
#description-block { margin-top: .6rem; }
.photo-modal { width: min(900px,calc(100% - 16px)); height: min(92vh,840px); height: min(92dvh,840px); max-width: 100%; max-height: 100%; }
.photo-modal[open] { display: flex; flex-direction: column; }
.photo-tools,.photo-pager { display: flex; align-items: center; gap: .35rem; }
.photo-tools { justify-content: space-between; padding: .35rem .8rem; border-bottom: 1px solid var(--line); }
.photo-tools button { min-width: 44px; min-height: 44px; border-radius: 4px; font-weight: 650; }
#photo-scale { padding: .35rem .8rem; border: 1px solid var(--line); }
#photo-scale[aria-pressed=true] { background: var(--navy); color: white; }
.photo-pager button { font-size: 1.5rem; }
.photo-stage { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #edf1f4; }
.photo-sheet { width: 100%; }
.photo-stage.zoomed .photo-sheet { width: 200%; }
.photo-sheet img { width: 100%; height: auto; max-width: none; }
.photo-stage.product-fit:not(.zoomed) { display: grid; align-items: center; justify-items: center; }
.photo-stage.product-fit:not(.zoomed) .photo-sheet { width: min(100%,var(--fit-width,100%)); }
.photo-stage.product-fit.zoomed .photo-sheet { width: var(--double-width,200%); margin-inline: auto; }
.spec-photo { display: block; padding: 0; max-width: 100%; cursor: zoom-in; }
#custom-inputs { display: grid; gap: .5rem; }
#custom-inputs label,.documents-label { display: block; font-weight: 650; }
#custom-inputs textarea,#document-search { display: block; width: 100%; min-height: 44px; border: 1px solid #9aafbc; border-radius: 5px; padding: .5rem .65rem; font: inherit; }
#custom-inputs textarea { margin-top: .2rem; resize: vertical; }
.custom-hint { font-size: .87rem; margin-top: .3rem; }
.cart-memo { font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.menu-docs { display: inline-flex; align-items: center; min-height: 44px; margin-top: .3rem; color: var(--blue); font-weight: 650; }
.documents-modal { width: min(820px,calc(100% - 16px)); max-height: 90vh; max-height: 90dvh; }
.documents-content { padding: clamp(1rem,3vw,1.8rem); }
#document-search { margin: .3rem 0 .55rem; }
#documents-count,.document-meta { color: var(--muted); font-size: .9rem; }
.document-row { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.document-row h3 { font-size: 1rem; }
.document-actions { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.document-actions a { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue); text-decoration: underline; }
.cart-modal { width: min(470px,100%); height: 100%; max-width: 100%; max-height: 100%; inset: 0 0 0 auto; margin: 0; border-radius: 10px 0 0 10px; }
.cart-modal[open] { display: flex; flex-direction: column; }
.cart-content { padding: 1rem 1.25rem; overflow: auto; flex: 1; }
.cart-status { color: var(--muted); margin-bottom: .5rem; }
.cart-row { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: .8rem; padding-block: .75rem; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 66px; height: 66px; object-fit: contain; background: var(--wash); border-radius: 5px; }
.cart-name { font-weight: 650; }
.cart-price { color: var(--muted); font-size: .92rem; margin: .22rem 0; }
.cart-row-controls { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.step { border: 1px solid #afbfcc; border-radius: 4px; min-width: 44px; min-height: 44px; }
.cart-qty { min-width: 2rem; text-align: center; }
.remove-item { min-height: 44px; text-decoration: underline; color: var(--muted); margin-left: auto; }
.cart-bottom { border-top: 1px solid var(--line); padding: 1rem 1.25rem max(1.15rem, env(safe-area-inset-bottom)); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 700; }
.total strong { font-size: 1.25rem; }
.cart-bottom p { margin: .25rem 0 .75rem; font-size: .88rem; color: var(--muted); }
.cart-bottom .primary { width: 100%; }
.image-missing { display: grid; place-items: center; width: 100%; height: 100%; padding: .4rem; background: var(--wash); color: var(--muted); font-size: .85rem; }
.toast { position: fixed; z-index: 4; right: max(1rem,env(safe-area-inset-right)); bottom: max(1rem,env(safe-area-inset-bottom)); max-width: min(380px,calc(100% - 2rem)); padding: .7rem 1.05rem; color: #fff; background: var(--navy); border-radius: 6px; box-shadow: 0 4px 12px #102f502a; pointer-events: none; }
.toast:empty { display: none; }
@media(max-width:1000px) {
  .headline { gap: 1.2rem; }
  .wrap { width: calc(100% - 40px); }
  .inventory { grid-template-columns: 165px minmax(0,1fr); gap: 1.1rem; }
  .product-grid { gap: 1rem .7rem; }
}
@media(max-width:800px) {
  .inventory { display: block; }
  .sidebar, #scope-title { display: none; }
  .mobile-filters { display: block; max-width: 74%; }
  .mobile-filters select { max-width: 100%; min-height: 44px; background: #fff; border: 1px solid #9aafbc; border-radius: 5px; padding: .4rem 1rem .4rem .65rem; }
  .catalog-tools { justify-content: space-between; }
  .featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .wrap { width: calc(100% - 28px); }
  .notice, .category-text { font-size: .77rem; }
  .headline { display: grid; grid-template-columns: 1fr auto; gap: 6px 9px; padding: 10px 0; }
  .brand { font-size: 1.34rem; gap: .36rem; }.brand-mark { width: 35px; height: 35px; border-radius: 4px 9px 4px 4px; font-size: 1.15rem; }
  .cart-shortcut { grid-column: 2; grid-row: 1; gap: .3rem; font-size: .88rem; }
  .search { grid-column: 1/-1; grid-row: 2; width: 100%; max-width: none; }
  .search input { font-size: 1rem; }
  .category-menu summary { min-width: 0; min-height: 46px; padding-inline: .7rem; gap: .4rem; font-size: .88rem; }
  .main-nav a, .main-nav button { min-height: 46px; padding: .65rem .75rem; font-size: .9rem; }
  .nav-wrap { width: 100%; }
  .category-panel { padding: .75rem; max-height: min(65vh,460px); overflow: auto; }
  #menu-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { margin-top: .85rem; border-radius: 6px; }
  .banner-stage { aspect-ratio: 360/322; perspective: 900px; }
  .banner-panel { grid-template-columns: 1fr; grid-template-rows: minmax(0,1.59fr) minmax(0,1fr); }
  .banner-ad picture { aspect-ratio: 1200/652; }
  .showcase-mobile { --ad:#224bb1; }
  .showcase-zones { --ad:#216dc7; }
  .showcase-person .banner-ad picture { aspect-ratio: 2000/596; }
  .hero-story { grid-template-rows: 1fr; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); }
  .story-copy { align-self:center; padding:.55rem .56rem .55rem .22rem; }
  .story-copy small { font-size:.7rem; }
  .story-copy strong { font-size:clamp(.94rem,3.7vw,1.24rem); }
  .banner-bar { padding-inline: .65rem .12rem; }
  .banner-control { gap: 0; }.banner-label strong { font-size: .84rem; }
  .section { margin-block: 2.2rem; }
  .section-heading { margin-bottom: .7rem; padding-bottom: .4rem; }
  .all-products { font-size: .9rem; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem .55rem; }
  .product-copy { padding: .6rem .55rem 0; }
  .product-name { font-size: .94rem; line-height: 1.48; }
  .card-bottom { flex-wrap: wrap; padding: .25rem .35rem .35rem .55rem; gap: 0; }
  .product-price { font-size: .95rem; }.add-button { margin-left: auto; }
  .foot { gap: .3rem .7rem; padding-block: .75rem; }
  .detail-modal { width: calc(100% - 12px); max-width: 100%; max-height: 94vh; max-height: 94dvh; }
  .detail-layout { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .detail-photo { max-width: 20rem; margin-inline: auto; }
  .modal-top { padding: .45rem .8rem; }
  .cart-modal { border-radius: 0; }
}
@media print { .notice,.masthead,.cart-shortcut,.add-button,.toast,footer { display: none; } }

/* Warm stock, graphite type and a restrained safety-orange mark. */
:root {
  --ink: #182c2e;
  --navy: #193438;
  --blue: #205d65;
  --muted: #536361;
  --line: #d8dcd5;
  --wash: #f0f2ed;
  --accent: #eda054;
  --stock: #f7f6f1;
  --sheet: #fffefa;
}
body { background: var(--stock); }
.notice { background: #213536; color: #e7ece8; }
.notice .wrap { min-height: 28px; }
.masthead { background: var(--sheet); }
.brand { letter-spacing: -.065em; }
.brand-mark {
  position: relative;
  overflow: hidden;
  border-radius: 4px 12px 4px 4px;
  background: #193438;
  box-shadow: inset 0 -1px 0 #152829;
}
.brand-mark::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 42%; height: 4px; background: #f1a15a;
}
.search {
  border-color: #c4cdc5; border-radius: 999px;
  background: #f3f4ef;
}
.search:focus-within { border-color: var(--blue); outline-color: #8eada9; }
.search input { padding-inline-start: 1.25rem; }
.search button { padding-inline-end: .85rem; }
.quantity-badge { background: var(--navy); }
.nav-border { border: 0; box-shadow: inset 0 -1px #dde1d8; }
.category-menu summary {
  border: 0; background: #e7ebe1; color: var(--navy);
  border-radius: 9px 9px 0 0;
}
.category-menu[open] summary { background: var(--navy); color: white; }
.category-panel { border: 0; box-shadow: 0 12px 30px #13252628; }
.hero {
  background: var(--sheet); border: 0;
  border-radius: clamp(12px,1.5vw,22px);
  box-shadow: 0 12px 32px -22px #152d30a3;
}
.banner-bar { background: #1b3133; min-height: 54px; }
.marker { height: 7px; width: 7px; border-radius: 50%; }
.banner-label strong { letter-spacing: -.018em; }
.banner-control button:hover { border-radius: 50%; }
.section-heading { border: 0; margin-bottom: 1.1rem; padding: 0; }
.section h2 { font-weight: 800; }
.all-products {
  background: var(--sheet); padding-inline: 1rem;
  box-shadow: 0 1px 3px #19343815; border-radius: 99px;
  color: var(--navy); gap: .6rem;
}
.all-products:hover { background: #e8ede4; }
.result-count { color: #445654; }
.product {
  border: 0; border-radius: 14px; background: var(--sheet);
  box-shadow: 0 1px 3px #12272a17, 0 9px 24px -20px #152b2b80;
}
.product-image {
  border: 0;
  background: radial-gradient(ellipse at 45% 30%, #fcfcf7 8%, #eeefe9 92%);
}
.product-image > img { padding: .6rem; }
.product-copy { padding: 1rem 1.05rem 0; }
.product .category-text { color: #49605c; font-size: .77rem; font-weight: 650; }
.product-name { padding-top: .28rem; line-height: 1.48; }
.card-bottom { padding: .5rem .75rem .8rem 1.05rem; }
.product-price { color: #193438; letter-spacing: -.035em; }
.add-button { background: #eef2e9; border-radius: 8px; padding-inline: .65rem; color: #284c48; }
.add-button:hover { background: #dce7dc; }
.product:focus-within { box-shadow: 0 0 0 2px #306b70; }
.product-open:focus-visible { outline-offset: -4px; }
.sidebar {
  background: var(--sheet); padding: .8rem .55rem;
  border-radius: 14px; box-shadow: 0 2px 8px #1934380b;
}
.sidebar h3 { padding: .4rem .7rem .8rem; }
#category-options button { border: 0; border-radius: 7px; }
#category-options button:hover { background: #f1f3ec; }
#category-options button[aria-pressed="true"] {
  background: var(--navy); color: white;
  border-inline-start: 0; padding-inline-start: .65rem;
}
#category-options button[aria-pressed="true"] small { color: #dbe8df; }
.more { background: var(--sheet); border-color: #bdc9bf; border-radius: 99px; }
footer { background: var(--navy); }
.foot { min-height: 100px; color: #d6dfd9; border: 0; }
.foot strong, .foot a { color: #fff; }
@media(min-width:801px) {
  .headline { min-height: 87px; }
  .hero { margin-top: clamp(17px,2.35vw,34px); }
  .section { margin-block: clamp(3.2rem,5.2vw,5rem); }
  .section h2 { font-size: clamp(1.85rem,2.85vw,2.5rem); }
  .featured-grid { gap: clamp(.85rem,1.55vw,1.3rem); }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .product { transition: box-shadow .16s ease-out; }
  .product:hover { box-shadow: 0 4px 18px #102d301d; }
}
@media(max-width:650px) {
  .category-menu summary { border-radius: 0 8px 0 0; }
  .section { margin-block: 2.5rem; }
  .section-heading { margin-bottom: .7rem; }
  .hero { margin-top: .8rem; }
  .banner-bar { min-height: 49px; }
  .all-products { padding-inline: .78rem; font-size: .84rem; }
  .product { border-radius: 11px; }
  .product-image > img { padding: .28rem; }
  .product-copy { padding: .65rem .66rem 0; }
  .card-bottom { padding: .46rem .45rem .55rem .66rem; gap: .25rem; }
  .add-button { font-size: .81rem; padding-inline: .44rem; }
  .foot { min-height: 82px; }
}

/* Keep the supplied advert as the first-paint fallback. The searchable
   Korean hook and source-bound product layers form the full editorial scene. */
.banner-panel:has(.hero-story) { display: block; }
.banner-panel:has(.hero-story) .banner-ad { position: absolute; inset: 0; }
.banner-panel .hero-story {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr);
  grid-template-rows: 1fr;
  background: #e9ded0;
}
.hero-story .story-copy {
  grid-column: 1; grid-row: 1; align-self: stretch;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: clamp(12px,1.5vw,20px); padding: clamp(24px,4.3vw,68px);
  color: #2f2b23; background: #e9ded0;
}
.showcase-person .story-copy { background: #e1e8e4; color: #243831; }
.showcase-zones .story-copy { background: #e6e4d6; color: #34372a; }
.hero-story .story-copy small {
  display: flex; align-items: center; gap: .7em;
  font: 700 clamp(.8rem,1.2vw,1.05rem)/1.3 ui-monospace,monospace;
  color: inherit; letter-spacing: .08em;
}
.hero-story .story-copy small::before { content: ""; width: 1.7em; height: 2px; background: currentColor; }
.hero-story .story-copy strong {
  margin: 0; color: inherit; font-size: clamp(1.7rem,3.1vw,3.1rem);
  line-height: 1.19; text-wrap: balance; letter-spacing: -.065em;
}
.hero-story .story-window {
  grid-column: 2; grid-row: 1; background: var(--shade);
}
.hero-story .studio-cast { width: 100%; height: auto; max-height: 100%; max-width: 100%; }
.banner-stage { aspect-ratio: 1216/408; }
@media(max-width:650px) {
  .banner-stage { aspect-ratio: 360/338; }
  .banner-panel .hero-story {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(93px,.48fr) minmax(0,1fr);
  }
  .hero-story .story-copy {
    grid-row: 1; grid-column: 1; padding: .8rem 1.1rem;
    gap: .37rem;
  }
  .hero-story .story-copy small { font-size: .74rem; }
  .hero-story .story-copy strong { font-size: clamp(1.26rem,5.8vw,1.95rem); }
  .hero-story .story-window { grid-row: 2; grid-column: 1; }
  .hero-story .studio-cast { height: 100%; width: auto; }
}
.showcase-mobile { --set-extension: url("renders/base-585.webp"); }
.showcase-person { --set-extension: url("renders/base-573.webp"); }
.showcase-zones { --set-extension: url("renders/base-563.webp"); }
.hero-story .story-window { container-type: size; }
.hero-story .story-window::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--set-extension) center/100% 100% no-repeat;
}
@supports(width: 1cqh) {
  .hero-story .studio-cast {
    width: min(100%,140cqh); height: auto; aspect-ratio: 1120/800;
  }
}
