/* UI-REVAMP-01: all three proposals share semantic tokens and AA text colours. */
.revamp {
  --rv-accent: var(--brand-action); --rv-accent-hover: var(--brand-action-hover); --rv-tint: var(--brand-tint); --rv-hero: var(--brand-hero);
  --rv-ink: var(--brand-primary); --rv-muted: var(--brand-muted); --rv-border: var(--brand-line);
  --rv-paper: #ffffff; --rv-bg: var(--brand-white); --rv-soft: var(--brand-soft);
  --rv-font: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --rv-xs: .75rem; --rv-sm: .875rem; --rv-base: 1rem; --rv-lg: 1.25rem;
  --rv-title: 1.875rem; --rv-display: clamp(2rem, 3.4vw, 3.25rem);
  --rv-space-1: .5rem; --rv-space-2: 1rem; --rv-space-3: 1.5rem; --rv-space-4: 2rem; --rv-space-5: 4rem;
  --rv-radius: 1rem; --rv-radius-lg: 1.5rem; --rv-shadow: var(--brand-shadow);
  font-family: var(--rv-font); color: var(--rv-ink); background: var(--rv-bg); line-height: 1.5;
}
.revamp[data-brand="2"] { --rv-accent: #a3422d; --rv-accent-hover: #843222; --rv-tint: #faeee8; --rv-hero: #f2e3d7; }
.revamp[data-brand="3"] { --rv-accent: #4658a4; --rv-accent-hover: #354480; --rv-tint: #eeeffa; --rv-hero: #e5e8f5; }
.revamp *, .revamp *::before, .revamp *::after { box-sizing: border-box; }
.revamp [hidden] { display: none !important; }
.revamp button, .revamp input, .revamp select { font: inherit; }
.revamp a { color: inherit; }
.revamp :focus-visible { outline: 3px solid var(--rv-accent); outline-offset: 4px; }
.revamp main { max-width: 1264px; padding: var(--rv-space-4) var(--rv-space-4) var(--rv-space-5); margin: auto; }
.revamp .site-header { background: var(--rv-paper); border-bottom: 1px solid var(--rv-border); }
.revamp .utility-bar { background: var(--rv-paper); color: var(--rv-muted); border: 0; }
.revamp .shell { max-width: 1264px; padding-left: var(--rv-space-4); padding-right: var(--rv-space-4); }
.revamp .desktop-header { align-items: center; padding-top: var(--rv-space-2); padding-bottom: var(--rv-space-3); }
.revamp .brand { position: relative; color: var(--rv-accent); gap: .55rem; text-decoration: none; }
.revamp .brand-logo { display: none; }
.revamp .brand .sr-only { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; margin: 0; font: 700 1.8rem var(--rv-font); letter-spacing: -.1rem; opacity: 0; }
.revamp .brand::after { content: ""; position: absolute; inset: 0; background: var(--brand-logo) left center / contain no-repeat; }
.revamp .brand::before { content: ''; width: 32px; height: 36px; border-radius: 12px 12px 12px 3px; display: inline-grid; place-items: center; background: transparent; color: white; font-size: 26px; font-weight: 700; line-height: 1; }
.revamp .site-search { background: var(--rv-soft); border: 1px solid var(--rv-border); border-radius: var(--rv-radius); box-shadow: none; }
.revamp .site-search input { min-width: 0; height: 50px; background: transparent; color: var(--rv-ink); }
.revamp .site-search button { background: transparent; color: var(--rv-accent); }
.revamp .shortcut-links { overflow-x: auto; white-space: nowrap; scrollbar-width: none; color: var(--rv-muted); }
.revamp .shortcut-links a { flex: 0 0 auto; }
.revamp .category-panel, .revamp .mobile-menu-panel { background: var(--rv-paper); }
.rv-carousel, .rv-welcome { position: relative; border-radius: var(--rv-radius-lg); background: var(--rv-hero); overflow: hidden; }
.rv-slide { min-height: 390px; display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--rv-space-4); align-items: center; padding: 44px 48px 64px; }
.rv-eyebrow { margin: 0 0 .65rem; font-size: var(--rv-sm); font-weight: 600; color: var(--rv-accent); letter-spacing: .02em; }
.rv-hero-copy h1, .rv-hero-copy h2 { margin: 0 0 1.2rem; font-size: var(--rv-display); letter-spacing: -.045em; line-height: 1.2; word-break: keep-all; font-weight: 700; }
.rv-hero-copy h1 span, .rv-hero-copy h2 span { font-weight: 400; }
.rv-hero-copy > p:not(.rv-eyebrow) { margin: 0 0 var(--rv-space-3); color: var(--rv-muted); }
.rv-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 44px; padding: .75rem 1.25rem; background: var(--rv-accent); color: #fff !important; border: 0; border-radius: .65rem; text-decoration: none; font-weight: 600; font-size: var(--rv-sm); cursor: pointer; }
.rv-button:hover { background: var(--rv-accent-hover); }
.rv-hero-photos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; align-items: center; padding-top: 1rem; }
.rv-hero-photo { min-width: 0; padding: .5rem .5rem .8rem; display: block; border-radius: 12px; background: var(--rv-paper); box-shadow: var(--rv-shadow); text-align: center; font-size: var(--rv-sm); font-weight: 600; text-decoration: none; }
.rv-hero-photo:first-child { transform: translateY(25px) rotate(-7deg); }
.rv-hero-photo:nth-child(2) { transform: translateY(-20px) rotate(3deg); }
.rv-hero-photo:last-child { transform: translateY(25px) rotate(8deg); }
.rv-hero-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: var(--rv-soft); }
.rv-hero-photo span { display: block; margin-top: .4rem; }
.rv-carousel-controls { position: absolute; right: 32px; bottom: 20px; display: flex; align-items: center; gap: .25rem; background: var(--rv-paper); border-radius: 30px; padding: 0 .35rem; color: var(--rv-ink); }
.rv-carousel-controls button { width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; border-radius: 50%; }
.rv-carousel-controls button:hover { background: var(--rv-tint); }
.rv-carousel-controls button:disabled { cursor: default; opacity: .65; }
.rv-carousel-controls span { min-width: 48px; text-align: center; font-size: var(--rv-xs); font-variant-numeric: tabular-nums; }
.rv-welcome { padding: var(--rv-space-5); }
.rv-welcome h1 { font-size: var(--rv-display); line-height: 1.3; }
.rv-section { margin-top: var(--rv-space-5); }
.rv-section-title { display: flex; justify-content: space-between; align-items: end; gap: var(--rv-space-2); margin-bottom: var(--rv-space-3); }
.rv-section-title h1, .rv-section-title h2 { margin: 0; font-weight: 700; font-size: var(--rv-title); letter-spacing: -.04em; }
.rv-section-title > a { flex-shrink: 0; color: var(--rv-muted); font-size: var(--rv-sm); text-decoration: none; padding: .5rem 0; }
.rv-subtitle { margin: .4rem 0 0; font-size: var(--rv-sm); color: var(--rv-muted); }
.rv-categories { display: flex; gap: var(--rv-space-2); overflow-x: auto; scrollbar-width: thin; padding: .5rem 0 1rem; }
.rv-categories > a { flex: 1 0 78px; max-width: 104px; text-align: center; text-decoration: none; font-size: var(--rv-xs); font-weight: 600; word-break: keep-all; }
.rv-category-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 22px; color: var(--rv-accent); background: var(--rv-tint); }
.rv-categories > a:nth-child(3n+2) .rv-category-icon { background: #f0eee7; }
.rv-categories > a:hover .rv-category-icon { outline: 1px solid var(--rv-accent); }
.rv-collections { display: grid; grid-auto-columns: minmax(250px,1fr); grid-auto-flow: column; gap: var(--rv-space-2); overflow-x: auto; padding: 2px 2px 1rem; }
.rv-collection { background: var(--rv-tint); min-width: 0; min-height: 264px; border-radius: var(--rv-radius); padding: var(--rv-space-3); text-decoration: none; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.rv-collection:nth-child(2) { background: #f6eee1; }
.rv-collection:nth-child(3) { background: #edf0f5; }
.rv-collection:nth-child(4) { background: #f3eae7; }
.rv-collection p { margin: 0 0 .4rem; font-size: var(--rv-xs); color: var(--rv-muted); }
.rv-collection h3 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.04em; margin: 0 0 .75rem; word-break: keep-all; }
.rv-more { font-size: var(--rv-xs); font-weight: 600; }
.rv-collection-photos { display: flex; gap: .4rem; margin-top: var(--rv-space-3); }
.rv-collection-photos img { width: calc((100% - .8rem) / 3); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.rv-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 24px; }
.rv-card { min-width: 0; }
.rv-card-link { display: flex; flex-direction: column; text-decoration: none; }
.rv-photo { aspect-ratio: 1; display: grid; place-items: center; position: relative; background: var(--rv-soft); border: 1px solid #00000004; border-radius: var(--rv-radius); overflow: hidden; margin-bottom: .9rem; }
.rv-photo img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; }
.rv-photo-empty { display: grid; place-items: center; color: var(--rv-muted); min-height: 100px; font-size: var(--rv-xs); }
.rv-seller { color: var(--rv-muted); font-size: var(--rv-xs); margin-bottom: .25rem; }
.rv-card h3 { font-size: var(--rv-base); line-height: 1.5; font-weight: 400; margin: 0 0 .5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; word-break: keep-all; }
.rv-price { font-size: 1.45rem; font-weight: 700; letter-spacing: -.025em; }
.rv-price small { font-size: var(--rv-base); font-weight: 500; margin-left: 2px; }
.rv-shipping { margin-top: .25rem; color: var(--rv-muted); font-size: var(--rv-xs); }
.rv-soldout { position: absolute; bottom: 12px; left: 12px; padding: .25rem .7rem; background: var(--rv-ink); color: white; border-radius: 4px; font-size: var(--rv-xs); }
.revamp .seller-onboarding { margin-top: var(--rv-space-5); padding: var(--rv-space-4); border: 1px solid var(--rv-border); border-radius: var(--rv-radius); background: var(--rv-soft); color: var(--rv-ink); }
.revamp .seller-onboarding h2 { font-size: var(--rv-lg); }
.revamp .seller-onboarding p { color: var(--rv-muted); }
.revamp .onboarding-button { background: var(--rv-accent); color: white; border-radius: .6rem; }
.revamp .home-notice { margin-top: var(--rv-space-3); font-size: var(--rv-xs); color: var(--rv-muted); }
.revamp .site-footer { background: var(--brand-primary); border-top: 1px solid var(--rv-border); }
.revamp .site-footer, .revamp .footer-business h2, .revamp .company-info dt,
.revamp .company-info dd, .revamp .footer-notices, .revamp .footer-links a { color: var(--brand-footer-text); }
.revamp .footer-business a { color: var(--brand-footer-text); }
.revamp .footer-logo { filter: none; }
.revamp .home-seller-band ol strong { color: #fff; }
.revamp .home-notice { background: var(--rv-tint); }
.revamp .home-notice strong { color: var(--rv-accent); }
.rv-breadcrumb { display: flex; flex-wrap: wrap; gap: .7rem; color: var(--rv-muted); font-size: var(--rv-xs); margin: 0 0 var(--rv-space-4); }
.rv-breadcrumb a { text-decoration: none; }
.rv-result-count { color: var(--rv-muted); font-size: var(--rv-sm); }
.rv-category-chips { display: flex; gap: .6rem; overflow-x: auto; padding: 4px 2px var(--rv-space-3); margin-bottom: .5rem; }
.rv-category-chips a { flex: 0 0 auto; border: 1px solid var(--rv-border); border-radius: 30px; padding: .6rem 1.1rem; text-decoration: none; background: var(--rv-paper); font-size: var(--rv-sm); }
.rv-category-chips a[aria-current="page"] { background: var(--rv-accent); border-color: var(--rv-accent); color: white; }
.rv-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rv-space-2); padding: var(--rv-space-3) 0; border-top: 1px solid var(--rv-border); border-bottom: 1px solid var(--rv-border); margin-bottom: var(--rv-space-4); font-size: var(--rv-sm); }
.rv-filters fieldset { display: flex; gap: .5rem; align-items: center; border: 0; padding: 0; margin: 0; }
.rv-filters legend { float: left; padding: 0; margin-right: .75rem; font-weight: 600; }
.rv-filters input[type="number"] { width: 105px; max-width: 100%; }
.rv-filters input[type="number"], .rv-filters select { min-height: 44px; border: 1px solid var(--rv-border); border-radius: .5rem; padding: .5rem .6rem; color: var(--rv-ink); background: var(--rv-paper); }
.rv-free { display: inline-flex; align-items: center; gap: .4rem; }
.rv-free input { accent-color: var(--rv-accent); width: 17px; height: 17px; }
.rv-sort { margin-left: auto; }
.rv-filter-reset { color: var(--rv-muted) !important; font-size: var(--rv-xs); }
.rv-active-filters { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: -1rem 0 2rem; }
.rv-active-filters li { background: var(--rv-tint); border-radius: 30px; font-size: var(--rv-xs); padding: .4rem .75rem; }
.rv-empty { padding: 5rem 1rem; text-align: center; color: var(--rv-muted); }
.rv-empty h2 { font-size: var(--rv-lg); color: var(--rv-ink); }
.revamp .mobile-bottom-nav { background: var(--rv-paper); border-color: var(--rv-border); }
.revamp .mobile-bottom-nav a[aria-current="page"] { color: var(--rv-accent); }
.revamp .pagination a { background: var(--rv-accent); color: #fff; }
.revamp .home-seller-band .onboarding-intro > span,
.revamp .home-seller-band .onboarding-intro > a { color: var(--rv-accent); }
.revamp .home-seller-band .onboarding-intro p { color: var(--rv-muted); }
@media (max-width: 1023px) {
  .rv-slide { padding: 32px 32px 72px; grid-template-columns: 1fr 1fr; gap: 24px; }
  .rv-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 20px; }
}
@media (max-width: 767px) {
  .revamp { --rv-title: 1.4rem; --rv-space-5: 2.5rem; }
  .revamp main { padding: 18px 20px 36px; }
  .revamp .shell { padding-left: 20px; padding-right: 20px; }
  .revamp .mobile-header { padding-top: 14px; padding-bottom: 14px; }
  .revamp .mobile-header .brand { margin-right: auto; margin-left: 10px; }
  .revamp .site-search input { height: 44px; }
  .rv-slide { display: flex; flex-direction: column; align-items: stretch; min-height: 470px; gap: 20px; padding: 28px 24px 68px; }
  .rv-hero-copy h1, .rv-hero-copy h2 { font-size: 2rem; }
  .rv-hero-copy > p:not(.rv-eyebrow) { font-size: var(--rv-sm); margin-bottom: 1rem; }
  .rv-hero-copy > p br { display: none; }
  .rv-hero-photos { gap: 8px; padding: 4px 4px 12px; }
  .rv-hero-photo { padding: 5px 5px 7px; font-size: 11px; }
  .rv-hero-photo:first-child, .rv-hero-photo:last-child { transform: translateY(5px) rotate(-5deg); }
  .rv-hero-photo:nth-child(2) { transform: translateY(-10px) rotate(4deg); }
  .rv-hero-photo:last-child { transform: translateY(5px) rotate(5deg); }
  .rv-carousel-controls { right: 20px; bottom: 12px; }
  .rv-section-title { align-items: end; margin-bottom: 20px; }
  .rv-section-title > a { font-size: var(--rv-xs); }
  .rv-section-title .rv-eyebrow { font-size: var(--rv-xs); margin-bottom: .4rem; }
  .rv-categories { gap: 12px; margin-right: -20px; padding-right: 20px; }
  .rv-categories > a { flex: 0 0 72px; }
  .rv-category-icon { width: 58px; height: 58px; border-radius: 20px; }
  .rv-collections { grid-auto-columns: 252px; margin-right: -20px; padding-right: 20px; }
  .rv-collection { min-height: 244px; padding: 22px; }
  .rv-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 12px; }
  .rv-card h3 { font-size: var(--rv-sm); min-height: 3em; }
  .rv-price { font-size: 1.25rem; }
  .rv-price small { font-size: var(--rv-sm); }
  .rv-photo { border-radius: 12px; }
  .rv-seller, .rv-shipping { font-size: 11px; }
  .rv-breadcrumb { margin-bottom: 24px; }
  .rv-filters { gap: 12px; padding: 18px 0; }
  .rv-filters fieldset { width: 100%; }
  .rv-filters fieldset label { min-width: 0; }
  .rv-filters legend { white-space: nowrap; margin-right: .25rem; }
  .rv-filters input[type="number"] { width: 98px; }
  .rv-sort { margin-left: auto; }
  .rv-filters .rv-button { padding: .5rem .9rem; }
  .rv-free { font-size: var(--rv-xs); }
  .revamp .seller-onboarding { padding: 24px; }
  .revamp .seller-onboarding ol { display: none; }
  .revamp .home-seller-band { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; }
  .rv-welcome { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { .revamp *, .revamp *::before, .revamp *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
