/* BASIC css start */

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

/* 풍류 모바일 메인 | CSS 전체 교체용
   적용 위치: 모바일 개별디자인 > 중앙 디자인 > 메인 > 메인 > CSS
   메인 CSS 입력란을 비우고 이 파일 전체를 붙여 넣으세요. style 태그 없이 입력합니다.
   메인 이벤트 배너 / 브랜드 로고 / 맞춤 브랜드 / 추가상품 1~6 스타일 통합본. */
.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;
}

/* PR MOBILE GEAR CSS START — v6
   아래는 전체 CSS에 포함된 추천 장비 스타일입니다.
   지금, 눈여겨볼 장비: 109px 카드 / 위아래 2행 / 오른쪽으로 이어지는 가로 스와이프.
   가로 간격 2px, 위아래 상품 간격 16px. 각 카테고리에 동일하게 적용합니다.
   이 스타일은 #prm-gear-picks 영역에만 적용됩니다. */
#prm-gear-picks {
  --pg-card-width: 109px;
  --pg-gap: 2px;
  --pg-row-gap: 16px;
  --pg-edge: 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 768px;
  min-width: 0;
  margin: 0 auto;
  padding: 32px 0;
  color: #222;
  background: #fff;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
#prm-gear-picks *,
#prm-gear-picks *::before,
#prm-gear-picks *::after { box-sizing: border-box; }
#prm-gear-picks button,
#prm-gear-picks a,
#prm-gear-picks h2,
#prm-gear-picks p { font-family: inherit; }
#prm-gear-picks a { color: inherit; text-decoration: none; }
#prm-gear-picks .pg-heading { margin: 0; padding: 0 var(--pg-edge); }
#prm-gear-picks #pg-title { margin: 0; padding: 0; border: 0; color: #222; font-size: 16px; font-style: normal; font-weight: 650; line-height: 24px; letter-spacing: -.3px; }

/* 둥근 카테고리 탭: 가로로 스와이프 */
#prm-gear-picks .pg-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  padding: 8px var(--pg-edge);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#prm-gear-picks .pg-tabs::-webkit-scrollbar,
#prm-gear-picks .pg-viewport::-webkit-scrollbar { display: none; }
#prm-gear-picks .pg-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 30px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 100px;
  background: #fff;
  color: #333;
  box-shadow: inset 0 0 0 1px #f0f0f0;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -.2px;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
#prm-gear-picks .pg-tab[aria-selected="true"] { background: #222; color: #fff; box-shadow: none; }
#prm-gear-picks .pg-tab:active { opacity: .7; }
#prm-gear-picks .pg-panel { display: block; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 8px 0; overflow: hidden; }
#prm-gear-picks [hidden] { display: none !important; }

/* 두 줄 전체가 하나의 가로 스크롤로 이동합니다.
   진열 순서는 1번(위), 2번(아래), 3번(다음 열 위), 4번(다음 열 아래)입니다. */
#prm-gear-picks .pg-viewport {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--pg-edge);
  touch-action: pan-x pan-y pinch-zoom;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#prm-gear-picks .pg-grid.items {
  display: grid !important;
  float: none;
  grid-auto-flow: column !important;
  grid-template-columns: none !important;
  grid-template-rows: repeat(2, auto) !important;
  grid-auto-columns: var(--pg-card-width) !important;
  align-items: stretch;
  justify-content: start;
  column-gap: var(--pg-gap);
  row-gap: var(--pg-row-gap);
  width: max-content !important;
  max-width: none !important;
  min-width: 100%;
  margin: 0;
  padding: 0 var(--pg-edge);
  list-style: none;
}
#prm-gear-picks .pg-products { display: block; width: 100%; min-width: 0; margin: 0; padding: 0; }
/* 메이크샵 공통 items 스타일의 clearfix가 그리드 셀로 들어가지 않도록 합니다. */
#prm-gear-picks .pg-grid::before,
#prm-gear-picks .pg-grid::after { display: none; content: none; }
#prm-gear-picks .pg-grid > .pg-card {
  position: relative;
  display: block;
  float: none !important;
  clear: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: var(--pg-card-width) !important;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  scroll-snap-align: start;
  text-align: left;
}
#prm-gear-picks .pg-card-link { display: block; width: 100%; min-width: 0; }
#prm-gear-picks .pg-photo {
  position: relative;
  display: block;
  width: var(--pg-card-width);
  height: var(--pg-card-width);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #f3f3f3 !important;
  isolation: isolate;
}
#prm-gear-picks .pg-photo img { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; object-fit: contain; object-position: center; background: transparent !important; mix-blend-mode: multiply !important; }
#prm-gear-picks .pg-soldout .pg-photo::after {
  content: "SOLD OUT";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .66);
  color: #222;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .4px;
  pointer-events: none;
}
#prm-gear-picks .pg-info { display: block; min-width: 0; margin: 4px 4px 0 0; padding: 0 2px; }
#prm-gear-picks .pg-subname,
#prm-gear-picks .pg-name {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -.2px;
}
#prm-gear-picks .pg-subname { margin-bottom: 2px; color: #222; font-weight: 650; }
#prm-gear-picks .pg-subname:empty { display: none; }
#prm-gear-picks .pg-name { color: #333; font-weight: 400; }
#prm-gear-picks .pg-prices { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 3px; row-gap: 0; margin: 2px 0 0; padding: 0; font-size: 12px; font-weight: 650; line-height: 17px; letter-spacing: -.3px; }
#prm-gear-picks .pg-discount { color: #f15746; }
#prm-gear-picks .pg-price { color: #222; font-size: inherit; font-weight: inherit; white-space: nowrap; font-variant-numeric: tabular-nums; }
#prm-gear-picks .pg-consumer { display: block; margin: 2px 0 0; color: #a7a7a7; font-size: 11px; font-weight: 400; line-height: 16px; text-decoration: line-through; }
#prm-gear-picks .pg-empty { margin: 0 var(--pg-edge); padding: 36px 12px; border-radius: 6px; background: #fafafa; color: #777; font-size: 13px; line-height: 1.7; text-align: center; }
#prm-gear-picks .pg-message { margin: 0; padding: 0; color: inherit; font-size: inherit; line-height: inherit; }
#prm-gear-picks .pg-viewport.pg-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
#prm-gear-picks .pg-tab:focus-visible,
#prm-gear-picks .pg-viewport:focus-visible,
#prm-gear-picks .pg-card-link:focus-visible { outline: 2px solid #222; outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  #prm-gear-picks .pg-viewport { cursor: grab; }
  #prm-gear-picks .pg-card-link:hover .pg-name { text-decoration: underline; text-underline-offset: 2px; }
}
/* 페이지 응답 템플릿은 화면에 노출하지 않습니다. */
#prm-gear-picks .pg-ajax-source { display: none !important; }
#prm-gear-picks .pg-status {
  margin: 8px var(--pg-edge) 0; padding: 8px 12px; color: #777;
  font-size: 12px; line-height: 1.7; text-align: center;
}
#prm-gear-picks .pg-status-empty { min-height: 160px; padding: 48px 12px; background: #fafafa; border-radius: 6px; }
#prm-gear-picks .pg-message:empty { display: none; }
/* 최초 표시와 추가 로딩 중 안내 문구, 더보기 버튼, 안내 영역 여백을 숨깁니다. */
#prm-gear-picks .pg-panel:not([data-pg-state]) .pg-status,
#prm-gear-picks .pg-panel[data-pg-state="loading"] .pg-status,
#prm-gear-picks .pg-panel[data-pg-state="ready"] .pg-status { display: none; }
#prm-gear-picks .pg-more {
  appearance: none; display: none; margin: 6px 0 0; padding: 8px 16px;
  border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #333;
  font: inherit; cursor: pointer;
}
/* 로딩 실패 시에만 같은 버튼을 '다시 불러오기'로 표시합니다. */
#prm-gear-picks .pg-panel[data-pg-state="error"] .pg-more:not([hidden]) { display: inline-block; }
#prm-gear-picks .pg-more:focus-visible { outline: 2px solid #222; outline-offset: 2px; }
/* PR MOBILE GEAR CSS END */

div.C-5864-1-4676 { 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 */

