/* SHIRINE shell: sticky top bar (menu | logo | bag), right drawer, shared buttons, page polish. Loaded on every storefront page after experience.css. */
html.sh-lock,html.sh-lock body{overflow:hidden}
.sh-shop .sh-top{position:sticky;top:0;z-index:50;height:64px;display:grid;grid-template-columns:88px 1fr 88px;align-items:center;padding:0 4%;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #eee7eb;transition:box-shadow .4s ease,background .4s ease}
.sh-shop .sh-top.is-scrolled{box-shadow:0 6px 24px rgba(64,58,64,.06)}
.sh-shop .sh-top__menu,.sh-shop .sh-top__bag,.sh-shop .sh-top__icon,.sh-shop .sh-drawer__close{appearance:none;background:none;border:0;padding:0;width:44px;height:44px;display:grid;place-items:center;color:var(--ink);cursor:pointer;text-decoration:none;border-radius:2px}
.sh-shop .sh-top__menu{justify-self:start;grid-auto-rows:min-content;align-content:center;gap:6px}
.sh-shop .sh-top__menu span,.sh-shop .sh-drawer__close span{display:block;width:22px;height:1.25px;background:currentColor;transition:transform .3s ease,opacity .3s ease}
.sh-shop .sh-top__menu:hover span:first-child{transform:translateX(-2px)}
.sh-shop .sh-top__logo{justify-self:center;display:block;line-height:0;width:112px}
.sh-shop .sh-top__logo img{display:block;width:100%;height:auto}
.sh-shop .sh-top__bag{justify-self:end;position:relative}
.sh-shop .sh-top__count{position:absolute;top:6px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--pink);color:var(--ink);font-size:10px;line-height:16px;text-align:center;font-variant-numeric:tabular-nums}
.sh-shop .sh-top__count[hidden]{display:none}
.sh-shop .sh-top__menu:focus-visible,.sh-shop .sh-top__bag:focus-visible,.sh-shop .sh-top__icon:focus-visible,.sh-shop .sh-drawer__close:focus-visible,.sh-shop .sh-drawer__item:focus-visible{outline:2px solid #705c67;outline-offset:3px}
@media(min-width:761px){.sh-shop .sh-top{height:76px;padding:0 5%}.sh-shop .sh-top__logo{width:136px}}

.sh-shop .sh-drawer-overlay{position:fixed;inset:0;z-index:55;background:rgba(64,58,64,.22);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s}
.sh-shop .sh-drawer-overlay.is-open{opacity:1;visibility:visible;transition:opacity .5s ease}
.sh-shop .sh-drawer{position:fixed;top:0;right:0;bottom:0;z-index:60;width:min(86vw,400px);background:#fff;display:flex;flex-direction:column;padding:0 30px 30px;overflow-y:auto;overscroll-behavior:contain;transform:translateX(100%);visibility:hidden;transition:transform .62s cubic-bezier(.16,1,.3,1),visibility 0s linear .62s;box-shadow:-24px 0 60px rgba(64,58,64,.08)}
.sh-shop .sh-drawer.is-open{transform:none;visibility:visible;transition:transform .62s cubic-bezier(.16,1,.3,1)}
.sh-shop .sh-drawer__head{display:flex;align-items:center;justify-content:space-between;height:64px;flex-shrink:0}
.sh-shop .sh-drawer__head img{width:104px;height:auto;display:block}
.sh-shop .sh-drawer__close{margin-right:-12px;position:relative}
.sh-shop .sh-drawer__close span{position:absolute;left:11px;top:21px;width:22px;transform:rotate(45deg)}
.sh-shop .sh-drawer__close span:last-child{transform:rotate(-45deg)}
.sh-shop .sh-drawer__nav{display:flex;flex-direction:column;margin-top:18px}
.sh-shop .sh-drawer__item{display:flex;align-items:center;justify-content:space-between;padding:13px 0;font-size:15px;letter-spacing:.05em;color:var(--ink);text-decoration:none;border-bottom:1px solid #f0eaee;transition:padding-left .4s cubic-bezier(.22,.61,.36,1),color .3s ease}
.sh-shop .sh-drawer__item.is-main{font-size:18px;font-weight:450;padding:15px 0;letter-spacing:.07em}
.sh-shop .sh-drawer__item:hover{padding-left:8px;color:#875e74}
.sh-shop .sh-drawer__item:after{content:"↗";font-size:12px;color:#b1a9ae;transition:color .3s ease}
.sh-shop .sh-drawer__item:hover:after{color:#875e74}
.sh-shop .sh-drawer__label{margin:26px 0 4px;font-size:11px;letter-spacing:.18em;color:#9a8f96}
.sh-shop .sh-drawer__nav .sh-drawer__item.is-main:nth-last-child(2){margin-top:26px;border-top:1px solid #f0eaee}
.sh-shop .sh-drawer__count{font-size:11px;background:var(--pink);padding:2px 8px;border-radius:999px;margin-left:8px;font-weight:400;letter-spacing:0}
.sh-shop .sh-drawer__foot{margin-top:auto;padding-top:34px;display:flex;flex-wrap:wrap;gap:8px 18px}
.sh-shop .sh-drawer__foot a{font-size:12px;color:#7a6f76;text-decoration:none;letter-spacing:.03em;min-height:32px;display:inline-flex;align-items:center}
.sh-shop .sh-drawer__foot a:hover{color:#875e74;text-decoration:underline;text-underline-offset:4px}
@keyframes sh-drawer-reveal{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
.sh-shop .sh-drawer.is-open .sh-drawer__item,.sh-shop .sh-drawer.is-open .sh-drawer__label,.sh-shop .sh-drawer.is-open .sh-drawer__foot{animation:sh-drawer-reveal .78s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.08s + var(--i,0)*.04s)}
@media(prefers-reduced-motion:reduce){.sh-shop .sh-drawer,.sh-shop .sh-drawer-overlay,.sh-shop .sh-drawer__item,.sh-shop .sh-top{transition:none}.sh-shop .sh-drawer.is-open .sh-drawer__item,.sh-shop .sh-drawer.is-open .sh-drawer__label,.sh-shop .sh-drawer.is-open .sh-drawer__foot{animation:none}}

/* Buttons: one language site-wide (Logo grey primary, hairline secondary). */
.sh-shop .button.dark,.sh-shop #product-form>.button.dark{background:#b1b1b1;border-color:#b1b1b1;color:#303030}
.sh-shop .button.dark:hover:not(:disabled),.sh-shop #product-form>.button.dark:hover:not(:disabled){background:#bfbfbf;border-color:#bfbfbf}
.sh-shop .button.dark:active:not(:disabled){background:#a7a7a7}
.sh-shop .button.dark:disabled,.sh-shop #product-form>.button.dark:disabled{background:#e4e0e2;border-color:#e4e0e2;color:#8f8790;opacity:1}
.sh-shop .button:not(.dark){border-color:#c9c1c6}
.sh-shop .button:not(.dark):hover{background:var(--soft);border-color:var(--ink)}

/* Product page */
.sh-shop .sh-pd .quantity-stepper{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:2px;height:44px;overflow:hidden}
.sh-shop .sh-pd .quantity-stepper button{appearance:none;width:42px;height:100%;border:0;background:none;color:var(--ink);font-size:18px;line-height:1;cursor:pointer;padding:0;min-height:0}
.sh-shop .sh-pd .quantity-stepper button:hover:not(:disabled){background:var(--soft)}
.sh-shop .sh-pd .quantity-stepper button:disabled{color:#c9c1c6;cursor:default}
.sh-shop .sh-pd .quantity-stepper input{width:54px;height:100%;min-height:0;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:0;text-align:center;padding:0;font-size:15px;background:#fff;margin:0;-moz-appearance:textfield}
.sh-shop .sh-pd .quantity-stepper input::-webkit-outer-spin-button,.sh-shop .sh-pd .quantity-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sh-shop .sh-pd .breadcrumb{padding:18px 0 16px;font-size:11px;letter-spacing:.04em;color:#8f8790}
.sh-shop .sh-pd .breadcrumb a{color:inherit}
.sh-shop .sh-pd .detail-gallery>img{border-radius:2px;background:var(--soft);aspect-ratio:4/5;object-fit:cover;width:100%;height:auto}
.sh-shop .sh-pd .gallery-thumbs button{border-radius:2px;opacity:.55}
.sh-shop .sh-pd .detail-copy .detail-code{font-size:11px;letter-spacing:.08em;color:#9a8f96}
.sh-shop .sh-pd .detail-copy h1{font-size:clamp(22px,2.2vw,28px);letter-spacing:.03em;margin:10px 0 10px}
.sh-shop .sh-pd .detail-price{font-size:20px;margin:6px 0 22px;color:var(--ink)}
.sh-shop .sh-pd .detail-price .detail-was{display:inline-block;margin-left:10px;font-size:14px;color:#a79aa1;text-decoration:line-through;text-decoration-thickness:1px;letter-spacing:.01em}
.sh-shop .sh-pd .detail-price .detail-was[hidden]{display:none}
.sh-shop .sh-pd .detail-copy label{font-size:12px;letter-spacing:.05em;color:#7a6f76;margin:16px 0 8px;display:block}
.sh-shop .sh-pd .detail-copy select{appearance:none;-webkit-appearance:none;border:1px solid var(--line);border-radius:2px;padding:0 40px 0 14px;min-height:46px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%23403a40' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 14px center;width:100%;color:var(--ink)}
.sh-shop .sh-pd #variant-status{font-size:12px;color:#9a8f96;margin:12px 0 0}
.sh-shop .sh-pd #product-form>.button.dark{margin-top:18px;width:100%;min-height:50px;font-size:14px;letter-spacing:.12em}
.sh-shop .sh-pd .detail-note{font-size:12px;margin:16px 0 0;color:#9a8f96}
.sh-shop .sh-pd .detail-contact{font-size:12px;color:#665b62;margin:12px 0 22px}
.sh-shop .sh-pd .detail-copy details{border-top:1px solid #eee7eb;padding:4px 0}
.sh-shop .sh-pd .detail-copy details:last-of-type{border-bottom:1px solid #eee7eb}
.sh-shop .sh-pd .detail-copy summary{min-height:46px;font-size:13px;letter-spacing:.05em;cursor:pointer}
.sh-shop .sh-pd .detail-copy details p{font-size:13px;color:#6f646b;margin:0 0 14px;line-height:1.9}
.sh-shop .sh-pd .detail-copy details a{font-size:12px;display:inline-block;margin:0 0 14px;text-underline-offset:4px}
.sh-shop .sh-pd .related{margin-top:16px;padding-top:36px;border-top:1px solid #eee7eb}
.sh-shop .sh-pd .related .section-heading{align-items:baseline;margin-bottom:22px}
.sh-shop .sh-pd .related .section-heading h2{font-size:20px;font-weight:450;letter-spacing:.05em;margin:0}
.sh-shop .sh-pd .related .section-heading>a{font-size:12px;letter-spacing:.025em;color:#665b62;border-bottom:1px solid #cfc5cb;padding:6px 0}
.sh-shop .sh-pd .related .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px}
@media(max-width:760px){.sh-shop .sh-pd .related .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.sh-shop .sh-pd .detail-copy h1{font-size:22px}.sh-shop .sh-pd .detail-price{font-size:19px}}
/* Member centre */
.sh-shop .sh-member{padding:36px 0 72px}
.sh-shop .sh-member h1{font-size:24px;font-weight:450;letter-spacing:.04em}
.sh-shop .sh-member>.section-heading{margin-bottom:26px;align-items:baseline}
.sh-shop .sh-member>.section-heading>a{font-size:12px;letter-spacing:.025em;color:#665b62;border-bottom:1px solid #cfc5cb;padding:6px 0}
.sh-shop .sh-member .member-profile{background:#fcf8fa;border-top:1px solid #e9c9da;padding:28px;text-align:center}
.sh-shop .sh-member .profile-initial{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--pink);color:var(--ink);font-size:20px;margin-bottom:14px}
.sh-shop .sh-member .member-profile h2{font-size:18px;font-weight:450;margin:0 0 4px;letter-spacing:.04em}
.sh-shop .sh-member .member-profile p{font-size:12px;color:#9a8f96;margin:0 0 18px}
.sh-shop .sh-member .member-profile .button{min-height:42px;font-size:13px}
.sh-shop .sh-member .member-orders{background:#fff;border:1px solid #eee7eb;border-radius:2px;padding:28px}
.sh-shop .sh-member .member-orders h2{font-size:15px;font-weight:450;letter-spacing:.06em;margin:0 0 16px}
.sh-shop .sh-member .member-orders #my-orders{font-size:13px;color:#7a6f76;line-height:1.8}

.sh-shop .sh-member .member-orders .detail-note{font-size:12px;margin-top:22px;color:#9a8f96}
@media(max-width:760px){.sh-shop .sh-member{padding:26px 0 44px}.sh-shop .sh-member h1{font-size:22px}.sh-shop .sh-member .member-profile,.sh-shop .sh-member .member-orders{padding:22px 20px}}

/* Paused checkout reuses the bag language */
.sh-shop .sh-checkout .checkout-step{padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid #eee7eb}
.sh-shop .sh-checkout .checkout-step:last-child{border-bottom:0}
.sh-shop .sh-checkout .checkout-step h2{font-size:15px;font-weight:450;letter-spacing:.06em;margin:0 0 12px}
.sh-shop .sh-checkout .checkout-step p{font-size:13px;color:#7a6f76;line-height:1.85;margin:0 0 8px}
.sh-shop .sh-checkout .checkout-step .button{margin-top:10px;font-size:13px}
.sh-shop .sh-checkout .bag-summary .button:disabled{margin-top:18px}
.sh-shop .sh-checkout .bag-row{grid-template-columns:64px 1fr;gap:14px;padding:14px 0}
.sh-shop .sh-checkout .bag-thumb{height:80px;background:var(--soft);border-radius:2px;overflow:hidden}
.sh-shop .sh-checkout .bag-info h3{font-size:13px;font-weight:450;margin:0 0 2px}
.sh-shop .sh-checkout .bag-info p{font-size:12px;color:var(--muted);margin:2px 0}
.sh-shop .sh-checkout .bag-controls{margin-top:6px;font-size:12px;color:var(--muted)}
.sh-shop .sh-checkout .bag-controls strong{margin-left:auto;font-size:13px;color:var(--ink)}

/* Info pages & footer */
.sh-shop .info-page h1{font-size:24px;letter-spacing:.04em;margin-bottom:24px}
.sh-shop .info-page h2{font-size:16px;letter-spacing:.05em;font-weight:450}
.sh-shop .info-page section{padding:22px 0;border-top:1px solid #eee7eb}
.sh-shop .info-page section:first-of-type{border-top:0;padding-top:0}
.sh-shop .info-page p,.sh-shop .info-page li{font-size:14px;line-height:1.95;color:#5d545a}
/* 聯絡我們的社群連結原本黏成一串（Instagram LINE 社群），分開排 */
.sh-shop .info-page .sh-social-links{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:14px}
.sh-shop .info-page .sh-social-links a{display:inline-block}
.sh-shop .site-footer .footer-name img{width:150px;height:auto}
.sh-shop .site-footer p{font-size:12.5px;color:#7a6f76}
.sh-shop .site-footer>div:last-child a{font-size:12.5px;letter-spacing:.03em}

/* local1: skeleton pages re-hosted in the SHIRINE shell (checkout / order success), member order list, POSMAX archive */
.sh-shop .sh-skel main{margin-top:0!important;padding-top:20px!important;padding-bottom:56px!important}
.sh-shop .sh-skel h1{font-size:24px!important;font-weight:450!important;letter-spacing:.04em;color:var(--ink)!important;font-family:inherit!important}
.sh-shop .sh-skel #co-submit,.sh-shop .sh-skel button.bg-primary,.sh-shop .sh-skel a.bg-primary{background:#b1b1b1!important;color:#303030!important;letter-spacing:.12em!important;border-radius:2px}
.sh-shop .sh-skel #co-submit:hover{opacity:1!important;background:#bfbfbf!important}
.sh-shop .sh-skel input,.sh-shop .sh-skel select,.sh-shop .sh-skel textarea{border-radius:2px!important;border-color:var(--line)!important}
.sh-shop .sh-skel .rounded-2xl,.sh-shop .sh-skel .rounded-xl{border-radius:2px!important}
.sh-shop .sh-skel .bg-primary\/5,.sh-shop .sh-skel .bg-surface-container-low{background:#fcf8fa!important}
.sh-shop .sh-skel .text-primary{color:var(--ink)!important}
.sh-shop .sh-skel .border-outline-variant{border-color:var(--line)!important}
.sh-shop .sh-skel .font-label-caps{letter-spacing:.08em}
@media(min-width:761px){.sh-shop .sh-skel main{padding-top:32px!important}}
.sh-shop .sh-member .sh-credit{margin:6px 0 16px;font-size:13px;color:var(--ink)}
.sh-shop .sh-member .sh-credit strong{font-weight:500;margin-left:4px}
.sh-shop .sh-member .sh-credit small{display:block;font-size:11px;color:#9a8f96;margin-top:2px}
/* member1 (2026-09-15): 會員中心訂單卡片 */
.sh-shop .sh-member .member-orders{padding:24px 28px 26px}
.sh-shop .sh-member .member-profile{align-self:start}
.sh-shop .sh-member .sh-orders-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px}
.sh-shop .sh-member .sh-orders-head h2{margin:0}
.sh-shop .sh-member .sh-orders-head h2 small{font-size:11px;color:#9a8f96;letter-spacing:.04em;margin-left:8px;font-weight:400}
.sh-shop .sh-member .sh-orders-head>a{font-size:12px;letter-spacing:.025em;color:#665b62;border-bottom:1px solid #cfc5cb;padding:4px 0;white-space:nowrap}
.sh-shop .sh-member .member-orders #my-orders{padding:0;display:grid;gap:12px}
.sh-shop .sh-member .sh-order{display:block;padding:16px 18px 14px;border:1px solid #eee7eb;border-radius:2px;background:#fff;color:inherit;text-decoration:none;transition:border-color .18s,background .18s}
.sh-shop .sh-member .sh-order:hover{border-color:#e9c9da;background:#fffbfd}
.sh-shop .sh-member .sh-order__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sh-shop .sh-member .sh-order__no{font-size:13.5px;letter-spacing:.04em;color:var(--ink);font-variant-numeric:tabular-nums}
.sh-shop .sh-member .sh-order__no small{display:block;font-size:11px;color:#9a8f96;margin-top:3px;letter-spacing:.02em}
.sh-shop .sh-member .sh-order__status{flex:none;font-style:normal;font-size:11px;letter-spacing:.05em;line-height:1;padding:7px 10px;border-radius:999px;background:#f1eef0;color:#665b62}
.sh-shop .sh-member .sh-order--act .sh-order__status{background:#ffe1f0;color:#875e74}
.sh-shop .sh-member .sh-order--go .sh-order__status{background:#e9eef3;color:#4f6478}
.sh-shop .sh-member .sh-order--done .sh-order__status{background:#eaf1ec;color:#4d6b52}
.sh-shop .sh-member .sh-order--off .sh-order__status{background:#f3f1f2;color:#a39ba0}
.sh-shop .sh-member .sh-order__items{list-style:none;margin:12px 0 0;padding:12px 0 0;border-top:1px solid #f3eef1}
.sh-shop .sh-member .sh-order__items li{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;line-height:1.6;color:#4a4148;padding:2px 0}
.sh-shop .sh-member .sh-order__items li small{display:block;font-size:11px;color:#9a8f96;letter-spacing:.02em}
.sh-shop .sh-member .sh-order__items li b{flex:none;font-weight:400;color:#9a8f96;font-variant-numeric:tabular-nums}
.sh-shop .sh-member .sh-order__foot{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #f3eef1;font-size:12px;color:#9a8f96}
.sh-shop .sh-member .sh-order__foot strong{font-size:15px;font-weight:500;color:var(--ink);margin-left:8px;font-variant-numeric:tabular-nums}
.sh-shop .sh-member .sh-order__go{color:#875e74;letter-spacing:.03em}
.sh-shop .sh-member .sh-orders-empty{text-align:center;padding:26px 0 8px}
.sh-shop .sh-member .sh-orders-empty p{font-size:14px;color:var(--ink);margin:0 0 6px;letter-spacing:.04em}
.sh-shop .sh-member .sh-orders-empty small{display:block;font-size:12px;color:#9a8f96;line-height:1.7;margin:0 auto 18px;max-width:280px}
.sh-shop .sh-member .sh-orders-empty .button{margin:0;min-height:42px;font-size:13px}
.sh-shop .sh-member .member-orders .detail-note{margin-top:20px;line-height:1.7}
@media(max-width:760px){.sh-shop .sh-member .member-orders{padding:20px 18px 22px}
.sh-shop .sh-member .sh-order{padding:14px 15px 12px}
.sh-shop .sh-member .sh-orders-head{margin-bottom:14px}}
.sh-shop .sh-archive-page{max-width:1240px}
.sh-shop .sh-archive{overflow:auto;border:1px solid #eee7eb;border-radius:2px}
.sh-shop .sh-archive table{border-collapse:collapse;width:100%;font-size:12.5px;line-height:1.6}
.sh-shop .sh-archive th,.sh-shop .sh-archive td{padding:8px 12px;border-bottom:1px solid #f0eaee;text-align:left;vertical-align:top;white-space:nowrap}
.sh-shop .sh-archive th{background:#fcf8fa;font-weight:500;letter-spacing:.04em;color:#7a6f76;position:sticky;top:0}
.sh-shop .sh-archive td:nth-child(4){white-space:normal;min-width:220px}

/* local2: 促銷規則／進貨管理 後台頁（SHIRINE shell 內） */
.sh-shop .sh-admin-note{font-size:13px;color:#7a6f76;line-height:1.8;margin:0 0 22px}
/* 折價券自動發放（2026-09-26）：沿用促銷規則視窗那套欄位樣式，只是搬到整頁表單上 */
.sh-shop .sh-ca-card{border:1px solid #eee7eb;padding:20px 18px;margin:0 0 20px;background:#fdfbfc}
.sh-shop .sh-ca-form label{display:block;font-size:12px;color:#7a6f76;letter-spacing:.04em;margin:0 0 14px}
.sh-shop .sh-ca-form input:not([type=checkbox]),.sh-shop .sh-ca-form select{display:block;width:100%;margin-top:6px;min-height:42px;border:1px solid var(--line);border-radius:2px;padding:0 12px;font:inherit;font-size:14px;color:var(--ink);background:#fff}
.sh-shop .sh-ca-form .sh-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sh-shop .sh-ca-form .sh-tier{grid-template-columns:1fr 1fr 36px;align-items:end}
.sh-shop .sh-ca-form .sh-tier label{margin:0 0 10px}
.sh-shop .sh-ca-form .sh-tier .sh-mini{margin-bottom:10px;padding:0;height:42px}
.sh-shop .sh-ca-form .sh-mini{border:1px solid var(--line);background:#fff;font:inherit;font-size:12px;color:#7a6f76;padding:8px 14px;cursor:pointer;margin:0 0 16px}
.sh-shop .sh-ca-form .sh-check{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink);margin:0 0 16px}
.sh-shop .sh-ca-form .sh-check input{margin:0;width:18px;height:18px}
.sh-shop .sh-ca-form .sh-field-label{font-size:12px;color:#7a6f76;margin:0 0 8px;letter-spacing:.04em;line-height:1.8}
.sh-shop .sh-ca-form .sh-cat-picks{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.sh-shop .sh-ca-form .sh-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:12px;color:var(--ink);margin:0}
.sh-shop .sh-ca-form .sh-chip:has(input:checked){background:var(--pink);border-color:var(--pink)}
.sh-shop .sh-ca-form [role=alert]{font-size:12.5px;color:#b04a5a;min-height:18px;margin:0 0 10px}
.sh-shop .sh-ca-form [role=status]{font-size:12.5px;color:#7a6f76;min-height:18px;margin:10px 0 0}
.sh-shop .sh-ca-form [hidden]{display:none}
@media(max-width:520px){.sh-shop .sh-ca-form .sh-two:not(.sh-tier){grid-template-columns:1fr}}
.sh-shop .sh-promo-list,.sh-shop .sh-po-list,.sh-shop .sh-vendor-list{margin:0 0 22px}
.sh-shop .sh-promo-row,.sh-shop .sh-vendor{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;border-top:1px solid #eee7eb}
.sh-shop .sh-promo-row.is-off h3,.sh-shop .sh-promo-row.is-off p{color:#b1a9ae}
.sh-shop .sh-promo-row h3,.sh-shop .sh-vendor h3{font-size:15px;font-weight:450;margin:0 0 4px;letter-spacing:.03em}
.sh-shop .sh-promo-row h3 small{font-size:11px;color:#9a8f96;margin-left:8px;letter-spacing:.05em}
.sh-promo-row .sh-promo-when{font-size:11.5px;color:#9a8f96;margin-top:4px;letter-spacing:.02em}
.sh-shop .sh-promo-row p,.sh-shop .sh-vendor p{font-size:12.5px;color:#7a6f76;margin:0;line-height:1.7}
.sh-shop .sh-promo-actions{display:flex;gap:10px;align-items:center;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.sh-shop .sh-switch{font-size:12px;color:#665b62;display:inline-flex;align-items:center;gap:6px}
.sh-shop .sh-mini{appearance:none;border:1px solid #d9cfd5;background:#fff;color:#665b62;font:inherit;font-size:12px;padding:6px 12px;border-radius:2px;cursor:pointer}
.sh-shop .sh-mini:hover{border-color:var(--ink);color:var(--ink)}
.sh-shop .sh-mini.is-danger:hover{border-color:#b04a5a;color:#b04a5a}
.sh-shop .sh-empty{font-size:13px;color:#9a8f96;padding:18px 0}
.sh-shop dialog{border:1px solid #eee7eb;border-radius:2px;padding:26px 24px;max-width:520px;width:calc(100% - 32px);box-shadow:0 20px 60px rgba(64,58,64,.14);color:var(--ink)}
.sh-shop dialog::backdrop{background:rgba(64,58,64,.28);backdrop-filter:blur(3px)}
.sh-shop dialog h2{font-size:18px;font-weight:450;letter-spacing:.05em;margin:0 0 18px}
.sh-shop dialog label{display:block;font-size:12px;color:#7a6f76;letter-spacing:.04em;margin:0 0 14px}
.sh-shop dialog input:not([type=checkbox]),.sh-shop dialog select{display:block;width:100%;margin-top:6px;min-height:42px;border:1px solid var(--line);border-radius:2px;padding:0 12px;font:inherit;font-size:14px;color:var(--ink);background:#fff}
.sh-shop dialog .sh-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sh-shop dialog .sh-tier{grid-template-columns:1fr 1fr 36px;align-items:end}
.sh-shop dialog .sh-tier label{margin:0 0 10px}
.sh-shop dialog .sh-tier .sh-mini{margin-bottom:10px;padding:0;height:42px}
.sh-shop dialog .sh-field-label{font-size:12px;color:#7a6f76;margin:0 0 8px;letter-spacing:.04em}
.sh-shop dialog .sh-cat-picks{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.sh-shop dialog .sh-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:12px;color:var(--ink);margin:0}
.sh-shop dialog .sh-chip:has(input:checked){background:var(--pink);border-color:var(--pink)}
.sh-shop dialog .sh-check{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);margin:6px 0 14px}
.sh-shop dialog [role=alert]{font-size:12px;color:#b04a5a;min-height:18px;margin:0 0 8px}
.sh-shop .sh-dialog-actions{display:flex;justify-content:flex-end;gap:10px}
.sh-shop .sh-dialog-actions .button{min-height:42px;font-size:13px;padding:0 18px}
.sh-shop .sh-po-tabs{display:flex;gap:18px;margin:0 0 20px;border-bottom:1px solid #eee7eb}
.sh-shop .sh-po-tabs button{appearance:none;background:none;border:0;border-bottom:1px solid transparent;padding:10px 0;margin-bottom:-1px;font:inherit;font-size:14px;color:#9a8f96;cursor:pointer;letter-spacing:.05em}
.sh-shop .sh-po-tabs button.is-on{color:var(--ink);border-color:var(--ink)}
.sh-shop .sh-po-row{border-top:1px solid #eee7eb;padding:4px 0}
.sh-shop .sh-po-row summary{list-style:none;display:grid;grid-template-columns:1.2fr 1fr auto;gap:12px;align-items:center;padding:12px 0;cursor:pointer;font-size:13px}
.sh-shop .sh-po-row summary::-webkit-details-marker{display:none}
.sh-shop .sh-po-no{font-variant-numeric:tabular-nums;color:var(--ink)}
.sh-shop .sh-po-no small{display:block;font-size:11px;color:#9a8f96}
.sh-shop .sh-po-vendor{color:#7a6f76}
.sh-shop .sh-po-sum{color:var(--ink);white-space:nowrap}
.sh-shop .sh-po-row.is-draft .sh-po-sum{color:#9a8f96}
.sh-shop .sh-po-items{padding:0 0 12px}
.sh-shop .sh-po-items p{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;color:#5d545a;margin:4px 0;line-height:1.6}
.sh-shop .sh-po-note{color:#9a8f96!important}
.sh-shop .sh-vendor-form{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.4fr auto;gap:8px;margin:0 0 18px}
.sh-shop .sh-vendor-form input{min-height:42px;border:1px solid var(--line);border-radius:2px;padding:0 12px;font:inherit;font-size:13px}
.sh-shop .sh-vendor-form .button{min-height:42px;font-size:13px;padding:0 16px;white-space:nowrap}
.sh-shop .sh-suggest{border:1px solid var(--line);border-radius:2px;margin:-8px 0 14px;max-height:220px;overflow:auto;background:#fff}
.sh-shop .sh-suggest button{display:block;width:100%;text-align:left;appearance:none;border:0;border-bottom:1px solid #f0eaee;background:none;font:inherit;font-size:13px;padding:10px 12px;cursor:pointer;color:var(--ink)}
.sh-shop .sh-suggest button small{color:#9a8f96;margin-left:8px}
.sh-shop .sh-suggest button:hover{background:var(--soft)}
.sh-shop .sh-po-lines{margin:0 0 14px}
.sh-shop .sh-po-line{display:grid;grid-template-columns:1.4fr 1fr 74px 84px 32px;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #f0eaee}
.sh-shop .sh-po-line-name{font-size:13px;color:var(--ink);line-height:1.5;overflow-wrap:anywhere}
.sh-shop .sh-po-line-name small{display:block;font-size:11px;color:#9a8f96}
.sh-shop .sh-po-line select,.sh-shop .sh-po-line input{min-height:38px!important;margin:0!important;padding:0 8px!important;font-size:13px!important}
.sh-shop .sh-po-single{font-size:12px;color:#9a8f96}
.sh-shop .sh-po-total{font-size:15px;color:var(--ink);text-align:right;margin:0 0 6px;font-variant-numeric:tabular-nums}
@media(max-width:760px){.sh-shop .sh-vendor-form{grid-template-columns:1fr 1fr}.sh-shop .sh-vendor-form .button{grid-column:1/-1}.sh-shop .sh-po-row summary{grid-template-columns:1fr auto}.sh-shop .sh-po-vendor{grid-column:1/-1;font-size:12px}.sh-shop .sh-po-line{grid-template-columns:1fr 1fr;grid-auto-rows:auto}.sh-shop .sh-po-line-name{grid-column:1/-1}.sh-shop dialog{padding:20px 16px}}

/* footer1: 頁尾品牌句改明體、加英文草寫（Maggie 2026-09-15）。Allura 自架 latin 子集 26KB，swap 不擋渲染。 */
@font-face{font-family:"SH Script";src:url("/assets/fonts/allura.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
.sh-shop .site-footer .footer-blurb{font-family:"Songti TC","Noto Serif TC","Noto Serif CJK TC",PMingLiU,"MingLiU",serif;font-size:13.5px;letter-spacing:.14em;line-height:2;color:#7a6f76;margin:16px 0 0}
.sh-shop .site-footer .footer-script{font-family:"SH Script",cursive;font-size:30px;line-height:1.2;color:#b1b1b1;margin:8px 0 0;letter-spacing:.01em}
@media(max-width:760px){.sh-shop .site-footer .footer-blurb{font-size:12.5px;letter-spacing:.09em;text-wrap:balance}.sh-shop .site-footer .footer-script{font-size:27px}}
.sh-shop .sh-bag__promo{color:#7d4b68}.sh-shop .sh-bag__promo strong{font-weight:500}.sh-shop .sh-promo-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 16px}.sh-shop .sh-promo-tag{font-size:12px;line-height:1.4;padding:5px 10px;border:1px solid #d9cbd3;background:#fff6fa;color:#5d4855}.sh-shop .sh-promo-tags__note{flex-basis:100%;margin:2px 0 0;font-size:11px;color:#9a8f96}
.sh-shop .sh-collections{margin:28px 0 8px;padding:18px 18px 14px;border:1px solid #e4dce1;background:#fff6fa}.sh-shop .sh-collections h2{font-size:16px;margin:0 0 6px}.sh-shop .sh-collections>p{font-size:12px;color:#776d74;margin:0 0 12px}.sh-shop .sh-col{border:1px solid #e4dce1;background:#fff;padding:12px;margin-bottom:10px}.sh-shop .sh-col__head{display:flex;gap:8px;align-items:center;margin-bottom:8px}.sh-shop .sh-col__head input{flex:1;min-width:0;border:1px solid #d9cbd3;padding:8px 10px;font-size:14px}.sh-shop .sh-col__head button{font-size:12px;padding:6px 10px;border:1px solid #d9cbd3;background:#fff;cursor:pointer}.sh-shop .sh-col__count{font-size:12px;color:#7d4b68;white-space:nowrap}.sh-shop .sh-col__pick{display:none;margin-top:8px;border-top:1px dashed #e4dce1;padding-top:8px}.sh-shop .sh-col.is-open .sh-col__pick{display:block}.sh-shop .sh-col__pick input[type=search]{width:100%;border:1px solid #d9cbd3;padding:8px 10px;font-size:14px;margin-bottom:6px}.sh-shop .sh-col__tools{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.sh-col__tools select{flex:1;min-width:120px;border:1px solid #d9cbd3;padding:8px 10px;font-size:13px;background:#fff;color:inherit}.sh-col__tools button{font-size:12px;padding:6px 10px;border:1px solid #d9cbd3;background:#fff;cursor:pointer}.sh-col__items{max-height:260px;overflow:auto}.sh-shop .sh-col__items label{display:flex;gap:8px;align-items:center;font-size:13px;padding:5px 2px;border-bottom:1px solid #f1e9ee}.sh-shop .sh-col__items label span{color:#9a8f96;font-size:11px}.sh-shop .sh-nav-cats__panel a.is-collection,.sh-shop .sh-drawer__item.is-collection{color:#7d4b68;font-weight:500}

/* search1 (2026-09-23)：頂欄放大鏡／會員圖示 + 展開式搜尋列 + 抽屜搜尋格 */
.sh-shop .sh-top__side{display:flex;align-items:center;justify-self:start}
.sh-shop .sh-top__side--end{justify-self:end}
.sh-shop .sh-top__icon:hover{color:#875e74}
.sh-shop .sh-search{position:sticky;top:64px;z-index:49;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #eee7eb;padding:10px 4%}
.sh-shop .sh-search[hidden]{display:none}
.sh-shop .sh-search__form,.sh-shop .sh-drawer__search{display:flex;align-items:center;gap:0;border:1px solid #dbc8d3;background:#fff}
.sh-shop .sh-search__form input,.sh-shop .sh-drawer__search input{flex:1;min-width:0;appearance:none;-webkit-appearance:none;border:0;background:none;font:inherit;font-size:15px;color:var(--ink);padding:0 4px 0 14px;min-height:44px;border-radius:0}
.sh-shop .sh-search__form input::placeholder,.sh-shop .sh-drawer__search input::placeholder{color:#a79ba2}
.sh-shop .sh-search__form input:focus,.sh-shop .sh-drawer__search input:focus{outline:none}
.sh-shop .sh-search__form:focus-within,.sh-shop .sh-drawer__search:focus-within{border-color:#875e74}
.sh-shop .sh-search__form button,.sh-shop .sh-drawer__search button{appearance:none;border:0;background:none;color:#7d4b68;width:46px;min-height:44px;display:grid;place-items:center;cursor:pointer;padding:0}
.sh-shop .sh-search__form input::-webkit-search-cancel-button,.sh-shop .sh-drawer__search input::-webkit-search-cancel-button{-webkit-appearance:none}
.sh-shop .sh-drawer__search{margin:0 0 6px}
@media(min-width:761px){.sh-shop .sh-search{top:76px;padding:12px 5%}.sh-shop .sh-search__form{max-width:520px;margin:0 auto}}
@media(prefers-reduced-motion:no-preference){.sh-shop .sh-drawer.is-open .sh-drawer__search{animation:sh-drawer-reveal .78s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.08s + var(--i,0)*.04s)}}

/* mcard1 (2026-09-23)：會員中心最上方的總覽卡（訂單／折價券／購物金 + 累積消費升等） */
.sh-shop .sh-mcard{background:#fcf8fa;border-top:1px solid #e9c9da;padding:22px 24px 20px;margin:0 0 20px}
.sh-shop .sh-mcard__id{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sh-shop .sh-mcard__tier{font-size:11px;letter-spacing:.08em;color:#7d4b68;border:1px solid #dbc8d3;background:#fff;padding:5px 10px;white-space:nowrap}
.sh-shop .sh-mcard__name{margin:0;font-size:15px;letter-spacing:.04em;color:var(--ink)}
.sh-shop .sh-mcard__name small{display:block;font-size:11px;color:#9a8f96;letter-spacing:.02em;margin-top:2px}
.sh-shop .sh-mcard__stats{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0 0;border:1px solid #eee0e8;background:#fff}
.sh-shop .sh-mcard__stat{display:grid;gap:4px;justify-items:center;align-content:center;padding:14px 6px;color:var(--ink);text-decoration:none;border-left:1px solid #f2e7ed;min-height:66px;transition:background .18s}
.sh-shop .sh-mcard__stat:first-child{border-left:0}
.sh-shop .sh-mcard__stat:hover{background:#fffbfd}
.sh-shop .sh-mcard__stat b{font-size:17px;font-weight:500;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.sh-shop .sh-mcard__stat span{font-size:11px;color:#9a8f96;letter-spacing:.05em}
.sh-shop .sh-mcard__spend{margin:16px 0 0}
.sh-shop .sh-mcard__spend p{margin:0;font-size:12px;color:#665b62;letter-spacing:.04em;display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sh-shop .sh-mcard__spend p strong{font-size:16px;font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}
.sh-shop .sh-mcard__bar{height:4px;background:#f0e2ea;margin:9px 0 7px;overflow:hidden}
.sh-shop .sh-mcard__bar span{display:block;height:100%;background:#c98fae}
.sh-shop .sh-mcard__spend small{display:block;font-size:11px;color:#9a8f96;line-height:1.7}
@media(max-width:760px){.sh-shop .sh-mcard{padding:18px 18px 16px;margin-bottom:16px}.sh-shop .sh-mcard__stat b{font-size:15.5px}}

/* was1 (2026-09-27)：商品列表也要顯示原價劃線（店主回報只有商品頁有）。有設原價且比現價高才會出現 */
.sh-shop .product-card .price .sh-card__was{margin-left:7px;color:#a79aa2;font-size:.82em;text-decoration:line-through;text-decoration-thickness:1px;white-space:nowrap}

/* po2 (2026-09-26)：新增進貨單改成「找商品 → 點規格 → 填數量／成本 → 加入清單」（Maggie） */
.sh-shop .sh-po-pick{border:1px solid var(--line);background:#fffafc;padding:12px;margin:0 0 14px}
.sh-shop .sh-po-pick-head{display:flex;align-items:baseline;gap:8px;margin:0 0 10px}
.sh-shop .sh-po-pick-head b{font-size:13.5px;font-weight:500;color:var(--ink);line-height:1.5;overflow-wrap:anywhere}
.sh-shop .sh-po-pick-head small{font-size:11px;color:#9a8f96;white-space:nowrap}
.sh-shop .sh-po-pick-head .sh-mini{margin-left:auto}
.sh-shop .sh-po-chips{display:flex;flex-wrap:wrap;gap:6px}
.sh-shop .sh-po-chip{appearance:none;border:1px solid #d9cbd3;background:#fff;color:#5d545a;font:inherit;font-size:12.5px;line-height:1.4;padding:9px 12px;min-height:38px;cursor:pointer}
.sh-shop .sh-po-chip:hover{border-color:var(--ink)}
.sh-shop .sh-po-chip.is-on{border-color:var(--ink);background:var(--ink);color:#fff}
.sh-shop .sh-po-hint{font-size:12px;color:#9a8f96;margin:10px 0 0;line-height:1.7}
.sh-shop .sh-po-qrows{margin:12px 0 0;border-top:1px solid #f0eaee}
.sh-shop .sh-po-qhead,.sh-shop .sh-po-qrow{display:grid;grid-template-columns:1fr 84px 96px;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #f0eaee}
.sh-shop .sh-po-qhead{font-size:11px;color:#9a8f96}
.sh-shop .sh-po-qrow span{font-size:13px;color:var(--ink);overflow-wrap:anywhere}
.sh-shop .sh-po-qrow input{min-height:38px!important;margin:0!important;padding:0 8px!important;font-size:13px!important}
.sh-shop .sh-po-add{margin:12px 0 0;min-height:42px;font-size:13px}
.sh-shop .sh-po-item{display:grid;grid-template-columns:1.6fr 74px 84px 86px 32px;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #f0eaee}
.sh-shop .sh-po-item-name{font-size:13px;color:var(--ink);line-height:1.5;overflow-wrap:anywhere}
.sh-shop .sh-po-item-name small{display:block;font-size:11px;color:#9a8f96}
.sh-shop .sh-po-item input{min-height:38px!important;margin:0!important;padding:0 8px!important;font-size:13px!important}
.sh-shop .sh-po-item-sum{font-size:12.5px;color:#7a6f76;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:760px){
.sh-shop .sh-po-qhead,.sh-shop .sh-po-qrow{grid-template-columns:1fr 72px 84px}
.sh-shop .sh-po-item{grid-template-columns:1fr 1fr auto;row-gap:6px}
.sh-shop .sh-po-item-name{grid-column:1/-1}
.sh-shop .sh-po-item-sum{text-align:left}
}

/* 2026-09-28 店主這批 ── 抽屜分類收合、商品區拿掉搜尋框、購物袋折扣一項一行 */
.sh-shop .sh-drawer__cats{display:block}
.sh-shop .sh-drawer__cats>summary{list-style:none;cursor:pointer}
.sh-shop .sh-drawer__cats>summary::-webkit-details-marker{display:none}
.sh-shop .sh-drawer__caret{width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin-right:4px;transition:transform .25s ease}
.sh-shop .sh-drawer__cats[open]>summary .sh-drawer__caret{transform:rotate(-135deg);margin-top:4px}
.sh-shop .sh-drawer__cats-panel{padding-left:12px}
.sh-shop .sh-drawer.is-open .sh-drawer__cats-panel .sh-drawer__item{animation:none;opacity:1;transform:none}
.sh-shop .sh-drawer__cats-panel .sh-drawer__item{font-size:14px;padding:11px 0;color:#6f656c}
.sh-shop .catalog-tools.sh-tools--nosearch{grid-template-columns:minmax(0,200px) minmax(0,200px) 1fr}
@media(max-width:760px){.sh-shop .catalog-tools.sh-tools--nosearch{grid-template-columns:1fr 1fr}}
.sh-shop .sh-bag__promo>span:first-child{flex:1;min-width:0;padding-right:10px}
.sh-shop .sh-bag__promo strong{white-space:nowrap;flex:0 0 auto}
.sh-shop .sh-ca-card.is-off>*:not(.sh-check){opacity:.45}
.sh-shop .sh-ca-card.is-off{background:#fbf7f9}
.sh-shop .sh-drawer__cats>summary:after{content:none}
/* 2026-09-28 會員總覽卡：累積消費獨立一行放名字下面、格子裡的金額太長就縮字 */
.sh-shop .sh-mcard__totalline{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:14px 0 0;padding:12px 0 0;border-top:1px solid #f0e3ea;font-size:12px;color:#665b62;letter-spacing:.04em}
.sh-shop .sh-mcard__totalline strong{font-size:17px;font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}
.sh-shop .sh-mcard__stat b.sh-mcard__num{max-width:100%;overflow-wrap:anywhere}
.sh-shop .sh-mcard__num.is-long{font-size:15px}
.sh-shop .sh-mcard__num.is-xlong{font-size:13px}
.sh-shop .sh-mcard__totalline strong.is-long{font-size:15px}
.sh-shop .sh-mcard__totalline strong.is-xlong{font-size:13px}
.sh-shop .sh-mcard__stat{padding:14px 4px}

/* ios1 (2026-09-30 Maggie「點了選項之後都會放大」「會滑動到背景」)
   ① iOS Safari 的規則很死：focus 到 font-size < 16px 的輸入框就自動放大整頁，而且放大後不會自己縮回來。
      解法只有「手機上的輸入框一律 >= 16px」。不可以改 viewport 去鎖縮放（那會連雙指放大都關掉，看商品照會很難用）。
      只在 <=760px 生效，桌機維持原本的 13/14px 排版。!important 是因為進貨單那幾格自己就寫了 !important。
   ② 視窗（新增進貨單／促銷／折價券自動發放）內容比螢幕長時，滑到底會把背後的清單一起帶著滑 ⇒
      視窗自己可捲動＋overscroll-behavior:contain 擋住捲動外溢，另外 shirine-shell.js 會在打開時加 .sh-lock 鎖住背景。 */
@media(max-width:760px){
.sh-shop input:not([type=checkbox]):not([type=radio]),.sh-shop select,.sh-shop textarea{font-size:16px!important}
}
.sh-shop dialog{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}
/* 會員中心：購物金／點數各自的到期提示（2026-09-30，兩種期限不同要分開講） */
.sh-shop .sh-expire{display:block;font-style:normal;font-size:11px;color:#a08a97;letter-spacing:.02em;margin-top:3px}

/* po3 (2026-10-14 Maggie)：進貨單「加入清單後」的版面 ── 同一貨號並排成一組＋組內小計、
   數量 1cm／金額 1.8cm、× 移到最右邊不畫框、頁尾合計固定不隨捲動消失 */
.sh-shop .sh-po-group{border:1px solid #efe6ec;background:#fffdfe;margin:0 0 10px;padding:0 10px 4px}
.sh-shop .sh-po-ghead{display:flex;align-items:baseline;gap:8px;padding:9px 0 6px;border-bottom:1px solid #f0eaee}
.sh-shop .sh-po-ghead b{flex:1;min-width:0;font-size:13px;font-weight:500;color:var(--ink);line-height:1.45;overflow-wrap:anywhere}
.sh-shop .sh-po-ghead small{font-size:11px;color:#9a8f96;white-space:nowrap}
.sh-shop .sh-po-ghead span{font-size:11.5px;color:#7d4b68;white-space:nowrap;font-variant-numeric:tabular-nums}
.sh-shop .sh-po-group .sh-po-item{grid-template-columns:minmax(0,1fr) 1cm 1.8cm minmax(0,auto) 20px;gap:6px;padding:6px 0;border-top:0;border-bottom:1px solid #f7f2f5}
.sh-shop .sh-po-group .sh-po-item:last-child{border-bottom:0}
.sh-shop .sh-po-group .sh-po-item-name{grid-column:auto;font-size:12.5px;color:#5d545a;line-height:1.4}
.sh-shop .sh-po-group .sh-po-item input{padding:0 4px!important;text-align:center}
.sh-shop .sh-po-group .sh-po-item-sum{text-align:right;font-size:12px;white-space:nowrap}
.sh-shop .sh-po-x{appearance:none;border:0;background:none;color:#a99ea5;font-size:17px;line-height:1;padding:4px 0;min-width:20px;cursor:pointer;justify-self:end}
.sh-shop .sh-po-x:hover{color:#b04a5a}
.sh-shop #po-dialog{padding-bottom:0}
.sh-shop .sh-po-foot{position:sticky;bottom:0;z-index:3;background:#fff;margin:14px -24px 0;padding:10px 24px 22px;border-top:1px solid #eee7eb}
.sh-shop .sh-po-foot .sh-po-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 6px;font-size:12.5px;color:#7a6f76;text-align:left}
.sh-shop .sh-po-foot .sh-po-total b{font-size:15px;font-weight:500;color:var(--ink);white-space:nowrap}
.sh-shop .sh-po-foot [role=alert]{margin:0 0 6px}
.sh-shop .sh-po-miss{color:#b04a5a;font-weight:500}
.sh-shop .sh-po-act{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 2px}
.sh-shop .sh-po-act small{flex:1;min-width:120px;font-size:11px;color:#9a8f96;line-height:1.6}
@media(max-width:760px){
.sh-shop .sh-po-group{padding:0 8px 4px}
.sh-shop .sh-po-group .sh-po-item{grid-template-columns:minmax(0,1fr) 1cm 1.8cm minmax(0,auto) 20px;row-gap:0}
.sh-shop .sh-po-foot{margin:12px -16px 0;padding:10px 16px 18px}
}

/* ab1 (2026-10-14 Maggie)：A＋B 組合價 ── 購物袋「還差幾件／差多少錢」提示、後台 A 區／B 區小標 */
.sh-shop .sh-bag__near{margin:10px 0;padding:10px 12px;border:1px dashed #dbc8d3;background:#fff8fb}
.sh-shop .sh-bag__near p{margin:0;font-size:12.5px;line-height:1.75;color:#7d4b68}
.sh-shop .sh-bag__near p+p{margin-top:3px}
.sh-shop dialog .sh-ab-head{margin:14px 0 8px;padding-top:12px;border-top:1px solid #eee7eb;color:var(--ink);font-size:13px;letter-spacing:.06em}
.sh-shop .sh-promo-tag.is-ab{border-color:#c98fae;background:#fdeef5;color:#7d4b68}
