/* ============================================================
   NOVA — Subpages (category, mypage, cart) + search overlay
   ============================================================ */

/* ── Search overlay ── */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 19, 17, .55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-start;
}
.search-overlay.open { opacity: 1; }
.search-overlay[hidden] { display: none !important; }
.search-panel {
  width: 100%;
  background: var(--cream-50);
  padding: 120px 0 80px;
  transform: translateY(-20px);
  transition: transform .4s var(--ease-out);
  max-height: 100vh;
  overflow-y: auto;
}
.search-overlay.open .search-panel { transform: translateY(0); }
.search-close {
  position: absolute;
  top: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.search-close:hover { background: var(--cream-200); }

.search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  margin-bottom: 56px;
  box-shadow: var(--shadow-sm);
}
.search-form svg { color: var(--text-muted); flex-shrink: 0; }
.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 20px;
  outline: none;
  color: var(--ink-900);
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  padding: 12px 28px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .2s;
}
.search-form button:hover { background: var(--brand-700); }

.search-suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.search-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.search-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.search-chips a {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  background: #fff;
  transition: all .2s;
}
.search-chips a:hover { border-color: var(--ink-900); background: var(--ink-900); color: #fff; }
.search-recent {
  display: flex; flex-direction: column; gap: 6px;
}
.search-recent a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  transition: background .2s;
}
.search-recent a:hover { background: var(--cream-100); }
.s-sw {
  width: 32px; height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--border);
}

/* ══════════════ PAGE HEADER (subpage hero) ══════════════ */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background: var(--cream-100);
  overflow: hidden;
}
.page-hero .blob {
  opacity: .5;
}
.page-hero .blob-1 { width: 420px; height: 420px; top: -120px; right: -80px; background: var(--brand-200); }
.page-hero .blob-2 { width: 280px; height: 280px; bottom: -100px; left: -50px; background: var(--blush-100); }
.crumbs {
  position: relative; z-index: 1;
  display: flex; gap: 8px; align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.crumbs a { color: var(--text-muted); transition: color .2s; }
.crumbs a:hover { color: var(--ink-900); }
.crumbs .sep { opacity: .4; }
.page-head {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding: 20px 0 28px;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: .98;
  color: var(--ink-900);
}
.page-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--brand-500);
}
.page-intro {
  max-width: 420px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 8px;
}

/* ══════════════ CATEGORY PAGE ══════════════ */
.cat-bar {
  position: relative; z-index: 1;
  display: flex; gap: 8px;
  padding: 20px 0 0;
  flex-wrap: wrap;
}
.cat-bar a {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: all .2s;
}
.cat-bar a:hover { color: var(--ink-900); border-color: var(--ink-400); }
.cat-bar a.is-active {
  background: var(--ink-900); color: #fff; border-color: var(--ink-900);
}

.cat-page {
  padding: 72px 0 120px;
}
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-bar .count {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.filter-bar .count strong { color: var(--ink-900); font-weight: 500; }
.filter-chips {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.filter-chips button {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all .2s;
  background: #fff;
}
.filter-chips button.on {
  background: var(--ink-900); color: #fff; border-color: var(--ink-900);
}
.filter-bar select {
  padding: 8px 40px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink-900);
  letter-spacing: 0.08em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23141311' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.cat-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
  align-items: stretch;
}
.cat-feature-card {
  background: linear-gradient(135deg, var(--brand-100), var(--cream-100));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.cat-feature-card .cf-over {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 16px;
}
.cat-feature-card h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink-900);
  margin-bottom: 12px;
  max-width: 380px;
}
.cat-feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 360px;
  margin-bottom: 32px;
}
.cat-feature-card .cf-visual {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 280px; height: 280px;
  opacity: .8;
}
.cat-feature-mini {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.cat-feature-mini > div {
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.cat-feature-mini h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.cat-feature-mini p {
  font-size: 14px;
  color: var(--text-muted);
}
.cat-feature-mini .mini-ico {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand-600);
  font-size: 24px;
}

/* ══════════════ PRODUCT DETAIL MINI (in category) shared .products ══════════════ */

/* ══════════════ MYPAGE ══════════════ */
.mypage {
  padding: 60px 0 120px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
}
.my-side {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.my-avatar {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.my-avatar .av {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.my-avatar h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.my-avatar span {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.my-menu {
  display: flex; flex-direction: column; gap: 4px;
}
.my-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all .2s;
}
.my-menu a:hover { background: var(--cream-100); color: var(--ink-900); }
.my-menu a.on {
  background: var(--ink-900); color: #fff;
}
.my-menu a .badge {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.my-menu a.on .badge { color: rgba(255,255,255,.7); }

.my-main { min-width: 0; }

.my-welcome {
  background: linear-gradient(135deg, var(--brand-100), var(--cream-100));
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.my-welcome .overline { color: var(--brand-600); }
.my-welcome h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-top: 8px;
  line-height: 1.1;
}
.my-welcome em { font-style: normal; font-weight: 500; color: var(--brand-500); }
.my-welcome .star {
  width: 160px; height: 160px;
  opacity: .15;
  color: var(--brand-700);
}

.my-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.my-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all .3s var(--ease);
}
.my-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.my-stat .k {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}
.my-stat .v {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1;
}
.my-stat .v small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}
.my-stat .d {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.my-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 24px;
}
.my-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.my-block-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.my-block-head a {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  transition: color .2s;
}
.my-block-head a:hover { color: var(--ink-900); }

.order-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: none; }
.order-thumb {
  width: 84px; height: 84px;
  border-radius: 10px;
  background: var(--c, var(--cream-100));
  display: flex; align-items:center; justify-content:center;
  overflow: hidden;
}
.order-thumb .bottle,
.order-thumb .flacon,
.order-thumb .compact,
.order-thumb .jar { transform: scale(.5); }
.order-info .o-date {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.order-info h5 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.order-info p { font-size: 14px; color: var(--text-muted); }
.order-status {
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--brand-50);
  color: var(--brand-700);
  text-transform: uppercase;
}
.order-status.shipping { background: var(--gold-50); color: var(--gold-600); }
.order-status.done { background: var(--cream-100); color: var(--text-muted); }
.order-price {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.my-skin {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.skin-pill {
  padding: 14px 18px;
  background: var(--cream-100);
  border-radius: 10px;
  font-size: 14px;
}
.skin-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.skin-pill span { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* ══════════════ CART ══════════════ */
.cart-page {
  padding: 60px 0 120px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.cart-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart-list-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}
.cart-list-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.cart-list-head p { font-size: 14px; color: var(--text-muted); }
.cart-row {
  display: grid;
  grid-template-columns: 44px 100px 1fr auto auto 36px;
  gap: 20px;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}
.cart-row:last-child { border-bottom: none; }
.cart-check {
  width: 20px; height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  color: transparent;
}
.cart-check.on {
  background: var(--ink-900); border-color: var(--ink-900); color: #fff;
}
.cart-thumb {
  width: 100px; height: 100px;
  border-radius: 10px;
  background: var(--c, var(--cream-100));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cart-thumb .bottle { transform: scale(.55); }
.cart-thumb .flacon, .cart-thumb .compact, .cart-thumb .jar { transform: scale(.5); }

.cart-info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.cart-info .c-opt { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.cart-info .c-tag {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  border: 1px solid var(--brand-200);
  padding: 3px 8px;
  border-radius: 100px;
  display: inline-block;
}

.qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.qty-picker button {
  width: 32px; height: 32px;
  color: var(--ink-900);
  transition: background .2s;
  border-radius: 50%;
}
.qty-picker button:hover { background: var(--cream-100); }
.qty-picker button:disabled { color: var(--ink-300); cursor: not-allowed; }
.qty-picker span {
  display: inline-block;
  width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.cart-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  min-width: 90px;
  text-align: right;
}
.cart-remove {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .2s;
}
.cart-remove:hover { background: var(--cream-100); color: var(--ink-900); }

.cart-empty-state {
  padding: 72px 32px;
  text-align: center;
}
.cart-empty-state .es-mark {
  font-size: 56px;
  color: var(--brand-300);
  margin-bottom: 16px;
}
.cart-empty-state h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.cart-empty-state p { color: var(--text-muted); margin-bottom: 24px; }

.cart-promo {
  background: var(--cream-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  display: flex; align-items: center; gap: 16px;
}
.cart-promo svg { color: var(--gold-500); flex-shrink: 0; }
.cart-promo strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.cart-promo span { font-size: 14px; color: var(--text-muted); }

.cart-summary {
  position: sticky;
  top: 120px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  font-size: 14px;
}
.sum-row .k { color: var(--text-muted); }
.sum-row .v { font-weight: 500; color: var(--ink-900); }
.sum-row.discount .v { color: var(--blush-400); }
.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.sum-total .k {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sum-total .v {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.cart-coupon {
  display: flex; gap: 8px;
  margin: 24px 0 20px;
}
.cart-coupon input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.cart-coupon input:focus { border-color: var(--ink-900); }
.cart-coupon button {
  padding: 12px 18px;
  background: var(--cream-100);
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: background .2s;
}
.cart-coupon button:hover { background: var(--cream-200); }
.checkout-btn {
  width: 100%;
  padding: 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 24px;
  transition: all .3s;
}
.checkout-btn:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30,58,47,.25); }
.sum-note {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.cart-recs {
  grid-column: 1 / -1;
  margin-top: 80px;
}
.cart-recs h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 32px;
}

/* ══════════════ PRODUCT DETAIL PAGE (PDP) ══════════════ */

/* ── 헤더 히어로 (브레드크럼 영역) ── */
.pdp-hero {
  position: relative;
  padding: 32px 0 28px;
  background: var(--cream-100);
  overflow: hidden;
}
.pdp-hero .blob-1 {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -60px;
  background: var(--brand-200);
  opacity: .4;
}
.pdp-hero .blob-2 {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -40px;
  background: var(--blush-100);
  opacity: .5;
}

/* ── 메인 섹션 ── */
.pdp-main {
  padding: 56px 0 96px;
  background: var(--cream-50, #FDFBF5);
}

/* 2열 그리드: 갤러리 + 상품정보 */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* ── 갤러리 (좌측) ── */
.pdp-gallery {
  position: sticky;
  top: 100px;
}

/* ── 줌 아이콘 (메인 이미지 우하단) ── */
.pdp-zoom-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.pdp-visual-main:hover .pdp-zoom-icon {
  opacity: 1;
}

/* ── 세일 배지 ── */
.pdp-badge-sale {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: #fff;
  background: var(--blush-400, #D87070);
  border-radius: 100px;
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── 수량 조절 버튼 (product.js 전용) ── */
.qty-minus,
.qty-plus {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-900);
  transition: background .2s;
  line-height: 1;
  background: transparent;
}
.qty-minus:hover,
.qty-plus:hover {
  background: var(--cream-100);
}
.qty-minus:disabled {
  color: var(--ink-300, #C0BDB8);
  cursor: not-allowed;
}
.qty-val {
  min-width: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}

/* 메인 비주얼 박스 */
.pdp-visual-main {
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--bgc, var(--cream-100));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  transition: background .4s;
  cursor: zoom-in;
  position: relative;
}

/* SVG 를 2.5× 스케일업하여 디테일 표현 */
.pdp-visual-main .pdp-svg-wrap {
  transform: scale(2.4);
  transform-origin: center center;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.pdp-visual-main:hover .pdp-svg-wrap {
  transform: scale(2.55);
}

/* 썸네일 4개 */
.pdp-thumbs {
  display: flex;
  gap: 12px;
}
.pdp-thumb {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--bgc, var(--cream-100));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  overflow: hidden;
}
.pdp-thumb:hover {
  transform: translateY(-2px);
}
.pdp-thumb.active {
  border-color: var(--ink-900);
}
.pdp-thumb .pdp-svg-sm {
  transform: scale(.75);
  transform-origin: center;
  transition: transform .4s;
}
.pdp-thumb:hover .pdp-svg-sm {
  transform: scale(.82);
}

/* ── 상품 정보 (우측) ── */
.pdp-info {
  padding-top: 4px;
}

.pdp-cat-badge {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 12px;
  display: block;
}
.pdp-badge-new {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #fff;
  background: var(--brand-600);
  border-radius: 100px;
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: middle;
}
.pdp-badge-best {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #fff;
  background: var(--ink-900);
  border-radius: 100px;
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

.pdp-name {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink-900);
  margin-bottom: 14px;
}

.pdp-stars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.pdp-stars-row .s {
  color: #F4BE00;
  font-size: 15px;
  letter-spacing: 2px;
}
.pdp-stars-row .rating-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.pdp-stars-row .rating-cnt {
  font-size: 14px;
  color: var(--text-muted);
}

/* 가격 영역 */
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pdp-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  line-height: 1;
}
.pdp-was {
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: line-through;
  color: var(--text-muted);
}
.pdp-discount-tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--blush-400, #D87070);
  border-radius: 100px;
  padding: 4px 10px;
}

/* 제품 설명 한 줄 요약 */
.pdp-tagline {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-700, var(--ink-900));
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--cream-100);
  border-radius: 10px;
  border-left: 3px solid var(--brand-400);
}

/* 스펙 그리드 */
.pdp-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.pdp-spec {
  padding: 14px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}
.pdp-spec .k {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.pdp-spec .v {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

/* 수량 선택 + 버튼 */
.pdp-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}
.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  height: 54px;
  padding: 0 6px;
  background: #fff;
  flex-shrink: 0;
}
.pdp-qty button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-900);
  transition: background .2s;
  line-height: 1;
}
.pdp-qty button:hover {
  background: var(--cream-100);
}
.pdp-qty button:disabled {
  color: var(--ink-300, #C0BDB8);
  cursor: not-allowed;
}
.pdp-qty span {
  min-width: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}
.btn-cart {
  flex: 1;
  height: 54px;
  border: 1.5px solid var(--ink-900);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-900);
  background: transparent;
  transition: all .25s;
}
.btn-cart:hover {
  background: var(--ink-900);
  color: #fff;
}
.btn-buy {
  flex: 1;
  height: 54px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink-900);
  transition: all .25s;
}
.btn-buy:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30,58,47,.28);
}

/* 신뢰 배지 */
.pdp-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 0;
}
.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.pdp-trust-item svg {
  color: var(--brand-500);
  flex-shrink: 0;
}

/* ══════════════ PDP 탭 섹션 ══════════════ */
.pdp-detail {
  padding: 80px 0 96px;
  background: #fff;
}

.pdp-tabs-nav {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 60px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-tabs-nav::-webkit-scrollbar {
  display: none;
}
.pdp-tab-btn {
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  white-space: nowrap;
  transition: all .2s;
}
.pdp-tab-btn:hover {
  color: var(--ink-900);
}
.pdp-tab-btn.active {
  color: var(--ink-900);
  border-bottom-color: var(--ink-900);
}
.pdp-tab-panel {
  display: none;
}
.pdp-tab-panel.active {
  display: block;
}

/* 탭1: 제품 상세 2열 레이아웃 */
.pdp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.pdp-detail-copy .d-overline {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.pdp-detail-copy .d-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.pdp-detail-copy .d-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* 혜택 리스트 */
.pdp-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pdp-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--cream-50, #FDFBF5);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.pdp-benefit .ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-600);
  font-size: 15px;
}
.pdp-benefit .b-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  margin-bottom: 3px;
}
.pdp-benefit .b-text span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 핵심 성분 카드 */
.pdp-key-ings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.pdp-ki {
  padding: 20px 18px;
  background: var(--cream-50, #FDFBF5);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pdp-ki .ki-icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.pdp-ki .ki-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.pdp-ki .ki-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pdp-ki .ki-pct {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-600);
}

/* 탭2: 성분 전체 */
.ing-full-box {
  padding: 32px;
  background: var(--cream-50, #FDFBF5);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-muted);
  max-width: 860px;
  margin-bottom: 20px;
}
.ing-note {
  font-size: 14px;
  color: var(--text-muted);
  padding: 16px 20px;
  background: var(--cream-100);
  border-radius: 8px;
  max-width: 860px;
  line-height: 1.7;
}

/* 탭3: 사용법 */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--cream-50, #FDFBF5);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.how-step .step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.how-step .step-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.how-step .step-text span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══════════════ 리뷰 섹션 ══════════════ */
.pdp-reviews {
  padding: 80px 0 96px;
  background: var(--cream-50, #FDFBF5);
}
.pdp-rev-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.pdp-rev-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}
.pdp-rev-head .rev-write-link {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all .2s;
}
.pdp-rev-head .rev-write-link:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

/* 평점 요약 */
.pdp-rev-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding: 36px 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  align-items: center;
}
.pdp-rev-score {
  text-align: center;
}
.pdp-rev-score .big {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 200;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--ink-900);
}
.pdp-rev-score .stars {
  font-size: 20px;
  letter-spacing: 3px;
  color: #F4BE00;
  margin: 10px 0 8px;
}
.pdp-rev-score .total {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.pdp-rev-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rev-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.rev-bar-row .rbl {
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}
.rev-bar-row .rb {
  flex: 1;
  height: 6px;
  background: var(--cream-200, var(--cream-100));
  border-radius: 3px;
  overflow: hidden;
}
.rev-bar-row .rb-fill {
  height: 100%;
  background: var(--ink-900);
  border-radius: 3px;
}
.rev-bar-row .rbn {
  width: 28px;
  flex-shrink: 0;
  text-align: right;
}

/* 리뷰 카드 목록 */
.rev-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.rev-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
}
.rev-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}
.rev-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rev-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-700);
  flex-shrink: 0;
}
.rev-user-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.rev-user-info .ru-meta {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.rev-card-meta {
  text-align: right;
  flex-shrink: 0;
}
.rev-rating {
  color: #F4BE00;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.rev-date {
  font-size: 14px;
  color: var(--text-muted);
}
.rev-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700, var(--ink-900));
  margin-bottom: 16px;
}
.rev-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.rev-tag {
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--cream-100);
  border-radius: 100px;
  color: var(--text-muted);
}
.rev-helpful {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rev-helpful-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all .2s;
}
.rev-helpful-btn:hover {
  border-color: var(--ink-400);
  color: var(--ink-900);
}
.rev-helpful-btn svg {
  pointer-events: none;
}

/* 리뷰 더보기 */
.rev-more-wrap {
  text-align: center;
}
.rev-more-btn {
  padding: 14px 36px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all .25s;
}
.rev-more-btn:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

/* ══════════════ 환불·교환 정책 아코디언 ══════════════ */
.pdp-policy {
  padding: 80px 0 96px;
  background: #fff;
}
.pdp-policy-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.policy-accordion {
  max-width: 860px;
  margin-top: 40px;
}
.policy-item {
  border-bottom: 1px solid var(--border);
}
.policy-item:first-child {
  border-top: 1px solid var(--border);
}
.policy-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  text-align: left;
  gap: 16px;
  transition: color .2s;
}
.policy-btn:hover {
  color: var(--brand-700);
}
.policy-btn .pi-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  font-size: 15px;
}
.policy-btn .pi-arrow {
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--text-muted);
}
.policy-item.open .policy-btn .pi-arrow {
  transform: rotate(180deg);
}
.policy-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.policy-body-inner {
  padding: 0 6px 28px 50px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}
.policy-body-inner strong {
  display: block;
  color: var(--ink-900);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 16px 0 6px;
}
.policy-body-inner strong:first-child {
  margin-top: 0;
}
.policy-body-inner ul {
  padding-left: 18px;
  margin-bottom: 4px;
}
.policy-body-inner ul li {
  margin-bottom: 5px;
}

/* ══════════════ 신규 PDP 2단 레이아웃 ══════════════
   좌측(pdp-left): 이미지·상세·리뷰·정책 — 페이지와 함께 스크롤
   우측(pdp-right): 가격·정보·버튼 — 뷰포트에 고정(sticky)
   ═══════════════════════════════════════════════════ */
.pdp-layout-wrap {
  padding: 64px 0 120px;
  background: var(--cream-50, #FDFBF5);
}

/* 2단 그리드: 좌 1fr / 우 고정 너비 */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

/* 좌측: 일반 흐름(스크롤) */
.pdp-left {
  min-width: 0;
}

/* 우측: sticky 고정 패널 */
.pdp-right {
  position: sticky;
  top: 96px;
  align-self: start;
  /* 화면 높이를 넘을 경우 내부 스크롤 허용 */
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  scrollbar-width: none;
}
.pdp-right::-webkit-scrollbar {
  display: none;
}

/* ── 좌측 갤러리 섹션 ── */
.pdp-gallery-block {
  margin-bottom: 0;
}

/* 갤러리: 메인 이미지 + 썸네일 4개 */
.pdp-gallery-inner {
  /* 기존 .pdp-gallery 스타일을 재사용 */
}

/* ── 좌측 상세설명 섹션 ── */
.pdp-detail-block {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  margin-top: 64px;
}
.pdp-detail-block .pdp-section-label {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 20px;
  display: block;
}
.pdp-detail-block h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink-900);
  margin-bottom: 20px;
  white-space: pre-line;
}
.pdp-detail-block .pdp-detail-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 640px;
}

/* ── 우측 정보 패널 (고정) ── */
.pdp-info-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
}
.pdp-info-panel .pdp-cat-badge {
  margin-bottom: 10px;
}
.pdp-info-panel .pdp-name {
  font-size: clamp(26px, 2.6vw, 36px);
  margin-bottom: 12px;
}
.pdp-info-panel .pdp-price-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.pdp-info-panel .pdp-specs {
  margin-bottom: 20px;
}
.pdp-info-panel .pdp-tagline {
  margin-bottom: 20px;
}

/* ── 좌측 리뷰 섹션 ── */
.pdp-reviews-block {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.pdp-reviews-block .pdp-section-label {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 12px;
  display: block;
}
.pdp-reviews-block h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 40px;
}

/* ── 좌측 정책 섹션 ── */
.pdp-policy-block {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.pdp-policy-block .pdp-section-label {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 12px;
  display: block;
}
.pdp-policy-block h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 0;
}
.pdp-policy-block .policy-accordion {
  max-width: 100%;
  margin-top: 36px;
}

/* ══════════════ PDP 반응형 ══════════════ */
/* 1024px 이하: 2단 → 1단 전환 */
@media (max-width: 1024px) {
  /* 신규 레이아웃 */
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pdp-right {
    position: static;
    max-height: none;
    overflow-y: visible;
    /* 우측 패널을 좌측 콘텐츠 위로 올림 */
    order: -1;
    margin-bottom: 40px;
  }
  /* 기존 레이아웃 호환 */
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pdp-gallery {
    position: static;
  }
  .pdp-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pdp-rev-summary {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pdp-rev-score {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
  }
}

/* 768px 이하: 모바일 */
@media (max-width: 768px) {
  .pdp-layout-wrap {
    padding: 36px 0 80px;
  }
  .pdp-info-panel {
    padding: 28px 22px;
    border-radius: 14px;
  }
  .pdp-detail-block {
    padding: 48px 0;
    margin-top: 40px;
  }
  .pdp-reviews-block,
  .pdp-policy-block {
    padding: 48px 0;
  }
  /* 기존 PDP */
  .pdp-main {
    padding: 36px 0 64px;
  }
  .pdp-name {
    font-size: 28px;
  }
  .pdp-specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .pdp-actions {
    flex-wrap: wrap;
  }
  .pdp-qty {
    width: 100%;
    justify-content: center;
  }
  .btn-cart,
  .btn-buy {
    flex: 1;
    min-width: 130px;
  }
  .pdp-tabs-nav {
    margin-bottom: 36px;
  }
  .pdp-tab-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  .pdp-key-ings {
    grid-template-columns: 1fr;
  }
  .rev-card {
    padding: 20px 18px;
  }
  .rev-card-head {
    flex-direction: column;
    gap: 12px;
  }
  .pdp-rev-summary {
    padding: 24px 20px;
  }
  .policy-body-inner {
    padding-left: 20px;
  }
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1100px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .mypage { grid-template-columns: 1fr; }
  .my-side { position: static; }
  .my-stats { grid-template-columns: repeat(2, 1fr); }
  .cat-feature { grid-template-columns: 1fr; }
  .search-suggestions { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .search-panel { padding: 96px 0 60px; }
  .search-close { top: 18px; right: 18px; width: 40px; height: 40px; }
  .search-form { padding: 14px 18px; gap: 10px; }
  .search-form input { font-size: 16px; }
  .search-form button { padding: 10px 18px; }
  .page-hero { padding: 56px 0 40px; }
  .page-head { grid-template-columns: 1fr; gap: 20px; }
  .cart-row { grid-template-columns: 32px 80px 1fr; gap: 14px; padding: 18px 18px; }
  .cart-row .qty-picker, .cart-row .cart-price, .cart-row .cart-remove {
    grid-column: 2 / -1; justify-self: start;
  }
  .cart-row .cart-price { justify-self: end; }
  .cart-row .cart-remove { justify-self: end; }
  .cart-thumb { width: 80px; height: 80px; }
  .my-welcome { grid-template-columns: 1fr; padding: 28px; }
  .my-welcome .star { display: none; }
  .my-stats { grid-template-columns: 1fr 1fr; }
  .my-skin { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; }
  .order-row .order-thumb { width: 64px; height: 64px; }
  .order-row .order-status, .order-row .order-price { grid-column: 2; }
  .my-block { padding: 24px 22px; }
  .cart-list-head, .cart-row { padding-left: 18px; padding-right: 18px; }
}
