/* BASIC css start */

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

/* 풍류 모바일 상세 v2. 조절값은 이 블록에서 변경합니다. */
#prm-detail {
  --prm-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --prm-ink: #171717;
  --prm-muted: #757575;
  --prm-line: #e5e7eb;
  --prm-accent: #e03a32;
  --prm-gutter: 18px;
  --prm-radius: 10px;
  --prm-sticky-top: 0px; /* 공통 상단이 고정이면 해당 높이로 변경 */
  width: 100%; max-width: 760px; min-width: 0; margin: 0 auto;
  background: #fff; color: var(--prm-ink);
  font-family: var(--prm-font); font-size: 14px; line-height: 1.55;
  letter-spacing: -.2px; overflow-wrap: anywhere; -webkit-text-size-adjust: 100%;
}
#prm-detail, #prm-detail * { box-sizing: border-box; }
#prm-detail :where(h1,h2,h3,p,dl,dd,ul,ol,figure) { margin: 0; padding: 0; }
#prm-detail :where(button,input,select,textarea,a,summary) { font-family: var(--prm-font); }
#prm-detail :where(button,input,select,textarea) { font-size: 16px; }
#prm-detail :where(a) { color: inherit; text-decoration: none; }
#prm-detail :where(button,a,summary) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#prm-detail :where(button) { cursor: pointer; }
#prm-detail :where(img) { max-width: 100%; vertical-align: middle; }
#prm-detail :where(button,a,select,input,summary):focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
#prm-detail [hidden] { display: none !important; }
#prm-detail .prm-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* 01. 상품 이미지 */
#prm-detail .prm-path { display:flex; flex-wrap:wrap; gap:8px; padding:14px var(--prm-gutter); font-size:11px; color:var(--prm-muted); }
#prm-detail .prm-gallery { padding:0 var(--prm-gutter) 18px; }
#prm-detail .prm-main-image { display:flex; align-items:center; justify-content:center; aspect-ratio:1; background:#fff; }
#prm-detail .prm-main-image > img { display:block; width:100%; height:100%; object-fit:contain; }
#prm-detail .prm-thumbnails { display:flex; gap:8px; overflow-x:auto; padding:8px 0 2px; scrollbar-width:thin; }
#prm-detail .prm-thumbnail { flex:0 0 62px; width:62px; height:62px; border:1px solid #e5e7eb; border-radius:6px; padding:3px; background:#fff; }
#prm-detail .prm-thumbnail img { width:100%; height:100%; object-fit:contain; }
#prm-detail .prm-thumbnail[aria-pressed="true"] { border-color:#222; }
#prm-detail .prm-thumbnails:not(:has(.prm-thumbnail)) { display:none; }
#prm-detail .prm-image-nav { display:flex; gap:7px; margin-top:12px; }
#prm-detail .prm-image-nav a { display:flex; flex:1; align-items:center; justify-content:center; min-width:0; min-height:40px; padding:8px 4px; border:1px solid #e3e5e8; border-radius:9px; color:#62666c; font-size:12px; font-weight:500; }

/* 02. 상품명 / 판매가격 */
#prm-detail .prm-info { padding:20px var(--prm-gutter) 24px; border-top:1px solid var(--prm-line); }
#prm-detail .prm-name { font-size:16px; font-weight:700; line-height:1.5; letter-spacing:-.4px; word-break:keep-all; }
#prm-detail .prm-subname { margin-top:7px; color:var(--prm-muted); font-size:13px; line-height:1.6; }
#prm-detail .prm-price-block { margin-top:18px; }
#prm-detail .prm-consumer { display:block; color:#a1a1a1; font-size:13px; }
#prm-detail .prm-price-line { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; }
#prm-detail .prm-price, #prm-detail .prm-discount { font-size:29px; line-height:1.35; font-weight:800; letter-spacing:-.8px; font-variant-numeric:tabular-nums; }
#prm-detail .prm-discount { color:var(--prm-accent); }
#prm-detail .prm-price small { margin-left:3px; font-size:17px; font-weight:600; }
#prm-detail .prm-price-replace { font-size:22px; }
#prm-detail .prm-meta { margin:16px 0 10px; font-size:12px; }
#prm-detail .prm-meta > div { display:grid; grid-template-columns:70px minmax(0,1fr); gap:10px; margin:7px 0; }
#prm-detail .prm-meta dt { color:var(--prm-muted); }
#prm-detail .prm-meta details { margin-top:4px; }

/* 03. 옵션: 원래 select는 JS가 버튼을 생성한 경우에만 숨김 */
#prm-detail .prm-options { margin-top:17px; }
#prm-detail .prm-option-section { border-top:1px solid var(--prm-line); padding:15px 0 12px; }
#prm-detail .prm-option-section h2 { margin-bottom:12px; font-size:15px; font-weight:700; }
#prm-detail .prm-required { margin-left:3px; color:var(--prm-accent); font-size:13px; font-weight:600; }
#prm-detail .prm-option-section h2 small { display:inline-block; font-size:11px; font-weight:400; color:var(--prm-muted); }
#prm-detail .prm-option-row + .prm-option-row { margin-top:14px; }
#prm-detail .prm-option-row dt { margin-bottom:7px; color:#666; font-size:13px; font-weight:500; }
#prm-detail .prm-option-row dd { min-width:0; }
#prm-detail .prm-option-row select { width:100%; max-width:100%; min-height:44px; border:1px solid #e1e1e1; border-radius:5px; background:#fff; color:#444; padding:8px; }
#prm-detail select.prm-native-enhanced { display:none !important; }
#prm-detail [data-prm-options="basic"] { height:auto; max-height:none; overflow:visible; }
#prm-detail .prm-option-buttons { display:flex !important; flex-wrap:wrap !important; width:100%; height:auto !important; max-height:none !important; overflow:visible !important; gap:7px; }
#prm-detail .prm-option-buttons[hidden] { display:none !important; }
#prm-detail .prm-option-button { position:relative; min-width:63px; max-width:100%; min-height:44px; padding:10px 15px; border:1px solid #e1e1e1; border-radius:5px; background:#fff; color:#444; font-family:var(--prm-font); font-size:13px; font-weight:500; line-height:20px; letter-spacing:-.15px; overflow-wrap:anywhere; }
#prm-detail .prm-option-button[aria-pressed="true"]:not(:disabled) { border-color:#222; background:#222; color:#fff; font-weight:600; box-shadow:0 2px 5px rgb(0 0 0 / 8%); }
#prm-detail .prm-option-button:disabled { border-color:#e3e3e3; background:#f8f9fa; color:#a0a4aa; cursor:not-allowed; box-shadow:none; }
#prm-detail .prm-option-button.prm-is-soldout { border-style:dashed; color:#b4b8bd; background:linear-gradient(135deg,transparent 49.5%,#e3e5e8 49.5%,#e3e5e8 50.5%,transparent 50.5%),#fafafa; }
#prm-detail .prm-option-buttons.prm-delivery-buttons > button { flex:0 1 auto; }
/* PC 원본과 동일한 옵션 노출 / 비활성 미리보기 */
#prm-detail .prm-options .prm-reference-visible { display:block !important; visibility:visible !important; height:auto !important; max-height:none !important; overflow:visible !important; }
#prm-detail .prm-options .prm-reference-preview:disabled { opacity:1; border:1px solid #dedede; background:#fff; color:#888; text-decoration:none; cursor:not-allowed; }
/* 나머지 추가옵션은 기본 상태에서 접힌 원래 select를 사용합니다. */
#prm-detail [data-prm-options="extra"] select { height:46px; min-height:46px; border-radius:7px; padding:10px 12px; font-size:16px; line-height:1.5; appearance:auto; -webkit-appearance:menulist; }
#prm-detail [data-prm-options="extra"] select:disabled { background:#f8f9fa; color:#a0a4aa; }
#prm-detail .prm-complete { display:flex; align-items:center; justify-content:center; min-height:44px; margin-top:12px; border:1px solid #222; border-radius:5px; font-size:13px; font-weight:600; }
#prm-detail .prm-quantity-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-top:1px solid var(--prm-line); font-size:13px; }
#prm-detail .prm-quantity { display:inline-flex; align-items:center; max-width:100%; min-height:40px; border:1px solid #e3e5e8; border-radius:7px; margin-top:5px; }
#prm-detail .prm-quantity > a { display:flex; align-items:center; justify-content:center; width:40px; min-height:40px; font-size:20px; }
#prm-detail .prm-quantity input:not([type="hidden"]) { width:48px !important; height:40px; margin:0; padding:0 3px; border:0; text-align:center; background:#fff; color:#222; border-radius:0; font-variant-numeric:tabular-nums; }
#prm-detail .prm-applied-price { display:flex; justify-content:space-between; gap:8px; font-size:13px; }

/* 04. 플랫폼이 생성하는 선택 결과 / 합계. 수량·삭제 이벤트는 그대로 유지 */
#prm-detail .prm-selected { min-width:0; }
#prm-detail .prm-selected :where(input,select,button,span,a,strong) { font-family:var(--prm-font) !important; }
#prm-detail #MK_innerOptScroll { max-height:340px; overflow:auto; overscroll-behavior:contain; }
/* 메이크샵 선택 완료 카드: 제공된 MK_innerOpt_01 구조에 대응 */
#prm-detail #MK_innerOptScroll .MK_inner-opt-cm { width:100%; margin:0; padding:0; list-style:none; }
#prm-detail #MK_innerOptScroll .MK_inner-opt-cm > li {
  position:relative; display:grid !important;
  grid-template-columns:114px minmax(0,1fr) 32px; align-items:center; gap:12px 8px;
  width:100%; min-width:0; height:auto !important; margin:8px 0; padding:14px;
  border:1px solid #e5e7eb; border-radius:12px; background:#f8f9fb;
  color:#333; font-size:13px; line-height:1.55;
}
#prm-detail #MK_innerOptScroll .MK_inner-opt-cm > li::after { content:none !important; }
#prm-detail #MK_innerOptScroll .MK_p-name {
  grid-column:1 / 3; grid-row:1; display:block; position:static !important; float:none !important;
  width:auto !important; min-width:0; margin:0 !important; padding:0 !important;
  color:#424750; font-size:13px; font-weight:500; line-height:1.65;
  white-space:normal !important; word-break:keep-all; overflow-wrap:anywhere;
}
#prm-detail #MK_innerOptScroll .MK_price {
  grid-column:2 / 4; grid-row:2; justify-self:end; position:static !important; float:none !important;
  width:auto !important; min-width:0; margin:0 !important; padding:0 !important;
  color:#171717; font-size:16px; font-weight:750; line-height:1.5; text-align:right;
  letter-spacing:-.4px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere;
}
#prm-detail #MK_innerOptScroll .MK_btn-del {
  grid-column:3; grid-row:1; align-self:start; display:flex !important;
  position:relative !important; float:none !important; inset:auto !important;
  align-items:center; justify-content:center; width:32px !important; height:32px !important;
  margin:0 !important; padding:0 !important; border:1px solid #e0e4e9; border-radius:8px;
  background:#fff; color:#8a9098;
}
#prm-detail #MK_innerOptScroll .MK_btn-del::before,
#prm-detail #MK_innerOptScroll .MK_btn-del::after {
  content:""; position:absolute; width:12px; height:1.5px; background:currentColor;
  transform:rotate(45deg);
}
#prm-detail #MK_innerOptScroll .MK_btn-del::after { transform:rotate(-45deg); }
#prm-detail #MK_innerOptScroll .MK_btn-del img {
  position:absolute !important; width:1px !important; height:1px !important;
  margin:0 !important; padding:0 !important; clip-path:inset(50%); overflow:hidden;
}
#prm-detail .prm-total { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:15px 0; border-top:1px solid #222; margin-top:12px; }
#prm-detail .prm-total > span { font-size:13px; font-weight:600; }
#prm-detail .prm-total strong { font-size:25px; font-weight:800; letter-spacing:-.7px; font-variant-numeric:tabular-nums; }
#prm-detail .MK_txt-won { margin-left:3px; font-size:13px; }

/* 05. PC와 같은 구매 안내 / 버튼 */
#prm-detail .prm-guide { margin:10px 0 12px; padding:15px; border:1px solid var(--prm-line); border-radius:10px; background:#fafafa; }
#prm-detail .prm-guide h2 { margin-bottom:9px; font-size:13px; font-weight:700; }
#prm-detail .prm-guide h2 small { margin-left:5px; font-size:9px; font-weight:500; color:#999; letter-spacing:1px; }
#prm-detail .prm-guide dl { display:grid; grid-template-columns:58px minmax(0,1fr); gap:8px; margin:5px 0; font-size:11px; }
#prm-detail .prm-guide dt { color:#777; }
#prm-detail .prm-guide dd small { color:#999; }
#prm-detail .prm-guide details { margin-top:9px; padding-top:9px; border-top:1px solid var(--prm-line); font-size:11px; }
#prm-detail summary { cursor:pointer; }
#prm-detail .prm-guide details img { display:block; width:100%; height:auto; margin-top:10px; }
#prm-detail .prm-coupon { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0; padding:12px; border:1px solid var(--prm-line); border-radius:8px; font-size:12px; }
#prm-detail .prm-coupon small { display:block; color:var(--prm-muted); }
#prm-detail .prm-coupon a { flex-shrink:0; padding:10px; border:1px solid #222; border-radius:5px; font-size:11px; }
#prm-detail .prm-primary-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:7px; }
#prm-detail .prm-primary-actions > a { display:flex; align-items:center; justify-content:center; min-height:56px; padding:9px 6px; border-radius:8px; font-size:13px; text-align:center; }
#prm-detail .prm-buy { flex-direction:column; gap:1px; background:#171717; color:#fff; }
#prm-detail .prm-buy small { color:#c9c9c9; font-size:9px; font-weight:500; letter-spacing:1px; }
#prm-detail .prm-kakao { gap:5px; background:#fee500; color:#191919; }
#prm-detail .prm-kakao svg { width:18px; height:18px; flex-shrink:0; fill:currentColor; }
#prm-detail .prm-secondary-actions { display:flex; gap:6px; margin-top:7px; }
#prm-detail .prm-secondary-actions > a { display:flex; flex:1; align-items:center; justify-content:center; min-height:42px; border:1px solid #ddd; border-radius:7px; font-size:12px; }
#prm-detail .prm-soldout { display:flex; align-items:center; justify-content:center; min-height:56px; padding:16px; border:1px solid #e5e7eb; border-radius:10px; background:#f8f9fa; color:#5b626b; font-size:14px; font-weight:600; text-align:center; }
#prm-detail .prm-pay { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:10px; max-width:100%; overflow-x:auto; }

/* 06. 관련상품 / 상세정보 / 매장안내 / 후기 */
#prm-detail .prm-section { padding:24px var(--prm-gutter); border-top:1px solid var(--prm-line); scroll-margin-top:calc(var(--prm-sticky-top) + 58px); }
#prm-detail .prm-section > h2 { margin-bottom:16px; font-size:17px; font-weight:700; letter-spacing:-.4px; }
#prm-detail .prm-related-list { display:grid; grid-auto-flow:column; grid-auto-columns:42%; gap:12px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x proximity; }
#prm-detail .prm-related-list > a { min-width:0; scroll-snap-align:start; font-size:12px; }
#prm-detail .prm-related-list img { width:100%; aspect-ratio:1; object-fit:contain; background:#fff; }
#prm-detail .prm-related-list span { display:block; margin-top:8px; line-height:1.45; }
#prm-detail .prm-related-list strong { display:block; margin-top:5px; font-size:14px; }
#prm-detail .prm-tabs { position:sticky; top:var(--prm-sticky-top); z-index:5; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--prm-line); border-bottom:1px solid var(--prm-line); background:#fff; }
#prm-detail .prm-tabs a { display:flex; align-items:center; justify-content:center; min-height:49px; padding:8px 2px; font-size:12px; font-weight:600; text-align:center; }
#prm-detail .prm-tabs a[aria-current="location"] { box-shadow:inset 0 -2px #171717; }
#prm-detail .prm-description { padding:18px 0; scroll-margin-top:calc(var(--prm-sticky-top) + 58px); }
#prm-detail .prm-detail-banner { display:block; margin:0 auto 18px; height:auto; }
#prm-detail .prm-detail-content { max-width:100%; overflow-x:auto; font-family:var(--prm-font); }
#prm-detail .prm-detail-content :where(div,p,span,font,td,th) { font-family:var(--prm-font) !important; }
#prm-detail .prm-detail-content img { max-width:100% !important; height:auto !important; }
#prm-detail .prm-detail-content :where(div,center,p) { max-width:100% !important; }
#prm-detail .prm-detail-content :where(iframe,video) { max-width:100%; }
#prm-detail .prm-detail-content table { max-width:100%; }
#prm-detail .prm-wide-image { display:block; width:100%; height:auto; }
#prm-detail .prm-disclosure { margin:20px var(--prm-gutter) 0; border:1px solid var(--prm-line); border-radius:8px; }
#prm-detail .prm-disclosure summary { padding:14px; font-size:13px; font-weight:600; }
#prm-detail .prm-product-spec { padding:0 14px 14px; }
#prm-detail .prm-product-spec > div { display:grid; grid-template-columns:minmax(80px,30%) minmax(0,1fr); gap:12px; padding:10px 0; border-top:1px solid var(--prm-line); font-size:12px; }
#prm-detail .prm-product-spec dt { color:#777; }
#prm-detail .prm-board-links { display:flex; flex-wrap:wrap; gap:8px; }
#prm-detail .prm-board-links a { display:flex; align-items:center; justify-content:center; flex:1 1 130px; min-height:44px; border:1px solid var(--prm-line); border-radius:7px; padding:8px; font-size:12px; }
#prm-detail .prm-native-reviews { max-width:100%; overflow-x:auto; margin-bottom:16px; }
@media (min-width:600px) {
  #prm-detail { --prm-gutter:28px; }
  #prm-detail .prm-gallery { max-width:580px; margin:auto; }
  #prm-detail .prm-name { font-size:18px; }
  #prm-detail .prm-related-list { grid-auto-columns:28%; }
}
@media (max-width:359px) {
  #prm-detail { --prm-gutter:14px; }
  #prm-detail .prm-name { font-size:15px; }
  #prm-detail .prm-kakao { gap:3px; font-size:12px; }
  #prm-detail .prm-kakao svg { width:15px; height:15px; }
  #prm-detail .prm-option-button { min-width:59px; padding:10px 12px; }
}
@media (hover:hover) {
  #prm-detail .prm-option-button:hover:not(:disabled):not([aria-pressed="true"]) { border-color:#555; background:#f8f8f8; }
}

/* 예약판매 안내: 모바일에서 문장별로 읽기 편한 카드 */
#prm-detail .prm-guide.prm-preorder-guide {
  margin:14px 0 0; padding:16px; border:1px solid #e5e8ed;
  border-radius:14px; background:#f8f9fb; color:#616873;
  font-family:var(--prm-font); font-size:13px; line-height:1.8; overflow-wrap:anywhere;
}
#prm-detail .prm-preorder-guide h2 {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 10px;
  margin:0 0 13px; padding:0 0 12px; border-bottom:1px solid #e4e7ec;
  color:#20242b; font-size:15px; font-weight:750; line-height:1.5;
}
#prm-detail .prm-preorder-guide h2 span { color:#9299a4; font-size:9px; font-weight:500; letter-spacing:1.25px; }
#prm-detail .prm-preorder-notes p {
  margin:0; padding:0; font-size:12px; line-height:1.85; font-weight:400;
  letter-spacing:-.1px; word-break:keep-all; overflow-wrap:anywhere;
}
#prm-detail .prm-preorder-notes p + p { margin-top:9px; }
#prm-detail .prm-preorder-emphasis { color:#d93232; font-weight:700; }
#prm-detail .prm-preorder-notes p:nth-child(3) {
  margin:12px 0; padding:11px 12px; border:1px solid #f1dddd; border-radius:8px; background:#fff4f3;
}
#prm-detail .prm-preorder-guide .prm-installment { margin-top:14px; padding-top:0; border-top:1px solid #e2e6ec; font-size:12px; }
#prm-detail .prm-preorder-guide .prm-installment summary { min-height:44px; padding:12px 0 0; color:#626b78; font-size:12px; font-weight:500; }
#prm-detail .prm-preorder-guide .prm-installment-content { padding-top:12px; }
#prm-detail .prm-preorder-guide details img { margin-top:0; border-radius:6px; }
@media (max-width:359px) {
  #prm-detail #MK_innerOptScroll .MK_inner-opt-cm > li { padding:12px; gap:10px 6px; }
  #prm-detail #MK_innerOptScroll .MK_p-name { font-size:12px; }
  #prm-detail #MK_innerOptScroll .MK_price { font-size:15px; }
  #prm-detail .prm-guide.prm-preorder-guide { padding:14px; }
}

/* 추가옵션: 해당 선택박스에 붙어서 열리는 맞춤 드롭다운 */
#prm-detail select.prm-extra-native { display:none !important; }
#prm-detail .prm-option-section.prm-extra,
#prm-detail [data-prm-options="extra"] { overflow:visible; }
#prm-detail .prm-extra-dropdown { position:relative; width:100%; min-width:0; z-index:1; }
#prm-detail .prm-extra-dropdown.prm-dropdown-open { z-index:30; }
#prm-detail .prm-extra-trigger {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  width:100%; min-width:0; min-height:46px; padding:11px 14px;
  border:1px solid #dde1e6; border-radius:8px; background:#fff; color:#414750;
  font-family:var(--prm-font); font-size:13px; font-weight:500; line-height:1.6;
  text-align:left; white-space:normal;
}
#prm-detail .prm-extra-trigger span { min-width:0; overflow-wrap:anywhere; }
#prm-detail .prm-extra-trigger::after { content:""; flex:0 0 7px; width:7px; height:7px; margin-right:2px; border-right:1.5px solid #828995; border-bottom:1.5px solid #828995; transform:rotate(45deg) translateY(-2px); }
#prm-detail .prm-dropdown-open .prm-extra-trigger { border-color:#454b55; }
#prm-detail .prm-dropdown-open .prm-extra-trigger::after { transform:rotate(225deg) translate(-2px,-1px); }
#prm-detail .prm-extra-trigger:disabled { background:#f8f9fa; color:#a0a4aa; cursor:not-allowed; }
#prm-detail .prm-extra-menu {
  position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:31;
  width:100%; max-height:260px; margin:0; padding:5px; overflow-y:auto;
  border:1px solid #dfe3e8; border-radius:10px; background:#fff;
  box-shadow:0 8px 24px rgb(22 30 42 / 12%); overscroll-behavior:contain; scrollbar-width:thin;
}
#prm-detail .prm-dropdown-up .prm-extra-menu { top:auto; bottom:calc(100% + 6px); }
#prm-detail .prm-extra-choice {
  display:block; width:100%; min-height:44px; margin:0; padding:11px 12px;
  border:0; border-radius:6px; background:#fff; color:#4d5560;
  font-family:var(--prm-font); font-size:13px; line-height:1.55; font-weight:500;
  text-align:left; white-space:normal; overflow-wrap:anywhere;
}
#prm-detail .prm-extra-choice + .prm-extra-choice { margin-top:2px; }
#prm-detail .prm-extra-choice[aria-selected="true"] { background:#f0f2f5; color:#171717; font-weight:700; }
#prm-detail .prm-extra-choice:disabled { background:#fafafa; color:#a8adb5; cursor:not-allowed; }
#prm-detail .prm-extra-empty { padding:14px 10px; color:#888; font-size:12px; }
@media (hover:hover) { #prm-detail .prm-extra-choice:hover:not(:disabled) { background:#f5f6f8; } }

/* 모바일 압축 간격: 옵션과 하위 선택 항목 */
#prm-detail .prm-options { margin-top:10px; }
#prm-detail .prm-option-section { padding:10px 0 8px; }
#prm-detail .prm-option-section h2 { margin-bottom:7px; font-size:14px; }
#prm-detail .prm-option-row + .prm-option-row { margin-top:8px; }
#prm-detail .prm-option-row dt { margin-bottom:4px; font-size:12px; }
#prm-detail .prm-option-buttons { gap:5px; }
#prm-detail .prm-option-button { min-width:48px; min-height:34px; padding:6px 10px; font-size:12px; line-height:20px; border-radius:5px; }
#prm-detail .prm-complete { min-height:36px; margin-top:7px; }
#prm-detail .prm-extra-trigger { min-height:40px; padding:8px 11px; font-size:12px; }
#prm-detail .prm-extra-choice { min-height:36px; padding:8px 10px; font-size:12px; }
#prm-detail .prm-extra-choice + .prm-extra-choice { margin-top:1px; }
#prm-detail .prm-extra-menu { padding:4px; }
#prm-detail .prm-quantity-row { padding:8px 0; }

/* 선택 결과: 옵션명 / − 수량 + / 금액 / 삭제를 같은 행에 정렬 */
#prm-detail #MK_innerOptScroll .MK_inner-opt-cm > li {
  grid-template-columns:minmax(0,1fr) 80px max-content 24px;
  gap:6px; margin:5px 0; padding:9px; border-radius:9px;
}
#prm-detail #MK_innerOptScroll .MK_p-name { grid-column:1; grid-row:1; font-size:11px; line-height:1.45; word-break:normal; overflow-wrap:anywhere; }
#prm-detail #MK_innerOptScroll .MK_price {
  grid-column:3; grid-row:1; font-size:12px; letter-spacing:-.35px; white-space:nowrap;
}
#prm-detail #MK_innerOptScroll .MK_btn-del {
  grid-column:4; grid-row:1; align-self:center; width:24px !important; height:28px !important;
  border:0; background:transparent;
}
#prm-detail .prm-total { padding:10px 0; margin-top:8px; }
#prm-detail .prm-total strong { font-size:23px; }
/* 매우 좁은 화면에서만 옵션명을 위로 분리해 조작부 잘림을 방지합니다. */
@media (max-width:359px) {
  #prm-detail #MK_innerOptScroll .MK_inner-opt-cm > li { grid-template-columns:80px minmax(0,1fr) 24px; }
  #prm-detail #MK_innerOptScroll .MK_p-name { grid-column:1 / 3; grid-row:1; font-size:11px; }
  #prm-detail #MK_innerOptScroll .MK_price { grid-column:2 / 4; grid-row:2; }
  #prm-detail #MK_innerOptScroll .MK_btn-del { grid-column:3; grid-row:1; }
}

/* 예약판매 안내: 글자 크기는 유지하고 줄·문단 여백만 압축 */
#prm-detail .prm-guide.prm-preorder-guide { margin-top:9px; padding:10px 12px; line-height:1.45; }
#prm-detail .prm-preorder-guide h2 { margin-bottom:5px; padding-bottom:5px; font-size:14px; }
#prm-detail .prm-preorder-notes p { margin:0; font-size:12px; line-height:1.45; }
#prm-detail .prm-preorder-notes p + p { margin-top:2px; }
#prm-detail .prm-preorder-notes p:nth-child(3) { margin:4px 0; padding:5px 8px; }
#prm-detail .prm-preorder-guide .prm-installment { margin-top:5px; }
#prm-detail .prm-preorder-guide .prm-installment summary { min-height:32px; padding-top:5px; }
#prm-detail .prm-preorder-guide .prm-installment-content { padding-top:6px; }

/* 장바구니/관심상품/제품문의 바로 아래: 실제 네이버페이 출력 전용 영역 */
#prm-detail .prm-pay { display:block; clear:both; width:100%; max-width:100%; margin-top:8px; overflow:visible; }
#prm-detail .prm-naverpay { display:flex; justify-content:center; align-items:flex-start; width:100%; max-width:100%; overflow-x:auto; }
#prm-detail .prm-naverpay > * { flex-shrink:0; }
#prm-detail .prm-payco { margin-top:6px; text-align:center; }


/* 수량 표시 최종 규칙: 원본 증감 링크의 기능을 유지하고 − 수량 + 배치 */
html body #prm-detail .prm-qty-fixed {
  display:inline-flex !important; flex-flow:row nowrap !important;
  align-items:center !important; justify-content:center !important;
  width:80px !important; min-width:80px !important; height:32px !important;
  gap:0 !important; padding:0 !important; margin:0 !important;
  box-sizing:border-box !important; border:1px solid #dfe3e8 !important;
  border-radius:5px !important; background:#fff !important; overflow:hidden !important;
  float:none !important; direction:ltr !important;
}
html body #prm-detail .prm-qty-fixed > input:not([type="hidden"]) {
  order:1 !important; flex:0 0 26px !important; width:26px !important; max-width:26px !important;
  min-width:0 !important; height:30px !important; min-height:0 !important;
  position:static !important; float:none !important; margin:0 !important; padding:0 !important;
  border:0 !important; border-radius:0 !important; box-sizing:border-box !important;
  background:#fff !important; color:#222 !important; text-align:center !important;
  font:500 16px/30px var(--prm-font) !important; appearance:textfield;
}
html body #prm-detail .prm-qty-fixed > input::-webkit-inner-spin-button,
html body #prm-detail .prm-qty-fixed > input::-webkit-outer-spin-button { appearance:none; margin:0; }
html body #prm-detail .prm-qty-fixed > :is(.prm-qty-minus,.prm-qty-plus) {
  display:flex !important; align-items:center !important; justify-content:center !important;
  flex:0 0 26px !important; width:26px !important; min-width:0 !important; max-width:26px !important;
  height:30px !important; min-height:0 !important; position:static !important;
  float:none !important; inset:auto !important; margin:0 !important; padding:0 !important;
  border:0 !important; border-radius:0 !important; box-sizing:border-box !important;
  background:#fff !important; color:#333 !important; transform:none !important;
  text-indent:0 !important; font:500 18px/1 var(--prm-font) !important;
  text-decoration:none !important; cursor:pointer; touch-action:manipulation;
}
html body #prm-detail .prm-qty-fixed > .prm-qty-minus { order:0 !important; }
html body #prm-detail .prm-qty-fixed > .prm-qty-plus { order:2 !important; }
html body #prm-detail .prm-qty-fixed > :is(.prm-qty-minus,.prm-qty-plus)::before,
html body #prm-detail .prm-qty-fixed > :is(.prm-qty-minus,.prm-qty-plus)::after { content:none !important; display:none !important; }

/* 매장안내 / 배송·교환 / 후기: 처음에는 제목만 표시 */
#prm-detail details.prm-fold { padding:0 var(--prm-gutter); }
#prm-detail .prm-fold > summary {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:60px; padding:16px 0; cursor:pointer; list-style:none;
  font-family:var(--prm-font); font-size:15px; font-weight:650;
}
#prm-detail .prm-fold > summary::-webkit-details-marker { display:none; }
#prm-detail .prm-fold > summary::after { content:'+'; font-size:22px; font-weight:400; }
#prm-detail .prm-fold[open] > summary::after { content:'−'; }
#prm-detail .prm-fold:not([open]) > .prm-fold-content { display:none !important; }
#prm-detail .prm-fold-content { padding-bottom:24px; }

#prm-detail #MK_innerOptScroll .prm-qty-fixed { grid-column:2; grid-row:1; }
@media (max-width:359px) {
  #prm-detail #MK_innerOptScroll .prm-qty-fixed { grid-column:1; grid-row:2; }
}

/* 상단 분류 경로 및 하단 매장·배송·후기 영역 비노출 */
#prm-detail > .prm-path,
#prm-detail #prm-store,
#prm-detail #prm-policy,
#prm-detail #prm-reviews,
#prm-detail .prm-tabs a[href="#prm-store"],
#prm-detail .prm-tabs a[href="#prm-policy"],
#prm-detail .prm-tabs a[href="#prm-reviews"] {
  display:none !important;
}
#prm-detail .prm-tabs { grid-template-columns:minmax(0,1fr); }


/* 상품분류와 동일한 공통 상단. 준비가 끝난 상세페이지에서만 활성화합니다. */
#prco-detail-source[hidden] { display:none !important; }
html.prco-detail #prm-header,
html.prco-detail #prm-header-space { display:none !important; }
#prco-space {
  display: block; width: 100%; margin: 0; padding: 0; border: 0;
  height: var(--prco-height, calc(102px + env(safe-area-inset-top, 0px)));
}
#prco-head {
  --prco-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --prco-gap: 24px; /* 브랜드 글자 사이 간격 */
  --prco-title-size: 16px;
  position: fixed; z-index: 200; top: 0; right: 0; left: 0;
  width: 100%; min-width: 0; margin: 0;
  padding: env(safe-area-inset-top, 0px) 0 0;
  border: 0; border-bottom: 1px solid #ededed;
  background: #fff; color: #222;
  font: 400 14px/1.4 var(--prco-font);
  text-align: left; -webkit-text-size-adjust: 100%;
}
#prco-head, #prco-head *, #prco-head *::before, #prco-head *::after { box-sizing: border-box; }
#prco-head * { font-family: var(--prco-font) !important; }
#prco-head [hidden] { display: none !important; }
#prco-head a { color: inherit; text-decoration: none; }
#prco-head button {
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: inherit; box-shadow: none;
  font: inherit; text-align: inherit; cursor: pointer; appearance: none;
  -webkit-tap-highlight-color: transparent;
}
#prco-head a:focus-visible, #prco-head button:focus-visible {
  outline: 2px solid #222; outline-offset: -3px;
}
#prco-head svg {
  display: block; width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
/* 뒤로가기 / 제목 드롭다운 / 검색 */
#prco-head .prco-top {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center; width: 100%; max-width: 768px;
  min-height: 56px; margin: 0 auto; padding: 0 8px;
}
#prco-head .prco-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 10px;
}
#prco-head .prco-heading { min-width: 0; margin: 0; padding: 0; font: inherit; }
#prco-head .prco-title {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; width: 100%; min-width: 0; min-height: 44px;
  padding: 0 4px; font-size: var(--prco-title-size) !important; font-weight: 700;
  font-style: normal; line-height: 1.4; letter-spacing: -.4px;
}
#prco-head .prco-title > span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: inherit !important; font-weight: inherit !important;
  line-height: inherit !important; letter-spacing: inherit;
}
#prco-head .prco-title svg { flex: 0 0 8px; width: 8px; height: 8px; fill: currentColor; stroke: none; transition: transform .18s; }
#prco-head .prco-title[aria-expanded="true"] svg { transform: rotate(180deg); }
/* 전체 + 브랜드/하위 분류: 회색 타원 버튼 없이 텍스트만 표시 */
#prco-head .prco-brandrow { display: flex; width: 100%; max-width: 768px; margin: 0 auto; }
#prco-head .prco-rail {
  flex: 1 1 0%; min-width: 0; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scrollbar-width: none;
  scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch;
}
#prco-head .prco-rail::-webkit-scrollbar { display: none; }
#prco-head .prco-track {
  position: relative; display: flex; align-items: stretch;
  gap: var(--prco-gap); width: max-content; min-width: 100%;
  margin: 0; padding: 0 16px;
}
#prco-head .prco-tab {
  position: relative; display: inline-flex; flex: 0 0 auto; align-items: center;
  min-height: 46px; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: #777; font-size: 13px !important; font-weight: 500;
  line-height: 1.4; white-space: nowrap;
}
#prco-head .prco-tab[aria-current="page"] { color: #222; font-weight: 700; }
#prco-head .prco-line {
  position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  margin: 0; background: #222; pointer-events: none;
}
/* 우측 펼침 버튼: 이전 네모 테두리 디자인 복원 / 터치 영역 44px */
#prco-head .prco-expand {
  position: relative; display: flex; flex: 0 0 44px;
  align-items: center; justify-content: center; width: 44px; min-height: 46px;
  background: #fff;
}
#prco-head .prco-expand::before {
  content: ""; position: absolute; inset: 0 100% 0 auto; width: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none;
}
#prco-head .prco-expand > span {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border: 1px solid #e4e4e4; border-radius: 4px; background: #fff;
}
#prco-head .prco-expand svg { width: 16px; height: 16px; transition: transform .18s; }
#prco-head .prco-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
/* 제목 메뉴와 전체 브랜드: 한 번에 하나만 열립니다. */
#prco-head .prco-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 768px;
  max-height: calc(100vh - var(--prco-height, 103px) - 12px);
  max-height: calc(100dvh - var(--prco-height, 103px) - 12px);
  margin: 0; padding: 10px 16px 18px; overflow-y: auto;
  overscroll-behavior-y: contain; border-bottom: 1px solid #ededed;
  background: #fff; box-shadow: 0 8px 14px rgba(0,0,0,.06);
}
#prco-head .prco-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; }
#prco-head .prco-grid a {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 9px 2px; border: 0; border-radius: 0;
  background: transparent; color: #555; font-size: 13px; font-weight: 500;
  text-align: center; word-break: keep-all; overflow-wrap: anywhere;
}
#prco-head .prco-grid a[aria-current="page"] {
  color: #222; font-weight: 750; text-decoration: underline; text-underline-offset: 5px;
}
#prco-head .prco-message { margin: 10px 0 0; padding: 0; color: #777; font-size: 12px; line-height: 1.6; }
#prco-head .prco-message:empty { display: none; }
@media (max-width: 359px) {
  #prco-head { --prco-title-size: 15px; }
  #prco-head .prco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  #prco-head .prco-title svg, #prco-head .prco-expand svg { transition: none; }
}

/* ======================================================
   공통 v5: 네모 화살표 / 브랜드 세로 2열 / 상품 설명 격리 유지
   상품명·상품 링크·가격·품절 및 숨김 상태는 변경하지 않습니다.
   ====================================================== */

/* 1. 브랜드/하위 분류 펼침: 한 줄 2개씩 아래로 이어지는 목록 */
#prco-head #prco-categories .prco-grid a {
  min-width: 0;
  font-size: 13px !important;
  line-height: 1.45 !important;
  letter-spacing: -.2px;
}
#prco-head #prco-brands.prco-panel {
  width: 100%;
  min-width: 0;
  max-width: 768px;
  height: auto;
  max-height: min(62vh, calc(100vh - var(--prco-height, 103px) - 12px));
  max-height: min(62dvh, calc(100dvh - var(--prco-height, 103px) - 12px));
  margin: 0;
  padding: 8px 16px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border: 0;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #e9e9e9;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .035);
  -webkit-overflow-scrolling: touch;
}
#prco-head #prco-brands > .prco-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-flow: row;
  grid-auto-rows: minmax(44px, auto);
  grid-auto-columns: auto;
  align-content: start;
  align-items: stretch;
  gap: 0 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}
#prco-head #prco-brands > .prco-grid a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  float: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #666;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.45 !important;
  letter-spacing: -.2px;
  text-align: left;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  scroll-snap-align: none;
}
#prco-head #prco-brands > .prco-grid a[aria-current="page"] {
  color: #222;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}
#prco-head .prco-expand svg {
  width: 16px;
  height: 16px;
  color: #222;
}

#prco-head .prco-track::before,
#prco-head .prco-track::after,
#prco-head .prco-grid::before,
#prco-head .prco-grid::after { content: none !important; display: none !important; }
#prco-head .prco-grid { min-width: 0; }
#prco-head .prco-grid > a { min-width: 0; max-width: 100%; }
#prco-head .prco-tab { font-style: normal; }

html.prco-detail #prco-head {
  transform:none !important;
  translate:none !important;
  animation:none !important;
  opacity:1;
}

div.C-5864-3-3223 { 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 ; }

div.C-5864-3-3234 { margin:0px 0px 20px 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 */

