/* 시술 담기 → 상담 신청  */
.cart-add { flex: 0 0 auto; display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 10px; padding: 0; border: 1px solid rgba(192,124,136,.45); border-radius: 50%; background: rgba(22,18,20,.6); color: #e8d0d4; font: inherit; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.cart-add svg { width: 16px; height: 16px; }
.cart-add .cart-icon-check { display: none; }
.cart-add[aria-pressed="true"] { border-color: #a7e3c4; background: #a7e3c4; color: #14201a; }
.cart-add[aria-pressed="true"] .cart-icon-plus { display: none; }
.cart-add[aria-pressed="true"] .cart-icon-check { display: block; }
.cart-add:focus-visible { outline: 2px solid #e8d0d4; outline-offset: 3px; }
.black-menu-list li .black-menu-price { margin-left: auto; }
.secret-ticket-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.secret-ticket .cart-add, .compact-product .cart-add { display: inline-flex; align-items: center; gap: 6px; grid-column: 1/-1; align-self: flex-end; justify-self: end; width: auto; height: 32px; margin: 10px 0 0; padding: 0 13px; border-radius: 999px; font-size: 13px; }
.secret-ticket .cart-add::after, .compact-product .cart-add::after { content: attr(data-label); }
.secret-ticket .cart-add svg, .compact-product .cart-add svg { width: 14px; height: 14px; }

.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); border-top: 1px solid rgba(192,124,136,.4); background: rgba(21,17,19,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cart-bar[hidden] { display: none; }
.cart-bar-info { min-width: 0; padding: 0; border: 0; background: none; color: #f3dbe1; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.03em; text-align: left; cursor: pointer; }
.cart-bar-info b { color: #a7e3c4; font-weight: 800; }
.cart-bar-info small { display: block; margin-top: 2px; color: #a99ba3; font-size: 13px; font-weight: 400; }
.cart-bar-go { flex: 0 0 auto; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: linear-gradient(120deg,#c8f1dc,#93d8b6); color: #12201a; font: inherit; font-size: 17px; font-weight: 800; letter-spacing: -.03em; cursor: pointer; }
body.cart-has-items { padding-bottom: 76px; }
body.cart-has-items .back-to-top { bottom: calc(86px + env(safe-area-inset-bottom)); }

.cart-dialog { width: min(92vw,440px); max-height: 86vh; padding: 0; border: 1px solid rgba(192,124,136,.4); border-radius: 20px; background: #1a1518; color: #f4f1ee; overflow: hidden; }
.cart-dialog::backdrop { background: rgba(8,6,7,.72); }
.cart-dialog-inner { display: flex; flex-direction: column; max-height: 86vh; }
.cart-dialog header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; }
.cart-dialog h2 { font-size: 20px; font-weight: 800; letter-spacing: -.05em; color: #f3dbe1; }
.cart-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: #e8d0d4; font-size: 18px; cursor: pointer; }
.cart-items { margin: 0; padding: 0 22px; list-style: none; overflow-y: auto; border-top: 1px solid rgba(232,208,212,.13); }
.cart-items li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(232,208,212,.09); }
.cart-item-name { flex: 1; min-width: 0; font-size: 18px; font-weight: 600; letter-spacing: -.035em; word-break: keep-all; }
.cart-item-name small { display: block; margin-top: 2px; color: #9d9099; font-size: 13px; font-weight: 400; }
.cart-item-price { flex: 0 0 auto; color: #f1c3d0; font-size: 17px; font-weight: 700; white-space: nowrap; }
.cart-remove { flex: 0 0 auto; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: #b8acb2; font-size: 17px; cursor: pointer; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 22px 0; color: #b8acb2; font-size: 15.5px; }
.cart-total strong { color: #f3dbe1; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.cart-actions { display: grid; gap: 8px; padding: 16px 22px 20px; }
.cart-send { min-height: 50px; border: 0; border-radius: 12px; background: #fee500; color: #191600; font: inherit; font-size: 18px; font-weight: 800; letter-spacing: -.03em; cursor: pointer; }
.cart-note { min-height: 18px; color: #a7e3c4; font-size: 14.5px; text-align: center; }
.cart-clear { justify-self: center; padding: 4px 8px; border: 0; background: none; color: #9d9099; font: inherit; font-size: 14.5px; text-decoration: underline; cursor: pointer; }
.cart-send-line { background: #06c755; color: #fff; }
.cart-send-whatsapp { background: #25d366; color: #0b2b16; }
.cart-send-wechat { background: #07c160; color: #fff; }
.secret-ticket .cart-add { flex: 0 0 auto; margin: 0; height: 34px; font-size: 14.5px; }

/* 붙여넣기 안내 화면 */
.cart-view-list { display: flex; flex-direction: column; min-height: 0; }
.cart-view-list[hidden], .cart-view-guide[hidden] { display: none; }
.cart-steps { margin: 0; padding: 4px 22px 0; list-style: none; counter-reset: cart-step; border-top: 1px solid rgba(232,208,212,.13); }
.cart-steps li { position: relative; padding: 15px 0 15px 40px; border-bottom: 1px solid rgba(232,208,212,.09); color: #f2e9ec; font-size: 18px; font-weight: 600; letter-spacing: -.035em; line-height: 1.5; counter-increment: cart-step; word-break: keep-all; }
.cart-steps li::before { content: counter(cart-step); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #a7e3c4; color: #14201a; font-size: 15.5px; font-weight: 800; }
.cart-paste-demo { position: relative; display: block; margin-top: 44px; }
.cart-paste-input { display: flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid rgba(232,208,212,.28); border-radius: 20px; background: rgba(255,255,255,.05); }
.cart-paste-input i { width: 2px; height: 18px; background: #a7e3c4; animation: cart-caret 1s steps(1) infinite; }
.cart-paste-bubble { position: absolute; left: 8px; bottom: calc(100% + 8px); padding: 6px 13px; border-radius: 8px; background: #f4f1ee; color: #1a1518; font-size: 15.5px; font-weight: 700; }
.cart-paste-bubble::after { content: ""; position: absolute; left: 16px; top: 100%; border: 6px solid transparent; border-top-color: #f4f1ee; }
@keyframes cart-caret { 50% { opacity: 0; } }
a.cart-send { display: grid; place-items: center; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .cart-paste-input i { animation: none; } }
.cart-guide-line { margin: 0; padding: 22px 22px 6px; border-top: 1px solid rgba(232,208,212,.13); color: #f2e9ec; font-size: 20.5px; font-weight: 600; letter-spacing: -.04em; line-height: 1.5; text-align: center; word-break: keep-all; }
.cart-guide-line:empty { display: none; }
