/* BASIC css start */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* 풍류 모바일 메인 v6 | CSS 전체 교체. style 태그 없이 입력합니다.
   아래 브랜드 로고/맞춤 브랜드 스타일은 기존 코드를 유지합니다. */
.prm-main {
  --prm-radius: 16px;
  --prm-inset: 16px;
  --prm-slide-gap: 6px;
  --prm-badge-bg: rgba(0, 0, 0, .45);
  --prm-main-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 0 24px;
  background: #fff;
  color: #222;
  font-family: var(--prm-main-font);
}
.prm-main *, .prm-main *::before, .prm-main *::after { box-sizing: border-box; }
.prm-main * { font-family: var(--prm-main-font) !important; }
.prm-main [hidden] { display: none !important; }

/* 1. 가운데 배너 크기 유지 + 양옆 배너 미리보기.
   전체 영역 W, 가운데 사진 W - 32px, 양옆 여백 16px, 배너 사이 6px.
   따라서 이전/다음 배너가 양옆에 각각 10px씩 보입니다. */
.prm-main .prm-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}
.prm-main .prm-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--prm-slide-gap);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 var(--prm-inset);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--prm-inset);
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  overflow-anchor: none;
  scrollbar-width: none;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}
.prm-main .prm-track::-webkit-scrollbar { display: none; }
.prm-main .prm-banner {
  position: relative;
  display: block;
  /* 100%는 track 안쪽 너비입니다. W - 좌우 16px이므로 기존 사진 크기와 같습니다. */
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--prm-radius);
  scroll-snap-align: start;
  /* 맞춤 브랜드와 동일: 빠르게 넘겼을 때 반드시 한 장씩 붙잡지 않습니다. */
  scroll-snap-stop: normal;
  background: #f5f5f5;
  color: #222;
  text-decoration: none;
}
.prm-main .prm-banner img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  -webkit-user-drag: none;
}
/* 손가락을 놓고 스크롤이 완전히 끝난 뒤, 동일한 원본 위치로만 보정합니다. */
.prm-main .prm-track.prm-rebasing {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

/* 2. 우측 하단: 현재 번호 / 전체 개수 + 작은 화살표 */
.prm-main .prm-controls {
  position: absolute;
  z-index: 2;
  right: calc(var(--prm-inset) + 12px);
  bottom: 12px;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.prm-main .prm-controls button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 28px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--prm-badge-bg);
  color: #fff;
  font: 500 12px/1 var(--prm-main-font);
  font-style: normal;
  letter-spacing: 0;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
/* 보이는 높이는 28px, 터치할 수 있는 세로 영역은 44px입니다. */
.prm-main .prm-controls button::before { content: ""; position: absolute; inset: -8px 0; }
.prm-main .prm-controls .prm-pagination { min-width: 66px; gap: 7px; padding: 0 10px 0 12px; }
.prm-main .prm-count { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prm-main .prm-count b { color: #fff; font-size: 12px; font-weight: 600; }
.prm-main .prm-count-divider, .prm-main .prm-total { color: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 400; }
.prm-main .prm-pagination svg { display: block; flex: 0 0 6px; width: 6px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1; opacity: .8; }

.prm-main :focus-visible { outline: 2px solid #f05223; outline-offset: -3px; }
.prm-main .prm-controls button:focus-visible { outline-color: #fff; outline-offset: 2px; }
.prm-main .prm-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 3. 번호 배지 클릭 시 전체 배너 보기. 목록은 기존 8개에서 자동 생성 */
.prm-main .prm-gallery:not([open]) { display: none !important; }
.prm-main .prm-gallery {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 768px;
  max-height: 85vh;
  max-height: 85dvh;
  margin: 0 auto;
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  color: #222;
}
.prm-main .prm-gallery::backdrop { background: rgba(0, 0, 0, .5); }
.prm-main .prm-gallery-heading { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0; background: #fff; }
.prm-main .prm-gallery-heading h2 { margin: 0; padding: 0; color: #222; font-size: 18px; font-weight: 750; line-height: 1.4; }
.prm-main .prm-gallery-total { margin-left: 5px; color: #888; font-size: 14px; font-weight: 500; }
.prm-main .prm-gallery-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 10px; border: 0; background: transparent; color: #222; cursor: pointer; appearance: none; }
.prm-main .prm-gallery-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.prm-main .prm-gallery-options { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.prm-main .prm-autoplay-toggle { min-height: 44px; padding: 0 12px; border: 1px solid #e8e8e8; border-radius: 8px; background: #fff; color: #555; font: 500 12px/1.4 var(--prm-main-font); cursor: pointer; appearance: none; }
.prm-main .prm-autoplay-toggle:disabled { color: #888; cursor: default; }
.prm-main .prm-gallery-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px 10px; }
.prm-main .prm-gallery-item { display: block; min-width: 0; color: #222; text-decoration: none; }
.prm-main .prm-gallery-item img { display: block; width: 100%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 12px; }
.prm-main .prm-gallery-item span { display: block; margin-top: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; word-break: keep-all; }

/* 브랜드 로고: 한 화면 4개씩 두 줄, 좌우 스와이프. */
.prmb-brands {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0 16px 24px;
  background: #fff;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
.prmb-brands * { box-sizing: border-box; }
.prmb-brands .prmb-scroll {
  display: flex;
  width: 100%;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.prmb-brands .prmb-scroll::-webkit-scrollbar { display: none; }
.prmb-brands .prmb-page {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  align-content: start;
  gap: 10px 8px;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.prmb-brands .prmb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 44px;
  padding: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.prmb-brands .prmb-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border: 0;
  font-size: 0;
}
.prmb-brands .prmb-logo:active { background: #f5f5f5; }
.prmb-brands :focus-visible { outline: 2px solid #f05223; outline-offset: -3px; }

/* 크림 제공 코드 기준: 176px / 3:4 / 간격 2px / 반경 6px */
.prmt-trends {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 32px 0;
  background: #fff;
  color: #222;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}
.prmt-trends * { box-sizing: border-box; }
.prmt-trends .prmt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 8px;
}
.prmt-trends h2 {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.prmt-trends .prmt-more {
  appearance: none;
  flex-shrink: 0;
  margin: 0 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #22222280;
  font: 400 14px/24px "Pretendard Variable", Pretendard, sans-serif;
  cursor: pointer;
}
.prmt-trends .prmt-more[hidden] { display: none; }
.prmt-trends .prmt-track {
  display: flex;
  gap: 2px;
  padding: 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.prmt-trends .prmt-track::-webkit-scrollbar { display: none; }
.prmt-trends .prmt-card {
  flex: 0 0 176px;
  min-width: 0;
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
}
.prmt-trends .prmt-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #f4f4f4;
}
.prmt-trends .prmt-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}
.prmt-trends.is-expanded .prmt-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}
.prmt-trends :focus-visible { outline: 2px solid #f05223; outline-offset: -3px; }
/* 맞춤 브랜드 배너: 3:4 비율로 꽉 채우기 */
.prmt-trends .prmt-image {
  aspect-ratio: 3 / 4;
}

.prmt-trends .prmt-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.prmt-trends .prmt-card {
  flex: 0 0 176px;
  align-self: flex-start;
}

.prmt-trends .prmt-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.prmt-trends .prmt-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
}
/* 맞춤 브랜드 배너 사진 모서리 */
.prmt-trends .prmt-image {
  overflow: hidden;
  border-radius: 6px !important;
  clip-path: inset(0 round 6px);
}

.prmt-trends .prmt-image img {
  border-radius: 6px !important;
}

div.C-5864-1-2428 { margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; background:repeat left top; border-top:0px solid ; border-right:0px solid ; border-bottom:0px solid ; border-left:0px solid ; }
/* BASIC css end */

