/* Scandimom shared — brand showroom layer over Lezada */
:root {
  --sm-bg: #f6f3ee;
  --sm-paper: #fffdf9;
  --sm-ink: #2b2723;
  --sm-mute: #7a7268;
  --sm-line: #e4ddd4;
  --sm-accent: #8a7355;
  --sm-header: 84px;
}

html { scroll-behavior: smooth; }

.scandi-site {
  background: var(--sm-bg);
  color: var(--sm-ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* Lezada main.css가 제목을 #333으로 고정하므로 섹션 색상을 따르게 되돌린다 */
.scandi-site h1,
.scandi-site h2,
.scandi-site h3,
.scandi-site h4,
.scandi-site h5,
.scandi-site h6 { color: inherit; }

/* 한글은 어절 단위로만 줄바꿈 */
.scandi-site h1,
.scandi-site h2,
.scandi-site h3,
.scandi-site h4,
.scandi-site p,
.scandi-site li { word-break: keep-all; overflow-wrap: break-word; }

.scandi-site img { max-width: 100%; height: auto; }
.scandi-site a { color: inherit; }
.scandi-site a:hover { color: var(--sm-accent); }

.scandi-site .header,
.scandi-site .header-bottom,
.scandi-site .header-bottom-container {
  background: transparent;
}

.scandi-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--sm-header);
}

.scandi-header.is-fixed {
  position: fixed;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--sm-line);
}

.scandi-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--sm-header);
  padding: 0 36px;
  gap: 24px;
}

.scandi-logo {
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-decoration: none !important;
  color: var(--sm-ink) !important;
}

.scandi-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.scandi-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  color: var(--sm-ink) !important;
  position: relative;
}

.scandi-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.scandi-nav a:hover:after { width: 100%; }

.scandi-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.scandi-tools a,
.scandi-tools button {
  background: none;
  border: 0;
  padding: 0;
  font-size: 20px;
  color: var(--sm-ink);
  position: relative;
  line-height: 1;
}

.scandi-tools .count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sm-ink);
  color: #fff;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

.scandi-burger { display: none; }

.scandi-header--on-dark .scandi-logo,
.scandi-header--on-dark .scandi-nav a,
.scandi-header--on-dark .scandi-tools a,
.scandi-header--on-dark .scandi-tools button {
  color: #fff !important;
}

.scandi-header--on-dark.is-fixed .scandi-logo,
.scandi-header--on-dark.is-fixed .scandi-nav a,
.scandi-header--on-dark.is-fixed .scandi-tools a,
.scandi-header--on-dark.is-fixed .scandi-tools button {
  color: var(--sm-ink) !important;
}

.scandi-wrap { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.scandi-wrap--narrow { width: min(860px, calc(100% - 48px)); }

.scandi-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sm-mute);
  margin-bottom: 16px;
}

.scandi-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.scandi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid var(--sm-ink);
  background: var(--sm-ink);
  color: #fff !important;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: 0.2s ease;
}

.scandi-btn:hover { background: transparent; color: var(--sm-ink) !important; }

.scandi-btn--ghost {
  background: transparent;
  color: var(--sm-ink) !important;
}

.scandi-btn--ghost:hover { background: var(--sm-ink); color: #fff !important; }

.scandi-btn--light {
  border-color: #fff;
  background: #fff;
  color: var(--sm-ink) !important;
}

.scandi-btn--light:hover { background: transparent; color: #fff !important; }

.scandi-product {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.scandi-product__media {
  position: relative;
  overflow: hidden;
  background: #ece7df;
  aspect-ratio: 3 / 4;
}

.search-overlay:not(.active-search-overlay),
.cart-overlay:not(.active-cart-overlay),
.wishlist-overlay:not(.active-wishlist-overlay) {
  pointer-events: none;
}

.scandi-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.scandi-product:hover img { transform: scale(1.04); }

.scandi-product__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #fff;
  padding: 5px 8px;
}

.scandi-product__name {
  margin: 16px 0 4px;
  font-size: 15px;
  font-weight: 500;
}

.scandi-product__price {
  font-size: 13px;
  color: var(--sm-mute);
}

.scandi-product__price s {
  margin-right: 8px;
  opacity: 0.55;
}

.scandi-footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--sm-line);
  background: var(--sm-paper);
}

.scandi-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.scandi-footer__brand {
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.scandi-footer p,
.scandi-footer li,
.scandi-footer a {
  font-size: 13px;
  line-height: 1.8;
  color: var(--sm-mute);
  text-decoration: none;
}

.scandi-footer h6 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--sm-ink);
}

.scandi-footer ul { list-style: none; padding: 0; margin: 0; }

.scandi-footer__legal {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--sm-line);
  font-size: 12px;
  color: var(--sm-mute);
}

.scandi-switcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(43, 39, 35, 0.92);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.scandi-switcher__label { opacity: 0.55; margin-right: 4px; }

.scandi-switcher a {
  color: #fff !important;
  text-decoration: none !important;
  padding: 5px 8px;
  border: 1px solid transparent;
}

.scandi-switcher a.is-active {
  border-color: rgba(255,255,255,0.4);
}

.scandi-drawer[hidden] { display: none; }

.scandi-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 18, 16, 0.4);
}

.scandi-drawer__panel {
  width: min(360px, 86vw);
  height: 100%;
  background: #fffdf9;
  padding: 28px;
}

.scandi-drawer__brand {
  font-family: "Pretendard", sans-serif;
  letter-spacing: 0.2em;
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 32px;
}

.scandi-drawer__nav { display: grid; gap: 18px; }

.scandi-drawer__nav a {
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  font-family: "Pretendard", sans-serif;
  letter-spacing: -0.02em;
}

.scandi-drawer__cta {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}

.scandi-drawer__cta a {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--sm-ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.scandi-drawer__close {
  float: right;
  border: 0;
  background: none;
  font-size: 24px;
}

@media (max-width: 991px) {
  .scandi-nav { display: none; }
  .scandi-burger { display: inline-flex; }
  .scandi-header__bar {
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
  }
  .scandi-footer__grid { grid-template-columns: 1fr 1fr; }
  .scandi-switcher { left: 12px; right: 12px; justify-content: center; }
}

@media (max-width: 640px) {
  .scandi-footer__grid { grid-template-columns: 1fr; }
}
