@charset "UTF-8";
/* ============================================================
   AirVaper — Design System
   ------------------------------------------------------------
   디자이너 교체 지점: 아래 :root 블록만 바꾸면 전체 톤이 바뀝니다.
   그 아래 구조 CSS 는 건드리지 마세요.
   ============================================================ */

:root {
  /* ── 색 ──────────────────────────────────────────────
     원색(primary color) 원칙:
       중간 채도의 색을 쓰지 않는다. 검정은 검정, 빨강은 빨강, 노랑은 노랑.
       회색조에 파란 기운을 섞지 않는다 — 그 순간 톤이 흐려진다.

     ⚠ 아래 --av-*-rgb 값은 rgba() 를 만들기 위한 것이다.
       색을 바꿀 때 hex 와 rgb 를 반드시 함께 바꿔야 한다. */

  /* ── 원색 원본 ──────────────────────────────────────
     ⚠ 이 4개는 절대 재정의하지 않는다.
       원색 블록(.av-section--brand 등)은 자기 안에서 --av-accent 를 뒤집는데,
       배경까지 --av-accent 로 칠하면 그 재정의가 배경에도 적용돼 색이 뒤집힌다.
       (커스텀 속성은 선언 순서와 무관하게 "자기 요소의 값"이 이긴다)
       그래서 블록 배경은 반드시 아래 원본 토큰을 쓴다. */
  --av-red:           #E60012;
  --av-yellow:        #FFF200;
  --av-black:         #000000;
  --av-white:         #FFFFFF;

  /* 바닥 — 중성 검정. 파란 기운 없음 */
  --av-bg:            #0A0A0A;
  --av-bg-rgb:        10,10,10;
  --av-bg-soft:       #121212;   /* 섹션 대비면 */
  --av-bg-card:       #171717;   /* 카드 */
  --av-bg-elev:       #1F1F1F;   /* 떠 있는 요소 */

  /* 글자 — 순백과 중성 회색
     ⚠ --av-fg-dim 은 본문 크기로도 쓰이므로 대비 4.5:1 을 넘겨야 한다.
       #6E6E6E 는 카드 위에서 3.5:1 로 미달이었다. */
  --av-fg:            #FFFFFF;
  --av-fg-muted:      #A8A8A8;
  --av-fg-dim:        #8A8A8A;

  /* 강조 */
  --av-accent:        var(--av-red);
  --av-accent-rgb:    230,0,18;
  --av-accent-ink:    var(--av-white);   /* 빨강 위 글자 */
  --av-accent-2:      var(--av-yellow);
  --av-accent-2-rgb:  255,242,0;
  --av-accent-2-ink:  var(--av-black);   /* 노랑 위 글자 */

  /* 작은 강조 라벨(eyebrow 등) 전용.
     빨강은 12px 급에서 검정 배경 대비 4.1:1 로 미달이라 노랑을 쓴다. */
  --av-label:         var(--av-yellow);

  /* 상태 — 전부 원색 */
  --av-danger:        var(--av-red);   /* 브랜드 레드와 동일. 파괴적 동작 */
  --av-success:       #00E676;
  /* 초록 면 위에 얹는 글자색.
     #00E676 은 밝아서 흰 글자가 1.7:1 밖에 안 나온다 → 검정을 쓴다.
     밝은 테마는 초록이 어두워지므로 admin.css 에서 흰색으로 뒤집는다. */
  --av-success-ink:   var(--av-black);
  --av-warn:          #FF9100;

  --av-line:          rgba(255,255,255,.10);
  --av-line-strong:   rgba(255,255,255,.22);

  /* 마우스 올렸을 때의 면.
     ⚠ 흰색 알파를 직접 쓰면 밝은 테마에서 아무것도 안 보인다. 토큰으로 둔다. */
  --av-hover:         rgba(255,255,255,.05);
  --av-hover-strong:  rgba(255,255,255,.09);

  /* 이미지가 없을 때의 자리 배경 (상품·이벤트 썸네일 공통)
     ⚠ 그라데이션을 쓰지 않는다. 원색 원칙과 어긋나고 톤이 흐려진다. */
  --av-media:         #161616;

  /* ── 타이포 ─────────────────────────────────────────── */
  --av-font-display: "Google Sans Flex", Pretendard, -apple-system, BlinkMacSystemFont,
                     "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --av-font-body:    "Google Sans Flex", Pretendard, -apple-system, BlinkMacSystemFont,
                     "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --av-font-mono:    "Google Sans Flex", Pretendard, ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* 텍스트 선택 — 어두운 화면의 기본 흰 글자를 반전한다 */
  --av-selection-bg:  var(--av-white);
  --av-selection-ink: var(--av-black);

  /* ── 치수 ─────────────────────────────────────────────
     ⚠ 정렬 규칙: 좌우 컬럼의 첫 줄 Y 를 맞추려면
       모든 섹션이 --av-gutter 하나만 써야 한다.
       개별 컴포넌트가 자기 padding 을 만들면 줄이 어긋난다. */
  --av-container:  1440px;
  --av-container-narrow: 880px;
  --av-gutter:     28px;   /* 헤더·본문·푸터가 공유하는 좌우 정렬선 */
  --av-header-h:   142px;

  --av-radius:     14px;
  --av-radius-sm:  8px;
  --av-radius-pill: 999px;

  --av-gap-xs: 8px;
  --av-gap-sm: 16px;
  --av-gap:    24px;
  --av-gap-lg: 40px;
  --av-gap-xl: 80px;
  --av-section: 120px;  /* 섹션 상하 여백 */

  --av-ease: cubic-bezier(.22,.61,.36,1);
  --av-shadow: 0 18px 50px rgba(0,0,0,.45);
}

@media (max-width: 900px) {
  :root {
    --av-gutter: 20px;
    --av-header-h: 136px;
    --av-section: 72px;
    --av-gap-xl: 48px;
  }
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 페이지 길이와 관계없이 세로 스크롤 레일을 유지해 가로 흔들림을 막는다. */
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
html.lenis { scroll-behavior: auto; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--av-bg);
  color: var(--av-fg);
  font-family: var(--av-font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;   /* 마퀴가 가로 스크롤을 만들지 않도록 */
}

/* 모바일 문서의 가로 넘침만 차단한다. 세로 스크롤과 내부 스크롤은 유지한다. */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }
}

/*
 * 비메인 페이지 진입 시 페이지 제목만 움직인다.
 * 본문·배경·헤더·푸터는 즉시 표시한다.
 */
.av-context-page > .av-main h1 {
  animation: av-page-enter .96s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes av-page-enter {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/*
 * 같은 도메인의 문서 이동은 레이아웃을 움직이지 않고 짧게 교차 페이드한다.
 * 스크롤바 예약과 함께 페이지 폭·높이 차이에서 오는 순간적인 덜컹임을 가린다.
 */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: av-document-out .18s ease-out both;
}
::view-transition-new(root) {
  animation: av-document-in .32s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes av-document-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes av-document-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 테마 전환 중에는 위치·크기가 아닌 화면의 색과 표면만 보간한다. */
.av-theme-changing :where(body, body *, body *::before, body *::after) {
  transition-property: color, background-color, border-color, outline-color, box-shadow, fill, stroke;
  transition-duration: .48s;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}
[data-theme-product-image],
[data-theme-video] {
  transition: opacity .24s cubic-bezier(.22,.61,.36,1);
}
[data-theme-product-image].is-theme-media-switching,
[data-theme-video].is-theme-media-switching {
  opacity: .14 !important;
  transition: opacity .18s cubic-bezier(.22,.61,.36,1) !important;
}

*::selection {
  background-color: var(--av-selection-bg);
  color: var(--av-selection-ink);
  text-shadow: none;
}
*::-moz-selection {
  background-color: var(--av-selection-bg);
  color: var(--av-selection-ink);
  text-shadow: none;
}

/* 컬러 텍스트는 자기 글자색을 선택 박스 색으로 사용한다 */
:where(
  .hero__line--accent,
  .about-history__year,
  .finder-result__name,
  .cart-sum__hint strong,
  .cart-sum__total strong,
  .mystat__value--sm,
  .point-hero__value,
  .step__no,
  .agree a,
  .adm-side__mark b,
  .adm-login__logo b,
  .order-card__status--paid
) {
  --av-selection-bg: var(--av-red);
  --av-selection-ink: var(--av-black);
}
:where(
  .av-gate__title,
  .av-eyebrow,
  .av-label__req,
  [style*="color:var(--av-label)"],
  [style*="color: var(--av-label)"],
  [style*="color:#fcf145" i],
  [style*="color: #fcf145" i]
) {
  --av-selection-bg: #fcf145;
  --av-selection-ink: var(--av-black);
}
:where(
  [style*="color:var(--av-warn)"],
  [style*="color: var(--av-warn)"]
) {
  --av-selection-bg: var(--av-warn);
  --av-selection-ink: var(--av-black);
}
:where(
  [style*="color:var(--av-success)"],
  [style*="color: var(--av-success)"]
) {
  --av-selection-bg: var(--av-success);
  --av-selection-ink: var(--av-black);
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--av-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   레이아웃 프리미티브
   ------------------------------------------------------------
   .av-container 가 좌우 여백의 유일한 소유자다.
   내부 컴포넌트는 자기 좌우 padding 을 갖지 않는다 —
   그래야 헤더·본문·푸터의 첫 글자 X 좌표가 픽셀 단위로 맞는다.
   ============================================================ */
.av-container {
  width: 100%;
  max-width: calc(var(--av-container) + var(--av-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--av-gutter);
}
.av-container--narrow { max-width: calc(var(--av-container-narrow) + var(--av-gutter) * 2); }
.av-container--flush  { padding-inline: 0; }   /* 풀블리드 전용 */

.av-section { padding-block: var(--av-section); }
.av-section--tight { padding-block: var(--av-gap-xl); }
.av-section--soft { background: var(--av-bg-soft); }

/* 원색 블록 — 이 몰의 인상을 만드는 요소.
   섹션 전체를 순색으로 덮고, 그 위 글자·테두리 색을 통째로 뒤집는다. */
.av-section--brand,
.av-section--pop { position: relative; }

.av-section--brand {
  background: var(--av-red);        /* ← --av-accent 로 칠하면 아래 재정의에 걸려 흰색이 된다 */
  color: var(--av-white);
  --av-fg:          var(--av-white);
  /* ⚠ 빨강(#E60012) 위에서 흰색은 100% 여야 4.80:1 로 AA 를 넘는다.
     .84 는 3.59:1, .68 은 2.65:1 로 미달이다.
     위계는 투명도가 아니라 글자 크기·굵기로 준다. */
  --av-fg-muted:    var(--av-white);
  --av-fg-dim:      var(--av-white);
  --av-line:        rgba(255,255,255,.28);
  --av-line-strong: rgba(255,255,255,.5);
  --av-accent:      var(--av-white);   /* 빨강 위에서는 흰색이 강조색 */
  --av-accent-ink:  var(--av-red);
  --av-label:       var(--av-white);
}

.av-section--pop {
  background: var(--av-yellow);
  color: var(--av-black);
  --av-fg:          var(--av-black);
  --av-fg-muted:    rgba(0,0,0,.74);
  --av-fg-dim:      rgba(0,0,0,.58);
  --av-line:        rgba(0,0,0,.18);
  --av-line-strong: rgba(0,0,0,.34);
  --av-accent:      var(--av-black);
  --av-accent-ink:  var(--av-yellow);
  --av-label:       var(--av-black);
  --av-selection-bg:  var(--av-black);
  --av-selection-ink: var(--av-white);
}

.av-stack   { display: flex; flex-direction: column; gap: var(--av-gap); }
.av-row     { display: flex; align-items: center; gap: var(--av-gap-sm); }
.av-row--between { justify-content: space-between; }
.av-spacer  { flex: 1 1 auto; }

/* ============================================================
   타이포그래피
   ============================================================ */
.av-display {
  font-family: var(--av-font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.av-h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.av-h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2;  letter-spacing: -.025em; font-weight: 700; }
.av-h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3;  letter-spacing: -.02em; font-weight: 700; }

.av-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--av-label);
}
.av-lead  { font-size: 1.0625rem; color: var(--av-fg-muted); }
.av-muted { color: var(--av-fg-muted); }
.av-dim   { color: var(--av-fg-dim); }
.av-small { font-size: .875rem; }
.av-xs    { font-size: .8125rem; }

/* 섹션 헤더 — 모든 섹션이 같은 컴포넌트를 써야 첫 줄 Y 가 맞는다 */
.av-section-head {
  display: flex;
  /* flex-end 는 "박스 하단"을 맞춘다. 제목은 line-height 의 half-leading 만큼
     글자가 박스 위쪽에 뜨고, 버튼은 글자가 알약 안에서 세로 중앙이라
     박스를 맞추면 글자끼리는 약 4px 어긋난다.
     last baseline 이 제목의 마지막 줄과 액션의 글자 baseline 을 맞춰준다.
     ⚠ 미지원 브라우저는 이 줄을 버리고 위의 flex-end 로 남는다 — 순서를 바꾸지 말 것. */
  align-items: flex-end;
  align-items: last baseline;
  justify-content: space-between;
  gap: var(--av-gap);
  margin-bottom: var(--av-gap-lg);
}
.av-section-head__text { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   버튼
   ============================================================ */
.av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 26px;
  border-radius: var(--av-radius-pill);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .22s var(--av-ease), border-color .22s var(--av-ease), color .22s var(--av-ease), opacity .22s var(--av-ease);
}

.av-btn--primary { background: var(--av-accent); color: var(--av-accent-ink); }
.av-btn--primary:hover { background: color-mix(in srgb, var(--av-accent) 88%, #000); }

.av-btn--ghost { border: 1px solid var(--av-line-strong); color: var(--av-fg); }
.av-btn--ghost:hover { border-color: var(--av-accent); color: var(--av-accent); }

.av-btn--solid { background: var(--av-fg); color: var(--av-bg); }
.av-btn--solid:hover { background: var(--av-fg-muted); }

.av-btn--block { width: 100%; }
.av-btn--sm { height: 38px; padding-inline: 18px; font-size: .875rem; }
.av-btn--lg { height: 56px; padding-inline: 34px; font-size: 1rem; }

.av-btn:disabled,
.av-btn[aria-disabled="true"] {
  opacity: .4;
  pointer-events: none;
}

/* ============================================================
   마퀴 (무한 흐름 텍스트)
   ============================================================ */
/* ⚠ 간격을 track 의 gap 으로 주면 안 된다.
   트랙 폭 = 아이템합 + gap×(n-1) 이라 -50% 이동이 정확히 한 바퀴가 아니고,
   매 바퀴 이음새에서 gap 만큼(측정값 24px) 툭 튄다.
   각 아이템이 자기 뒤쪽 여백을 들고 있어야 폭이 정확히 2등분된다. */
.av-marquee {
  --marquee-duration: 34s;
  --marquee-space: 48px;
  position: relative;
  overflow: hidden;
  padding-block: 22px;
  border-block: 1px solid var(--av-line);
  background: var(--av-bg-soft);
  user-select: none;
}
.av-marquee--products {
  --marquee-duration: 26s;
  border-block: 0;
  background: #e0e0e0;
}
.av-marquee--products .av-marquee__track {
  animation-name: av-marquee-products;
}
.av-marquee--products .av-marquee__item { color: #121212; }
.av-marquee--products .av-marquee__item::after { background: var(--av-red); }
.av-marquee__track {
  display: flex;
  width: max-content;
  animation: av-marquee var(--marquee-duration) linear infinite;
}
.av-marquee__item {
  font-family: var(--av-font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--av-fg);
  display: flex;
  align-items: center;
  gap: var(--marquee-space);
  padding-inline-end: var(--marquee-space);   /* ← track gap 대신 자기 여백 */
  white-space: nowrap;
}
.av-marquee__item::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--av-accent);
  flex-shrink: 0;
}

/* 한글은 획이 많아 1px 아웃라인으로 그리면 뭉개져 읽히지 않는다.
   외곽선 대신 색을 낮춘 솔리드로 처리한다. */
.av-marquee--outline .av-marquee__item {
  color: var(--av-fg-dim);
}

.av-marquee--reverse .av-marquee__track { animation-direction: reverse; }

/* 원색 마퀴 띠 — 검정 화면을 가로지르는 색 띠가 이 몰의 시그니처다 */
.av-marquee--brand {
  background: var(--av-red);
  border-color: transparent;
}
.av-marquee--brand .av-marquee__item { color: var(--av-white); }
.av-marquee--brand .av-marquee__item::after { background: var(--av-white); }

.av-marquee--pop {
  background: var(--av-yellow);
  border-color: transparent;
}
.av-marquee--pop .av-marquee__item { color: var(--av-black); }
.av-marquee--pop .av-marquee__item::after { background: var(--av-black); }

@keyframes av-marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}
@keyframes av-marquee-products {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-25%,0,0); }
}

/* ============================================================
   상품 카드
   ============================================================ */
.av-grid {
  display: grid;
  gap: var(--av-gap);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.av-grid--4 { grid-template-columns: repeat(4, 1fr); }
/* 4열 → 2열로만 떨어뜨린다. 3열 단계를 두면 4의 배수로 맞춘 개수가 다시 어긋난다.
   1024 를 1200 으로 올려봤더니 1100px 에서 카드가 490px 로 부풀어 더 나빴다.
   1024 기준에서 4열 최소폭이 218px — 좁지만 카드 내용은 다 들어간다. */
@media (max-width: 1024px) { .av-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .av-grid, .av-grid--4 { grid-template-columns: repeat(2, 1fr); gap: var(--av-gap-sm); } }

.av-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--av-ease);
}
.av-card:hover { border-color: var(--av-line-strong); transform: translateY(-4px); }

.av-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--av-media);
  overflow: hidden;
}
.av-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: none;
  transition: opacity .56s cubic-bezier(.22,.61,.36,1);
}
.av-card:hover .av-card__media img { transform: none; opacity: .74; }

.av-card__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--av-fg-dim);
  font-family: var(--av-font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
  opacity: .35;
}

/* 카드 본문 — 모든 카드가 동일한 내부 padding 을 쓴다.
   여기가 카드마다 달라지면 그리드에서 텍스트 줄이 어긋난다. */
.av-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  flex: 1 1 auto;
}
/* 카드는 차분하게 두고 강조는 섹션 라벨에서 준다.
   카드마다 원색을 쓰면 그리드 전체가 시끄러워진다. */
.av-card__brand {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--av-fg-muted);
  text-transform: uppercase;
}
.av-card__name {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;      /* 2줄 고정 — 카드 하단 가격 Y 좌표를 맞추기 위함 */
}
.av-card__summary {
  font-size: .8125rem;
  color: var(--av-fg-dim);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.av-card__price {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.av-card__price del { font-size: .8125rem; font-weight: 500; color: var(--av-fg-dim); }
.av-card__price.is-locked {
  font-size: .875rem;
  font-weight: 600;
  color: var(--av-fg-muted);
}
.av-card__price.is-locked::before {
  content: "";
  width: 13px; height: 13px;
  background: currentColor;
  -webkit-mask: var(--av-icon-lock) center/contain no-repeat;
  mask: var(--av-icon-lock) center/contain no-repeat;
  align-self: center;
}

.av-badges {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}
.av-badge {
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding-inline: 9px;
  border-radius: var(--av-radius-pill);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  border: 1px solid var(--av-line-strong);
}
.av-badge--new  { background: var(--av-fg); color: var(--av-bg); border-color: transparent; }
.av-badge--hot  { background: #E60012; color: #fff; border-color: transparent; }
:is(.av-card, .pdp__main) .av-badge--new { background: #fcf145; color: #121212; }
.av-badge--sale { background: var(--av-accent); color: var(--av-accent-ink); border-color: transparent; }
.av-badge--ws   { background: var(--av-accent-2); color: var(--av-accent-2-ink); border-color: transparent; }
.av-badge--zero { background: var(--av-success); color: #000; border-color: transparent; }

.av-card__wish {
  position: absolute;
  inset-block-end: 4px;
  inset-inline-end: 2px;
  z-index: 4;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fcf145;
  transition: color .28s var(--av-ease), opacity .28s var(--av-ease);
}
.av-card__wish svg { display: block; width: 38px; height: 38px; fill: transparent; transition: opacity .28s var(--av-ease); }
.av-card__wish:hover { color: #fcf145; opacity: .72; }
.av-card__wish.is-on svg { fill: currentColor; }

.av-card__soldout {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(var(--av-bg-rgb), .78);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 3;
}

/* ============================================================
   필터 (불닭형 2단 필터)
   ============================================================ */
.av-filter { display: flex; flex-direction: column; gap: 14px; }
.av-filter__row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.av-filter__label {
  flex: 0 0 72px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--av-fg-dim);
}
.av-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding-inline: 16px;
  border-radius: var(--av-radius-pill);
  border: 1px solid var(--av-line);
  font-size: .875rem;
  font-weight: 600;
  color: var(--av-fg-muted);
  transition: all .2s;
}
.av-chip:hover { border-color: var(--av-line-strong); color: var(--av-fg); }
.av-chip.is-on {
  background: var(--av-fg);
  border-color: var(--av-fg);
  color: var(--av-bg);
}
.av-chip--sm { height: 32px; padding-inline: 13px; font-size: .8125rem; }

 /* ============================================================
   폼
   ============================================================ */
.av-field { display: flex; flex-direction: column; gap: 8px; }
.av-label { font-size: .875rem; font-weight: 600; }
/* 필수 표시(*) — 작은 글자라 빨강은 대비 미달. 노랑을 쓴다 */
.av-label__req { color: var(--av-label); margin-inline-start: 3px; }

.av-input, .av-select, .av-textarea { --av-autofill-bg: var(--av-bg-card); }
.av-input, .av-select, .av-textarea {
  width: 100%;
  height: 50px;
  padding-inline: 16px;
  background: var(--av-bg-card);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  color: var(--av-fg);
  transition: border-color .2s, background-color .2s;
}
.av-textarea { height: auto; min-height: 140px; padding-block: 14px; resize: vertical; line-height: 1.6; }
.av-input:focus, .av-select:focus, .av-textarea:focus {
  outline: none;
  border-color: var(--av-accent);
  background: var(--av-bg-elev);
}
.av-input::placeholder, .av-textarea::placeholder { color: var(--av-fg-dim); }
.av-input:disabled, .av-select:disabled { opacity: .5; cursor: not-allowed; }

/* 브라우저 자동완성 색을 사이트 입력창의 기존 표면색으로 고정한다.
   Chrome·Edge·Safari의 하늘색/노란색 채움과 Firefox 기본 강조를 함께 제거한다. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--av-fg) !important;
  caret-color: var(--av-fg) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--av-autofill-bg, var(--av-bg-card)) inset !important;
  box-shadow: 0 0 0 1000px var(--av-autofill-bg, var(--av-bg-card)) inset !important;
  transition: background-color 9999s ease-out 0s;
}
input:autofill,
textarea:autofill,
select:autofill {
  color: var(--av-fg) !important;
  background-color: var(--av-autofill-bg, var(--av-bg-card)) !important;
  box-shadow: 0 0 0 1000px var(--av-autofill-bg, var(--av-bg-card)) inset !important;
}

.av-help  { font-size: .8125rem; color: var(--av-fg-dim); }
.av-error { font-size: .8125rem; color: var(--av-danger); }

.av-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.av-check input { margin-top: 4px; accent-color: var(--av-accent); width: 16px; height: 16px; flex-shrink: 0; }

/* 2단 필드 배치 — 가입·주문서·마이페이지 공통 */
.auth__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--av-gap-sm);
}
@media (max-width: 520px) { .auth__grid { grid-template-columns: 1fr; } }

.auth__addr {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
}
@media (max-width: 520px) { .auth__addr { grid-template-columns: 1fr; } }

/* 폼 섹션 제목 — 위 요소와의 간격을 일정하게 유지한다 */
.form-sec {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--av-fg-dim);
  padding-top: var(--av-gap);
  margin-top: var(--av-gap-xs);
  border-top: 1px solid var(--av-line);
}
.form-sec:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

/* 약관 동의 박스 */
.agree {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  background: var(--av-bg-card);
}
.agree .av-check span { font-size: .875rem; line-height: 1.5; color: var(--av-fg-muted); }
.agree .av-check strong { color: var(--av-fg); }
.agree a { color: var(--av-accent); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   알림 / 안내
   ============================================================ */
.av-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--av-radius-sm);
  border: 1px solid var(--av-line);
  background: var(--av-bg-card);
  font-size: .9375rem;
  line-height: 1.6;
}
.av-note--accent  { border-color: color-mix(in srgb, var(--av-accent) 45%, transparent); }
.av-note--warn    { border-color: color-mix(in srgb, var(--av-warn) 45%, transparent); }
.av-note--danger  { border-color: color-mix(in srgb, var(--av-danger) 45%, transparent); }

.av-flash {
  position: fixed;
  inset-block-start: calc(var(--av-header-h) + 12px);
  inset-inline: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.av-flash__item {
  pointer-events: auto;
  max-width: min(560px, calc(100vw - 40px));
  padding: 14px 20px;
  border-radius: var(--av-radius-pill);
  background: var(--av-bg-elev);
  border: 1px solid var(--av-line-strong);
  box-shadow: var(--av-shadow);
  font-size: .9375rem;
  font-weight: 600;
  animation: av-flash-in .4s var(--av-ease);
}
.av-flash__item--error   { border-color: var(--av-danger); }
.av-flash__item--success { border-color: var(--av-success); }

@keyframes av-flash-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 완료 마크 (가입 완료 · 신청 접수 · 주문 완료 공통) */
.done-mark {
  width: 68px; height: 68px;
  margin: 0 auto var(--av-gap);
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--av-success) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--av-success) 50%, transparent);
  color: var(--av-success);
}

/* ============================================================
   빈 상태
   ============================================================ */
.av-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-block: 100px;
  text-align: center;
  color: var(--av-fg-muted);
}
.av-empty__title { font-size: 1.125rem; font-weight: 700; color: var(--av-fg); }

/* ============================================================
   페이지 상단 공통 (본문이 고정 헤더에 가리지 않도록)
   ============================================================ */
.av-main {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  padding-top: var(--av-header-h);
}
.av-main--flush { padding-top: 0; }   /* 홈 히어로처럼 헤더 아래로 파고드는 경우 */

.av-pagehead {
  padding-block: var(--av-gap-xl) var(--av-gap-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   유틸
   ============================================================ */
.av-hide { display: none !important; }
@media (max-width: 900px)  { .av-hide-mo { display: none !important; } }
@media (min-width: 901px)  { .av-hide-pc { display: none !important; } }

/* 모션 최소화 선호 존중 */
@media (prefers-reduced-motion: reduce) {
  .av-context-page > .av-main h1 {
    animation: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .av-marquee__track { animation: none; }
}

/* ============================================================
   비회원 안내 게이트 — 액상 목록 상단
   차단이 아니라 안내다. 왜 목록이 비어 보이는지 설명한다.
   미디어 슬롯(영상/이미지)은 관리자 > 배너 position='LIQUID_GATE'.
   ============================================================ */
.av-gate {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--av-gap-lg);
  align-items: stretch;              /* 두 컬럼의 top·bottom 을 정확히 맞춘다 */
  margin-bottom: var(--av-gap-lg);
  padding: 28px 32px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  background: var(--av-bg-card);
}
@media (max-width: 900px) {
  .av-gate { grid-template-columns: 1fr; padding: 24px; }
  .av-gate__media { order: -1; }
}

.av-gate__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.av-gate__age   { color: var(--av-label); }
.av-gate__title { margin-top: 12px; }
.av-gate__desc  { margin-top: 12px; color: var(--av-fg-muted); }
.av-gate__desc strong { color: var(--av-fg); font-weight: 700; }

.av-gate__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.av-gate__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--av-radius-sm);
  background: var(--av-media);
  min-height: 168px;
}
.av-gate__video,
.av-gate__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 영상 소재 교체 전 임시 배경.
   ⚠ 그라데이션·블러로 뭉개지 않는다. 원색 면을 그대로 잘라 넣는다. */
.av-gate__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--av-black);
  overflow: hidden;
}
.av-gate__fallback::before {
  content: "";
  position: absolute;
  inset-block: -30%;
  inset-inline-start: 58%;
  width: 60%;
  background: var(--av-red);
  transform: skewX(-14deg);
}
.av-gate__mark {
  position: relative;
  font-family: var(--av-font-display);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--av-yellow);
}
.av-gate__mark sup { font-size: .5em; vertical-align: super; }

/* ── 하단 CTA 바 ────────────────────────────────────────
   매장 목록·가이드 목록처럼 "읽고 나면 다음 동선이 필요한" 화면에 붙인다. */
.av-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--av-gap-sm);
  margin-top: var(--av-gap-xl);
  padding: 22px 24px;
  border: 1px dashed var(--av-line);
  border-radius: var(--av-radius);
}

/* 매장 카드 — 매장 목록과 상품 상세(취급 매장) 양쪽에서 쓴다 */
/* ── 매장 카드 ─────────────────────────────────────────── */
.store-grid {
  display: grid;
  /* 4열 → 2열. 3열 단계를 두지 않는다(av-grid--4 와 같은 이유) */
  grid-template-columns: repeat(3, 1fr);
  gap: var(--av-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1024px) { .store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .store-grid { grid-template-columns: 1fr; gap: var(--av-gap-sm); } }

.store-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  background: var(--av-bg-card);
}

.store-card__region {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--av-label);
}
.store-card__name {
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}
.store-card__addr {
  margin-top: 10px;
  font-size: .875rem;
  color: var(--av-fg-muted);
  word-break: keep-all;
}

.store-card__meta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .8125rem;
}
.store-card__meta > div { display: flex; gap: 10px; }
.store-card__meta dt {
  flex: 0 0 56px;              /* 값의 시작 x 를 맞춘다 */
  color: var(--av-fg-dim);
}
.store-card__meta dd { margin: 0; color: var(--av-fg-muted); }
.store-card__meta a { color: var(--av-fg); }

.store-card__memo {
  margin-top: 12px;
  font-size: .8125rem;
  color: var(--av-fg-dim);
}

/* 담배소매인 지정업소 표기 — 무허가 매장과 구분되는 유일한 신뢰 신호다 */
.store-card__permit {
  align-self: flex-start;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: var(--av-radius-pill);
  background: var(--av-bg-elev);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--av-fg-muted);
}


/* ── 성인 확인 레이어 ───────────────────────────────────
   ⚠ 서버가 페이지를 막는 게 아니다. HTML 은 누구에게나 200 으로 나가고
     이 레이어만 위에 얹힌다 (봇에게만 다르게 주면 클로킹이라 색인이 날아간다). */
.adult-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(var(--av-bg-rgb), .94);
  backdrop-filter: blur(8px);
}
.adult-gate[hidden] { display: none; }

.adult-gate__panel {
  width: min(460px, 100%);
  padding: 36px 32px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  background: var(--av-bg-card);
  text-align: center;
}
.adult-gate__age  { color: var(--av-label); }
.adult-gate__desc { margin-top: 14px; color: var(--av-fg-muted); }

.adult-gate__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}
.adult-gate__note { margin-top: 18px; color: var(--av-fg-dim); }

/* ============================================================
   상품 목록 상단 — 수량 / 카테고리 / 정렬
   ============================================================ */
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: start;
  gap: 24px;
  margin-bottom: var(--av-gap-lg);
}

.catalog-toolbar__count {
  align-self: center;
  justify-self: start;
  color: var(--av-fg-muted);
  font-size: .875rem;
  line-height: 36px;
  white-space: nowrap;
}

.catalog-toolbar__count strong {
  color: var(--av-fg);
  font-weight: 600;
}

.catalog-toolbar__categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-toolbar__sort {
  position: relative;
  justify-self: end;
  width: 154px;
}

.catalog-toolbar__sort::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--av-fg-muted);
  border-bottom: 1.5px solid var(--av-fg-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.catalog-sort {
  width: 100%;
  height: 36px;
  padding: 0 38px 0 14px;
  appearance: none;
  border: 1px solid var(--av-line-strong);
  border-radius: var(--av-radius-sm);
  outline: 0;
  background: var(--av-bg);
  color: var(--av-fg);
  font: inherit;
  font-size: .8125rem;
  cursor: pointer;
  transition: border-color .24s var(--av-ease), background-color .24s var(--av-ease);
}

.catalog-sort:hover,
.catalog-sort:focus {
  border-color: var(--av-fg-muted);
  background: var(--av-bg-elev);
}

@media (max-width: 900px) {
  .catalog-toolbar {
    grid-template-columns: 1fr auto;
    gap: 18px 14px;
  }
  .catalog-toolbar__categories {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .catalog-toolbar__count {
    grid-column: 1;
    grid-row: 2;
  }
  .catalog-toolbar__sort {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .catalog-toolbar__categories { gap: 8px; }
  .catalog-toolbar__categories .av-chip {
    height: 34px;
    padding-inline: 12px;
    font-size: .8125rem;
  }
  .catalog-toolbar__sort { width: 142px; }
}

/* Product catalog: fixed 4-column / 16-item pages and consistent controls */
.catalog-toolbar__count,
.catalog-toolbar__count strong {
  color: var(--av-fg-muted);
  font-size: .875rem;
  font-weight: 400;
  line-height: 36px;
}
.catalog-toolbar__sort::after { content: none; }

.catalog-sort,
.catalog-sort:hover,
.catalog-sort:focus {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: default;
}
.catalog-sort__trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  padding: 0 38px 0 14px;
  box-sizing: border-box;
  border: 1px solid var(--av-line-strong);
  border-radius: var(--av-radius-sm);
  outline: 0;
  background: var(--av-bg);
  color: var(--av-fg);
  font-size: .8125rem;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  transition: border-color .24s var(--av-ease), background-color .24s var(--av-ease);
}
.catalog-sort__trigger::-webkit-details-marker { display: none; }
.catalog-sort__trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--av-fg-muted);
  border-bottom: 1.5px solid var(--av-fg-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s var(--av-ease);
}
.catalog-sort[open] .catalog-sort__trigger::after {
  transform: translateY(-25%) rotate(225deg);
}
.catalog-sort__trigger:hover,
.catalog-sort__trigger:focus-visible,
.catalog-sort[open] .catalog-sort__trigger {
  border-color: var(--av-fg-muted);
  background: var(--av-bg-elev);
}
.catalog-sort__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  padding: 6px;
  border-radius: var(--av-radius-sm);
  background: var(--av-bg-elev);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.catalog-sort__option {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding-inline: 10px;
  border-radius: calc(var(--av-radius-sm) - 4px);
  color: var(--av-fg-muted);
  font-size: .8125rem;
  white-space: nowrap;
  transition: color .2s var(--av-ease), background-color .2s var(--av-ease);
}
.catalog-sort__option:hover,
.catalog-sort__option.is-on {
  color: var(--av-fg);
  background: var(--av-hover);
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Product rows need breathing room below the price; preserve column spacing. */
.catalog-grid:not(.review-board-grid) {
  row-gap: clamp(32px, 4vw, 48px);
}

.av-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--av-gap-xl);
}
.av-pager__btn {
  min-width: 42px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 12px;
  border: 1px solid rgba(224,224,224,.68);
  border-radius: var(--av-radius-sm);
  background: transparent;
  color: #e0e0e0;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: color .22s var(--av-ease), border-color .22s var(--av-ease), background-color .22s var(--av-ease);
}
.av-pager__btn:hover {
  border-color: #e0e0e0;
  color: #e0e0e0;
  background: var(--av-hover);
}
.av-pager__btn.is-on {
  border-color: #e0e0e0;
  background: #e0e0e0;
  color: #0A0A0A;
}
.av-pager__btn.is-disabled {
  opacity: 1;
  cursor: pointer;
}
.av-pager__gap {
  color: var(--av-fg-dim);
  padding-inline: 3px;
}

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ── 공통 폼 입력 보조 ─────────────────────────────────── */
.av-email-error {
  margin: 0;
  color: #fcf145;
  font-size: .8125rem;
  line-height: 1.5;
}
.av-email-error[hidden] { display: none !important; }
.av-field:has(input[type="email"]) > .av-error { color: #fcf145; }

.av-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.av-address__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.av-address__row .av-input[readonly] { cursor: default; }
.av-address__search {
  min-width: 104px;
  height: 50px;
  padding-inline: 18px;
  border: 1px solid var(--av-line-strong);
  border-radius: var(--av-radius-sm);
  color: var(--av-fg);
  background: transparent;
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color .25s var(--av-ease), border-color .25s var(--av-ease);
}
.av-address__search:hover {
  color: var(--av-white);
  border-color: var(--av-white);
}
.av-address [data-address-detail]:disabled {
  opacity: .42;
  cursor: not-allowed;
}
@media (max-width: 520px) {
  .av-address__row { grid-template-columns: minmax(0, 1fr) 96px; }
  .av-address__search { min-width: 0; padding-inline: 12px; }
}

/* 주문서 강조 체크박스 */
.av-check--yellow input,
.av-check--red input {
  position: relative;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: #fcf145;
  cursor: pointer;
  transition: background-color .22s ease, border-color .22s ease;
}
.av-check--red input { color: #E60012; }
.av-check--yellow input:checked {
  border-color: #fcf145;
  background: #fcf145;
}
.av-check--red input:checked {
  border-color: #E60012;
  background: #E60012;
}
.av-check--yellow input::after,
.av-check--red input::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #121212;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.7);
  transition: opacity .18s ease, transform .18s ease;
}
.av-check--yellow input:checked::after,
.av-check--red input:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.av-check--yellow input:focus-visible,
.av-check--red input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ============================================================
   프런트 공통 커스텀 옵션 리스트
   ============================================================ */
.av-ui-select {
  position: relative;
  width: 100%;
  min-width: 0;
}
.av-ui-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.av-ui-select__trigger {
  position: relative;
  width: 100%;
  height: 50px;
  padding: 0 42px 0 16px;
  overflow: hidden;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  background: var(--av-bg-card);
  color: var(--av-fg);
  text-align: left;
  white-space: nowrap;
  transition: border-color .2s var(--av-ease), background-color .2s var(--av-ease);
}
.av-ui-select__trigger::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-68%) rotate(45deg);
  transition: transform .2s var(--av-ease);
}
.av-ui-select.is-open .av-ui-select__trigger,
.av-ui-select__trigger:focus-visible {
  outline: none;
  border-color: #E60012;
  background: var(--av-bg-elev);
}
.av-ui-select.is-open .av-ui-select__trigger::after {
  transform: translateY(-30%) rotate(225deg);
}
.av-ui-select__trigger.is-placeholder { color: var(--av-fg-dim); }
.av-ui-select__menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  max-height: 280px;
  display: none;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  background: var(--av-bg-card);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.av-ui-select.is-open .av-ui-select__menu { display: block; }
.av-ui-select__option {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 6px;
  color: var(--av-fg-muted);
  text-align: left;
  transition: color .16s ease, background-color .16s ease;
}
.av-ui-select__option:hover,
.av-ui-select__option:focus-visible {
  outline: none;
  color: var(--av-fg);
  background: var(--av-hover);
}
.av-ui-select__option.is-selected {
  color: #E60012;
  background: var(--av-hover);
}
.av-ui-select__option:disabled { opacity: .4; cursor: not-allowed; }
.av-ui-select__trigger:disabled { opacity: .5; cursor: not-allowed; }
.av-ui-select.is-invalid .av-ui-select__trigger { border-color: #E60012; }

html[data-theme="light"] body[data-front-ui] .av-ui-select__trigger,
html[data-theme="light"] body[data-front-ui] .av-ui-select__menu {
  border-color: rgba(18,18,18,.28);
  background: #fff;
  color: #121212;
}
html[data-theme="light"] body[data-front-ui] .av-ui-select.is-open .av-ui-select__trigger {
  border-color: #E60012;
  background: #f8f8f8;
}
html[data-theme="light"] body[data-front-ui] .av-ui-select__option { color: rgba(18,18,18,.7); }
html[data-theme="light"] body[data-front-ui] .av-ui-select__option:hover,
html[data-theme="light"] body[data-front-ui] .av-ui-select__option:focus-visible {
  color: #121212;
  background: #f8f8f8;
}
html[data-theme="light"] body[data-front-ui] .av-ui-select__option.is-selected {
  color: #E60012;
  background: #f8f8f8;
}
html[data-theme="dark"] body[data-front-ui] .av-ui-select__trigger,
html[data-theme="dark"] body[data-front-ui] .av-ui-select__menu {
  border-color: rgba(255,255,255,.3);
  background: #121212;
  color: #fff;
}
