/* Sian4 메인·상품리스트·상품상세 공용 크롬 + 메인 랜딩
   PC: s3-topbar/catnav, pc-intro·app-bottom 숨김, m-wrap 풀폭
   리스트·상세 본문: .content.product max 1200px (아래 media) */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --s4-navy: #1b2a4a;
  --s4-navy-deep: #15233d;
  --s4-beige: #f3eee6;
  --s4-paper: #f7f6f3;
  --s4-gray: #f0f1f3;
  --s4-ink: #1a1a1a;
  --s4-muted: #6b7280;
  --s4-red: #e11d2e;
  /* 피처·키커 강조 — 베이지/네이비 톤에 맞는 브라운 (할인 빨강과 분리) */
  --s4-accent: #8a5a2b;
  --s4-blue: #1e4f8a;
  --s4-line: #e5e2dc;
  --s4-max: 1200px;
  --s4-radius: 16px;
}

html, body.sian-main, body.s4-site {
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  color: var(--s4-ink);
}

.s4-inner {
  width: 100%;
  max-width: var(--s4-max);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.s3-pc-only { display: none !important; }

/* 모바일 GNB: 카테고리 영역·탭(카테고리/커뮤니티) 숨김. 커뮤니티 목록만 */
.s4-gnb-menu > .tab__btn-area,
.s4-gnb-menu > .s4-gnb-cate {
  display: none !important;
}

/* 마이페이지 LNB: PC 전용 제목·그룹. 모바일 드롭다운에는 안 보임 */
.s4-lnb-pc-tit,
.s4-lnb-h {
  display: none;
}

/* 마이페이지 홈: 장바구니 아이콘 옆 로그아웃. 다른 menu-list 는 아이콘(text-indent) */
.mypage-index-page .index-menu .menu-list__item--logout {
  width: auto;
  height: auto;
}
.mypage-index-page .index-menu .menu-list__item--logout a {
  display: inline-block;
  background: none;
  overflow: visible;
  text-indent: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  color: var(--s4-ink, #1a1a1a);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* 모바일·PC: .content 좌우 패딩 제거 → 히어로 등 100% 폭.
   안쪽 여백은 .s4-inner / .main-content 가 담당 (app.css .content{padding:0 20px} 상쇄) */
body.sian-main .contents .content.main,
body.sian-main .content.main.main-page {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  overflow: visible !important;
  min-height: auto !important;
  box-sizing: border-box;
}
/* 모바일: fixed #header 아래로 본문. (기본 app margin-top:50px 를 상쇄한 뒤 재적용)
   PC는 탑바가 sticky 라 이 50px 이 헤더 아래 빈 칸이 됨 → 768+ 에서 0 */
@media (max-width: 767px) {
  body.sian-main #contents.contents {
    padding-top: calc(50px + var(--safe-top, 0px));
    box-sizing: border-box;
  }
}
/* 마이페이지·장바구니 모바일: 시안 contents padding 을 넣지 않음
   LNB 는 app.css 에서 top:var(--safe-top) 이라, 본문도 50px+safe-top 이어야 안 겹침 */
@media (max-width: 767px) {
  body.sian-main.s4-has-lnb #contents.contents,
  body.sian-main.s4-cart #contents.contents {
    padding-top: 0 !important;
  }
  body.sian-main.s4-has-lnb .contents .content,
  body.sian-main.s4-cart .contents .content {
    margin-top: calc(50px + var(--safe-top, env(safe-area-inset-top, 0px))) !important;
  }
}
/* 상품상세 모바일: 리스트형 #header 는 갤러리를 밀어내므로 숨김. 플로팅은 .prd-button */
@media (max-width: 767px) {
  body.sian-main.prd-view .m-wrap > .header#header,
  body.sian-main.prd-view #header.header {
    display: none !important;
  }
  body.sian-main.prd-view #contents.contents {
    padding-top: 0 !important;
  }
  /* 퀸잇/무신사형: 사진은 풀블리드, 뒤로·홈·공유는 이미지 위 고정. 스크롤하면 흰 바+상품명 */
  body.sian-main.prd-view .prd-button {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1002;
    height: calc(50px + env(safe-area-inset-top, 0px));
    box-sizing: border-box;
    pointer-events: none;
    background: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }
  body.sian-main.prd-view .prd-button button {
    pointer-events: auto;
    top: calc(env(safe-area-inset-top, 0px) + 9px) !important;
  }
  body.sian-main.prd-view .prd-button__name {
    position: absolute;
    left: 56px;
    right: 108px;
    top: env(safe-area-inset-top, 0px);
    height: 50px;
    margin: 0;
    line-height: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--s4-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  body.sian-main.prd-view .prd-button.is-solid {
    background: #fff;
    box-shadow: 0 1px 0 var(--s4-line);
  }
  body.sian-main.prd-view .prd-button.is-solid .prd-button__name {
    opacity: 1;
  }
}
/* 메인·리스트·상세 공통: app.css margin-top:50px + JS(lnb 높이) 와
   위 #contents padding-top 이 겹치면 헤더~본문 사이가 두 배가 됨 */
body.sian-main .contents .content,
body.sian-main .contents .content.main,
body.sian-main .content.main.main-page {
  margin-top: 0 !important;
}
/* 구 main-content 블록(셀럽·안내배너 등): content 패딩 제거분 보정 */
body.sian-main .main-content {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
/* 가로 풀블리드가 필요한 배너(구 visual 과 동일) */
body.sian-main .main-content.main-content--notice-banner,
body.sian-main .main-content.main-content--banner2 {
  padding-left: 0;
  padding-right: 0;
}

/* 원본 600px 셸 해제 — 랜딩은 중앙 컨테이너 */
@media (min-width: 768px) {
  .pc-bg, .pc-intro { display: none !important; }
  .app-bottom { display: none !important; }
  .s3-pc-only { display: flex !important; }

  body.sian-main #contents.contents {
    padding-top: 0;
  }

  .m-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    background: #fff !important;
    overflow: visible !important;
  }

  /* 메인 PC: 시안처럼 탑바·카테고리 내비, 모바일용 #header 숨김 */
  body.sian-main .m-wrap > .header#header,
  body.sian-main #header.header {
    display: none !important;
  }
  body.sian-main .lnb { display: none !important; }

  /* 마이페이지 PC: #contents 안에서 LNB+본문. 간격은 변수만 (페이지별 패딩 금지) */
  /* body.sian-main.s4-has-lnb #contents.contents.s4-with-lnb, */
  body.sian-main.s4-cart #contents.contents {
    padding-top: 0 !important;
  }
  body.sian-main.s4-has-lnb #contents.contents.s4-with-lnb {padding-top: 20px;}
  body.sian-main.s4-has-lnb #contents.s4-with-lnb {
    --s4-lnb-w: 236px;
    --s4-lnb-gap: 40px;
    display: flex;
    align-items: flex-start;
    gap: var(--s4-lnb-gap);
    max-width: 1080px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* padding-top: 헤더(탑바+catnav)~본문 간격 */
    padding: 56px 20px 56px;
    box-sizing: border-box;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 var(--s4-lnb-w);
    width: var(--s4-lnb-w) !important;
    max-width: var(--s4-lnb-w) !important;
    margin: 0 !important;
    z-index: 2;
    background: #fff;
    border: 0;
    /* border-right: 1px solid var(--s4-line); */
    border-radius: 0;
    box-shadow: none;
    padding: 0 28px 0 8px;
    box-sizing: border-box;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .lnb__tit {
    text-align: left;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb .s4-lnb-m-tit {
    display: none;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb .s4-lnb-pc-tit {
    display: block;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .js_toggle_btn {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.3 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 0 20px !important;
    background: #fff !important;
    color: var(--s4-ink) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em;
    text-align: left !important;
    pointer-events: none;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .js_toggle_btn:after {
    display: none !important;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .option {
    display: block !important;
    position: static !important;
    top: auto !important;
    width: 100% !important;
    background: #fff !important;
    padding: 0;
    box-sizing: border-box;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .option li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  /* 1depth: 그룹명 + 홈 */
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .s4-lnb-h {
    display: block;
    margin: 20px 0 6px;
    padding: 16px 0 0 10px;
    border-top: 1px solid var(--s4-line);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--s4-ink);
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .s4-lnb-1 {
    display: block;
    width: 100%;
    padding: 8px 0 8px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--s4-ink);
    cursor: pointer;
    box-sizing: border-box;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .s4-lnb-1.is-on {
    font-weight: 700;
  }
  /* 2depth: 그룹 아래 메뉴. 들여쓰기 */
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .s4-lnb-2 {
    display: block;
    width: 100%;
    padding: 6px 0 6px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #6b7280;
    cursor: pointer;
    box-sizing: border-box;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .s4-lnb-1:hover,
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .s4-lnb-2:hover {
    background: transparent;
    color: var(--s4-ink);
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .s4-lnb-2.is-on {
    font-weight: 600;
    color: var(--s4-ink);
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .lnb .lnb__button {
    display: none !important;
  }
  body.sian-main.s4-has-lnb #contents.s4-with-lnb > .content {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0 !important;
    max-width: none;
    padding-top: 0 !important;
    overflow: visible;
  }
  /* 마이페이지 찜 썸네일: a 가 padding-bottom 100% 박스라 img 에 명시적 100% */
  body.sian-main .wish-list__img a img {
    width: 100%;
    height: 100%;
  }
  /* 장바구니: 사이드 없이 본문만 살짝 좁힘 (1200 아님) */
  body.sian-main.s4-cart .contents .content {
    max-width: 900px;
    margin: 0 auto !important;
    padding: 28px 20px 40px !important;
    box-sizing: border-box;
  }

  body.sian-main:not(.s4-has-lnb) .layer:not(.layer--login-layer):not(.layer--myfit-layer),
  body.sian-main:not(.s4-has-lnb) .layer:not(.layer--login-layer):not(.layer--myfit-layer) .layer__top,
  body.sian-main:not(.s4-has-lnb) .button-content--fixed {
    max-width: var(--s4-max) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0 !important;
    right: 0 !important;
  }
  /* PC MY FIT: 로그인과 같은 중앙 모달 (#js-myfit-layer). 모바일은 기존 슬라이드 */
  body.sian-main.prd-view .layer.layer--myfit-layer {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 10050;
  }
  body.sian-main.prd-view .layer.layer--myfit-layer .layer__table {
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body.sian-main.prd-view .layer.layer--myfit-layer .layer__table-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
  }
  body.sian-main.prd-view .layer.layer--myfit-layer .layer__content {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 80px);
    margin: 0 auto !important;
    padding: 0 0 20px !important;
    background: #fff !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: none !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
  }
  body.sian-main.prd-view .layer.layer--myfit-layer.active .layer__content {
    right: auto !important;
  }
  body.sian-main.prd-view .layer.layer--myfit-layer .layer__top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    border-bottom: 1px solid var(--s4-line);
  }
  body.sian-main.prd-view .layer.layer--myfit-layer .layer__top .close {
    position: absolute !important;
    top: 0 !important;
    left: auto !important;
    right: 4px !important;
  }
  body.sian-main.prd-view .layer.layer--myfit-layer .layer__con-area {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
    padding: 16px 20px 8px;
    box-sizing: border-box;
  }
  /* PC 배송지 등록: 풀폭 딤 + 가운데 카드. 기존 .layer 는 PC에서 600px 우측 패널이라 딤이 안 보임 */
  body.sian-main .layer.layer--addr-write-layer {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 10050;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__table {
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__table-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__content {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 80px);
    margin: 0 auto !important;
    padding: 56px 28px 28px !important;
    background: #fff !important;
    overflow-y: auto;
    transition: none !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-sizing: border-box;
  }
  body.sian-main .layer.layer--addr-write-layer.active .layer__content {
    right: auto !important;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__top {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 12px 12px 0 0;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__top .close {
    position: absolute !important;
    top: 0 !important;
    left: auto !important;
    right: 4px !important;
  }
  /* 다음 주소검색. 위치는 JS가 모달 카드 getBoundingClientRect 로 넣음(important) */
  body.sian-main .addr-layer {
    z-index: 10100 !important;
    transform: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    flex-direction: column;
  }
  body.sian-main .addr-layer.is-open {
    display: flex !important;
  }
  body.sian-main .addr-layer__close {
    flex: 0 0 48px;
    height: 48px;
    border: 0;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.04em;
    cursor: pointer;
    font-family: inherit;
  }
  body.sian-main .addr-layer__embed {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    position: relative;
  }
  /* 모바일형 buy-process 풀폭 고정은 상품상세 PC에서 제외 — 아래 칼럼 카드로 재배치 */
  body.sian-main:not(.prd-view) .buy-process,
  body.sian-main:not(.prd-view) .product .buy-process__bg {
    max-width: var(--s4-max) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* PC: 스티키 조상 overflow 해제 */
  body.sian-main.prd-view #contents.contents,
  body.sian-main.prd-view .m-wrap {
    overflow: visible !important;
  }

  .contents .content.main {
    margin-top: 0 !important;
    padding: 0 0 0 !important; /* 하단도 0 — 위 body.sian-main 규칙과 통일 */
    overflow: visible !important;
    min-height: auto !important;
  }

  /* PC 헤더: 탑바+메뉴 한 덩어리로 sticky (메뉴만 스크롤되어 사라지지 않게) */
  .s3-pc-chrome.s3-pc-only {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 300;
    background: #fff;
    border-bottom: 1px solid var(--s4-line);
  }
  /* 비회원 티커(.s4-ticker 36px) 있을 때 헤더가 티커 아래로 붙음 */
  body.has-s4-ticker.sian-main .s3-pc-chrome.s3-pc-only {
    top: 36px;
  }
  .s3-topbar {
    width: 100%;
    background: #fff;
    border-bottom: 0;
  }
  .s3-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: var(--s4-max);
    margin: 0 auto;
    min-height: 64px;
    padding: 10px 20px;
    box-sizing: border-box;
  }
  .s3-topbar__mid {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .s3-topbar__end {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 2px;
  }
  .s3-topbar__search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5c5c5c;
    cursor: pointer;
  }
  .s3-topbar__search-toggle:hover {
    color: var(--s4-ink);
  }
  .s3-topbar__search-toggle .s3-topbar__ico--close {
    display: none;
  }
  .s3-pc-chrome.is-search-open .s3-topbar__search-toggle .s3-topbar__ico--search {
    display: none;
  }
  .s3-pc-chrome.is-search-open .s3-topbar__search-toggle .s3-topbar__ico--close {
    display: block;
  }
  .s3-topbar__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin: 0;
  }
  .s3-topbar__logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .s3-topbar__logo img {
    height: 28px;
    width: auto;
    display: block;
  }
  .s3-topbar__search-wrap {
    display: none;
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    max-width: 560px;
  }
  .s3-pc-chrome.is-search-open .s3-catnav-bar {
    display: none;
  }
  .s3-pc-chrome.is-search-open .s3-topbar__search-wrap {
    display: block;
  }
  .s3-topbar__search {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: stretch;
    height: 38px;
    border: 0;
    border-bottom: 1px solid #d8d4cc;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
  }
  .s3-topbar__search:focus-within {
    border-bottom-color: var(--s4-ink);
  }
  .s3-topbar__search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 4px 0 0;
    font-size: 13px;
    font-family: inherit;
    letter-spacing: -0.02em;
    color: var(--s4-ink);
  }
  .s3-topbar__search input::placeholder {
    color: #9ca3af;
    font-weight: 400;
  }
  .s3-topbar__search button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--s4-ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
    font-family: inherit;
    padding: 0 2px 0 12px;
  }

  /* PC 검색 드롭다운 (시안 sp-search-page → 패널) */
  .s4-search-drop {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 350;
    max-height: min(70vh, 520px);
    overflow: auto;
    padding: 20px 22px 22px;
    background: #fff;
    border: 1px solid var(--s4-line);
    border-radius: 0;
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.08);
    box-sizing: border-box;
  }
  .s3-topbar__search-wrap.is-open .s4-search-drop,
  .s4-search-drop:not([hidden]) {
    display: block;
  }
  .s3-topbar__search-wrap.is-open .s4-search-drop[hidden] {
    display: block;
  }
  .s4-search-drop__sec {
    margin: 0 0 16px;
  }
  .s4-search-drop__sec:last-child { margin-bottom: 0; }
  .s4-search-drop__sec h2 {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--s4-muted);
  }
  .s4-search-drop__suggest {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .s4-search-drop__suggest a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 0;
    border: 1px solid var(--s4-line);
    background: #fff;
    color: var(--s4-ink) !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
  }
  .s4-search-drop__suggest a:hover {
    background: var(--s4-paper);
    border-color: #cfc9bf;
  }
  .s4-search-drop__reco {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .s4-search-drop__item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit !important;
    text-decoration: none;
  }
  .s4-search-drop__item img {
    flex: 0 0 44px;
    width: 44px;
    height: 58px;
    object-fit: cover;
    border-radius: 0;
    background: var(--s4-paper);
  }
  .s4-search-drop__item span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .s4-search-drop__item em {
    font-style: normal;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .s4-search-drop__item strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--s4-ink);
  }
  .s4-search-drop__empty {
    margin: 0;
    font-size: 13px;
  }
  .s4-search-drop__empty a {
    color: var(--s4-accent, #8a5a2b) !important;
    font-weight: 600;
  }

  .s3-topbar__util {
    display: flex !important;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
  }
  .s3-topbar__util a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: auto;
    padding: 8px 12px;
    border: 0;
    border-radius: 0;
    color: #5c5c5c;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
  }
  .s3-topbar__util a:hover {
    border-color: transparent;
    color: var(--s4-ink) !important;
  }
  .s3-topbar__ico {
    flex-shrink: 0;
    display: block;
    width: 16px;
    height: 16px;
  }
  .s3-topbar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 2px;
    border-radius: 0;
    background: var(--s4-ink);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    font-style: normal;
    line-height: 1;
  }
  .s3-catnav-bar {
    width: 100%;
    background: transparent;
    border: 0;
  }
  .s3-catnav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border: 0;
  }
  .s3-catnav a {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 20px;
    color: #3f3f3f;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.14em;
    background: transparent;
  }
  .s3-catnav a:hover,
  .s3-catnav a.is-on {
    color: var(--s4-ink);
    background: transparent;
    box-shadow: inset 0 -1px 0 var(--s4-ink);
  }
  /* 상품리스트·상품상세 1200 중앙. 그 외 .content.product 는 그대로 */
  body.sian-main .contents .content.product.product-lists-page {
    max-width: var(--s4-max);
    margin: 0 auto !important;
    padding-top: 28px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 40px !important;
    box-sizing: border-box;
  }
  /* 이벤트·CS: 리스트와 같은 1200 중앙. 마이페이지 본문은 1200 아님(.s4-with-lnb) */
  body.sian-main .contents .content.event.event-lists-page,
  body.sian-main .contents .content.event.event-view-page,
  body.sian-main .contents .content.cs.faq-lists-page,
  body.sian-main .contents .content.cs.notice-lists-page,
  body.sian-main .contents .content.cs.notice-view-page,
  body.sian-main .contents .content.cs.contactus-page {
    max-width: var(--s4-max);
    margin: 0 auto !important;
    padding-top: 28px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 40px !important;
    box-sizing: border-box;
  }
  /* PC 이벤트 목록 카드 열: 670 중앙. 모바일은 풀폭 */
  body.sian-main .event-lists-page .event-list {
    width: 670px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* 에디터 본문 큰 이미지: 리셋 width:100% 로 1200을 채우지 않음 (상품상세 본문과 같음) */
  body.sian-main .event-view-page .event-view__content img,
  body.sian-main .notice-view-page .notice-view__text img,
  body.sian-main .event-view-page .event-view__content video {
    width: auto !important;
    max-width: 1000px;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  body.sian-main .contactus-page .form {
    /* max-width: 720px; */
  }
  /* 상품상세: 페이지는 1200 블록. 2열 그리드는 .s4-prd-top 만 (탭을 그리드에 넣으면 더보기·제조사표가 깨짐) */
  body.sian-main .contents .content.product.product-view-page {
    max-width: var(--s4-max);
    margin: 0 auto !important;
    padding-top: 28px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 40px !important;
    box-sizing: border-box;
    display: block;
    overflow: visible !important;
  }
  body.sian-main .product-view-page > .s4-prd-top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: 48px;
    align-items: start;
  }
  /* app.css .content::after 클리어픽스가 그리드 아이템이 되면 sticky 범위가 깨짐 */
  body.sian-main .contents .content.product.product-view-page::after {
    display: none !important;
    content: none !important;
  }
  body.sian-main .s4-prd-top > .prd-visual {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    position: sticky;
    top: 84px;
    z-index: 2;
    width: 100%;
    margin: 0 !important;
    border-radius: 12px;
    overflow: hidden;
  }
  body.sian-main .s4-prd-top > .prd-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
  }
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__prev,
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__next {
    display: block !important;
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(27, 42, 74, 0.18);
    cursor: pointer;
  }
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__prev { left: 12px; }
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__next { right: 12px; }
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__prev::before,
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-top: 2px solid var(--s4-navy);
    border-right: 2px solid var(--s4-navy);
  }
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__prev::before {
    transform: rotate(-135deg);
    margin-left: 14px;
  }
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__next::before {
    transform: rotate(45deg);
    margin-left: 12px;
  }
  body.sian-main .s4-prd-top > .prd-visual .swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
  }
  /* 공유 버튼만 갤러리 위. 뒤로/홈은 PC 탑바가 있음 */
  body.sian-main .s4-prd-top > .prd-button {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    position: sticky;
    top: 84px;
    z-index: 3;
    height: 0;
    pointer-events: none;
    min-height: 0;
  }
  body.sian-main .s4-prd-top > .prd-button button {
    pointer-events: auto;
  }
  body.sian-main .s4-prd-top > .prd-button .prd-button__back,
  body.sian-main .s4-prd-top > .prd-button .prd-button__home {
    display: none !important;
  }
  body.sian-main .s4-prd-top > .prd-button .prd-button__name {
    display: none !important;
  }
  body.sian-main .s4-prd-top > .prd-info.common-line {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    /* 좌우는 2열 맞춤. 아래는 유지 — padding 0 이면 ::after 1px 선이 혜택 문구에 붙음 */
    padding: 0 0 28px !important;
    border-bottom: none;
  }
  body.sian-main .s4-prd-top > .prd-info > section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* 탭은 그리드 밖. 원본 .tab{margin:0 -20px} 만 상쇄해서 1200 안에 둠 */
  body.sian-main .product-view-page > .tab {
    margin: 32px 0 0 !important;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  /* PC 구매: 무신사형 — 오른쪽 칼럼에 옵션 상시 노출. 하단 시트·딤 없음 */
  body.sian-main.prd-view .s4-prd-top > .buy-process.s4-buy {
    grid-column: 2;
    grid-row: 2;
    position: relative !important;
    top: auto;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 16px 0 0 !important;
    transform: none !important;
    z-index: 4;
  }
  body.sian-main.prd-view .s4-buy .buy-process__bg {
    display: none !important;
  }
  body.sian-main.prd-view .s4-buy .buy-process__con {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    border: 1px solid var(--s4-line);
    border-radius: 12px;
    padding: 16px 18px 18px;
    box-sizing: border-box;
  }
  body.sian-main.prd-view .s4-buy .option-box--btn-close {
    display: none !important;
  }
  body.sian-main.prd-view .s4-buy .btn-area__top {
    display: flex !important;
    position: relative;
    padding: 0 0 12px !important;
    margin: 0 0 12px;
    border-top: 0 !important;
    border-bottom: 1px solid var(--s4-line);
    min-height: 36px;
  }
  body.sian-main.prd-view .s4-buy .btn-area__top .js_showOption {
    display: none !important;
  }
  body.sian-main.prd-view .s4-buy .btn-area__top .btn-wish {
    position: static !important;
    width: 36px !important;
    height: 36px !important;
    margin-right: auto;
    flex: 0 0 36px;
  }
  body.sian-main.prd-view .s4-buy .buy-process__option-box {
    display: flex !important;
    flex-direction: column !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  body.sian-main.prd-view .s4-buy .buy-process__inner-box {
    max-height: none !important;
    overflow: visible !important;
  }
  body.sian-main.prd-view .s4-buy .buy-process__bottom,
  body.sian-main.prd-view .s4-buy .button-content {
    display: block !important;
  }
  body.sian-main.prd-view .s4-buy .button-content.s4-buy-cta {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 16px !important;
    padding: 0 !important; /* 원본 .btn-area padding-left:50px(하트 자리) 상쇄 */
  }
  body.sian-main.prd-view .s4-buy .btn-area__top .btn-wish {
    display: none !important;
  }
  body.sian-main.prd-view .s4-buy .s4-buy-wish-cta {
    display: block !important;
    position: static !important;
    left: auto !important;
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    margin: 0;
    border: 1px solid var(--s4-line);
    border-radius: 6px;
    /* 원본 .btn-area .btn-wish 스프라이트 유지. background-color 만 넣으면 하트가 안 보임 */
    background-image: url(../images/06b2d6a6d22b2dd12bde.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 22px !important;
    overflow: hidden;
    text-indent: -9999px;
  }
  body.sian-main.prd-view .s4-buy .s4-buy-wish-cta.active {
    background-image: url(../images/e8d16b008589bcdfbf09.png) !important;
  }
  body.sian-main.prd-view .s4-buy .s4-buy-cta .btn {
    flex: 1;
    border-radius: 6px;
  }
  /* PC: overflow-x hidden 이 y 도 auto 로 잠가서 옵션 열 때 흔들림 → visible */
  body.sian-main.prd-view .product .buy-process__con .buy-process__option-box .option-box__select {
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
  body.sian-main.prd-view .product .buy-process__con .buy-process__option-box .option-box__select .prd-select.is-open {
    z-index: 8;
  }
  body.sian-main.prd-view .product .buy-process__con .buy-process__option-box .option-box__select .prd-select.is-open .prd-select__list {
    position: absolute !important;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    margin: 0 !important;
    z-index: 9;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 20, 32, 0.12);
  }

  /* 푸터: 랜딩과 같은 중앙 1200px, 앱바 여백 제거 */
  .footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #f7f6f3;
    border-top: 1px solid var(--s4-line) !important;
  }
  .footer .bottom {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px 48px;
    width: 100%;
    max-width: var(--s4-max);
    margin: 0 auto !important;
    padding: 48px 20px 56px !important;
    box-sizing: border-box;
  }
  .footer .bottom__menu {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--s4-line);
  }
  .footer .bottom__menu li {
    margin: 0 !important;
    font-size: 14px !important;
    color: #4b5563 !important;
  }
  .footer .bottom__cs {
    margin-top: 0 !important;
  }
  .footer .bottom__cs strong a {
    font-size: 26px !important;
    letter-spacing: -0.03em;
    color: var(--s4-navy) !important;
  }
  .footer .bottom__cs p {
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
  }
  .footer .bottom__cs ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
  }
  .footer .bottom__content {
    font-size: 13px;
    line-height: 1.75;
    color: #6b7280;
  }
  .footer .bottom__content li {
    word-break: keep-all;
  }
}

.product-view-page .prd-visual__prev,
.product-view-page .prd-visual__next,
.s4-buy-wish-cta {
  display: none !important;
}

/* ----- 상품상세 3D VIEW 버튼 (prd-visual 왼쪽 하단, 슬라이드보다 위) ----- */
.product-view-page .prd-visual {
  position: relative;
}
.product-view-page .prd-visual__3d {
  position: absolute;
  left: 12px;
  bottom: 14px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.product-view-page .prd-visual__3d-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #F78000;
}
.product-view-page .prd-visual__3d-svg {
  display: block;
  width: 20px;
  height: 20px;
}
/* 회전 화살표만 살짝 도는 느낌 (큐브는 고정) */
.product-view-page .prd-visual__3d-icon .prd-visual__3d-svg path:nth-child(2),
.product-view-page .prd-visual__3d-icon .prd-visual__3d-svg path:nth-child(3) {
  transform-origin: 12px 12px;
  animation: prd-3d-orbit 2.2s ease-in-out infinite;
}
.product-view-page .prd-visual__3d-txt {
  white-space: nowrap;
}
@keyframes prd-3d-orbit {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ----- 360° 모달 ----- */
html.prd-360-open {
  overflow: hidden;
}
.prd-360-modal[hidden] {
  display: none !important;
}
.prd-360-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.prd-360-modal__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.prd-360-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 20px 16px 16px;
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
}
.prd-360-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}
.prd-360-modal__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.prd-360-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #F78000;
}
.prd-360-modal__badge .prd-visual__3d-svg {
  display: block;
  width: 18px;
  height: 18px;
}
.prd-360-modal__hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: #888;
}
.prd-360-viewer {
  position: relative;
  touch-action: none;
  user-select: none;
  cursor: grab;
  background: #f3f3f3;
  border-radius: 8px;
  overflow: hidden;
}
.prd-360-viewer:active {
  cursor: grabbing;
}
.prd-360-viewer__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
/* 좌우 스와이프 가이드 — 모달 오픈 후 약 1.8초 표시 */
.prd-360-gesture {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.prd-360-gesture[hidden] {
  display: none !important;
}
.prd-360-gesture.is-hide {
  opacity: 0;
}
.prd-360-gesture__hand {
  position: relative;
  width: 72px;
  height: 48px;
}
.prd-360-gesture__finger {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  animation: prd-360-swipe 1s ease-in-out infinite;
}
.prd-360-gesture__finger::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #F78000;
}
.prd-360-gesture__arrows {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
}
.prd-360-gesture__arr {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  opacity: 0.85;
}
.prd-360-gesture__arr--l {
  left: 0;
  transform: rotate(-135deg);
}
.prd-360-gesture__arr--r {
  right: 0;
  transform: rotate(45deg);
}
.prd-360-gesture__txt {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@keyframes prd-360-swipe {
  0%, 100% { transform: translateX(-22px); }
  50% { transform: translateX(22px); }
}
.prd-360-modal__deg {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

@media (min-width: 900px) {
  body.sian-main .s4-prd-top > .prd-visual .prd-visual__3d {
    left: 16px;
    bottom: 18px;
    z-index: 20;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .footer .bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .pc-intro, .pc-bg { display: none !important; }
  .m-wrap { max-width: 100% !important; margin: 0 !important; box-shadow: none !important; }
}

/* ========== 2. Hero — 퀸잇형 센터 포커스 캐러셀 ========== */
.s4-hero {
  background: var(--s4-beige);
  overflow: hidden;
  padding: 12px 0 20px;
}
@media (max-width: 767px) {
  .s4-hero {
    padding-bottom: 0;
  }
}
.s4-hero__media {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: transparent;
}
.s4-hero .s4-hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 8px 0;
}
.s4-hero .s4-hero-visual .swiper-wrapper {
  box-sizing: border-box;
  align-items: center;
}
.s4-hero .s4-hero-visual .swiper-slide {
  width: 78%;
  height: auto;
  box-sizing: border-box;
}
.s4-hero .s4-hero__card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #e8e0d4;
  aspect-ratio: 15 / 17;
  transform: scale(0.9);
  transform-origin: center center;
  transition: transform 0.4s ease;
}
.s4-hero .swiper-slide-active .s4-hero__card {
  transform: scale(1);
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.14);
}
.s4-hero .s4-hero__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.s4-hero__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 56px;
  pointer-events: none;
}
.s4-hero__fade--l {
  left: 0;
  background: linear-gradient(90deg, var(--s4-beige) 0%, rgba(243, 238, 230, 0.72) 42%, rgba(243, 238, 230, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 100%);
}
.s4-hero__fade--r {
  right: 0;
  background: linear-gradient(270deg, var(--s4-beige) 0%, rgba(243, 238, 230, 0.72) 42%, rgba(243, 238, 230, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 28%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, #000 28%, transparent 100%);
}
.s4-hero-visual.is-single .s4-hero__fade {
  display: none;
}
.s4-hero__cap {
  display:none !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 36px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  color: #fff;
  text-align: center;
  pointer-events: none;
}
.s4-hero__cap strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.s4-hero .swiper-slide:not(.swiper-slide-active) .s4-hero__cap strong {
  font-size: 13px;
  font-weight: 700;
}
.s4-hero-visual.is-single .swiper-slide {
  width: calc(100% - 32px);
  margin: 0 16px;
}
.s4-hero-visual.is-single .s4-hero__card {
  transform: none;
}
/* 히어로 좌우 화살표 (페이지네이션 대체) */
.s4-hero-visual__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  color: var(--s4-navy);
  transition: background 0.15s ease, opacity 0.15s ease;
}
.s4-hero-visual__nav:hover {
  background: #fff;
}
.s4-hero-visual__nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-sizing: border-box;
}
.s4-hero-visual__prev {
  left: 10px;
}
.s4-hero-visual__prev::before {
  margin-left: 14px;
  transform: rotate(-135deg);
}
.s4-hero-visual__next {
  right: 10px;
}
.s4-hero-visual__next::before {
  margin-left: 12px;
  transform: rotate(45deg);
}
.s4-hero-visual__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* 다른 섹션 CTA 버튼 (히어로 카피 제거 후에도 공용) */
.s4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.s4-btn--navy { background: var(--s4-navy); color: #fff !important; }
.s4-btn--ghost { background: #fff; color: var(--s4-navy) !important; border: 1px solid #cfd3dc; }

/* PC: 여러 장 비침 + 가운데 카드만 크게 (퀸잇 RECOMMENDATION 히어로) */
@media (min-width: 900px) {
  .s4-hero {
    padding: 20px 0 28px;
  }
  .s4-hero .s4-hero-visual .swiper-slide {
    /* 가운데 크게, 양옆은 조금만 비침 (예전 22%면 5장이 다 보임) */
    width: 32% !important;
    height: auto;
  }
  .s4-hero .s4-hero__card {
    border-radius: 18px;
    transform: scale(0.86);
  }
  .s4-hero .swiper-slide-active .s4-hero__card {
    transform: scale(1);
  }
  .s4-hero__fade {
    width: 120px;
  }
  .s4-hero__cap {
    padding: 48px 20px 20px;
  }
  .s4-hero__cap strong {
    font-size: 22px;
  }
  .s4-hero .swiper-slide:not(.swiper-slide-active) .s4-hero__cap strong {
    font-size: 14px;
  }
  .s4-hero-visual.is-single .swiper-slide {
    width: min(720px, 70%) !important;
    margin: 0 auto;
  }
  .s4-hero-visual__nav {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }
  .s4-hero-visual__prev { left: 16px; }
  .s4-hero-visual__next { right: 16px; }
  .s4-hero-visual__prev::before { margin-left: 16px; }
  .s4-hero-visual__next::before { margin-left: 14px; }
}

/* ========== 3. Features 4col — 쿨그레이 밴드, 흰 카드. 위·아래 패딩 동일 ========== */
.s4-features {
  padding: 48px 0;
  background: var(--s4-gray);
}
.s4-features .s4-sec-head { margin-bottom: 12px; }
.s4-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.s4-feature {
  position: relative;
  text-align: left;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(27, 42, 74, 0.05);
}
.s4-feature__no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(27, 42, 74, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.s4-feature__img {
  margin: 0;
  overflow: hidden;
  background: var(--s4-paper);
  aspect-ratio: 4 / 3;
}
.s4-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.s4-feature__body {
  padding: 16px 16px 18px;
}
.s4-feature__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.s4-feature__txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--s4-muted);
  word-break: keep-all;
}
.s4-feature__txt em {
  font-style: normal;
  color: var(--s4-accent);
  font-weight: 700;
}

@media (max-width: 767px) {
  .s4-features { padding: 40px 0; }
  .s4-features .s4-sec-head { margin-bottom: 10px; }
  .s4-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    touch-action: pan-y;
  }
  .s4-feature {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.85s ease, visibility 0.85s ease;
  }
  .s4-feature.is-on {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
  }
  /* 비활성 카드가 터치 가로채지 않게 — 스와이프는 섹션/그리드에서 처리 */
  .s4-feature.is-on img { pointer-events: none; }
  .s4-features__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
  }
  .s4-features__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c5c2bc;
    cursor: pointer;
  }
  .s4-features__dots button.is-on {
    width: 22px;
    border-radius: 4px;
    background: var(--s4-navy);
  }
  @media (prefers-reduced-motion: reduce) {
    .s4-feature { transition: none; }
  }
}

@media (min-width: 768px) {
  .s4-features { padding: 64px 0; }
  .s4-features .s4-sec-head { margin-bottom: 14px; }
  .s4-features__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .s4-features__dots { display: none; }
  .s4-feature {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .s4-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(27, 42, 74, 0.08);
  }
  .s4-feature__title { font-size: 17px; }
  @media (prefers-reduced-motion: reduce) {
    .s4-feature,
    .s4-feature:hover {
      transition: none;
      transform: none;
    }
  }
}

/* ========== 4 / 6 product cards ========== */
.s4-sec { padding: 48px 0; }
.s4-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.s4-sec-head__copy { min-width: 0; }
.s4-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--s4-accent);
}
.s4-sec-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.s4-sec-head h2 span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--s4-muted);
}
.s4-more {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.s4-best__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* BEST / 한눈보기 / 후기: 풀폭 배경 밴드로 구간 구분 */
#s4-best.s4-sec {
  padding: 52px 0 56px;
  background: var(--s4-beige);
}
#s4-best .s4-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(27, 42, 74, 0.04);
}
#s4-best .s4-card__thumb {
  border-radius: 0;
  margin-bottom: 12px;
}
#s4-best .s4-card__name,
#s4-best .s4-card__price {
  padding-left: 12px;
  padding-right: 12px;
}

.s4-card {
  position: relative;
  color: inherit;
  text-decoration: none;
}
.s4-card.is-hidden { display: none !important; }
.s4-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: #8b6b4a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.s4-card__badge--new {
  background: #2f6b4f;
}
.s4-card__thumb {
  border-radius: 10px;
  overflow: hidden;
  background: #eeeae4;
  margin-bottom: 12px;
}
.s4-card__thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.s4-swatch {
  display: flex;
  gap: 6px;
  margin: 0 0 8px;
}
.s4-swatch i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  display: block;
}
.s4-card__name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  /* min-height: 2.9em; */
}
.s4-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 0 0 6px;
}
.s4-card__price ins {
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
}
.s4-card__price strong {
  color: var(--s4-red);
  font-size: 15px;
}
.s4-card__price del {
  color: #9ca3af;
  font-size: 13px;
}
.s4-card__rate {
  font-size: 13px;
  color: #4b5563;
}
.s4-card__rate b { color: #f59e0b; margin-right: 2px; }

/* ========== AI 기장 측정 띠 (메인 배너 바로 아래, 배경 100% 풀폭) ========== */
.s4-ai-measure {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: var(--s4-beige);
  color: var(--s4-navy-deep);
  text-decoration: none;
  transition: background 0.15s ease;
}
.s4-ai-measure:hover,
.s4-ai-measure:focus {
  background: #ebe4d8;
  color: var(--s4-navy-deep);
}
.s4-ai-measure:focus-visible {
  outline: 2px solid var(--s4-navy);
  outline-offset: -2px;
}
.s4-ai-measure__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding-top: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
}
.s4-ai-measure__logo {
  display: block;
  height: 22px;
  width: auto;
  flex-shrink: 0;
}
.s4-ai-measure__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  white-space: nowrap;
}
.s4-ai-measure__arrow {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.55;
  flex-shrink: 0;
}

/* PC: AI 기장 띠는 모바일 전용 (카메라 측정·event 467). 메인 main.php .s4-ai-measure */
@media (min-width: 768px) {
  .s4-ai-measure {
    display: none !important;
  }
}

/* ========== 상담 주문 (BEST 하단) ========== */
.s4-consult {
  background: var(--s4-beige);
  /* 바로 위 subscribe_guide 배너와 붙지 않게 상단을 넉넉히 */
  padding: 64px 0 48px;
  scroll-margin-top: 64px;
}
.s4-consult__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
.s4-consult__eyebrow {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #8a5a2b;
}
.s4-consult__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--s4-navy-deep);
}
.s4-consult__desc {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.03em;
  color: #333;
  word-break: keep-all;
}
.s4-consult__steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.s4-consult__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 14px 14px 14px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--s4-line);
}
.s4-consult__steps em {
  grid-row: 1 / span 2;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--s4-navy);
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s4-consult__steps strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.s4-consult__steps span {
  font-size: 14px;
  color: var(--s4-muted);
  letter-spacing: -0.02em;
}
.s4-consult__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.s4-consult__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 12px 8px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.s4-consult__btn small {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}
.s4-consult__btn-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.s4-consult__kakao-ico {
  flex-shrink: 0;
  display: block;
}
.s4-consult__btn--qna { background: var(--s4-navy); color: #fff; }
.s4-consult__btn--qna:hover,
.s4-consult__btn--qna:focus {
  background: var(--s4-navy-deep);
  color: #fff !important;
}
.s4-consult__btn--qna:hover small,
.s4-consult__btn--qna:focus small {
  color: #fff !important;
}
/* 구 전화주문 버튼 스타일 유지(미사용) */
.s4-consult__btn--call { background: #1a6b3c; color: #fff; }
.s4-consult__btn--call:hover,
.s4-consult__btn--call:focus {
  background: #155a32;
  color: #fff !important;
}
.s4-consult__btn--call:hover small,
.s4-consult__btn--call:focus small {
  color: #fff !important;
}
/* 카카오톡 채널 상담 — 브랜드 옐로우 #FEE500 / 글자 #191919 */
.s4-consult__btn--kakao {
  background: #FEE500;
  color: #191919;
}
.s4-consult__btn--kakao:hover,
.s4-consult__btn--kakao:focus {
  background: #f5dc00;
  color: #191919 !important;
}
.s4-consult__btn--kakao small {
  color: #3c1e1e;
  opacity: 0.85;
}
.s4-consult__btn--kakao:hover small,
.s4-consult__btn--kakao:focus small {
  color: #3c1e1e !important;
}
/* .s4-consult__btn--sms { background: var(--s4-blue); } 문자 상담(구) */

/* 메인 상담: 모바일 웹만 앱 설치 (PC·앱 WebView는 PHP에서 미출력). 아이콘=OS별 스토어 */
.s4-consult__app {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  box-sizing: border-box;
}
/* iPhone·iPad: App Store 검정. Android: Play 그린 #01875f
   전역 a:link/visited/active/hover { color:inherit } 보다 특이도 낮아서 !important */
.s4-consult__app--ios {
  background: #000;
}
.s4-consult__app--ios:hover,
.s4-consult__app--ios:focus {
  background: #1d1d1f;
}
.s4-consult__app--android {
  background: #01875f;
}
.s4-consult__app--android:hover,
.s4-consult__app--android:focus {
  background: #016b4a;
}
.s4-consult__app--ios,
.s4-consult__app--ios:link,
.s4-consult__app--ios:visited,
.s4-consult__app--ios:active,
.s4-consult__app--ios:hover,
.s4-consult__app--ios:focus,
.s4-consult__app--android,
.s4-consult__app--android:link,
.s4-consult__app--android:visited,
.s4-consult__app--android:active,
.s4-consult__app--android:hover,
.s4-consult__app--android:focus {
  color: #fff !important;
}
.s4-consult__app-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.s4-consult__app-svg {
  flex-shrink: 0;
  display: block;
}
.s4-consult__app-svg--apple {
  color: #fff !important;
}
.s4-consult__app-svg--play {
  border-radius: 4px;
}
@media (min-width: 768px) {
  .s4-consult__app {
    display: none !important;
  }
}

/* 상담 오른쪽 FAQ — /shop/cs/faq_lists 5건. 전역 .option 절대배치를 쓰지 않음 */
.s4-consult__faq {
  min-width: 0;
}
.s4-consult__faq-kicker {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #8a5a2b;
}
.s4-consult__faq-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.s4-consult__faq-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--s4-ink);
  line-height: 1.25;
}
.s4-consult__faq-more {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--s4-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.s4-consult__faq-more:hover {
  color: var(--s4-navy);
  border-bottom-color: var(--s4-navy);
}
.s4-consult__faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.s4-consult__faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
}
.s4-consult__faq-item.is-open {
  border-color: rgba(26, 107, 60, 0.28);
  box-shadow: 0 8px 22px rgba(80, 50, 20, 0.06);
}
.s4-consult__faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 16px 16px 16px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--s4-ink);
}
.s4-consult__faq-no {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3eee6;
  color: #8a5a2b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s4-consult__faq-item.is-open .s4-consult__faq-no {
  background: #1a6b3c;
  color: #fff;
}
.s4-consult__faq-qtxt {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.4;
  word-break: keep-all;
}
.s4-consult__faq-q::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  color: #666;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
}
.s4-consult__faq-item.is-open .s4-consult__faq-q::after {
  content: "−";
  border-color: #1a6b3c;
  color: #1a6b3c;
}
.s4-consult__faq-a {
  display: none !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  background: transparent !important;
  border: 0 !important;
  z-index: auto !important;
  padding: 0 16px 16px 58px;
}
.s4-consult__faq-item.is-open .s4-consult__faq-a {
  display: block !important;
}
.s4-consult__faq-abody {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f1e8;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  color: #444;
  word-break: keep-all;
}
.s4-consult__faq-abody img {
  max-width: 100%;
  height: auto;
}
.s4-consult__faq-abody p {
  margin: 0 0 0.6em;
}
.s4-consult__faq-abody p:last-child {
  margin-bottom: 0;
}
.s4-consult__faq-empty {
  margin: 0;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  font-size: 14px;
  color: var(--s4-muted);
}

.s4-consult__form {
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid var(--s4-line);
  border-radius: 14px;
}
.s4-consult__form-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.s4-consult__form label {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}
.s4-consult__form input[type="text"],
.s4-consult__form input[type="tel"],
.s4-consult__form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 14px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
  font-family: inherit;
}
.s4-consult__form fieldset {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
}
.s4-consult__form legend {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
}
.s4-consult__radio {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  font-size: 16px;
  font-weight: 700;
}
.s4-consult__radio input {
  width: 18px;
  height: 18px;
}
.s4-consult__form button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--s4-navy);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  cursor: pointer;
}
.s4-consult__form button:focus,
.s4-consult__btn:focus,
.s4-consult__form input:focus,
.s4-consult__form textarea:focus {
  outline: 3px solid var(--s4-navy);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .s4-consult { padding: 88px 0 72px; }
  .s4-consult__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .s4-consult__title { font-size: 34px; }
  .s4-consult__steps {
    grid-template-columns: 1fr;
  }
  .s4-consult__faq-title { font-size: 32px; }
  .s4-consult__faq-qtxt { font-size: 17px; }
}

@media (min-width: 640px) {
  .s4-best__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .s4-sec { padding: 56px 0; }
  #s4-best.s4-sec { padding: 72px 0 80px; }
  .s4-reviews { padding: 72px 0 96px; }
}

/* ========== 5. Dual CTA ========== */
.s4-cta { padding: 48px 0 40px; }
.s4-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.s4-cta__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.s4-cta__item--buy {
  background: var(--s4-blue);
  color: #fff !important;
}
.s4-cta__item--gift {
  background: #e9dfd0;
  color: var(--s4-navy) !important;
}
.s4-cta__ico {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s4-cta__ico img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.s4-cta__txt { flex: 1; }
.s4-cta__arrow {
  font-size: 22px;
  opacity: .85;
}

@media (min-width: 768px) {
  .s4-cta { padding: 56px 0 48px; }
  .s4-cta__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .s4-cta__item { min-height: 104px; padding: 22px 28px; font-size: 20px; }
}

/* ========== 6. Glance ========== */
.s4-glance {
  padding: 52px 0 56px;
  background: #fff;
}
.s4-glance .s4-sec-head { margin-bottom: 10px; }
.s4-glance .s4-sec-head h2 { font-size: 24px; }

/* 시즌 + 핏 툴바 (모바일 세로 / PC 한 줄) */
.s4-glance__toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 16px;
}
.s4-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.s4-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #eef0f3;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.s4-tabs button.is-on {
  background: var(--s4-navy);
  color: #fff;
}
/* 핏: ACC 탭이면 .is-acc 로 숨김 */
.s4-fit {
  display: inline-flex;
  align-self: flex-start;
  align-items: stretch;
  margin: 0;
  padding: 3px;
  border-radius: 999px;
  background: #f0ebe3;
}
.s4-fit.is-acc {
  display: none;
}
.s4-fit button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b5c4a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  white-space: nowrap;
}
.s4-fit button.is-on {
  background: #fff;
  color: var(--s4-navy);
  box-shadow: 0 1px 3px rgba(80, 50, 20, 0.12);
}

.s4-glance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}
/* 한눈 카드: 이름 강제 높이 제거 → 빈 여백 축소 */
.s4-glance .s4-card__thumb {
  margin-bottom: 8px;
  border-radius: 8px;
}
/* 한눈보기: 공통(정사각) 썸네일 → 1:1 (목록/BEST 3:4 와 분리) */
.s4-glance .s4-card__thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.s4-glance .s4-card__name {
  min-height: 0;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.s4-glance .s4-card__price {
  margin: 0;
  gap: 4px 6px;
}
.s4-glance .s4-card__price ins { font-size: 15px; }
.s4-glance .s4-card__price strong { font-size: 13px; }
.s4-glance .s4-card__price del { font-size: 12px; }
.s4-glance .s4-card__badge {
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  font-size: 10px;
}

.s4-glance__empty {
  display: none;
  grid-column: 1 / -1;
  padding: 32px 16px;
  text-align: center;
  color: #888;
  font-size: 14px;
}
.s4-glance__grid.is-empty .s4-glance__empty {
  display: block;
}
.s4-glance-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #888;
}

@media (min-width: 900px) {
  .s4-glance {
    padding: 64px 0 72px;
    background: #fff;
  }
  .s4-glance .s4-sec-head { margin-bottom: 12px; }
  .s4-glance .s4-sec-head h2 { font-size: 28px; }

  /* PC: 시즌 왼쪽 · 핏 오른쪽 → 가로 여백을 필터가 채움 */
  .s4-glance__toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--s4-line);
  }
  .s4-tabs {
    flex: 1;
    flex-wrap: wrap;
    gap: 6px;
  }
  .s4-tabs button {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
  .s4-fit {
    align-self: center;
    flex-shrink: 0;
  }
  .s4-fit button {
    min-height: 36px;
    padding: 0 18px;
    font-size: 13px;
  }

  /* PC 4열 — 정사각 썸네일 기준. 5열이면 카드가 너무 작아짐 */
  .s4-glance__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
  }
  .s4-glance .s4-card__name { font-size: 14px; }
  .s4-glance .s4-card__price ins { font-size: 16px; }
  .s4-glance .s4-card__badge { font-size: 14px; padding: 5px 10px; }
}

/* (구) 1100px 5열 제거 — 정사각 썸네일 기준으로 PC는 4열 유지 */

/* ========== 7. AI ========== */
.s4-ai { padding: 8px 0 48px; }
.s4-ai__box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 22px;
  background: var(--s4-gray);
  border-radius: var(--s4-radius);
}
.s4-ai__copy h3 {
  margin: 8px 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.s4-ai__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--s4-muted);
}
.s4-ai__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.s4-ai__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.s4-ai__form select {
  height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
}
.s4-ai__form .s4-btn {
  margin-top: 6px;
  border: 0;
  cursor: pointer;
  justify-self: end;
}
.s4-ai__visual {
  display: none;
  align-items: center;
  justify-content: center;
}
.s4-ai__visual img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #fff;
}

@media (min-width: 900px) {
  .s4-ai__box {
    flex-direction: row;
    align-items: center;
    padding: 36px 40px;
    gap: 32px;
  }
  .s4-ai__copy { flex: 0 0 260px; }
  .s4-ai__form {
    flex: 1;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }
  .s4-ai__form .s4-btn { grid-column: 3; }
  .s4-ai__visual { display: flex; flex: 0 0 180px; }
}

/* ========== 8. Reviews ========== */
/* 모바일: 4장/슬라이드 Swiper · PC: swiper destroy 후 페이지를 한 그리드로 펼침 */
.s4-reviews {
  padding: 52px 0 72px;
  background: #ece7de;
}
.s4-reviews-swiper {
  overflow: hidden;
  margin: 0 -4px;
  padding: 0 4px;
}
.s4-reviews__page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.s4-reviews__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.s4-reviews__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #c4b8a5;
  opacity: 1;
  border-radius: 50%;
}
.s4-reviews__pagination .swiper-pagination-bullet-active {
  background: var(--s4-ink);
}
.s4-review {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(27, 42, 74, 0.05);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
a.s4-review:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
}
a.s4-review:focus-visible {
  outline: 2px solid var(--s4-ink);
  outline-offset: 2px;
}
.s4-review__thumb {
  flex: 0 0 88px;
  width: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e0d4;
}
.s4-review__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
}
.s4-review__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.s4-review__stars {
  color: #f59e0b;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}
.s4-review__stars span { color: var(--s4-ink); margin-left: 6px; }
.s4-review h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.s4-review__body > p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.s4-review__user {
  margin: auto 0 0 !important;
  font-size: 12px;
  color: var(--s4-muted);
}

@media (min-width: 768px) {
  .s4-reviews-swiper {
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  /* destroy 후에도 슬라이드가 세로로만 쌓이지 않게 카드 펼침 */
  .s4-reviews-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    transform: none !important;
    width: auto !important;
    height: auto !important;
  }
  .s4-reviews-swiper .swiper-slide {
    display: contents;
  }
  .s4-reviews__page {
    display: contents;
  }
  .s4-reviews__pagination { display: none !important; }
  .s4-review__thumb {
    flex-basis: 110px;
    width: 110px;
  }
  .s4-review__thumb img { min-height: 110px; }
}
@media (min-width: 1100px) {
  .s4-reviews-swiper .swiper-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .s4-review {
    flex-direction: column;
    padding: 0 0 16px;
  }
  .s4-review__thumb {
    flex: none;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }
  .s4-review__thumb img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .s4-review__body { padding: 14px 16px 0; }
}

.s4-ai-result {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--s4-navy);
}
.s4-ai-result.is-on { display: block; }

/* ========== 메인 플로팅: APP설치(왼쪽) + 상담신청 ========== */
.s4-float-btns {
  position: fixed;
  right: 14px;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  z-index: 450;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.s4-float-btns.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}
.s4-float-consult,
.s4-float-app {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 50%;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.04em;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(21, 35, 61, 0.28);
}
.s4-float-consult,
.s4-float-consult:link,
.s4-float-consult:visited,
.s4-float-consult:active,
.s4-float-consult:hover,
.s4-float-consult:focus {
  background: var(--s4-navy);
  color: #fff !important;
}
.s4-float-app--ios,
.s4-float-app--ios:link,
.s4-float-app--ios:visited,
.s4-float-app--ios:active,
.s4-float-app--ios:hover,
.s4-float-app--ios:focus {
  background: #000;
  color: #fff !important;
}
.s4-float-app--android,
.s4-float-app--android:link,
.s4-float-app--android:visited,
.s4-float-app--android:active,
.s4-float-app--android:hover,
.s4-float-app--android:focus {
  background: #01875f;
  color: #fff !important;
}
body.sian-main .top-move {
  right: 18px !important;
  bottom: calc(148px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (min-width: 768px) {
  .s4-float-btns {
    right: 24px;
    bottom: 28px;
  }
  .s4-float-consult,
  .s4-float-app {
    width: 80px;
    height: 80px;
    font-size: 14px;
  }
  body.sian-main .top-move {
    right: 36px !important;
    bottom: 120px !important;
  }
}

/* ========== 메인카드(103) 서비스/이벤트 — 구 220px 스와이프 대체 ========== */
body.sian-main .main-content.main-content--service.s4-service {
  margin: 0;
  padding: 48px 0 0;
  padding-left: 0;
  padding-right: 0;
  background: #fff;
  box-sizing: border-box;
}
body.sian-main .s4-service .s4-sec-head { margin-bottom: 12px; }
body.sian-main .s4-service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
body.sian-main .s4-service__card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--s4-paper);
  box-shadow: 0 1px 0 rgba(27, 42, 74, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.sian-main .s4-service__card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
@media (min-width: 640px) {
  body.sian-main .s4-service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (min-width: 900px) {
  body.sian-main .main-content.main-content--service.s4-service {
    padding: 64px 0 0;
  }
  body.sian-main .s4-service .s4-sec-head { margin-bottom: 14px; }
  body.sian-main .s4-service__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(27, 42, 74, 0.08);
  }
  @media (prefers-reduced-motion: reduce) {
    body.sian-main .s4-service__card,
    body.sian-main .s4-service__card:hover {
      transition: none;
      transform: none;
    }
  }
}

/* 구독안내 배너(subscribe_guide): 상단 s4 컨텐츠와 동일 폭, PC 2열 */
body.sian-main .main-content.main-content--banner {
  max-width: var(--s4-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 24px;
  box-sizing: border-box;
}
body.sian-main .main-content--banner .banner-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
body.sian-main .main-content--banner .banner-list__item {
  margin: 0 !important;
  min-width: 0;
}
body.sian-main .main-content--banner .banner-list__item a {
  display: block;
}
body.sian-main .main-content--banner .banner-list__item img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 900px) {
  body.sian-main .main-content.main-content--banner {
    padding-bottom: 32px;
  }
  body.sian-main .main-content--banner .banner-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ========== 상품리스트 (/shop/product/product_lists) 1200 그리드 ========== */
body.sian-main .product-lists-page {
  padding-bottom: 48px !important;
}
/* 모바일: lnb(뒤로+제목 50px)와 리스트 제목(상품/남성 하의) 사이 */
@media (max-width: 767px) {
  /* CS·이벤트는 .cs/.event 가 padding-top:0 이라, 리스트와 같이 20px 주고 배너 음수마진으로 맞춤 */
  body.sian-main .contents .content.product.product-lists-page,
  body.sian-main .contents .content.event.event-lists-page,
  body.sian-main .contents .content.event.event-view-page,
  body.sian-main .contents .content.cs.faq-lists-page,
  body.sian-main .contents .content.cs.notice-lists-page,
  body.sian-main .contents .content.cs.notice-view-page,
  body.sian-main .contents .content.cs.contactus-page {
    padding-top: 20px !important;
  }
}
/* 상품리스트 상단 배너. 기장 따라 천천히 올라간 뒤 그 자리에서 멈춤 */
.s4-list-banner {
  position: relative;
  width: 100%;
  height: 220px;
  margin: 0 0 20px;
  overflow: hidden;
  background: #1a1f2a;
}
@media (max-width: 767px) {
  /* 아래 기본 width/margin 보다 뒤에 둬야 음수 마진이 먹음 */
  .s4-list-banner {
    width: calc(100% + 40px);
    max-width: none;
    margin: -20px -20px 20px;
  }
}
/* 상품리스트 상단 배너. 기장 따라 천천히 올라간 뒤 그 자리에서 멈춤 (1회) */
.s4-list-banner__bg {
  position: absolute;
  /* 모바일: 모델 좌측 기준. PC는 768+ 에서 right */
  inset: -18% -8% -18% 0;
  background: url("/asset/images/renewal/product_banner.webp") 100% 42% / cover no-repeat;
  transform-origin: 0 50%;
  will-change: transform;
  animation: s4-list-banner-pan 9s cubic-bezier(0.33, 0.02, 0.22, 1) 1 forwards;
}
/* CS·이벤트: 같은 배너 박스, 배경만 community_banner.webp */
.s4-list-banner--community .s4-list-banner__bg {
  background-image: url("/asset/images/renewal/community_banner.webp");
}
@keyframes s4-list-banner-pan {
  0% { transform: scale(1.12) translate3d(0, 6%, 0); }
  100% { transform: scale(1.2) translate3d(0, -8%, 0); }
}
/* 인물 사진 위 가독성. 카피는 왼쪽(바지 실루엣과 겹치지 않게) */
.s4-list-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 20, 32, 0.62) 0%, rgba(15, 20, 32, 0.28) 42%, rgba(15, 20, 32, 0.06) 72%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.s4-list-banner__copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 18em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.s4-list-banner__line {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.45;
  opacity: 0.92;
}
.s4-list-banner__brand {
  margin: 12px 0 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.2;
}
.s4-list-banner__brand em {
  font-style: normal;
  color: #e8c9a0;
}
@media (min-width: 768px) {
  .s4-list-banner {
    height: 300px;
    margin-bottom: 28px;
  }
  .s4-list-banner__bg {
    inset: -18% 0 -18% -8%;
    background-position: right 42%;
    transform-origin: 100% 50%;
  }
  .s4-list-banner__copy {
    left: 40px;
    right: auto;
  }
  .s4-list-banner__line { font-size: 18px; }
  .s4-list-banner__brand { margin-top: 16px; font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .s4-list-banner__bg {
    animation: none;
    inset: 0;
    background-position: left center;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .s4-list-banner__bg {
    background-position: right center;
  }
}

.s4-list-head {
  margin: 0 0 16px;
}
.s4-list-head__title {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--s4-navy);
}
/* product_lists.php 카테고리 칩(menu_icons) — 일단 숨김. 재개 시 display:flex */
.s4-list-cats {
  display: none;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0 0 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--s4-line);
  scrollbar-width: none;
}
.s4-list-cats::-webkit-scrollbar { display: none; }
.s4-list-cats__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eef0f3;
  color: #374151 !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  white-space: nowrap;
}
.s4-list-cats__item:hover {
  color: var(--s4-navy) !important;
}
.s4-list-cats__item.is-on {
  background: var(--s4-navy);
  color: #fff !important;
}
.s4-list-toolbar {
  margin-bottom: 12px;
}
.s4-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.s4-list-top #total_count_text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--s4-muted);
}
.s4-list-top #total_count_text em {
  color: var(--s4-navy);
  font-style: normal;
  font-weight: 800;
}
body.sian-main .product-lists-page .prd-list.s4-list-grid,
body.sian-main .product-lists-page #product_div.prd-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  width: 100% !important;
  float: none !important;
}
/* _product.scss .prd-list 기본(가로 80px 원형+옆 텍스트) 전부 상쇄. 이 페이지만 */
body.sian-main .product-lists-page .prd-list__item,
body.sian-main .product-lists-page .prd-list__item:not(:first-child) {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.sian-main .product-lists-page .prd-list__image,
body.sian-main .product-lists-page .prd-list__img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #eeeae4 !important;
  aspect-ratio: 1 / 1;
  text-align: left !important;
}
body.sian-main .product-lists-page .prd-list__image a,
body.sian-main .product-lists-page .prd-list__img a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
body.sian-main .product-lists-page .prd-list__image img,
body.sian-main .product-lists-page .prd-list__img img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block !important;
  vertical-align: top;
}
body.sian-main .product-lists-page .prd-list__content {
  width: 100% !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}
body.sian-main .product-lists-page .prd-list__title {
  margin: 0 0 6px !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.sian-main .product-lists-page .prd-list__title a {
  color: var(--s4-ink);
  text-decoration: none;
}
body.sian-main .product-lists-page .prd-list__price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px 6px;
  width: 100% !important;
  margin: 0 !important;
}
body.sian-main .product-lists-page .prd-list__price dt {
  display: none !important;
  width: auto !important;
}
body.sian-main .product-lists-page .prd-list__price dd {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px 8px !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  text-align: left !important;
}
body.sian-main .product-lists-page .prd-list__price ins {
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  margin: 0 2px 0 0 !important;
}
body.sian-main .product-lists-page .prd-list__price strong {
  color: var(--s4-red);
  font-size: 13px;
  margin: 0 2px 0 0 !important;
}
body.sian-main .product-lists-page .prd-list__price del {
  color: #9ca3af;
  font-size: 12px;
  margin: 0 !important;
}
body.sian-main .product-lists-page .common-badges {
  margin: 0 0 6px !important;
}
body.sian-main .product-lists-page .prd-list__content .common-badges__box {
  display: inline-block;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 4px 22px 4px 8px !important;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 4px) center !important;
  background-size: 14px !important;
}
body.sian-main .product-lists-page .nodata {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .s4-list-head__title { font-size: 28px; }
  .s4-list-cats { margin-bottom: 18px; }
  .s4-list-cats__item { min-height: 40px; font-size: 15px; }
  body.sian-main .product-lists-page .prd-list.s4-list-grid,
  body.sian-main .product-lists-page #product_div.prd-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 14px;
  }
  body.sian-main .product-lists-page .prd-list__title { font-size: 14px; }
  body.sian-main .product-lists-page .prd-list__price ins { font-size: 16px; }
}
@media (min-width: 1100px) {
  body.sian-main .product-lists-page .prd-list.s4-list-grid,
  body.sian-main .product-lists-page #product_div.prd-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 더보기 접힘. app_ej 와 같은 선택자 + section 직접.
   DevTools 에서 .detailed-info(탭 패널) 를 보면 이 규칙은 안 보임. section.detailed-info__content 를 봐야 함 */
.product-view-page .detailed-info__content,
section.detailed-info__content {
  position: relative !important;
  min-height: 350px !important;
  max-height: 600px !important;
  overflow: hidden !important;
}
.product-view-page .detailed-info__content.active,
section.detailed-info__content.active {
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
section.detailed-info__content:not(.active) img {
  transform: none !important;
}

/* 더보기 버튼: 원본 .product-view-page .detailed-info .btn — 섹션 안에 absolute */
section.detailed-info__content::after {
  content: "";
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: #fff;
}
section.detailed-info__content .js_viewInfo {
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  right: 20px !important;
  width: calc(100% - 40px) !important;
  z-index: 20 !important;
  display: block !important;
  /* 직접 넣은 .product-view-page .detailed-info .btn{border} 이
     .btn.btn--line-gray 보다 특이도가 낮거나 app_ej 미컴파일이면 안 먹음 */
  border: 1px solid #1a1a1a !important;
}
section.detailed-info__content.active::after,
section.detailed-info__content.active .js_viewInfo {
  display: none !important;
}

/* 탭 안 제조사표: 원본 dt/dd. 가로 -20px 마진은 모바일 셸용이라 PC 1200에서 빼면 화면을 뚫음 */
.tab__contents.detailed-info > .common-line > .prd-info {
  padding: 0 !important;
}
.tab__contents.detailed-info .prd-info > section {
  border-top: 1px solid #eee;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 20px 0 !important;
}
.tab__contents.detailed-info .prd-info__info dl {
  display: flex !important;
  flex-wrap: wrap !important;
}
.tab__contents.detailed-info .prd-info__info dt {
  width: 75px !important;
  flex: 0 0 75px;
  font-weight: 500;
  color: #9E9E9E;
  box-sizing: border-box;
}
.tab__contents.detailed-info .prd-info__info dd {
  width: calc(100% - 75px) !important;
  flex: 0 0 calc(100% - 75px);
  box-sizing: border-box;
}

/* PC: 에디터 center > img. 리셋 img{width:100%} 이 1200을 채움 */
@media (min-width: 768px) {
  section.detailed-info__content center img {
    width: 1000px !important;
    max-width: 1000px !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }

  /* PC 상세: 원본 .tab/.common-line {margin:0 -20px} 는 모바일 20px 패딩 상쇄.
     m-wrap 이 풀폭이면 탭·더보기·제조사가 뷰포트 100% 가 됨 → 1200 안에 고정 */
  body.sian-main.prd-view .product-view-page {
    max-width: var(--s4-max) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  body.sian-main.prd-view .product-view-page .tab,
  body.sian-main.prd-view .product-view-page .tab.js_tabModule {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.sian-main.prd-view .product-view-page .tab__contents,
  body.sian-main.prd-view .product-view-page .tab__btn-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.sian-main.prd-view .product-view-page .common-line {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  body.sian-main.prd-view section.detailed-info__content {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.sian-main.prd-view section.detailed-info__content .js_viewInfo {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* 탭 1200 래퍼. 좌우 패딩은 PC만 — 모바일은 원본처럼 풀폭 */
.s4-prd-below {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0;
  box-sizing: border-box !important;
}
#js_tab1 {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 767px) {
  /* 이벤트·공지 에디터 이미지: PC 1000px 제한을 풀고 화면 폭만 */
  body.sian-main .event-view-page .event-view__content img,
  body.sian-main .notice-view-page .notice-view__text img {
    max-width: 100% !important;
  }
  /* 상세 탭만. .common-line 은 마이페이지·헤더 등에서도 쓰이므로 전역으로 빼지 않음 */
  body.sian-main.prd-view .contents .content.product.product-view-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.sian-main.prd-view .s4-prd-top {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  body.sian-main.prd-view .s4-prd-top > .prd-visual {
    margin-left: -20px !important;
    margin-right: -20px !important;
  }
  body.sian-main.prd-view .s4-prd-below,
  body.sian-main.prd-view #js_tab1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.sian-main.prd-view #js_tab1 .tab__contents,
  body.sian-main.prd-view #js_tab1 .tab__btn-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.sian-main.prd-view #js_tab1 .common-line {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.sian-main.prd-view #js_tab1 section.detailed-info__content img {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.sian-main.prd-view #js_tab1 .detailed-info .prd-info {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  body.sian-main.prd-view #js_tab1 .js_viewInfo {
    left: 20px !important;
    right: 20px !important;
    width: calc(100% - 40px) !important;
  }

  /* 모바일 구매바: 원본은 찜 absolute + padding-left 50px 이라 장바구니 위에 겹침.
     찜을 flex 칸으로 잡고, 옵션 시트 CTA는 찜이 없으니 padding 0 */
  body.sian-main.prd-view .product .buy-process__con .buy-process__btn-area.btn-area__top {
    display: flex;
    align-items: stretch;
    padding-left: 0 !important;
  }
  /* 바로구매 시트(.active)일 땐 하단 고정바 숨김. 위 flex 규칙이 원본 display:none 을 덮지 않게 */
  body.sian-main.prd-view .product .buy-process.active .buy-process__con .btn-area__top {
    display: none !important;
  }
  body.sian-main.prd-view .product .buy-process__con .btn-area__top .btn-wish {
    position: static !important;
    left: auto !important;
    flex: 0 0 50px;
    width: 50px !important;
    height: auto !important;
    min-height: 50px;
    margin: 0;
    align-self: stretch;
  }
  body.sian-main.prd-view .product .buy-process__con .btn-area__top .btn {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
  }
  body.sian-main.prd-view .product .buy-process__con .buy-process__btn-area.s4-buy-cta {
    padding-left: 0 !important;
  }
  body.sian-main.prd-view .product .buy-process__con .s4-buy-cta .s4-buy-wish-cta {
    display: none !important;
  }
  body.sian-main.prd-view .product .buy-process__con .s4-buy-cta .btn {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    margin-right: 0 !important;
  }
  body.sian-main.prd-view .product .buy-process__con .s4-buy-cta .btn + .btn {
    margin-left: 5px;
  }
}

/* 모바일 배송지 등록·다음 주소검색: 전체화면. PC 카드/transform 과 분리 */
@media (max-width: 767px) {
  body.sian-main .layer.layer--addr-write-layer {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 10050;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__table {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    align-items: stretch;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__table-cell {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 70px 20px 24px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-y: auto;
    background: #fff !important;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 10051;
  }
  body.sian-main .layer.layer--addr-write-layer .layer__top .close {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
  }
  body.sian-main .addr-layer {
    z-index: 10100 !important;
    transform: none !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-direction: column;
  }
  body.sian-main .addr-layer.is-open {
    display: flex !important;
  }
  body.sian-main .addr-layer__close {
    flex: 0 0 48px;
    height: 48px;
    border: 0;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.04em;
    cursor: pointer;
    font-family: inherit;
  }
  body.sian-main .addr-layer__embed {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    position: relative;
  }
}

@media (min-width: 768px) {
  .s4-prd-below {
    padding: 0 20px;
  }
  #js_tab1 {
    margin: 0 !important;
  }
}

/* 헤더 알림(ico-push): 미확인 푸시 빨간 점 (우측 상단)
   has-new 는 Common_header push_unread / header.php 에서 부여 */
.util li.ico-push {
  position: relative;
}
.util li.ico-push.has-new::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 0 0 1.5px #fff;
  z-index: 11;
  pointer-events: none;
}
/* 앱: 기본 display:none 인 ico-push 를 보이게 (view 클래스와 동일) */
body.is-app .util li.ico-push {
  display: inline-block;
}
