:root {
  --ink: #111111;
  --muted: #70757d;
  --line: #e5e7eb;
  --paper: #ffffff;
  --wash: #f4f6f8;
  --detail-surface: #f3f4f6;
  --detail-panel: #fafafa;
  --detail-line: #d7dbe2;
  --detail-accent: #6b7280;
  --detail-copy: #4b5563;
  --mist: #dcecff;
  --mint: #dff5e7;
  --coral: #ff6b5f;
  --lemon: #efff62;
  --blue: #3478f6;
  --shadow: 0 18px 55px rgba(16, 24, 40, 0.12);
  color-scheme: light;
  font-family: "Inter", "Noto Sans KR", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  transition:
    color 220ms ease,
    background-color 220ms ease;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.promo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 8px 16px;
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.promo-bar span {
  color: var(--lemon);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.utility-row,
.nav-row,
main {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.utility-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  min-height: 84px;
  gap: 18px;
}

.brand {
  justify-self: center;
  display: flex;
  align-items: center;
  width: clamp(150px, 18vw, 250px);
  height: 58px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
}

.utility-links [data-auth-open][hidden] {
  display: none;
}

.account-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.account-icon::before,
.account-icon::after {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.account-icon::before {
  top: 0;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.account-icon::after {
  bottom: 0;
  width: 16px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

.menu-button {
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
}

.bag-icon {
  width: 16px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
  position: relative;
}

.bag-icon::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
}

.cart-count {
  position: absolute;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  right: -6px;
  top: -6px;
  border-radius: 999px;
  background: var(--coral);
  color: #ffffff;
  font-size: 11px;
  line-height: 18px;
}

.nav-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 22px;
  min-height: 56px;
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill,
.quick-links button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #222;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-pill.is-active,
.quick-links button.is-active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.search-wrap {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.search-wrap span {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.search-wrap span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: currentColor;
  right: -6px;
  bottom: -4px;
  transform: rotate(45deg);
}

.search-wrap input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

main {
  padding-bottom: 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr 1fr;
  gap: 18px;
  padding: 24px 0 34px;
}

.hero-panel {
  min-height: clamp(340px, 32vw, 420px);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wash);
}

.hero-panel-large {
  min-height: clamp(380px, 35vw, 460px);
}

.hero-panel img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.46));
}

.hero-copy {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 1;
  color: #ffffff;
}

.hero-copy p,
.eyebrow,
.editorial-tile p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 6px 0 8px;
  line-height: 1;
}

.hero-copy h1 {
  font-size: clamp(44px, 6vw, 78px);
}

.hero-logo-title {
  width: min(100%, 360px);
}

.hero-logo-title img {
  height: auto;
  filter: invert(1);
}

.hero-copy h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  max-width: 13em;
}

.hero-copy span {
  display: inline-block;
  max-width: 32em;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.5;
  font-weight: 700;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px 0 44px;
}

.quick-links button {
  min-height: 44px;
  padding: 0 24px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.shop-section {
  padding: 42px 0 0;
  border-top: 12px solid var(--wash);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.eyebrow {
  color: var(--blue);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.95;
}

.shop-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.shop-tools select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 800;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-strip article {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px 20px;
  background: #ffffff;
}

.feature-strip strong {
  font-size: 15px;
}

.feature-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.editorial-tile {
  position: sticky;
  top: 184px;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #101010;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.editorial-tile img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 220ms ease;
}

.editorial-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.56));
  pointer-events: none;
}

.editorial-tile:hover img {
  transform: scale(1.025);
}

.editorial-tile:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.editorial-tile div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.editorial-tile h3 {
  margin: 5px 0 7px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
}

.editorial-tile span {
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 14px;
}

.product-card {
  min-width: 0;
  cursor: pointer;
}

.product-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wash);
}

.product-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.wish-button,
.badge {
  position: absolute;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.wish-button {
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #111111;
}

.badge {
  left: 10px;
  top: 10px;
  padding: 7px 10px;
  background: var(--lemon);
  color: #111111;
}

.product-info {
  padding-top: 12px;
}

.product-info h3 {
  min-height: 44px;
  margin: 5px 0 4px;
  font-size: 16px;
  line-height: 1.35;
}

.supplier {
  min-height: 36px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.price-line strong {
  font-size: 17px;
}

.price-line span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.swatches {
  display: flex;
  gap: 4px;
}

.swatches span {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: 50%;
  background: var(--mist);
}

.swatches span:nth-child(2) {
  background: #111111;
}

.swatches span:nth-child(3) {
  background: var(--mint);
}

.swatches span:nth-child(4) {
  background: #ffd8e7;
}

.swatches span:nth-child(5) {
  background: var(--lemon);
}

.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 42px;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.add-button span {
  font-size: 17px;
  line-height: 1;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  background: rgba(17, 17, 17, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.detail-page {
  padding: 28px 0 80px;
}

.detail-page[hidden],
[data-home-section][hidden] {
  display: none;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 20px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.back-button span {
  font-size: 18px;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: start;
  gap: 34px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.detail-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wash);
}

.detail-image:first-child {
  grid-column: span 2;
}

.detail-image img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.detail-story-image {
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.detail-story-image img {
  height: auto;
  object-fit: contain;
}

.responsive-detail {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.responsive-detail section {
  min-width: 0;
}

.responsive-detail-photo {
  margin: 0;
  overflow: hidden;
  background: var(--wash);
}

.responsive-detail-photo img {
  height: 100%;
  object-fit: cover;
}

.responsive-opening {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 8px;
  padding: 8px;
  background: #ffffff;
}

.responsive-opening .responsive-detail-photo {
  min-height: 520px;
}

.responsive-opening .is-close img {
  object-position: center 24%;
}

.responsive-story {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 38px;
  align-items: center;
  padding: clamp(44px, 6vw, 72px);
  background: var(--detail-surface);
}

.responsive-story-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.responsive-story-copy p,
.responsive-color-copy p,
.responsive-detail-cuts p,
.responsive-points p {
  margin: 0;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.responsive-story-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.responsive-story-copy strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  word-break: keep-all;
}

.responsive-story-copy span,
.responsive-color-copy span,
.responsive-detail-cuts span,
.responsive-points span {
  color: var(--detail-copy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.responsive-story-copy em {
  color: var(--detail-accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.responsive-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
}

.responsive-story-grid .responsive-detail-photo {
  min-height: 260px;
}

.responsive-story-grid .is-main {
  grid-row: span 2;
  min-height: 560px;
}

.responsive-quote {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 26px;
  background: #1d1c19;
  color: #ffffff;
  text-align: center;
}

.responsive-quote h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  word-break: keep-all;
}

.responsive-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(34px, 5vw, 58px);
  background: #ffffff;
}

.responsive-points article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--detail-line);
  background: var(--detail-panel);
}

.responsive-points h3,
.responsive-color-copy h3,
.responsive-fit h3,
.responsive-detail-cuts h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.28;
  word-break: keep-all;
}

.responsive-fit {
  display: grid;
  gap: 14px;
  padding: clamp(34px, 5vw, 56px) clamp(34px, 6vw, 72px);
  background: var(--detail-surface);
}

.responsive-fit p {
  margin: 0;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 900;
}

.responsive-fit h3 {
  max-width: 680px;
}

.responsive-fit span {
  max-width: 760px;
  color: var(--detail-copy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.responsive-color-flow {
  display: grid;
  gap: 0;
}

.responsive-color-block {
  display: grid;
  gap: 0;
}

.responsive-color-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 680px;
  padding: clamp(36px, 5vw, 56px) clamp(34px, 6vw, 72px) 24px;
}

.responsive-color-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 8px 8px;
  background: #ffffff;
}

.responsive-color-images .responsive-detail-photo {
  min-height: 560px;
}

.responsive-color-images .responsive-detail-photo:first-child {
  grid-column: span 2;
  min-height: 820px;
}

.responsive-color-block:nth-child(2) .responsive-color-copy {
  margin-left: auto;
  text-align: right;
}

.responsive-folder-details {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: #ffffff;
}

.responsive-folder-photo {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

.responsive-folder-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.responsive-detail-cuts {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  padding: clamp(42px, 6vw, 72px);
  background: var(--detail-surface);
}

.responsive-detail-cuts > div:first-child {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.responsive-detail-cut-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.responsive-detail-cut-images .responsive-detail-photo {
  background: #ffffff;
}

.responsive-detail-cut-images img {
  object-fit: contain;
}

.detail-buy-panel {
  position: sticky;
  top: 184px;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.detail-eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.detail-buy-panel h1 {
  margin: -8px 0 0;
  font-size: clamp(27px, 2.6vw, 34px);
  line-height: 1.18;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.detail-source {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.detail-price-row strong {
  font-size: 25px;
}

.detail-price-row span {
  color: var(--blue);
  font-weight: 900;
}

.option-block {
  display: grid;
  gap: 10px;
}

.option-head,
.quantity-row,
.detail-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.option-head span,
.quantity-row span,
.detail-total span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.option-chip.is-selected {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-stepper button {
  height: 100%;
  border: 0;
  background: #ffffff;
  font-weight: 900;
}

.quantity-stepper strong {
  text-align: center;
  font-size: 14px;
}

.detail-total {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.detail-total strong {
  font-size: 22px;
}

.detail-cart-button,
.detail-buy-button {
  height: 50px;
  border-radius: 8px;
  font-weight: 900;
}

.detail-cart-button {
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
}

.detail-buy-button {
  border: 0;
  background: var(--blue);
  color: #ffffff;
}

.detail-info-list {
  display: grid;
  gap: 1px;
  margin-top: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-info-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  font-size: 12px;
}

.detail-info-list strong {
  color: #111111;
}

.detail-info-list span {
  color: var(--muted);
  font-weight: 700;
}

.cart-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  width: min(440px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
}

.cart-items {
  overflow: auto;
  padding: 16px 22px;
}

.empty-cart {
  margin: 24px 0;
  color: var(--muted);
  font-weight: 700;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item strong,
.cart-item span,
.cart-item em {
  display: block;
}

.cart-item strong {
  font-size: 14px;
}

.cart-item span,
.cart-item em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.checkout-button {
  height: 54px;
  margin: 0 22px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.account-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.account-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.62);
}

.account-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(860px, calc(100dvh - 48px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.account-panel [hidden] {
  display: none !important;
}

body.has-account-modal {
  overflow: hidden;
}

.account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-head p {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.account-head h2 {
  margin: 0;
  font-size: 28px;
}

.account-intro {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
}

.account-auth-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.account-auth-form .account-primary-button {
  width: 100%;
  margin-top: 2px;
}

.account-auth-form small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.account-switch-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-switch-row button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-coming-soon {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f6f7;
  text-align: center;
}

.social-coming-soon strong {
  font-size: 13px;
}

.social-coming-soon span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.social-login-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.social-login {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 7px 12px;
  border: 1px solid #dfe2e6;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
}

.social-login strong {
  grid-column: 2;
  font-size: 15px;
}

.social-mark {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f1f2;
  font-size: 14px;
  font-weight: 900;
}

.social-login.is-kakao {
  border-color: #f2dc00;
  background: #fee500;
}

.social-login.is-kakao .social-mark {
  background: #111111;
  color: #fee500;
}

.social-login.is-naver {
  border-color: #03c75a;
  background: #03c75a;
  color: #ffffff;
}

.social-login.is-naver .social-mark {
  background: #ffffff;
  color: #03c75a;
}

.social-login.is-apple {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.social-login.is-apple .social-mark {
  background: #ffffff;
  color: #111111;
}

.social-login:disabled {
  border-color: #e1e3e6;
  background: #f4f5f6;
  color: #9a9ea4;
  cursor: not-allowed;
}

.social-login:disabled .social-mark {
  background: #e5e7ea;
  color: #9a9ea4;
}

.account-consent-copy {
  margin: 18px 0 0;
  color: #858a91;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  word-break: keep-all;
}

.account-guest-return {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 900;
}

.account-status {
  min-height: 18px;
  margin: 14px 0 0;
  color: #d63838;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  word-break: keep-all;
}

.account-status[data-tone="pending"] {
  color: var(--blue);
}

.account-profile-form {
  margin-top: 24px;
}

.account-profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e1e3e6;
  border-radius: 8px;
  background: #f5f6f7;
}

.account-profile-summary img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.account-profile-summary strong,
.account-profile-summary span {
  display: block;
}

.account-profile-summary strong {
  font-size: 14px;
}

.account-profile-summary span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-profile-fields {
  margin-top: 22px;
}

.account-profile-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.account-profile-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #111111;
}

.account-profile-actions {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.account-secondary-button,
.account-primary-button {
  min-height: 52px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.account-secondary-button {
  border: 1px solid #cfd3d8;
  background: #ffffff;
  color: #111111;
}

.account-primary-button {
  border: 0;
  background: var(--blue);
  color: #ffffff;
}

.account-primary-button:disabled {
  background: #9ab9ff;
  cursor: wait;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.62);
}

.checkout-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(900px, calc(100dvh - 48px));
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.checkout-panel [hidden] {
  display: none !important;
}

body.has-checkout-modal {
  overflow: hidden;
}

.checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.checkout-head p {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.checkout-head h2 {
  margin: 0;
  font-size: 28px;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 8px;
  border-top: 2px solid #dfe2e6;
  color: #92979f;
  font-size: 12px;
  font-weight: 800;
}

.checkout-progress li span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #eef0f2;
  font-size: 11px;
}

.checkout-progress li.is-current,
.checkout-progress li.is-complete {
  border-color: #111111;
  color: #111111;
}

.checkout-progress li.is-current span,
.checkout-progress li.is-complete span {
  background: #111111;
  color: #ffffff;
}

.checkout-entry {
  padding: 42px 0 16px;
}

.checkout-entry-copy {
  max-width: 520px;
}

.checkout-entry-copy h3 {
  margin: 0;
  font-size: 24px;
  word-break: keep-all;
}

.checkout-entry-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
}

.checkout-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.checkout-method {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  text-align: left;
}

.checkout-method:hover,
.checkout-method:focus-visible {
  border-color: #111111;
}

.checkout-method.is-primary {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.checkout-method strong {
  font-size: 17px;
}

.checkout-method span {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  opacity: 0.72;
  word-break: keep-all;
}

.checkout-entry-status {
  min-height: 20px;
  margin: 16px 0 0;
  color: #d63838;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.checkout-form {
  display: grid;
}

.checkout-form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 8px;
}

.checkout-form-topline strong {
  font-size: 14px;
}

.checkout-form-topline button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.checkout-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.checkout-section-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.checkout-section-head h3 {
  margin: 0;
  font-size: 19px;
}

.checkout-section-head > strong {
  color: var(--muted);
  font-size: 12px;
}

.checkout-section-head-inline {
  align-items: center;
}

.checkout-address-book {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f9;
}

.checkout-address-book[hidden] {
  display: none;
}

.checkout-address-book select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-weight: 800;
}

.checkout-address-book p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-save-default {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 800;
}

.checkout-save-default[hidden] {
  display: none;
}

.checkout-save-default input {
  width: 18px;
  height: 18px;
  accent-color: #111111;
}

.checkout-summary {
  display: grid;
  gap: 10px;
}

.checkout-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  background: #f7f8f9;
}

.checkout-line img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
}

.checkout-line strong,
.checkout-line span {
  display: block;
}

.checkout-line strong {
  font-size: 14px;
  word-break: keep-all;
}

.checkout-line span,
.checkout-line em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.checkout-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-weight: 900;
}

.checkout-fields {
  display: grid;
  gap: 16px;
}

.checkout-fields-two {
  grid-template-columns: 1fr 1fr;
}

.checkout-field-wide {
  grid-column: 1 / -1;
}

.checkout-field > span {
  font-size: 12px;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
}

.checkout-field input:focus,
.checkout-field select:focus {
  border-color: #111111;
  outline: 2px solid rgba(17, 17, 17, 0.12);
  outline-offset: 1px;
}

.checkout-field input[readonly] {
  background: #f5f6f7;
  color: #4e5359;
}

.checkout-address-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 8px;
}

.checkout-address-search button {
  height: 48px;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-weight: 900;
}

.checkout-same-buyer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #40444a;
  font-size: 12px;
  font-weight: 800;
}

.checkout-same-buyer input,
.checkout-agreement input {
  width: 18px;
  height: 18px;
  accent-color: #111111;
}

.checkout-agreement {
  padding: 20px;
  border: 1px solid #dfe2e6;
  border-radius: 8px;
  background: #f5f6f7;
}

.checkout-agreement label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.checkout-agreement p {
  margin: 8px 0 0 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.checkout-status:empty {
  display: none;
}

.checkout-status[data-tone="error"] {
  color: #d63838;
}

.checkout-status[data-tone="pending"] {
  color: var(--blue);
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
}

.checkout-total strong {
  font-size: 24px;
}

.checkout-payment-bar {
  position: sticky;
  bottom: -28px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: center;
  margin: 20px -28px -28px;
  padding: 18px 28px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 24px rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(12px);
}

.checkout-submit {
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.checkout-submit:disabled {
  background: #9ab9ff;
  cursor: wait;
}

@media (max-width: 620px) {
  .account-modal {
    align-items: end;
    padding: 0;
  }

  .account-panel {
    width: 100%;
    max-height: 94dvh;
    padding: 20px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .account-head h2 {
    font-size: 24px;
  }

  .account-profile-actions {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .checkout-modal {
    align-items: end;
    padding: 0;
  }

  .checkout-panel {
    width: 100%;
    max-height: 94dvh;
    padding: 20px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .checkout-head h2 {
    font-size: 24px;
  }

  .checkout-progress {
    margin-top: 20px;
  }

  .checkout-progress li {
    gap: 6px;
    padding: 10px 4px;
    font-size: 11px;
  }

  .checkout-entry {
    padding-top: 30px;
  }

  .checkout-entry-copy h3 {
    font-size: 22px;
  }

  .checkout-methods,
  .checkout-fields-two {
    grid-template-columns: 1fr;
  }

  .checkout-method {
    min-height: 104px;
  }

  .checkout-field-wide {
    grid-column: auto;
  }

  .checkout-section {
    padding: 24px 0;
  }

  .checkout-line {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .checkout-line em {
    grid-column: 2;
    margin-top: -8px;
  }

  .checkout-section-head-inline {
    align-items: flex-end;
  }

  .checkout-address-search {
    grid-template-columns: minmax(0, 1fr) 106px;
  }

  .checkout-payment-bar {
    bottom: -20px;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px -20px -20px;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  }

  .checkout-total strong {
    font-size: 22px;
  }
}

.mobile-shopbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 20px));
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-shopbar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-cart {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  padding: 0 16px;
  font-weight: 900;
}

body.has-mobile-option-sheet {
  overflow: hidden;
}

.mobile-detail-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 35;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.mobile-detail-summary {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

.mobile-detail-summary span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-detail-summary strong {
  font-size: 17px;
}

.mobile-detail-bar button {
  width: 128px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.mobile-option-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.mobile-option-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-option-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.42);
}

.mobile-option-panel {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: min(82vh, 720px);
  overflow-y: auto;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 8px 8px 0 0;
  background: #ffffff;
  transform: translateY(100%);
  transition: transform 220ms ease;
}

.mobile-option-sheet.is-open .mobile-option-panel {
  transform: translateY(0);
}

.mobile-option-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.mobile-option-head p {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.mobile-option-head h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  word-break: keep-all;
}

.mobile-option-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mobile-option-price strong {
  font-size: 22px;
}

.mobile-option-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mobile-option-total {
  margin-top: 0;
}

.mobile-option-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel-large {
    grid-column: span 2;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .editorial-tile {
    position: relative;
    top: auto;
  }

  .editorial-tile img {
    aspect-ratio: 16 / 7;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-shell {
    grid-template-columns: 1fr;
  }

  .detail-buy-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 820px) {
  .promo-bar {
    flex-direction: column;
    gap: 2px;
    min-height: 46px;
    font-size: 12px;
  }

  .utility-row,
  .nav-row,
  main {
    width: min(100% - 24px, 1440px);
  }

  .utility-row {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    min-height: 68px;
    position: relative;
  }

  .brand {
    justify-self: start;
    width: 138px;
    height: 44px;
  }

  .utility-links a {
    display: none;
  }

  .utility-links {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-self: end;
    gap: 0;
  }

  .utility-links .cart-open {
    display: inline-grid;
  }

  .utility-links .account-button {
    display: inline-grid;
    margin-right: 6px;
  }

  .nav-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 12px;
  }

  .category-nav {
    order: 2;
  }

  .hero-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 12px;
    padding-top: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-panel,
  .hero-panel-large {
    grid-column: auto;
    flex: 0 0 min(84vw, 420px);
    min-height: 360px;
    scroll-snap-align: start;
  }

  .hero-panel:not(.hero-panel-large) {
    min-height: 360px;
  }

  .quick-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px 0 42px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .editorial-tile img {
    aspect-ratio: 4 / 5;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .detail-page {
    padding-top: 18px;
    padding-bottom: 112px;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-image:first-child {
    grid-column: auto;
  }

  .responsive-detail {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .responsive-opening {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0;
  }

  .responsive-opening .responsive-detail-photo {
    min-height: auto;
  }

  .responsive-opening .responsive-detail-photo img {
    aspect-ratio: 4 / 5;
  }

  .responsive-story {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 22px;
  }

  .responsive-story-copy {
    gap: 14px;
  }

  .responsive-story-copy h2 {
    font-size: 29px;
    line-height: 1.18;
  }

  .responsive-story-copy strong {
    font-size: 21px;
  }

  .responsive-story-copy span,
  .responsive-color-copy span,
  .responsive-detail-cuts span,
  .responsive-points span {
    font-size: 15px;
    line-height: 1.78;
  }

  .responsive-story-grid {
    grid-template-columns: 1fr;
  }

  .responsive-story-grid .is-main {
    grid-row: auto;
    min-height: auto;
  }

  .responsive-story-grid .responsive-detail-photo,
  .responsive-story-grid .responsive-detail-photo img {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .responsive-quote {
    min-height: 112px;
    padding: 24px 22px;
  }

  .responsive-quote h3 {
    font-size: 24px;
  }

  .responsive-points {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 22px;
  }

  .responsive-points article {
    min-height: auto;
    padding: 22px;
  }

  .responsive-points h3,
  .responsive-color-copy h3,
  .responsive-fit h3,
  .responsive-detail-cuts h3 {
    font-size: 24px;
  }

  .responsive-fit {
    padding: 34px 22px;
  }

  .responsive-fit span {
    font-size: 15px;
    line-height: 1.78;
  }

  .responsive-color-copy {
    padding: 38px 22px 18px;
  }

  .responsive-color-block:nth-child(2) .responsive-color-copy {
    margin-left: 0;
    text-align: left;
  }

  .responsive-color-images {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0;
  }

  .responsive-color-images .responsive-detail-photo,
  .responsive-color-images .responsive-detail-photo:first-child {
    grid-column: auto;
    min-height: auto;
  }

  .responsive-color-images .responsive-detail-photo img {
    aspect-ratio: 4 / 5;
  }

  .responsive-folder-details {
    gap: 6px;
    padding: 0;
  }

  .responsive-detail-cuts {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 22px;
  }

  .responsive-detail-cut-images {
    grid-template-columns: 1fr;
  }

  .detail-buy-panel {
    display: none;
  }

  .product-info h3 {
    min-height: 42px;
    font-size: 14px;
  }

  .supplier {
    min-height: 34px;
    font-size: 12px;
  }

  .meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-shopbar {
    display: flex;
  }

  .mobile-detail-bar:not([hidden]) {
    display: flex;
  }
}

@media (max-width: 480px) {
  .utility-row {
    gap: 10px;
  }

  .brand {
    width: 126px;
    height: 40px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero-panel,
  .hero-panel-large {
    min-height: 350px;
  }

  .hero-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .section-head h2 {
    font-size: 38px;
  }

  .shop-tools {
    width: 100%;
    justify-content: space-between;
  }

  .product-grid {
    gap: 24px 10px;
  }

  .add-button {
    height: 40px;
  }
}

:root[data-theme="dark"] {
  --ink: #f5f5f5;
  --muted: #a6abb3;
  --line: #303238;
  --paper: #050505;
  --wash: #17181b;
  --detail-surface: #18191c;
  --detail-panel: #101114;
  --detail-line: #3a3d43;
  --detail-accent: #aeb3bb;
  --detail-copy: #d5d8de;
  --mist: #253448;
  --mint: #244033;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

:root[data-theme="dark"] .site-header {
  background: rgba(5, 5, 5, 0.94);
}

:root[data-theme="dark"] .brand img {
  filter: invert(1);
}

:root[data-theme="dark"] .hero-logo-title img {
  filter: invert(1);
}

:root[data-theme="dark"] .icon-button,
:root[data-theme="dark"] .nav-pill,
:root[data-theme="dark"] .quick-links button,
:root[data-theme="dark"] .search-wrap,
:root[data-theme="dark"] .shop-tools select,
:root[data-theme="dark"] .feature-strip article {
  background: #101114;
  color: var(--ink);
}

:root[data-theme="dark"] .search-wrap input,
:root[data-theme="dark"] .shop-tools select {
  color: var(--ink);
}

:root[data-theme="dark"] input::placeholder {
  color: #7f858e;
}

:root[data-theme="dark"] .nav-pill.is-active,
:root[data-theme="dark"] .quick-links button.is-active,
:root[data-theme="dark"] .option-chip.is-selected,
:root[data-theme="dark"] .checkout-method.is-primary,
:root[data-theme="dark"] .add-button,
:root[data-theme="dark"] .mobile-cart {
  border-color: #f5f5f5;
  background: #f5f5f5;
  color: #111111;
}

:root[data-theme="dark"] .detail-story-image,
:root[data-theme="dark"] .responsive-detail,
:root[data-theme="dark"] .responsive-opening,
:root[data-theme="dark"] .responsive-points,
:root[data-theme="dark"] .responsive-color-images,
:root[data-theme="dark"] .responsive-folder-details,
:root[data-theme="dark"] .responsive-folder-photo,
:root[data-theme="dark"] .responsive-detail-cut-images .responsive-detail-photo {
  background: var(--paper);
}

:root[data-theme="dark"] .detail-buy-panel,
:root[data-theme="dark"] .option-chip,
:root[data-theme="dark"] .quantity-stepper button,
:root[data-theme="dark"] .detail-cart-button,
:root[data-theme="dark"] .detail-info-list article,
:root[data-theme="dark"] .cart-panel,
:root[data-theme="dark"] .account-panel,
:root[data-theme="dark"] .checkout-panel,
:root[data-theme="dark"] .mobile-option-panel {
  background: #0d0e10;
  color: var(--ink);
}

:root[data-theme="dark"] .detail-info-list strong {
  color: var(--ink);
}

:root[data-theme="dark"] .detail-cart-button,
:root[data-theme="dark"] .account-guest-return,
:root[data-theme="dark"] .account-secondary-button,
:root[data-theme="dark"] .checkout-method:not(.is-primary),
:root[data-theme="dark"] .checkout-address-search button {
  border-color: #4a4d54;
  background: #141519;
  color: var(--ink);
}

:root[data-theme="dark"] .account-profile-summary,
:root[data-theme="dark"] .checkout-line,
:root[data-theme="dark"] .checkout-agreement,
:root[data-theme="dark"] .checkout-address-book,
:root[data-theme="dark"] .social-coming-soon {
  border-color: var(--line);
  background: #15161a;
}

:root[data-theme="dark"] .checkout-field input,
:root[data-theme="dark"] .checkout-field select,
:root[data-theme="dark"] .checkout-address-book select {
  background: #101114;
  color: var(--ink);
}

:root[data-theme="dark"] .checkout-field input[readonly] {
  background: #1a1b1f;
  color: #c3c7ce;
}

:root[data-theme="dark"] .checkout-field input:focus,
:root[data-theme="dark"] .checkout-field select:focus,
:root[data-theme="dark"] .checkout-method:hover,
:root[data-theme="dark"] .checkout-method:focus-visible {
  border-color: #f5f5f5;
  outline-color: rgba(255, 255, 255, 0.18);
}

:root[data-theme="dark"] .checkout-same-buyer {
  color: #c7cbd1;
}

:root[data-theme="dark"] .checkout-progress li.is-current,
:root[data-theme="dark"] .checkout-progress li.is-complete {
  border-color: #f5f5f5;
  color: #f5f5f5;
}

:root[data-theme="dark"] .checkout-progress li.is-current span,
:root[data-theme="dark"] .checkout-progress li.is-complete span {
  background: #f5f5f5;
  color: #111111;
}

:root[data-theme="dark"] .social-login:not(.is-kakao):not(.is-naver):not(.is-apple):not(:disabled) {
  border-color: #4a4d54;
  background: #f5f5f5;
  color: #111111;
}

:root[data-theme="dark"] .social-login:disabled {
  border-color: #303238;
  background: #17181b;
  color: #777d86;
}

:root[data-theme="dark"] .social-login:disabled .social-mark {
  background: #25272c;
  color: #777d86;
}

:root[data-theme="dark"] .checkout-payment-bar,
:root[data-theme="dark"] .mobile-shopbar,
:root[data-theme="dark"] .mobile-detail-bar {
  background: rgba(9, 10, 12, 0.96);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .account-consent-copy {
  color: #9ca1aa;
}

:root[data-theme="dark"] .account-profile-consent input,
:root[data-theme="dark"] .checkout-same-buyer input,
:root[data-theme="dark"] .checkout-agreement input,
:root[data-theme="dark"] .checkout-save-default input {
  accent-color: #f5f5f5;
}
