/* 쇼핑 탭(/shop) — 대문방 11-19, 회장님 「시안대로 제작」. 머리말·꼬리말은 pages.css, 여기는 본문만 */
.shop{padding:clamp(40px,6vw,80px) var(--gut) clamp(64px,8vw,112px);background:var(--night,#0b0b0c)}
.shop-head{max-width:1280px;margin:0 auto clamp(28px,4vw,48px)}
.shop-head h1{margin:10px 0 0;font-size:clamp(40px,5.6vw,84px);line-height:1.08;color:#fff}
.shop-head .lead{max-width:34em;font:400 17px/1.8 var(--sans);letter-spacing:0;color:#cfd0d3}
.shop-issue-nav{display:flex;align-items:stretch;gap:8px;margin:28px 0 14px}
.shop-tabs{display:flex;flex:1 1 auto;min-width:0;gap:8px}
.shop-tabs button,.shop-tabs span{flex:1 1 0;min-width:0;min-height:48px;padding:0 10px;border:1px solid #ffffff38;border-radius:10px;background:none;color:#e9e9e9;font:600 15px/1.2 var(--sans);cursor:pointer;word-break:keep-all}
.shop-tabs button[aria-pressed="true"]{background:#f2f2f0;border-color:#f2f2f0;color:#0b0b0c}
.shop-tabs button:focus-visible,.shop-chips button:focus-visible,.shop-card .btns a:focus-visible{outline:2px solid #ead7ae;outline-offset:2px}
.shop-tabs span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.15;border-style:dashed;color:#8b8e94;cursor:default}
.shop-tabs small{font-weight:500;opacity:.7}
.shop-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.shop-chips button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid #ffffff33;border-radius:20px;background:none;color:#e9e9e9;font:500 14px/1 var(--sans);cursor:pointer}
.shop-chips button[aria-pressed="true"]{border-color:#fff;background:#ffffff1a;color:#fff}
.shop-chips i,.shop-card h3 i,.ssheet h4 i{flex:none;display:inline-block;width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff40}
.shop-chips small{color:#9a9da2;font-variant-numeric:tabular-nums}
.shop-disc{margin:0 0 6px;font-size:13.5px;line-height:1.6;color:#b9bbbf;word-break:keep-all}
.shop-note{margin:10px 0 0;max-width:46em;font-size:13.5px;line-height:1.7;color:#9a9da2;word-break:keep-all}
.shop-issue{max-width:1280px;margin:0 auto}
.shop-issue>h2{margin:0;padding:28px 0 4px;border-top:1px solid #ffffff2a;font:900 clamp(24px,2.6vw,34px)/1.2 var(--serif);letter-spacing:-.03em;color:#fff}
.shop-issue>h2 small{display:block;margin-top:6px;font:500 14px/1.4 var(--sans);letter-spacing:0;color:#9a9da2}
.shop-look{padding:24px 0 8px;scroll-margin-top:72px}
.shop-look__h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 0 14px}
.shop-look__h a{font:700 17px/1.35 var(--sans);color:#fff;text-decoration:none;border-bottom:1px solid #ffffff55}
.shop-look__h span{font:500 13.5px/1.4 var(--sans);color:#9a9da2;font-variant-numeric:tabular-nums}
.shop-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px 16px}
.shop-card__img{position:relative;aspect-ratio:1;overflow:hidden;border-radius:8px;background:#151517}
.shop-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.shop-card__img span{position:absolute;left:8px;top:8px;padding:4px 8px;border-radius:4px;background:rgba(11,11,12,.78);font:600 12px/1 var(--sans);color:#fff}
.shop-card h3{display:flex;align-items:center;gap:8px;margin:10px 0 2px;font:700 15px/1.35 var(--sans);color:#fff;word-break:keep-all}
.shop-card p{margin:0 0 8px;font-size:12.5px;line-height:1.5;color:#9a9da2;font-variant-numeric:tabular-nums}
.btns{display:flex;gap:6px}
.btns a{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:3px;min-height:40px;padding:0 4px;border:1px solid #ffffff66;border-radius:8px;font:600 13px/1 var(--sans);color:#ececec;text-decoration:none;white-space:nowrap}
.btns a:hover{background:#fff;color:#0b0b0c;border-color:#fff}
.shops__soon{margin:0;min-height:38px;display:flex;align-items:center;font-size:12.5px;color:#9a9da2}
.shop-card__meta,.rwc__meta{margin:8px 0 0;font-size:12px;line-height:1.5;color:#a4a7ad;word-break:keep-all;overflow-wrap:anywhere}
.shop-card__meta+.shop-card__meta,.rwc__meta+.rwc__meta{margin-top:6px;padding-top:6px;border-top:1px dashed #ffffff1a}
.shop-card__meta .meta__store,.rwc__meta .meta__store{display:inline-block;margin:0 5px 0 0;padding:1px 6px;border-radius:3px;background:#ffffff14;color:#d6d8dc;font-size:10.5px;font-weight:700;letter-spacing:.02em}
.shop-card__meta strong,.rwc__meta strong{color:#ececec;font-weight:600}
.shop-card__meta em,.rwc__meta em{display:inline-block;margin:0 4px 0 2px;padding:1px 6px;border:1px solid #ffffff38;border-radius:3px;font-style:normal;font-size:11px;color:#e7e9ee}
.shop-card__meta span:not(.meta__store),.rwc__meta span:not(.meta__store){display:block;margin-top:2px}
.shop-empty{max-width:1280px;margin:24px auto 0;padding:20px;border:1px dashed #ffffff33;border-radius:10px;color:#b9bbbf;font-size:15px}
.shop-more{max-width:1280px;margin:32px auto 0;display:flex;flex-wrap:wrap;gap:10px 24px}
.shop-more a{font:700 14.5px/1 var(--sans);color:#fff;text-decoration:none;border-bottom:1.5px solid currentColor;padding-bottom:4px}

.shop-extra__jump{display:flex;flex:none;margin:0 0 0 auto}
.shop-extra__jump a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;border:1px solid #d6bc9770;border-radius:10px;color:#ead7ae;font:600 15px/1.2 var(--sans);text-decoration:none;white-space:nowrap}
.shop-extra__jump a:hover{border-color:#ead7ae}
.shop-extra{max-width:1280px;margin:48px auto 0;padding-top:32px;border-top:1px solid #ffffff2a;scroll-margin-top:80px}
.shop-extra h2{margin:0;color:#fff;font:600 clamp(28px,4vw,44px)/1.2 var(--serif)}
.shop-extra__intro{margin:12px 0 20px;color:#cfd0d3;font:500 15px/1.7 var(--sans)}
.shop-extra__looks{margin:24px 0 0;max-width:760px}
.shop-extra__looks figcaption{margin:0 0 8px;color:#b9bbbf;font:500 13px/1.5 var(--sans)}
.shop-extra__looks>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shop-extra__looks img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#151517}
.shop-extra__filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.shop-extra__filters button,.shop-extra__more,.shop-extra__buy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid #ffffff42;border-radius:8px;background:transparent;color:#eee;font:600 14px/1.3 var(--sans);text-decoration:none;cursor:pointer}
.shop-extra__filters button[aria-pressed=true]{background:#f2f2f0;border-color:#f2f2f0;color:#0b0b0c}
.shop-extra button:focus-visible,.shop-extra a:focus-visible,.shop-extra__jump a:focus-visible{outline:2px solid #ead7ae;outline-offset:2px}
.shop-extra__search{display:grid;grid-template-columns:minmax(0,300px) minmax(0,140px);gap:8px;margin:0 0 12px}
.shop-extra__search label{display:grid;gap:4px;min-width:0;color:#cfd0d3;font:500 13px/1.4 var(--sans)}
.shop-extra__search input,.shop-extra__search select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:0 8px;border:1px solid #ffffff42;border-radius:8px;background:#151517;color:#f2f2f0;font:500 16px var(--sans);color-scheme:dark}
.shop-extra__search :focus-visible{outline:2px solid #ead7ae;outline-offset:2px}
.shop-extra__terms{margin:0 0 16px}
.shop-extra__empty,.shop-extra__photo-note{margin:0 0 12px;color:#c0c2c6;font:500 13px/1.5 var(--sans)}
.shop-extra__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.shop-extra__grid li{display:flex;flex-direction:column;border:1px solid #ffffff24;border-radius:8px;overflow:hidden;background:#151517}
.shop-extra__photo{box-sizing:border-box;aspect-ratio:1;padding:8px;background:#e7e1d8}
.shop-extra__photo img{display:block;width:100%;height:100%;object-fit:contain}
.shop-extra__banner{display:grid;justify-items:center;padding:8px;background:#e7e1d8}
.shop-extra__banner iframe{display:block;max-width:100%;border:0;background:#fff}
.shop-extra__grid .shop-extra__photo-note{margin:12px 12px 0}
.shop-extra__kinds{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:4px}
.shop-extra__new{color:#ede4d3;font:600 12px/1.4 var(--sans)}
.shop-extra__copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:8px;padding:16px}
.shop-extra__copy h3{margin:0;color:#fff;font:600 17px/1.35 var(--sans);overflow-wrap:anywhere}
.shop-extra__copy p{margin:0;color:#c0c2c6;font:500 13px/1.55 var(--sans);overflow-wrap:anywhere}
.shop-extra__copy .shop-extra__kind{color:#d6bc97}
.shop-extra__copy .shop-extra__date{color:#aeb0b5;font-size:12px}
.shop-extra__buy{gap:8px;margin-top:auto}
.shop-extra__buy:hover,.shop-extra__more:hover{border-color:#ead7ae}
.shop-extra__more{margin-top:16px}
.shop-extra [hidden]{display:none}
@media (max-width:760px){
  .shop-extra__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .shop-extra__copy{padding:12px}
}
@media (max-width:350px){.shop-extra__grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:620px){
  .shop{padding-top:28px}
  .shop-head .lead{font-size:15px;line-height:1.7;margin:12px 0 0}
  .shop-issue-nav{margin:20px 0 12px}
  /* 폰: 색 칩 열두 개가 다섯 줄로 쌓여 첫 옷이 두 화면 아래로 밀리던 것 → 한 줄 가로 넘김 */
  .shop-chips{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1 * var(--gut)) 14px;padding:0 var(--gut) 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .shop-chips::-webkit-scrollbar{display:none}
  .shop-chips button{flex:none}
  .shop-disc,.shop-note{font-size:12.5px}
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}
  .shop-tabs button,.shop-tabs span{font-size:14px;padding:0 6px}
  /* 아직 안 나온 호 칸: 「12월 / 공개」로 끊기던 것 → 호 이름 아래 한 줄로 */
  .shop-tabs span{flex-direction:column;gap:2px;line-height:1.15}
  .shop-tabs span small{font-size:11.5px;white-space:nowrap}
  .btns{gap:4px}
  .btns a{font-size:12px;min-height:38px;padding:0 2px}
  .btns a b{display:none}
}
@media (max-width:420px){
  .shop-issue-nav,.shop-tabs{gap:6px}
  .shop-tabs button,.shop-tabs span,.shop-extra__jump a{font-size:13px;padding:0 4px}
  .shop-tabs button[data-tab="all"]{flex-grow:.5}
  .shop-tabs button small{display:block}
  .shop-tabs span small{font-size:11px;white-space:normal;text-align:center}
  .shop-extra__jump a{padding:0 8px}
}
@media (max-width:350px){.shop-tabs button,.shop-tabs span{padding-inline:2px}}
/* ── 모델 줄(11-19 밤 회장님 「그달 모델들을 쭉 나열하고 입은 모습에서 고르게」) — PC는 4명씩 두 줄, 폰은 옆으로 넘김 ── */
.rw{max-width:1280px;margin:0 auto}
.rw-h{margin:0 0 12px;font:600 13px/1.3 var(--sans);letter-spacing:.04em;color:#c9a46a}
.rw-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 16px}
.rw-m{margin:0;min-width:0}
.rw-ph{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:8px;background:#151517}
.rw-ph img{display:block;width:100%;height:100%;object-fit:cover}
.rw-dot{position:absolute;width:34px;height:34px;margin:-17px 0 0 -17px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.42);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55);cursor:pointer;-webkit-tap-highlight-color:transparent}
.rw-dot::before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px rgba(0,0,0,.45)}
.rw-dot[aria-expanded=true]{background:rgba(0,0,0,.66);box-shadow:inset 0 0 0 2px #fff}
.rw-dot[aria-expanded=true]::before{background:#ead7ae}
.rw-dot:focus-visible{outline:2px solid #fff;outline-offset:3px}
.rw-dot__name,.rw-dot__part,.rw-buy{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rw-buy[hidden]{display:none}
.rw-m figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:10px}
.rw-m figcaption a{min-width:0;font:500 14.5px/1.4 var(--sans);color:#e9e9e9;text-decoration:none;word-break:keep-all}
.rw-m figcaption b{font-weight:700;color:#fff;margin-right:4px}
.rw-m figcaption small{flex:none;font-size:12.5px;color:#9a9da2;font-variant-numeric:tabular-nums}
.rw-swipe{display:none}
.rw-disc{max-width:1280px;margin:18px auto 0}
.shop-only{max-width:1280px;margin:clamp(40px,6vw,72px) auto 0;padding-top:28px;border-top:1px solid #ffffff2a}
.shop-only>h2{margin:0 0 16px;font:900 clamp(26px,2.8vw,36px)/1.2 var(--serif);letter-spacing:-.03em;color:#fff}
.shop-only>h2 small{display:block;margin-top:6px;font:500 14px/1.4 var(--sans);letter-spacing:0;color:#9a9da2}
.shop-only .shop-note{margin:0 0 4px}
/* 클로즈업 카드: 폰은 아래에서 올라오는 판, PC는 오른쪽 아래 떠 있는 판 */
.rwc{position:fixed;z-index:95;right:24px;bottom:24px;width:380px;max-height:calc(100vh - 48px);overflow:auto;padding:14px;background:#161618;border:1px solid #ffffff2e;border-radius:14px;color:#ececec;font-family:var(--sans,system-ui),sans-serif;box-shadow:0 16px 48px rgba(0,0,0,.5)}
.rwc[hidden]{display:none}
.rwc__x{position:absolute;right:8px;top:8px;width:36px;height:36px;border:0;border-radius:50%;background:#ffffff14;color:#fff;font-size:19px;line-height:36px;cursor:pointer}
.rwc__top{display:flex;gap:12px;align-items:flex-start;padding-right:36px}
.rwc__img{flex:none;width:120px;height:120px;object-fit:cover;border-radius:9px;background:#000}
.rwc__top>div{min-width:0}
.rwc__part{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 0;font:600 12px/1.3 var(--sans);letter-spacing:.04em;color:#c9a46a}
.rwc__name{margin:4px 0 0;font:700 17px/1.35 var(--sans);color:#fff;word-break:keep-all}
.rwc__sim{margin:6px 0 0;font-size:12.5px;line-height:1.5;color:#b9bbbf;word-break:keep-all}
.rwc .btns{margin-top:12px;gap:8px}
.rwc .btns a{min-height:46px;font-size:14px;border-radius:10px}
.rwc__disc{margin:8px 0 0;font-size:11px;line-height:1.45;color:#8b8e94;word-break:keep-all}
.rwc__disc+.rwc__disc{margin-top:4px}
.rwc__nav{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.rwc__nav button{border:0;background:none;padding:10px 2px;color:#c9ccd1;font:500 13px/1 var(--sans);cursor:pointer}
.rwc__nav span{font-size:12px;color:#8b8e94;font-variant-numeric:tabular-nums}
.rwc__look{display:inline-block;margin-top:2px;font:600 13px/1.4 var(--sans);color:#fff}
.rwc button:focus-visible,.rwc a:focus-visible{outline:2px solid #ead7ae;outline-offset:2px}
@media (max-width:980px){.rw-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:620px){
  .shop-head{margin-bottom:16px}
  .shop-head h1{font-size:clamp(30px,8.6vw,38px);line-height:1.2}
  /* 폰: 모델을 옆으로 넘김. 다음 모델이 조금 보여 넘길 수 있다는 걸 알린다 */
  .rw-row{display:flex;gap:10px;overflow-x:auto;margin:0 calc(-1 * var(--gut));padding:0 var(--gut);scroll-snap-type:x mandatory;scroll-padding:0 var(--gut);scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .rw-row::-webkit-scrollbar{display:none}
  .rw-m{flex:none;width:74%;scroll-snap-align:start}
  .rw-swipe{display:block;max-width:1280px;margin:10px auto 0;font-size:13px;color:#9a9da2}
  .rw-disc .shop-disc{font-size:12px}
  .rwc{left:0;right:0;bottom:0;width:auto;max-height:78svh;border-radius:16px 16px 0 0;border-width:1px 0 0;padding:14px var(--gut) calc(10px + env(safe-area-inset-bottom))}
  .rwc__img{width:104px;height:104px}
}
/* PC: 모델 줄이 첫 화면에 들게 머리말을 한 줄로 줄임 */
@media (min-width:621px){
  .shop{padding-top:clamp(32px,4vw,56px)}
  .shop-head{margin-bottom:24px}
  .shop-head h1{font-size:clamp(36px,3.8vw,56px)}
  .shop-head h1 br{display:none}
  .shop-head .lead{margin:10px 0 0}
  .shop-issue-nav{margin:22px 0 0}
  .shop-tabs{max-width:680px}
}
