/* 시안 A+B(2026-11-24): 상품 화면 구매 영역 + 휴대폰 '옵션 선택' 시트.
   claude-look-v1.js 가 ?look=glass(쿠키 하루)일 때만 <html class="look-glass"> 와 이 파일을 붙인다. 모든 규칙은 html.look-glass 아래에만 있다.
   B: 사진 위에 떠 있는 반투명 유리 판(흰 60%대 + blur·saturate, 1px 반투명 흰 테두리, 크고 부드러운 그림자, 20px 모서리).
   A: 따뜻한 베이지·로즈 톤, 얇은 선, 여백, 상품명·가격은 Noto Serif KR.
   글자 대비: 본문 #231c19, 보조 #3f332e — 유리 판(흰 62% 이상)이 가장 어두운 사진 위에 있어도 4.5:1 이상.
   backdrop-filter 가 없거나 '투명도 줄이기'를 켠 브라우저는 불투명한 따뜻한 흰 판. */
html.look-glass{
 --lg-ink:#231c19;--lg-sub:#3f332e;--lg-line:rgba(96,64,52,.14);--lg-line-strong:rgba(96,64,52,.26);
 --lg-green:var(--c-green,#314c3b);--lg-green-hover:#253d2d;--lg-rose:#b0646c;
 --lg-glass:linear-gradient(150deg,rgba(255,252,249,.66) 0%,rgba(251,242,238,.6) 100%);
 --lg-glass-strong:linear-gradient(150deg,rgba(255,252,249,.84) 0%,rgba(251,243,239,.78) 100%);
 --lg-solid:#fdf8f5;
 --lg-blur:blur(24px) saturate(165%);
 --lg-edge:1px solid rgba(255,255,255,.62);
 --lg-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 28px 60px -34px rgba(74,44,34,.42),0 10px 24px -20px rgba(74,44,34,.28);
 --lg-radius:20px;
 --lg-serif:'Noto Serif KR','Nanum Myeongjo',serif;
 --lg-ease:cubic-bezier(.22,1,.36,1);
}

/* ── 판(카드) ─────────────────────────────── */
html.look-glass .c-stack{gap:12px}
html.look-glass .c-stack>.c-card{
 border-radius:var(--lg-radius);border:var(--lg-edge);box-shadow:var(--lg-shadow);color:var(--lg-ink);
 backdrop-filter:var(--lg-blur);-webkit-backdrop-filter:var(--lg-blur)}
html.look-glass .c-stack>.c-card:not(.c-promotion){background:var(--lg-glass)}
html.look-glass .c-product{padding:22px 24px 20px}
html.look-glass .c-options{padding:20px 24px 20px}
html.look-glass .c-more{padding:0 24px}

/* 상품명·가격: 단정한 세리프 */
html.look-glass .c-title-slot h1{font-family:var(--lg-serif)!important;font-weight:500!important;letter-spacing:-.02em!important;color:var(--lg-ink)!important;line-height:1.5!important}
html.look-glass .c-title-slot .price{font-family:var(--lg-serif)!important;font-weight:600!important;letter-spacing:-.01em!important;color:var(--lg-ink)!important}
html.look-glass .c-code,html.look-glass .c-price-meta span,html.look-glass .c-discount-breakdown p,html.look-glass .c-discount-breakdown span{color:var(--lg-sub)!important}
html.look-glass .c-benefit{border-top-color:var(--lg-line)!important}
html.look-glass .c-benefit-toggle{color:var(--lg-sub)!important}

/* ── 옵션: 색상 원 = 얇은 링, 사이즈 = 둥근 알약 ── */
html.look-glass .c-options-head{margin-bottom:14px}
html.look-glass .c-options .product-choice-label,html.look-glass .c-size-slot .size-heading{color:var(--lg-sub)!important}
html.look-glass .c-options .product-choice-label [data-colour-label],html.look-glass .c-size-slot .size-heading b{color:var(--lg-ink)!important;font-weight:600}
html.look-glass .c-guide-slot [data-size-guide]{color:var(--lg-ink)!important;border-radius:999px!important;padding:4px 10px!important;border:1px solid var(--lg-line)!important;background:rgba(255,255,255,.5)!important}
html.look-glass .c-swatch-slot .product-swatches{gap:10px!important}
html.look-glass .c-swatch-slot .swatch{width:34px!important;height:34px!important}
html.look-glass .c-swatch-slot .swatch:before{inset:5px!important;border:1px solid rgba(0,0,0,.1)!important}
html.look-glass .c-swatch-slot .swatch.active:after{inset:0!important;border:1px solid var(--lg-ink)!important}
html.look-glass .c-swatch-slot .swatch:hover:not(.active):after{content:''!important;display:block!important;position:absolute!important;inset:0!important;border-radius:50%!important;border:1px solid var(--lg-line-strong)!important}
html.look-glass .c-swatch-slot .variant-availability{color:var(--lg-sub)!important;font-size:11px!important;margin-top:8px!important}
html.look-glass .c-size-slot .size-heading{margin-top:16px}
html.look-glass .c-size-slot .size-options{gap:8px!important;margin-top:8px!important}
html.look-glass .c-size-slot .size-options button{
 height:40px!important;min-width:56px!important;padding:0 16px!important;border-radius:999px!important;
 border:1px solid var(--lg-line-strong)!important;background:rgba(255,255,255,.55)!important;color:var(--lg-ink)!important;
 font:500 13px/1 Pretendard,sans-serif!important;transition:background-color 180ms var(--lg-ease),border-color 180ms var(--lg-ease),color 180ms var(--lg-ease)!important}
@media (hover:hover){html.look-glass .c-size-slot .size-options button:hover:not(:disabled):not(.active):not([aria-pressed=true]){background:rgba(255,255,255,.9)!important;border-color:rgba(96,64,52,.42)!important}}
html.look-glass .c-size-slot .size-options button.active,
html.look-glass .c-size-slot .size-options button[aria-pressed=true]{background:var(--lg-green)!important;border-color:var(--lg-green)!important;color:#fff!important;font-weight:600!important}
html.look-glass .c-size-slot .size-options button:disabled{background:rgba(255,255,255,.25)!important;border-color:rgba(96,64,52,.1)!important;color:#9a8e88!important;text-decoration:line-through!important;opacity:.75}
html.look-glass .c-size-slot .size-error{color:#9b3b2a!important}

/* ── 버튼: [구매하기] 초록 알약 / [선물하기][장바구니 담기][♡] 유리 알약 ── */
html.look-glass .c-actions{grid-template-columns:auto minmax(0,1fr) 48px;gap:8px}
html.look-glass .c-actions>.bf-quick,html.look-glass .c-actions .live-primary{grid-column:1/-1}
html.look-glass .c-actions :is(.live-primary,.primary-button,.c-gift){height:48px!important;min-height:48px!important;border-radius:999px!important;font:500 14px/1.3 Pretendard,sans-serif!important;letter-spacing:-.02em!important}
html.look-glass .c-actions .live-primary{background:var(--lg-green)!important;border:1px solid var(--lg-green)!important;color:#fff!important;font-weight:600!important;box-shadow:0 14px 28px -18px rgba(37,61,45,.7)!important}
html.look-glass .c-actions .live-primary:hover{background:var(--lg-green-hover)!important}
html.look-glass .c-actions :is(.primary-button,.c-gift){
 background:var(--lg-glass-strong)!important;border:1px solid var(--lg-line-strong)!important;color:var(--lg-ink)!important;
 backdrop-filter:var(--lg-blur)!important;-webkit-backdrop-filter:var(--lg-blur)!important;box-shadow:0 1px 0 rgba(255,255,255,.8) inset!important;padding:0 18px!important}
html.look-glass .c-actions :is(.primary-button,.c-gift):hover{background:rgba(255,255,255,.95)!important;border-color:rgba(96,64,52,.4)!important}
html.look-glass .c-actions .primary-button{overflow:hidden;text-overflow:ellipsis}
/* [찜] → 작은 원형 하트(같은 버튼, 줄 끝) */
html.look-glass .c-wish-row:not(:has(.c-wish)){display:none}
html.look-glass .c-actions .c-wish{order:4;width:48px;height:48px;min-height:48px;padding:0;border-radius:50%;border:1px solid var(--lg-line-strong);background:var(--lg-glass-strong);color:var(--lg-ink);backdrop-filter:var(--lg-blur);-webkit-backdrop-filter:var(--lg-blur)}
html.look-glass .c-actions .c-wish>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.look-glass .c-actions .c-wish .c-wish-mark{width:19px;height:19px;stroke-width:1.5}
html.look-glass .c-actions .c-wish:hover{background:rgba(255,255,255,.95)}
html.look-glass .c-actions .c-wish[aria-pressed=true]{border-color:rgba(176,100,108,.45);background:#fbf0f0}
html.look-glass .c-actions .c-wish[aria-pressed=true] .c-wish-mark{fill:var(--lg-rose);stroke:var(--lg-rose)}

/* 카카오페이·N pay: 같은 높이(48) · 같은 알약 모서리 */
html.look-glass .c-pay-wallets,html.look-glass .c-pay-wallets:has(>.mz-npay[data-npay-mounted]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html.look-glass .c-pay-wallets>[hidden]{display:none!important}
html.look-glass .c-pay-wallets :is(.c-kakaopay,.c-naverpay){min-height:48px;height:48px;border-radius:999px}
html.look-glass .c-pay-wallets>.mz-npay{display:flex;flex-direction:column;align-self:stretch;min-height:48px;min-width:0;width:auto;max-width:none;margin:0}
html.look-glass .c-pay-wallets>.mz-npay .npay_button_sdk_wrapper{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;padding:0!important;margin:0!important;min-width:0!important;max-width:none!important;width:100%!important;height:100%!important}
html.look-glass .c-pay-wallets>.mz-npay .npay_button_sdk_wrapper :is(.npay_button_area,.npay_main_cell){display:flex!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:0!important;border-radius:999px!important}
html.look-glass .c-pay-wallets>.mz-npay .npay_button_sdk_wrapper .npay_link_order{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;box-sizing:border-box!important;width:100%!important;min-height:48px!important;height:48px!important;margin:0!important;padding:0 10px!important;border-radius:999px!important;overflow:hidden!important;white-space:nowrap!important}

/* 포커스 */
html.look-glass :is(.c-actions,.c-pay-wallets) :is(button,a):focus-visible,
html.look-glass .c-options button:focus-visible,html.look-glass .c-sheet-close:focus-visible{outline:2px solid var(--lg-green)!important;outline-offset:3px!important}

/* 가입 안내·배송·교환·제품 정보 */
html.look-glass .c-member-join-slot .live-help{color:var(--lg-sub)!important}
html.look-glass .c-more>details>summary{min-height:50px;color:var(--lg-ink);font-weight:500}
html.look-glass .c-more .accordion,html.look-glass .c-more .pdp-support-links{border-color:var(--lg-line)!important}
html.look-glass .c-more :is(.shipping-note,.accordion p){color:var(--lg-sub)!important}

/* ── 휴대폰 '옵션 선택' 시트: 같은 유리, 위쪽 손잡이, 버튼 배치 같음 ── */
html.look-glass .c-sheet-scrim{background:rgba(48,32,26,.26)}
html.look-glass .c-sheet-panel{
 background:var(--lg-glass-strong);border:var(--lg-edge);border-bottom:0;border-radius:24px 24px 0 0;
 backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%);
 box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 -24px 60px -30px rgba(74,44,34,.45);padding:10px 18px max(18px,env(safe-area-inset-bottom))}
html.look-glass .c-sheet-grip{width:44px;height:5px;border-radius:5px;background:rgba(80,56,46,.28);margin:2px auto 14px}
html.look-glass .c-sheet-head small{color:var(--lg-sub)}
html.look-glass .c-sheet-head b{font-family:var(--lg-serif);font-weight:500;color:var(--lg-ink)}
html.look-glass .c-sheet-close{border-color:var(--lg-line-strong);background:rgba(255,255,255,.6);color:var(--lg-ink)}
html.look-glass .c-sheet .c-options{padding:14px 6px 18px;border-top:1px solid var(--lg-line);border-radius:0}
html.look-glass .c-sheet .c-actions{margin:0 -18px;padding:14px 18px 4px;background:linear-gradient(to top,rgba(251,244,241,.72),rgba(251,244,241,0))}
html.look-glass .c-sheet .c-pay-wallets{margin-top:8px}

/* ── 유리 효과가 안 되거나 '투명도 줄이기': 불투명한 따뜻한 흰 판 ── */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 html.look-glass{--lg-glass:var(--lg-solid);--lg-glass-strong:var(--lg-solid)}
}
@media (prefers-reduced-transparency:reduce){
 html.look-glass{--lg-glass:var(--lg-solid);--lg-glass-strong:var(--lg-solid)}
}
@media (max-width:767px){
 html.look-glass .c-product{padding:20px 18px 18px}
 html.look-glass .c-options{padding:18px 18px}
 html.look-glass .c-more{padding:0 18px}
 html.look-glass .c-size-slot .size-options button{min-width:52px!important;padding:0 14px!important}
 html.look-glass .c-actions :is(.primary-button,.c-gift){padding:0 14px!important}
}
@media (max-width:374px){
 html.look-glass .c-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px}
}
@media (max-width:360px){
 html.look-glass .c-pay-wallets,html.look-glass .c-pay-wallets:has(>.mz-npay[data-npay-mounted]:not([hidden])){grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
 html.look-glass .c-size-slot .size-options button{transition:none!important}
}
