:root {
  color: #222;
  background: #f4f4f4;
  font-family: Pretendard, "Malgun Gothic", system-ui, sans-serif;
  --accent: #087d9f;
  --pale-accent: #effaff;
}
*, *::before, *::after { box-sizing: border-box; border: 0 solid; }
body, h1, h2, h3, p, ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; background: transparent; }
img { vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, a[href], [role="button"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#app { min-height: 100dvh; --app-safe-top: env(safe-area-inset-top, 0px); }
@media (max-width: 600px), (pointer: coarse) and (max-width: 1024px) {
  #app:has(> .screen-viewport) {
    background: white;
    padding-top: var(--app-safe-top);
  }
  #app:has(.screen > :first-child > .fgk.f11q:is([data-name="상단 광고 영역"], [data-name="상단 프로모션 배너"])) {
    --promo-top-padding: max(0px, calc(var(--app-safe-top) - min(40px, 10vw)));
    background: linear-gradient(#020202 var(--promo-top-padding), white var(--promo-top-padding));
    padding-top: var(--promo-top-padding);
  }
  #app > :is(.screen-viewport, .sticky-bottom-nav) { width: 100%; }
}
@media (display-mode: standalone) {
  :root { background: #020202; }
  #app::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    height: var(--app-safe-top);
    background: #020202;
    pointer-events: none;
  }
}
#app:has(> .sticky-bottom-nav) { display: flex; flex-direction: column; }
.sticky-bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 5;
  flex: none;
  width: min(100%, 402px);
  height: calc(var(--bottom-nav-height, 85px) + env(safe-area-inset-bottom, 0px));
  margin: auto auto 0;
  background: white;
}
.sticky-bottom-content { width: 402px; transform-origin: top left; }
.sticky-bottom-content > [data-name*="하단 내비게이션"] { position: relative; inset: auto; }
.sticky-bottom-content > [data-name*="하단 내비게이션"].fjc,
.sticky-bottom-content [data-name="bottom-nav__tabBar"].fjc { height: 73px; }
[data-name="bottom-nav__tabBar · 테두리"] { display: none; }
.bottom-tab-icon { color: #212121; }
.bottom-tab-icon > img { opacity: 0; }
.bottom-tab-icon::after { content: ""; position: absolute; inset: 0; background-color: currentColor; mask: var(--tab-icon) center / 100% 100% no-repeat; }
.bottom-tab-label { color: #212121; }
.bottom-tab-icon.is-current-tab, .bottom-tab-label.is-current-tab { color: #20a9d0; }
.purchase-bar { display: flex; gap: 8px; padding: 8px 16px; background: white; border-top: 1px solid #ddd; }
.purchase-bar button { flex: 1; min-height: 40px; border: 1px solid #222; border-radius: 14px; background: white; font-size: 14px; font-weight: 700; }
.purchase-bar button:last-child { background: #020202; color: white; }
.purchase-bar--inline { position: absolute; top: 96px; inset-inline: 0; gap: 12px; padding: 0; border: 0; }
.purchase-bar--inline button:first-child { border-color: #20a9d0; color: var(--accent); }
.purchase-bar--detail { gap: 4px; padding: 10px 16px 28px 6px; }
.purchase-bar--detail button { min-height: 44px; }
.purchase-bar--detail :is(.purchase-wishlist, .purchase-review) { flex: none; border: 0; border-radius: 0; font-weight: 400; }
.purchase-wishlist { width: 50px; }
.live-wishlist { position: absolute; top: 128px; left: 16px; width: 370px; max-height: 355px; overflow-y: auto; display: grid; gap: 10px; }
.live-wishlist .live-wishlist-item { position: relative; inset: auto; }
.recent-product-item [data-node-id="279:16912"] { left: 16px; }
.recent-product-item :is([data-node-id="279:16913"], [data-node-id="279:16914"]) { left: 110px; width: calc(100% - 126px); }
.recent-product-item [data-node-id="279:16913"] p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-wishlist-empty { padding-top: 30px; text-align: center; font-size: 14px; }
.wishlist-check-slot { border: 0; background: transparent; }
.wishlist-item-check, .wishlist-check-all { width: 19px; height: 19px; margin: 0; cursor: pointer; accent-color: var(--accent); }
.purchase-review { width: 62px; }
.screen :is([data-node-id="279:17679"], [data-node-id="279:17680"], [data-node-id="279:17681"], [data-node-id="279:17682"], [data-node-id="279:17683"], [data-node-id="279:17703"]) { transform: translateY(28px); }
.menu-category-panel { position: absolute; z-index: 10; left: 18.5px; width: 239px; padding: 8px 12px; border: 1px solid #e5e5e5; border-radius: 8px; background: white; box-shadow: 0 4px 12px rgb(0 0 0 / 10%); }
.menu-category-panel p { min-height: 25px; color: #555; font-size: 13px; line-height: 25px; }
.screen [data-prescription-selected="true"] { background-color: #dae8ff !important; color: #087d9f; }
.screen [data-prescription-selected="true"]::after { position: absolute; top: 50%; right: 16px; color: #087d9f; font-weight: 700; content: "✓"; transform: translateY(-50%); }
.purchase-consent { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.screen-viewport { width: min(100%, 402px); margin-inline: auto; overflow: clip; }
#app > .screen-viewport { flex: none; }
.screen { position: relative; width: 402px; transform-origin: top left; background: white; }
.screen > :first-child { isolation: isolate; border-color: transparent; }
.product-frame [data-name="header · 테두리"] { background-color: #e2e2e2; }
.screen [data-target], .screen [data-action] { cursor: pointer; }
.screen :is(.header-cart-link, .header-search-link) { z-index: 2; overflow: visible; }
:is(.header-cart-link, .header-search-link)::before { content: ""; position: absolute; inset: -10px -7px; }
.header-action-slot { position: absolute; top: 50%; width: 24px; height: 24px; translate: 0 -50%; }
.header-action-slot > img { display: block; width: 100%; height: 100%; }
.header-action-slot--search { right: 56px; }
.header-action-slot--cart { right: 18px; }
[data-name="주문서 헤더"] > .header-action-slot--search { top: 82px; right: 89px; }
.header-cart-count { position: absolute; top: -3px; right: -4px; display: grid; place-items: center; min-width: 16px; height: 16px; padding-inline: 3px; border-radius: 999px; background: #808080; color: white; font: 600 10px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; pointer-events: none; }
.home-row-thumbnail { overflow: hidden; border-radius: 11px 0 0 11px; }
.diameter-strip { right: 20px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.diameter-strip::-webkit-scrollbar { display: none; }
.diameter-strip ul { display: flex; gap: 7px; width: max-content; padding: 0; list-style: none; }
.diameter-strip li { display: grid; place-items: center; height: 34px; padding-inline: 10px; border: 1px solid #20a9d0; border-radius: 17px; color: #20a9d0; font-size: 13px; font-weight: 500; white-space: nowrap; }
.diameter-strip li[aria-pressed="true"] { border-color: #20a9d0; background: #20a9d0; color: white; }
.screen .product-sort { z-index: 3; overflow: visible; background: white; }
.product-sort summary { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; color: #5c5c5c; font-size: 12px; line-height: 1; white-space: nowrap; list-style: none; cursor: pointer; touch-action: manipulation; }
.product-sort summary::-webkit-details-marker { display: none; }
.product-sort summary::before { content: ""; position: absolute; inset: -14px 0; }
.product-sort summary::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.5px solid #222; border-bottom: 1.5px solid #222; transform: translateY(-2px) rotate(45deg); }
.product-sort[open] summary::after { transform: translateY(2px) rotate(225deg); }
.product-sort-options { position: absolute; z-index: 1; top: 100%; inset-inline: -1px; border: 1px solid #bababa; background: white; }
.product-sort-options button { display: block; width: 100%; min-height: 42px; padding-inline: 11px; color: #222; font-size: 13px; text-align: left; white-space: nowrap; }
.product-sort-options button + button { border-top: 1px solid #e2e2e2; }
.menu-brand-logo { position: absolute; top: 108px; left: 22px; width: 172px; height: auto; }
.menu-categories { position: absolute; top: 506.25px; left: 18.5px; width: 239px; color: #212121; font-size: 14px; }
.menu-categories summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding-inline: 2px; border-bottom: 1px solid #6b6b6b; font-weight: 700; list-style: none; cursor: pointer; }
.menu-categories summary::-webkit-details-marker { display: none; }
.menu-categories summary::after { content: "+"; font-size: 21px; font-weight: 400; }
.menu-categories details[open] > summary::after { content: "−"; }
.menu-categories a { display: flex; align-items: center; min-height: 42px; padding-inline: 2px; }
.menu-category-children { padding: 4px 0 8px 12px; }
.menu-category-children summary { min-height: 42px; border-color: #e2e2e2; }
.menu-category-help { padding-block: 23px 8px; color: #5c5c5c; font-size: 10px; letter-spacing: 2px; }
.menu-category-footer { translate: 0 var(--menu-extra, 0px); }
[data-node-id="279:13795"], [data-node-id="279:13796"] { height: calc(1410px + var(--menu-extra, 0px)); }
[data-node-id="279:13797"] { height: calc(1409px + var(--menu-extra, 0px)); }
[data-node-id="279:13779"] { height: calc(618px + var(--menu-extra, 0px)); }
.home-shortcuts { position: absolute; z-index: 1; top: 615px; left: 3px; display: grid; grid-template-columns: repeat(5, 78px); grid-auto-rows: 93px; row-gap: 17px; }
.home-shortcuts--expanded { top: 563px; left: 16px; grid-template-columns: repeat(5, 74px); }
.home-shortcuts > :is(a, button) { display: block; }
.screen .toric-carousel { overflow: visible; }
.toric-viewport { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; }
.toric-track { position: absolute; top: 0; display: flex; gap: 20px; height: 100%; }
.toric-track > img { flex: 0 0 305px; width: 305px; height: 100%; object-fit: cover; }
.toric-playback { position: absolute; top: calc(100% + 4px); right: 0; width: 32px; height: 32px; color: #222; background: white; font-size: 15px; }
@media (pointer: fine) {
  .toric-viewport { cursor: grab; }
  .toric-viewport.is-dragging { cursor: grabbing; }
}
:is(.screen, .component-preview) :is(input, textarea).screen-field {
  position: absolute;
  z-index: 1;
  inset: 0 12px 0 45px;
  width: calc(100% - 57px);
  min-width: 0;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
}
.screen-field::placeholder { color: inherit; opacity: 1; }
.invite-link-input { display: block; width: 100%; height: 100%; min-width: 0; padding-inline: 10px; border: 0; border-radius: inherit; background: transparent; font-size: 13px; }
.invite-copy-label { pointer-events: none; }
.family-tier-star { left: 14.5px; top: 50%; transform: translateY(-50%); }
:is(.screen, .component-preview) [data-name="아이디 또는 이메일 입력"] .screen-field,
:is(.screen, .component-preview) [data-name="비밀번호 입력"] .screen-field { inset-inline: 59px 44px; width: calc(100% - 103px); }
.screen [data-name="address"] .screen-field,
.screen [data-name="매장명 또는 주소 검색"] .screen-field { inset-inline: 14px 36px; width: calc(100% - 50px); }
.checkout-store-results { position: absolute; left: 12px; top: 775px; width: 378px; height: 729px; }
.cart-order-selection:disabled { opacity: .45; cursor: default; }
.screen .cart-check-slot { left: 17px; top: 17px; width: 20px; height: 20px; background: transparent; overflow: visible; }
.cart-item-check { display: block; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.cart-remove { position: absolute; right: 14px; top: 17px; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #b5b5b5; border-radius: 2px; }
.cart-remove img { display: block; }
.cart-stepper { position: absolute; top: 5.31px; left: 238px; width: 72px; height: 30px; display: grid; grid-template-columns: 22px minmax(0, 1fr) 22px; align-items: center; border: 1px solid #d6d6d6; border-radius: 5px; background: white; text-align: center; }
.cart-stepper button { height: 100%; line-height: 1; }
.cart-stepper button:disabled { opacity: .4; cursor: default; }
.cart-stepper output { font-size: 12px; }
.screen .payment-method { border: 1px solid transparent; background: white; text-align: left; padding-inline: 26px; font-size: 14px; }
.screen .payment-method[aria-pressed="true"] { border-color: #64acd9; color: #367fae; font-weight: 700; }
.payment-field { display: block; width: 100%; height: 100%; min-width: 0; padding-inline: 12px; border: 0; border-radius: inherit; background: transparent; font-size: 13px; }
.payment-choice { display: contents; cursor: pointer; }
.payment-choice input { display: block; width: 100%; height: 100%; margin: 0; accent-color: #5367e8; cursor: pointer; }
.checkout-back { position: absolute; top: 60px; left: 6px; display: grid; place-items: center; width: 44px; height: 44px; }
.pickup-store-choice > input { position: absolute; z-index: 1; inset: -11px; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.pickup-guide-cta { display: grid; place-items: center; }
[data-name="lb-pickup-use-location"] { display: grid; place-items: center; text-align: center; white-space: nowrap; }
.pickup-store-choice:has(> input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 50%; }
.pickup-store-choice:has(> input:checked) { background: var(--pale-accent); border-radius: 50%; }
.pickup-store-choice:has(> input:checked) > img { opacity: 0; }
.pickup-store-choice:has(> input:checked)::after { content: ""; position: absolute; inset: 0; background: var(--accent); mask: url("assets/73676.svg") center / contain no-repeat; }
.screen .home-filter-link { display: grid; place-items: center; top: 1410px; left: 307px; width: 79px; height: 28px; border: 1px solid #ead5df; border-radius: 14px; background: #fff; color: #674a5b; font-size: 11px; }
.filter-chip[aria-pressed="true"] { background: #ffe7f2; border-color: #ed3a8c; }
.screen [data-name="top_search_box"] > .screen-field { inset-inline: 20px 48px; width: calc(100% - 68px); padding: 0; font-size: 16px; }
.screen .search-filter-chip { display: grid; place-items: center; border: 1px solid #20a9d0; background: white; color: #20a9d0; font-size: 12px; white-space: nowrap; }
.screen .search-filter-chip[aria-pressed="true"] { border-color: #20a9d0; background: #20a9d0; color: white; }
.search-best-link::before { content: ""; position: absolute; inset: -12px -8px; }
.screen .axis-brand-chip[aria-pressed="true"] { border-color: #20a9d0; background-color: #20a9d0; }
.screen .axis-brand-label { pointer-events: none; }
.screen .axis-brand-label.is-selected-brand { color: #fff; }
[data-name="조건 접기 버튼"] > :not(a) { pointer-events: none; }
[data-name="사업자 정보 영역"] > [data-name="사업자 정보 펼치기"] { inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: manipulation; }
[data-name="사업자 정보 영역"] > [data-name="사업자 정보 펼치기"] > div { translate: 22.5px 5px; }
[data-name="연결 · 사업자 정보 펼치기"],
[data-name="프로토타입 · 사업자정보 펼치기"],
[data-name="프로토타입 · 사업자정보 접기"] { left: 0; width: 100%; min-height: 34px; touch-action: manipulation; }
.business-note { position: absolute; z-index: 2; inset: 100% 0 auto; padding: 10px 22px; background: #020202; color: white; font-size: 12px; }
.catalog { max-width: 760px; min-height: 100vh; margin: auto; padding: 32px 20px; background: white; }
.catalog h1 { margin-block: 18px; }
.catalog h2 { margin-block: 24px 10px; font-size: 18px; }
.catalog a { color: var(--accent); }
.catalog-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.catalog-links a, .sample { padding: 12px; border: 1px solid #dce5e8; border-radius: 8px; }
.sample { overflow: auto; background: white; }
.sample + .sample { margin-top: 10px; }
.component-preview { position: relative; width: 402px; }
