@font-face {
  font-family: "Pretendard Variable";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/PretendardVariable.woff2') format('woff2');
}
:root {
  --surface: oklch(100% 0 0);
  --page: oklch(98% .005 85);
  --surface-subtle: oklch(96.5% .009 85);
  --surface-selected: oklch(96% .025 50);
  --surface-guide: oklch(94% .025 130);
  --ink: oklch(24% .012 145);
  --muted: oklch(46% .012 85);
  --line: oklch(88% .009 85);
  --line-strong: oklch(73% .012 85);
  --accent: oklch(52% .17 36);
  --accent-hover: oklch(45% .15 36);
  --text-body: 1rem;
  --text-control: 1.125rem;
  --text-product: 1.25rem;
  --text-price: 3rem;
  --text-price-compact: 1.75rem;
  --text-heading: 2rem;
  --text-page: 2.5rem;
  --layer-sticky: 10;
  --layer-modal: 30;
  --layer-toast: 40;
  color: var(--ink);
  background: var(--page);
  font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 100%;
  font-weight: 400;
  font-synthesis: none;
  font-kerning: normal;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.4; text-wrap: balance; }
p { text-wrap: pretty; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button, a, select { transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: -100px; left: 24px; padding: 12px 20px; background: var(--ink); color: var(--surface); z-index: var(--layer-toast); }
.skip-link:focus { top: 12px; }
.site-header { background: var(--surface); }
.header-inner { display: flex; align-items: center; gap: 48px; min-height: 100px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: var(--text-price-compact); font-weight: 800; letter-spacing: -.035em; white-space: nowrap; line-height: 1.2; }
.brand svg { width: 29px; height: 33px; color: var(--accent); }
.brand strong { color: var(--accent); font-weight: 800; }
.search-box { display: flex; align-items: center; min-width: 0; flex: 1; border: 1px solid var(--line-strong); border-radius: 10px; min-height: 54px; max-width: 560px; background: var(--page); }
.search-box:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.search-box input { min-width: 0; width: 100%; border: 0; background: transparent; outline: none; padding: 12px 18px; color: var(--ink); font-size: var(--text-control); }
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.search-box input:focus-visible { outline: none; }
.search-box button { display: grid; place-items: center; flex-shrink: 0; min-width: 52px; min-height: 52px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink); }
.search-box button:hover { background: var(--surface-subtle); }
.search-box svg { width: 24px; height: 24px; }
.saved-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 44px; margin-left: auto; font-size: var(--text-control); font-weight: 600; white-space: nowrap; }
.saved-nav svg { width: 22px; height: 22px; }
.saved-nav b { min-width: 20px; font-size: var(--text-control); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.saved-nav.active { color: var(--accent); }
.navigation-border { border-bottom: 1px solid var(--line); }
.primary-nav { display: flex; align-items: stretch; gap: 36px; min-height: 56px; overflow-x: auto; }
.primary-nav a { display: inline-flex; align-items: center; position: relative; flex-shrink: 0; min-height: 56px; padding-inline: 2px; font-size: var(--text-control); font-weight: 600; color: var(--muted); }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a.active { color: var(--accent); font-weight: 700; }
.primary-nav a.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.discovery { padding-block: 36px 64px; scroll-margin-top: 24px; }
.intro-layout { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.page-heading { min-width: 0; padding-block: 8px; }
.page-heading h1 { margin: 0; font-size: var(--text-page); font-weight: 800; letter-spacing: -.03em; }
.page-heading p { margin: 10px 0 0; color: var(--muted); font-size: var(--text-control); }
.page-heading strong { color: var(--ink); font-weight: 600; }
.alert-prompt { margin-top: 18px; }
.kakao-alert-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 18px; border-radius: 8px; background: oklch(92% .18 100); color: oklch(23% .01 60); font-size: var(--text-control); font-weight: 700; line-height: 1.4; }
.kakao-alert-button>span:first-of-type { min-width: 0; overflow-wrap: anywhere; }
.kakao-alert-button svg { width: 23px; height: 23px; flex-shrink: 0; }
.kakao-alert-button:hover { background: oklch(88% .18 100); }
.kakao-alert-button:focus-visible { outline-color: var(--ink); }
.page-heading .alert-caption { margin: 7px 0 0; color: var(--muted); font-size: var(--text-body); }
.featured-section { flex: 0 1 470px; min-width: 0; }
.featured-item { display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 12px; background: var(--surface-guide); }
.featured-copy { min-width: 0; flex: 1; }
.featured-caption { margin: 0 0 3px; color: var(--muted); font-size: var(--text-body); }
.featured-item h2 { margin: 0; font-size: var(--text-product); font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.featured-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; font-size: var(--text-price-compact); font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.featured-price small { font-size: var(--text-body); font-weight: 600; }
.featured-price>span { margin-left: 8px; color: var(--accent); font-size: var(--text-control); font-weight: 700; }
.featured-item>img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.featured-arrow { font-size: var(--text-product); }
.featured-item:hover { background: oklch(91% .03 130); }
.featured-placeholder { color: var(--muted); font-size: var(--text-body); }
.demo-banner { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 8px; }
.demo-banner svg { width: 21px; height: 21px; margin-top: 2px; flex-shrink: 0; color: var(--muted); }
.demo-banner p { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; color: var(--muted); font-size: var(--text-body); }
.demo-banner strong { color: var(--ink); font-weight: 600; }
.categories { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin-inline: -4px; }
.category { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 48px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--muted); font-size: var(--text-control); font-weight: 600; white-space: nowrap; }
.category svg { width: 21px; height: 21px; }
.category:hover { border-color: var(--line-strong); color: var(--ink); }
.category.active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.list-toolbar p { margin: 0; color: var(--muted); font-size: var(--text-body); overflow-wrap: anywhere; }
.list-toolbar strong { color: var(--ink); font-weight: 700; }
.sort-label { flex-shrink: 0; }
.sort-label select { min-height: 44px; max-width: 195px; padding: 8px 10px; border: 1px solid transparent; border-radius: 6px; background: var(--page); color: var(--ink); font-size: var(--text-body); cursor: pointer; }
.sort-label select:hover { border-color: var(--line-strong); }
.deal-feed { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: start; }
.deal-card { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color 160ms ease-out; }
.deal-card:hover, .deal-card:focus-within { border-color: var(--accent); }
.deal-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.merchant-name { min-width: 0; color: var(--ink); font-size: var(--text-body); font-weight: 600; overflow-wrap: anywhere; }
.deal-labels { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.status-label, .sample-pill { display: inline-block; border-radius: 4px; padding: 1px 6px; background: var(--surface-subtle); color: var(--muted); font-size: var(--text-body); line-height: 1.5; white-space: nowrap; }
.affiliate-disclosure { margin: 0 0 .75rem; color: var(--muted); font-size: 13px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.featured-disclosure { padding-inline: 1.5rem; padding-top: 1rem; }
.detail-affiliate-disclosure { margin-block: 1rem; }
.deal-pricing { display: block; margin-bottom: 24px; }
.price-comparison { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 28px; color: var(--muted); font-size: var(--text-body); }
.price-comparison del { margin-left: 4px; font-variant-numeric: tabular-nums; }
.discount { padding: 2px 8px; border-radius: 4px; background: var(--surface-selected); color: var(--accent); font-size: var(--text-control); font-weight: 800; line-height: 1.4; white-space: nowrap; }
.price-line { margin-top: 8px; line-height: 1.1; }
.price { display: inline-flex; align-items: baseline; gap: 4px; max-width: 100%; color: var(--ink); font-size: var(--text-price); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1.15; }
.price small { font-size: var(--text-product); font-weight: 600; letter-spacing: 0; }
.price--long { font-size: 2.25rem; }
.saving-line { margin: 8px 0 0; color: var(--muted); font-size: var(--text-body); }
.saving-line strong { color: var(--accent); font-weight: 700; }
.deal-pricing:hover .price { color: var(--accent); }
.deal-context { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 16px; align-items: center; margin-bottom: 20px; }
.deal-thumbnail { display: block; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--surface-subtle); }
.deal-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.deal-category { margin: 0 0 4px; color: var(--muted); font-size: var(--text-body); }
.deal-title { margin: 0; font-size: var(--text-product); font-weight: 600; letter-spacing: -.02em; line-height: 1.5; text-wrap: pretty; overflow-wrap: anywhere; }
.deal-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.deal-conditions { padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: var(--text-body); line-height: 1.6; }
.deal-conditions p { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.shipping-line { display: flex; align-items: flex-start; gap: 8px; color: var(--ink); }
.shipping-line svg { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; }
.deal-conditions .condition-text { margin-top: 8px; }
.deal-card-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.save-button, .view-button, .secondary-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: var(--text-control); font-weight: 600; line-height: 1.4; text-align: center; }
.save-button { padding-inline: 10px; border-color: transparent; color: var(--muted); margin-left: -10px; font-size: var(--text-body); }
.save-button svg, .secondary-button svg { width: 21px; height: 21px; flex-shrink: 0; }
.save-button:hover, .secondary-button:hover { background: var(--surface-subtle); }
.save-button.is-saved, .secondary-button.is-saved { border-color: var(--accent); color: var(--accent); background: var(--surface-selected); }
.save-button.is-saved svg, .secondary-button.is-saved svg { fill: currentColor; }
.view-button { border-color: transparent; padding-inline: 8px; margin-right: -8px; color: var(--accent); }
.view-button:hover { background: var(--surface-selected); }
.view-button:disabled { color: var(--muted); background: transparent; }
.primary-button { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.primary-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.primary-button:disabled { background: var(--surface-subtle); border-color: var(--line); color: var(--muted); }
.deal-time { margin: 8px 0 0; color: var(--muted); font-size: var(--text-body); }
.is-expired .price, .is-expired .discount, .is-expired .saving-line strong { color: var(--muted); }
.price-guide { display: flex; align-items: baseline; gap: 24px; padding: 22px 24px; margin-top: 32px; border-radius: 10px; background: var(--surface-guide); font-size: var(--text-body); }
.price-guide strong { flex-shrink: 0; }
.price-guide p { margin: 0; color: var(--muted); }
.empty-state { padding: 64px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center; }
.empty-state h3 { font-size: var(--text-product); margin: 0 0 12px; font-weight: 700; }
.empty-state p { font-size: var(--text-body); color: var(--muted); line-height: 1.7; margin: 0 0 24px; }
.load-more { display: grid; justify-items: center; gap: 12px; min-height: 56px; margin: 28px 0 8px; }
.load-more[hidden], .load-more [hidden] { display: none; }
.load-more p { margin: 0; color: var(--muted); font-size: var(--text-body); text-align: center; }
.load-more button { min-height: 44px; }
.skeleton { height: 440px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand { font-size: var(--text-product); margin-top: 4px; gap: 5px; }
.footer-inner p { margin: 0 0 6px; color: var(--muted); font-size: var(--text-body); max-width: 75ch; }
.footer-inner .copyright { margin-top: 16px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 8px; background: var(--ink); color: var(--surface); font-size: var(--text-body); line-height: 1.6; text-align: center; opacity: 0; pointer-events: none; transition: opacity 160ms ease-out; z-index: var(--layer-toast); }
.toast.visible { opacity: 1; }
.deal-dialog { width: min(700px,calc(100% - 48px)); max-height: calc(100dvh - 48px); border: 0; border-radius: 14px; padding: 0; background: var(--surface); color: var(--ink); }
.deal-dialog::backdrop { background: oklch(20% .01 145 / .7); }
.detail-layout { position: relative; }
.detail-close { position: absolute; top: 12px; right: 12px; z-index: var(--layer-modal); display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: var(--text-heading); line-height: 1; }
.detail-close:hover { background: var(--surface-subtle); }
.detail-info { padding: 64px 36px 32px; min-width: 0; }
.merchant-row { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: var(--text-body); }
.detail-info .merchant-row { margin: 16px 0 8px; }
.detail-deal-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.detail-deal-header h2 { margin: 0; font-size: var(--text-product); font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.detail-deal-header img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.detail-price { padding-block: 22px; border-block: 1px solid var(--line); }
.detail-description { font-size: var(--text-body); line-height: 1.7; white-space: pre-line; color: var(--muted); margin: 24px 0; overflow-wrap: anywhere; }
.detail-facts { margin: 24px 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.detail-facts>div { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 14px; margin: 12px 0; font-size: var(--text-body); line-height: 1.7; }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.detail-disclosure { background: var(--surface-subtle); padding: 16px; border-radius: 8px; color: var(--muted); font-size: var(--text-body); line-height: 1.7; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-actions .primary-button { flex: 1; }
.detail-actions .secondary-button { min-width: 48px; }
.detail-feedback { font-size: var(--text-body); line-height: 1.7; color: var(--accent); margin: 16px 0 0; }
.detail-feedback:empty { display: none; }
.detail-source { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: var(--text-body); color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.detail-error { position: relative; padding: 64px 32px 40px; }
.detail-error h2 { font-size: var(--text-heading); }
.detail-error p { font-size: var(--text-body); }
@media (max-width: 1100px) {
  .header-inner { gap: 28px; }
  .deal-feed { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .featured-section { flex-basis: 370px; }
  .featured-item>img, .featured-arrow { display: none; }
  .page-heading h1 { font-size: var(--text-heading); }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; padding-block: 20px; gap: 16px; min-height: auto; }
  .search-box { order: 3; flex-basis: 100%; max-width: none; }
  .saved-nav { margin-left: auto; }
  .primary-nav { gap: 28px; }
  .featured-section { display: none; }
  .discovery { padding-top: 28px; }
  .deal-feed { gap: 16px; }
  .deal-card { padding: 20px; }
  .price { font-size: 2.75rem; }
  .price--long { font-size: 2.25rem; }
  .deal-context { grid-template-columns: 56px minmax(0,1fr); gap: 12px; }
  .deal-thumbnail { width: 56px; height: 56px; }
  .price-guide { flex-direction: column; gap: 8px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
@media (max-width: 680px) {
  .has-alert-prompt { padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px)); }
  .alert-prompt { position: fixed; inset: auto 0 0; z-index: var(--layer-sticky); margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
  .kakao-alert-button { display: flex; width: 100%; }
  .page-heading .alert-caption { text-align: center; }
  .has-alert-prompt .toast { bottom: calc(136px + env(safe-area-inset-bottom, 0px)); }
  .deal-feed { grid-template-columns: minmax(0,1fr); }
  .deal-context { grid-template-columns: 64px minmax(0,1fr); gap: 16px; }
  .deal-thumbnail { width: 64px; height: 64px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 12px; padding-block: 16px; }
  .brand { font-size: var(--text-price-compact); gap: 5px; }
  .brand svg { width: 24px; height: 29px; }
  .saved-nav { gap: 4px; font-size: var(--text-body); }
  .saved-nav svg { width: 20px; height: 20px; }
  .saved-nav b { min-width: 16px; font-size: var(--text-body); }
  .search-box input { padding-inline: 12px; font-size: var(--text-body); }
  .primary-nav { gap: 24px; }
  .primary-nav a { padding-inline: 0; min-height: 50px; font-size: var(--text-body); }
  .discovery { padding-block: 20px 40px; }
  .intro-layout { margin-bottom: 16px; }
  .page-heading { padding: 0; }
  .page-heading h1 { font-size: var(--text-heading); }
  .page-heading p { margin-top: 6px; font-size: var(--text-body); }
  .demo-banner { padding: 10px 12px; margin-bottom: 16px; gap: 8px; }
  .categories { gap: 6px; }
  .category { min-height: 44px; padding: 8px 14px; font-size: var(--text-body); }
  .category svg { display: none; }
  .list-toolbar { min-height: 64px; gap: 10px; }
  .sort-label select { max-width: 174px; padding-inline: 6px; }
  .deal-card { padding: 20px; }
  .deal-card-header { margin-bottom: 16px; }
  .deal-pricing { margin-bottom: 20px; }
  .deal-conditions { padding-top: 16px; }
  .deal-card-actions { padding-top: 16px; }
  .price-guide { padding: 20px; }
  .footer-brand { font-size: var(--text-product); }
  .deal-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .detail-info { padding: 64px 20px 24px; }
  .detail-deal-header { gap: 16px; }
  .detail-deal-header img { width: 64px; height: 64px; }
  .detail-facts>div { grid-template-columns: 68px minmax(0,1fr); gap: 10px; }
  .detail-actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Compact deal feed: source, title, price, and action stay visible per row. */
.alert-prompt { margin-top: 12px; }
.kakao-alert-button { min-height: 44px; padding: 8px 13px; font-size: var(--text-body); }
.page-heading .alert-caption { margin-top: 4px; }
.deal-feed { display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.deal-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,230px) 132px; align-items: center; gap: 8px 22px; min-height: 150px; height: auto; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.deal-card:last-child { border-bottom: 0; }
.deal-card:hover, .deal-card:focus-within { background: #fcfbf8; border-color: var(--line); }
.deal-card-header { grid-column: 1; display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 6px 10px; margin: 0; }
.merchant-name { font-size: var(--text-body); font-weight: 700; }
.deal-card-header .deal-category { margin: 0; font-size: var(--text-body); }
.deal-labels { justify-content: flex-start; align-items: center; gap: 6px; }
.deal-labels .deal-time { margin: 0; font-size: var(--text-body); }
.status-label, .sample-pill { font-size: var(--text-body); }
.deal-context { grid-column: 1; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 14px; margin: 0; }
.deal-thumbnail { width: 64px; height: 64px; }
.deal-title { font-size: var(--text-product); line-height: 1.4; }
.deal-conditions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 0; margin-top: 5px; border: 0; font-size: var(--text-body); line-height: 1.45; }
.deal-conditions p, .deal-conditions .condition-text { margin: 0; }
.shipping-line { align-items: center; gap: 5px; }
.shipping-line svg { width: 18px; height: 18px; margin: 0; }
.deal-context .price-notice { margin-top: 4px; }
.deal-price-column { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; align-self: stretch; min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.deal-pricing { display: block; margin: 0; }
.price-comparison { min-height: 24px; gap: 6px 9px; font-size: var(--text-body); }
.price { font-size: 2.25rem; }
.price small { font-size: var(--text-body); }
.price--long { font-size: 1.9rem; }
.saving-line { margin-top: 4px; font-size: var(--text-body); }
.card-disclosure { margin: 6px 0 0; font-size: 13px; }
.deal-card-actions { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--line); }
.view-button { min-height: 44px; border-color: var(--accent); background: var(--accent); color: var(--surface); }
.view-button:hover { background: var(--accent-hover); color: var(--surface); }
.view-button:disabled { border-color: var(--line); background: var(--surface-subtle); color: var(--muted); }
.save-button { justify-content: center; margin: 0; padding: 4px 8px; }
.skeleton { height: 150px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.price-guide { margin-top: 24px; }

@media (max-width: 800px) {
  .deal-feed { gap: 0; }
  .deal-card { grid-template-columns: minmax(0,1fr) 190px; gap: 8px 16px; min-height: 138px; padding: 16px; }
  .deal-card-header, .deal-context { grid-column: 1; }
  .deal-price-column { grid-column: 2; grid-row: 1 / span 2; padding-left: 16px; }
  .deal-card-actions { grid-column: 2; grid-row: 3; flex-direction: row; align-items: center; gap: 4px; padding: 0 0 0 16px; border: 0; }
  .deal-card-actions .view-button { flex: 1; }
  .deal-context { grid-template-columns: 56px minmax(0,1fr); gap: 11px; }
  .deal-thumbnail { width: 56px; height: 56px; }
  .price { font-size: 2rem; }
  .price--long { font-size: 1.7rem; }
}
@media (max-width: 680px) {
  .has-alert-prompt { padding-bottom: 0; }
  .alert-prompt { position: static; margin-top: 10px; padding: 0; border: 0; background: transparent; }
  .kakao-alert-button { display: inline-flex; width: auto; }
  .page-heading .alert-caption { text-align: left; }
  .has-alert-prompt .toast { bottom: 24px; }
  .deal-card { grid-template-columns: minmax(0,1fr) max-content; gap: 8px 12px; min-height: auto; padding: 15px 13px; }
  .deal-card-header, .deal-context { grid-column: 1 / -1; }
  .deal-card-header { gap: 4px 8px; }
  .deal-context { grid-template-columns: 58px minmax(0,1fr); gap: 11px; }
  .deal-thumbnail { width: 58px; height: 58px; }
  .deal-title { font-size: var(--text-control); }
  .deal-conditions { gap: 3px 10px; font-size: var(--text-body); }
  .deal-price-column { grid-column: 1; grid-row: 3; min-height: 66px; padding: 0; border: 0; }
  .price-comparison { min-height: 22px; }
  .price { font-size: 1.75rem; }
  .price--long { font-size: 1.5rem; }
  .saving-line { font-size: var(--text-body); }
  .card-disclosure { max-width: 38ch; font-size: 12px; }
  .deal-card-actions { grid-column: 2; grid-row: 3; align-self: center; justify-content: flex-end; padding: 0; }
  .deal-card-actions .view-button { min-width: 102px; padding-inline: 10px; }
  .deal-card-actions .save-button { min-width: 42px; }
  .deal-card-actions .save-button [data-save-label] { display: none; }
}

.catalog-filters { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.catalog-filters summary { min-height: 48px; padding: 13px 16px; color: var(--ink); font-size: var(--text-body); font-weight: 600; cursor: pointer; }
.filter-controls { display: grid; grid-template-columns: minmax(180px,1.4fr) repeat(2,minmax(130px,1fr)) auto; align-items: end; gap: 12px; padding: 0 16px 16px; }
.filter-controls label { display: grid; gap: 6px; color: var(--muted); font-size: var(--text-body); }
.filter-controls select, .filter-controls input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; }
.filter-actions { display: flex; gap: 8px; }
.filter-actions button { min-height: 44px; white-space: nowrap; }
@media (max-width: 800px) { .filter-controls { grid-template-columns: repeat(2,minmax(0,1fr)); } .filter-actions { grid-column: 1 / -1; } }
@media (max-width: 480px) { .filter-controls { grid-template-columns: minmax(0,1fr); } .filter-actions { grid-column: auto; } }
