/* Storefront 2.1.5 — one continuous product list below the category navigation. */
:root{--store-bg:#edf2e5;--store-surface:#fffefa;--store-ink:#223c35;--store-muted:#5d6d5f;--store-line:#d9e2d0;--store-primary:#245346;--store-primary-ink:#ffffff;--store-accent:#d8ed92;--store-accent-ink:#254532;--store-radius:16px;--store-columns:3;--store-background:none}
html{scroll-behavior:auto;scroll-padding-top:92px}
.store-page{--store-price:#b34723;--store-success:#367048;--store-warning:#956016;--store-header:var(--store-primary);--store-header-ink:var(--store-primary-ink);margin:0;min-height:100vh;background-color:var(--store-bg);background-image:var(--store-background);background-size:cover;background-position:center top;background-attachment:fixed;color:var(--store-ink);font:14px/1.65 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip;color-scheme:light}
.store-page[data-theme=moss]{--store-header:#173d34}
.store-page[data-theme-mode=dark]{--store-price:#f5bc83;--store-success:#b6d89a;--store-warning:#f3c983;--store-header:var(--store-surface);--store-header-ink:var(--store-ink);color-scheme:dark}
.store-page *,.store-page *:before,.store-page *:after{box-sizing:border-box}
.store-page a{color:inherit;text-decoration:none}
.store-page button,.store-page input,.store-page textarea{font:inherit}
.store-page button{cursor:pointer;touch-action:manipulation}
.store-page button:disabled{cursor:not-allowed;opacity:.48}
.store-page button,.store-page a,.store-page input,.store-page textarea{outline-offset:4px}
.store-page button:focus-visible,.store-page a:focus-visible,.store-page input:focus-visible,.store-page textarea:focus-visible{outline:3px solid var(--store-primary);outline-offset:3px}
.store-page .hidden{display:none!important}
.store-page h1,.store-page h2,.store-page h3,.store-page h4,.store-page p{margin:0}
.store-page button:not(.store-button):not(.store-buy-button){-webkit-tap-highlight-color:transparent}
.store-page input,.store-page textarea{border-radius:10px;border:1px solid var(--store-line);background:var(--store-surface);color:var(--store-ink);box-shadow:none;min-width:0}
.store-page input::placeholder,.store-page textarea::placeholder{color:var(--store-muted);opacity:.9}
.store-page input:focus,.store-page textarea:focus{border-color:var(--store-primary);outline:none;box-shadow:0 0 0 3px rgba(115,151,90,.16)}
.store-page input:disabled{opacity:.65}
.store-page input[type=number]{appearance:textfield;-moz-appearance:textfield}
.store-page input[type=number]::-webkit-inner-spin-button,.store-page input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.store-page button[aria-busy=true]{cursor:wait}
.store-container{width:min(1160px,calc(100% - 48px));margin:0 auto}
.store-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.store-skip{position:fixed;top:10px;left:10px;padding:10px 16px;z-index:200;background:var(--store-accent);color:var(--store-accent-ink)!important;transform:translateY(-180%);border-radius:8px}
.store-skip:focus{transform:translateY(0)}
.store-header{position:sticky;top:0;z-index:30;background:var(--store-header);color:var(--store-header-ink);border-bottom:1px solid #ffffff16;box-shadow:0 3px 15px #14291c0a}
.store-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.store-brand{display:inline-flex;align-items:center;gap:12px;min-width:0;font-weight:700;font-size:19px;line-height:1.45;letter-spacing:.015em}
.store-brand-mark{width:40px;height:40px;background:var(--store-accent);color:var(--store-accent-ink);border-radius:12px;display:grid;place-items:center;font-size:22px;font-weight:750;flex-shrink:0}
.store-brand-name{display:block;max-width:480px;overflow-wrap:anywhere;line-height:1.4}
.store-header-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}
.store-account-link{display:inline-flex;gap:7px;align-items:center;font-size:13px;color:inherit!important;white-space:nowrap;min-height:44px}
.store-account-link i{font-size:18px}
.store-logout{display:inline-flex;margin-left:-12px}
.store-logout button{background:none;border:0;color:inherit;padding:9px;min-height:44px}
.store-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:650;line-height:1.45;white-space:nowrap;touch-action:manipulation}
.store-button i{font-size:18px;line-height:1}
.store-button-primary,.store-button-dark{background:var(--store-primary);color:var(--store-primary-ink)!important;border-color:var(--store-primary)}
.store-button-primary:hover:not(:disabled),.store-button-dark:hover:not(:disabled){filter:brightness(.93)}
.store-button-outline{border-color:var(--store-line);background:var(--store-surface);color:var(--store-primary)}
.store-button-outline:hover:not(:disabled){border-color:var(--store-primary)}
.store-header-query{min-height:42px;padding:10px 15px;font-size:12px;background:var(--store-accent);color:var(--store-accent-ink)!important;border-color:transparent}
.store-header-notice{color:inherit!important}
.store-header a:focus-visible,.store-header button:focus-visible{outline-color:var(--store-accent)}
.store-text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 0;background:none;border:0;color:var(--store-primary);font-size:12px;font-weight:550;text-align:left}
.store-text-button:hover{text-decoration:underline;text-underline-offset:3px}
.store-text-button i{font-size:16px}
.store-full{width:100%}
.store-main{padding-top:28px;padding-bottom:26px}
.store-announcement{background:var(--store-surface);border:1px solid var(--store-line);border-radius:var(--store-radius);padding:20px 22px;margin-bottom:28px;min-width:0;box-shadow:0 4px 16px #27472f04}
.store-announcement-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.store-announcement-heading h2{display:flex;align-items:center;gap:9px;color:var(--store-primary);font-size:14px;font-weight:700;line-height:1.5}
.store-announcement-heading h2 i{font-size:18px}
.store-announcement-heading>.store-text-button{padding:0;font-size:12px}
.store-announcement-content{width:100%;min-width:0;max-height:none!important;overflow:visible!important;color:var(--store-ink);font-size:14px!important;line-height:1.85!important}
.store-catalog{scroll-margin-top:96px}
.store-catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:20px}
.store-catalog h2{font-size:23px;line-height:1.4;font-weight:750;letter-spacing:-.02em}
.store-search{display:flex;align-items:center;gap:9px;border:1px solid var(--store-line);background:var(--store-surface);border-radius:12px;padding:0 6px 0 14px;min-height:46px;min-width:250px;max-width:360px;width:34%}
.store-search>i{color:var(--store-primary);font-size:19px}
.store-search input{width:100%;border:0!important;box-shadow:none!important;border-radius:0;font-size:13px;padding:11px 0;background:transparent}
.store-search button{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;background:var(--store-bg);color:var(--store-primary);border:0;border-radius:8px;font-size:18px}
.store-search:focus-within{border-color:var(--store-primary);box-shadow:0 0 0 3px #73975a1a}
.store-category-rail{display:flex;gap:24px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;padding:0 2px;scrollbar-width:thin;scrollbar-color:var(--store-line) transparent;margin-bottom:8px;border-bottom:1px solid var(--store-line)}
.store-category-chip{position:relative;display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:12px 1px;min-height:48px;border:0;border-radius:0;background:transparent;font-size:14px;color:var(--store-muted)!important;font-weight:550;white-space:nowrap}
.store-category-chip:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px 3px 0 0;background:transparent}
.store-category-chip i{font-size:16px}
.store-category-chip:hover{color:var(--store-primary)!important}
.store-category-chip.is-active{color:var(--store-primary)!important;font-weight:750}
.store-category-chip.is-active:after{background:var(--store-primary)}
.store-category-chip:focus-visible{outline-offset:-4px}
.store-search-summary{font-size:12px;color:var(--store-muted);padding:4px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.store-search-summary a{color:var(--store-primary)}
.store-product-grid{display:grid;grid-template-columns:repeat(var(--store-columns),minmax(0,1fr));gap:16px}
.store-product{background:var(--store-surface);border:1px solid var(--store-line);border-radius:var(--store-radius);padding:20px;display:flex;flex-direction:column;position:relative;min-width:0;box-shadow:0 3px 12px #25463105;transition:border-color .16s ease,box-shadow .16s ease}
.store-product:hover{border-color:#96b589;box-shadow:0 6px 18px #2546310b}
.store-product.is-sold-out{background:var(--store-bg)}
.store-product-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.store-product-content{display:flex;flex-direction:column;min-width:0;flex:1}
.store-product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin-top:auto;margin-bottom:16px}
.store-product-meta .store-product-stock{margin:0}
.store-product-image{width:50px;height:50px;display:grid;place-items:center;border:1px solid transparent;border-radius:13px;flex-shrink:0;color:var(--store-primary);background:var(--store-bg);font-size:26px;overflow:hidden}
.store-product-image img{width:100%;height:100%;object-fit:contain;padding:4px}
.store-product-tone-0{background:#ecf1df;color:#547238}.store-product-tone-1{background:#f7ecdc;color:#a16d32}.store-product-tone-2{background:#e6eef1;color:#4b7584}.store-product-tone-3{background:#efe8ee;color:#86617e}
.store-page[data-theme-mode=dark] .store-product-image{background:var(--store-accent);color:var(--store-accent-ink)}
.store-delivery-tag{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:6px;background:var(--store-bg);color:var(--store-primary);font-size:11px;line-height:1.5;white-space:nowrap}
.store-delivery-tag i{font-size:13px}
.store-delivery-tag.is-manual{color:var(--store-warning)}
.store-product h4{font-size:16px;line-height:1.6;font-weight:650;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px}
.store-product-stock{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--store-success);margin-top:auto;margin-bottom:16px;flex-wrap:wrap;overflow-wrap:anywhere}
.store-product-stock.is-low{color:var(--store-warning)}
.store-product-stock.is-empty{color:var(--store-muted)}
.store-product-stock>span:last-child:not(.store-stock-dot){margin-left:auto;color:var(--store-muted);font-size:11px}
.store-stock-dot{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}
.store-stock-dot.is-empty{background:var(--store-muted)}
.store-product-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid var(--store-line);padding-top:15px}
.store-product-price{color:var(--store-price);font-size:25px;font-weight:700;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.6px;line-height:1.2;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.store-product-price small{font-size:13px;font-weight:600;margin-right:2px;letter-spacing:0}
.store-product-price>span{font-size:11px;font-weight:400;color:var(--store-muted);margin-left:4px;letter-spacing:0}
.store-buy-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--store-primary);color:var(--store-primary-ink);border:1px solid var(--store-primary);border-radius:9px;padding:10px 15px;font-size:13px;font-weight:600;line-height:1.3;flex-shrink:0;touch-action:manipulation}
.store-buy-button>i{font-size:16px}
.store-buy-button:hover:not(:disabled){filter:brightness(.93)}
.store-buy-button:disabled{background:var(--store-surface);color:var(--store-muted);border-color:var(--store-line);opacity:1}
.store-empty{padding:44px 20px;text-align:center;color:var(--store-muted);border:1px solid var(--store-line);background:var(--store-surface);border-radius:var(--store-radius);margin:22px 0}
.store-empty>i{font-size:30px;display:block;margin-bottom:9px;color:var(--store-primary)}
.store-empty h3{font-size:17px;color:var(--store-ink);margin-bottom:7px}
.store-empty p{font-size:13px;margin-bottom:16px}
.store-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0 18px;font-size:12px;color:var(--store-muted)}
.store-pagination a{display:flex;align-items:center;gap:8px;border:1px solid var(--store-line);border-radius:10px;padding:10px 14px;background:var(--store-surface);color:var(--store-primary)}
.store-footer{font-size:11px;color:var(--store-muted)}
.store-footer>.store-container{padding-top:8px;padding-bottom:24px}
.store-mobile-nav{display:none}
/* Shared dialogs; checkout and shop notices have their own mobile positioning. */
.store-modal{position:fixed;inset:0;z-index:70;background:rgba(15,23,42,.4);display:flex;align-items:center;justify-content:center;padding:24px;overscroll-behavior:contain}
.store-modal.store-receipt-modal{z-index:80}
.store-modal-card{width:100%;max-width:530px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;background:var(--store-surface);border-radius:18px;border:1px solid var(--store-line);box-shadow:0 18px 60px rgba(0,0,0,.18);overflow:hidden;animation:store-panel-in .16s ease-out}
.store-checkout-card{max-width:570px}
.store-query-card{max-width:650px}
.store-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:23px 27px 19px;background:var(--store-bg);border-bottom:1px solid var(--store-line);flex-shrink:0}
.store-modal-header .store-eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:6px}
.store-modal-header h2{font-size:20px;line-height:1.5;letter-spacing:-.2px;font-weight:700;overflow-wrap:anywhere}
.store-icon-button{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:10px;border:1px solid var(--store-line);background:var(--store-surface);color:var(--store-primary);font-size:19px;margin-top:2px}
.store-icon-button:hover{background:var(--store-line)}
.store-modal-scroll{padding:22px 27px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:var(--store-line) transparent}
.store-modal-footer{padding:18px 27px;border-top:1px solid var(--store-line);flex-shrink:0}
.store-muted{color:var(--store-muted)}
.store-richtext{font-size:13px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.store-richtext>*{max-width:100%}
.store-richtext img{max-width:100%;height:auto!important;border-radius:4px;margin:8px 0;vertical-align:middle}
.store-richtext .faka-announcement-image{display:block;max-width:100%;height:auto!important}
.store-richtext h1,.store-richtext h2,.store-richtext h3,.store-richtext h4{margin:10px 0 7px;font-weight:650;line-height:1.5}
.store-richtext h1{font-size:24px}.store-richtext h2{font-size:20px}.store-richtext h3{font-size:17px}.store-richtext h4{font-size:15px}
.store-richtext .ql-align-center{text-align:center}.store-richtext .ql-align-right{text-align:right}.store-richtext .ql-align-justify{text-align:justify}
.store-richtext .ql-direction-rtl{direction:rtl}
.store-richtext .ql-size-small{font-size:.75em}.store-richtext .ql-size-large{font-size:1.5em}.store-richtext .ql-size-huge{font-size:2.5em}
.store-richtext .ql-font-serif{font-family:Georgia,"Songti SC",STSong,serif}.store-richtext .ql-font-monospace{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.store-richtext .ql-indent-1{--store-rich-indent:1}.store-richtext .ql-indent-2{--store-rich-indent:2}.store-richtext .ql-indent-3{--store-rich-indent:3}.store-richtext .ql-indent-4{--store-rich-indent:4}.store-richtext .ql-indent-5{--store-rich-indent:5}.store-richtext .ql-indent-6{--store-rich-indent:6}.store-richtext .ql-indent-7{--store-rich-indent:7}.store-richtext .ql-indent-8{--store-rich-indent:8}
.store-richtext [class*="ql-indent-"]{padding-left:min(calc(var(--store-rich-indent,0) * 1.5em),36%)}
.store-richtext [class*="ql-indent-"].ql-direction-rtl{padding-left:0;padding-right:min(calc(var(--store-rich-indent,0) * 1.5em),36%)}
.store-richtext a{color:var(--store-primary);text-decoration:underline;text-underline-offset:3px}
.store-richtext p{margin:0 0 7px}.store-richtext p:last-child{margin-bottom:0}
.store-richtext ul,.store-richtext ol{margin:7px 0 7px 18px;padding:0;list-style:revert}
.store-richtext table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;-webkit-overflow-scrolling:touch}
.store-richtext table td,.store-richtext table th{border:1px solid var(--store-line);padding:6px}
.store-richtext pre{display:block;white-space:pre-wrap;max-width:100%;overflow-x:auto;overflow-wrap:anywhere}
.store-richtext code{overflow-wrap:anywhere}
.store-richtext blockquote{margin:10px 0;padding:5px 12px;border-left:3px solid var(--store-line);color:var(--store-muted)}
.store-checkout-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;font-size:12px}
.store-badge{display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:4px 9px;font-size:11px;font-weight:600;background:var(--store-accent);color:var(--store-accent-ink)}
.store-product-detail{padding:0 0 20px;border:0;border-radius:0;background:transparent;color:var(--store-ink);margin-bottom:0;height:auto;max-height:none;overflow:visible}
.store-checkout-section{padding:19px 0;border-top:1px solid var(--store-line)}
.store-step-heading{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.store-step-heading>span{font:600 10px/1 Inter,sans-serif;color:var(--store-accent-ink);background:var(--store-accent);border-radius:7px;width:25px;height:25px;display:grid;place-items:center}
.store-step-heading h3{font-size:14px;font-weight:700}
.store-quantity-row{display:flex;align-items:center;justify-content:space-between;gap:15px}
.store-quantity-row label{font-size:12px;color:var(--store-ink)}
.store-stepper{display:flex;align-items:center;border:1px solid var(--store-line);border-radius:9px;overflow:hidden;flex-shrink:0}
.store-stepper button{width:38px;height:39px;display:grid;place-items:center;background:var(--store-bg);color:var(--store-ink);border:0;font-size:17px}
.store-stepper input{width:49px;height:39px;text-align:center;border:0;border-left:1px solid var(--store-line);border-right:1px solid var(--store-line);border-radius:0;font-size:14px;padding:0;background:var(--store-surface);font-weight:600}
.store-field{margin-bottom:17px}
.store-field:last-child{margin-bottom:0}
.store-field label,.store-gate-card label{display:block;font-size:13px;font-weight:600;margin-bottom:8px;color:var(--store-ink)}
.store-field label>span{font-size:11px;color:var(--store-price);margin-left:3px}
.store-field label>small{font-size:10px;color:var(--store-muted);margin-left:5px;font-weight:400}
.store-field>input,.store-password-field>input,.store-coupon-row>input,.store-gate-input>input{width:100%;height:45px;padding:10px 12px;font-size:13px;border-radius:8px}
.store-field-hint{font-size:11px;line-height:1.7;color:var(--store-muted);margin-top:6px!important}
.store-password-field{position:relative}
.store-password-field>input{padding-right:46px}
.store-password-toggle{position:absolute;top:0;right:0;bottom:0;width:44px;display:grid;place-items:center;border:0;background:none;color:var(--store-muted);font-size:18px}
.store-coupon-row{display:flex;align-items:center;gap:8px}
.store-coupon-row>input{flex:1;min-width:0}
.store-coupon-row>.store-button{min-height:45px;padding:9px 16px;font-size:12px;border-radius:8px}
.store-coupon-row>.store-text-button{flex-shrink:0;padding:5px}
.store-field-hint.is-success{color:#467944}
.store-field-hint.is-error{color:#bd5146}
.store-payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.store-payment-option{display:flex;align-items:center;gap:9px;padding:13px 11px;border:1px solid var(--store-line);border-radius:10px;background:var(--store-surface);color:var(--store-ink);text-align:left;min-height:66px;position:relative}
.store-payment-option:hover{border-color:var(--store-primary)}
.store-payment-option[aria-checked=true]{border-color:var(--store-primary);background:var(--store-bg);box-shadow:inset 0 0 0 1px var(--store-primary)}
.store-payment-icon{display:grid;place-items:center;width:27px;flex-shrink:0;font-size:23px;color:var(--store-primary)}
.store-payment-icon img{width:25px;height:25px;object-fit:contain}
.store-payment-icon .ri-wechat-pay-fill{color:#247946}.store-payment-icon .ri-alipay-fill{color:#2377be}
.store-page[data-theme-mode=dark] .store-payment-icon .ri-wechat-pay-fill{color:#91cf98}.store-page[data-theme-mode=dark] .store-payment-icon .ri-alipay-fill{color:#9abff2}
.store-payment-label{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.store-payment-label strong{font-size:13px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.store-payment-label small{font-size:11px;color:var(--store-muted);line-height:1.5}
.store-radio-dot{width:12px;height:12px;flex-shrink:0;border:1px solid var(--store-line);border-radius:100%;margin-left:auto}
.store-payment-option[aria-checked=true] .store-radio-dot{background:var(--store-primary);border-color:var(--store-primary);box-shadow:inset 0 0 0 3px var(--store-surface)}
.store-order-summary{padding:14px 0 0;border-top:1px solid var(--store-line);display:flex;flex-direction:column;gap:8px}
.store-order-summary>div{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;color:var(--store-muted)}
.store-order-summary strong{font-size:13px;font-weight:600;color:var(--store-ink);font-variant-numeric:tabular-nums}
#buyDiscount{color:#467944}
.store-checkout-footer{border-top:1px solid var(--store-line);background:var(--store-bg);padding:17px 27px;display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;flex-shrink:0}
.store-checkout-footer>div{display:flex;flex-direction:column;gap:1px}
.store-checkout-footer>div>span{font-size:11px;color:var(--store-muted)}
.store-checkout-footer strong{font:700 27px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--store-price);letter-spacing:-.6px;white-space:nowrap;font-variant-numeric:tabular-nums}
.store-checkout-footer>.store-button{min-height:48px;min-width:190px}
.store-error{font-size:12px;color:#a33b32;border:1px solid #e3b5ad;background:#fff4ef;padding:10px 12px;border-radius:8px;line-height:1.7;margin:10px 0 0!important;overflow-wrap:anywhere}
.store-inline-note{padding:13px 14px;background:var(--store-bg);border:1px solid var(--store-line);border-radius:9px;color:var(--store-muted);font-size:11px;line-height:1.8}
.store-inline-note a{color:var(--store-primary);text-decoration:underline}
.store-query-card .store-field{margin-bottom:14px}
.store-query-results{margin-top:22px}
.store-query-empty{text-align:center;color:var(--store-muted);padding:28px 12px;font-size:12px}
.store-query-empty>i{display:block;font-size:32px;margin-bottom:9px;opacity:.65}
.store-order-result{padding:16px;border:1px solid var(--store-line);border-radius:12px;margin-bottom:12px}
.store-order-result-head{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:11px;color:var(--store-muted);border-bottom:1px solid var(--store-line);padding-bottom:10px}
.store-order-result-head code{font:11px/1.6 ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere;min-width:0}
.store-order-status{white-space:nowrap;font-size:11px;color:var(--store-ink);padding:3px 7px;border-radius:6px;background:var(--store-bg)}
.store-order-status.is-paid{background:var(--store-accent);color:var(--store-accent-ink)}
.store-order-result-body{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding-top:12px}
.store-order-result-body h3{font-size:13px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.store-order-result-body>strong{font:650 18px/1.5 Inter,sans-serif;color:var(--store-price);white-space:nowrap}
.store-order-result-body small{font-size:11px;color:var(--store-muted);display:block;margin-top:4px}
.store-order-result-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:13px;font-size:11px;color:var(--store-muted)}
.store-order-result-foot>.store-button{min-height:40px;padding:8px 12px;font-size:12px;border-radius:8px}
#recentOrderLink{padding-top:12px;font-size:11px;color:var(--store-muted)}
#recentOrderLink button{font-size:11px;color:var(--store-primary);background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:3px 0;overflow-wrap:anywhere;text-align:left}
.store-receipt-meta{display:flex;flex-direction:column;gap:12px;margin-bottom:19px}
.store-receipt-meta>div{display:flex;justify-content:space-between;gap:18px;font-size:12px;color:var(--store-muted)}
.store-receipt-meta strong{font-weight:500;color:var(--store-ink);text-align:right;overflow-wrap:anywhere;min-width:0}
.store-receipt-meta code{font-size:10px;overflow-wrap:anywhere}
.store-receipt-meta .store-receipt-amount{font-size:24px;letter-spacing:-.5px;line-height:1.2;color:var(--store-price)}
.store-reveal-gate{padding:28px 0 12px;text-align:center;font-size:12px;color:var(--store-muted)}
.store-reveal-gate>i{font-size:33px;color:var(--store-primary);display:block;margin-bottom:9px}
.store-reveal-gate>.store-button{margin-top:17px;width:100%}
.store-kami-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 9px;font-size:11px;font-weight:600}
#frontCopyOkBadge{color:#467944;font-size:10px}
#frontKamiTextarea{width:100%;padding:14px;border-radius:10px;font:12px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical;min-height:160px;background:var(--store-bg);word-break:break-all}
.store-receipt-actions{display:flex;flex-wrap:wrap;gap:9px}
.store-receipt-actions>.store-button{flex:1;min-height:42px;padding:10px 16px;font-size:12px}
.store-receipt-actions>.store-text-button{width:100%;margin-top:2px;text-align:center;color:var(--store-muted)}
.store-toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);z-index:200;max-width:calc(100% - 40px);border-radius:10px;background:var(--store-primary);color:var(--store-primary-ink);padding:12px 20px;font-size:12px;box-shadow:0 7px 20px rgba(0,0,0,.15)}
.store-spin{display:inline-block;animation:store-spin .9s linear infinite}
body.store-modal-open{overflow:hidden}
.store-checkout-updates{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;margin:0 0 14px;border:1px solid var(--store-line);border-radius:10px;background:var(--store-surface);font-size:13px;line-height:1.5;color:var(--store-ink)}
.store-checkout-updates .store-text-button{flex-shrink:0;min-height:36px;padding:5px 0;color:var(--store-primary);font-weight:600}
#recentOrderLink{display:flex;flex-wrap:wrap;gap:7px 12px;overflow-wrap:anywhere}
#recentOrderLink button{max-width:100%;overflow-wrap:anywhere;text-align:left}
.store-receipt-actions>.store-button{min-width:112px}
#frontCancelBtn{color:var(--store-muted);background:transparent}
#frontOrderDeadline{font-variant-numeric:tabular-nums}
@media(max-width:600px){.store-checkout-updates{padding:9px 12px;font-size:12px;gap:8px}.store-checkout-updates .store-text-button{font-size:12px}.store-receipt-actions>.store-button{flex-basis:calc(50% - 9px);min-width:0}}
.store-page .niu-modal-mask{z-index:120}
.store-page .niu-modal-card{background:var(--store-surface);border-color:var(--store-line);color:var(--store-ink);border-radius:var(--store-radius)}
.store-page .niu-modal-title,.store-page .niu-modal-body{color:var(--store-ink)}
.store-page .niu-btn-ok{background:var(--store-primary);border-color:var(--store-primary);color:var(--store-primary-ink)}
.store-page .niu-btn-cancel,.store-page .niu-modal-close{background:var(--store-bg);border-color:var(--store-line);color:var(--store-ink)}
.store-page .niu-modal-header,.store-page .niu-modal-footer{border-color:var(--store-line)}

/* Custom palettes and density remain available; old hero/copy fields do not create content. */
.store-page[data-theme-density=compact] .store-product{padding:13px}
.store-page[data-theme-density=compact] .store-product-grid{gap:10px}
.store-page[data-theme-font=editorial] .store-product h4{font-family:"Noto Serif SC","Songti SC",STSong,serif}
.store-page[data-theme-mode=dark] .store-error{background:#352526;color:#f4b4a8;border-color:#6a4545}
.store-page[data-theme-mode=dark] .store-field-hint.is-success,.store-page[data-theme-mode=dark] #buyDiscount,.store-page[data-theme-mode=dark] #frontCopyOkBadge{color:#b3d6a3}
.store-page[data-theme-mode=dark] .store-field-hint.is-error{color:#f4b4a8}
.store-gate-page{display:flex;align-items:center;justify-content:center;padding:24px 16px;min-height:100vh;min-height:100dvh}
.store-gate-card{width:100%;max-width:430px;border:1px solid var(--store-line);border-radius:18px;background:var(--store-surface);padding:30px;box-shadow:0 14px 50px #173d3410}
.store-gate-card .store-brand{margin-bottom:26px}
.store-gate-card h1{font-size:23px;line-height:1.4;margin-bottom:10px;font-weight:600}
.store-gate-card>.store-muted{font-size:13px;margin-bottom:22px}
.store-gate-input{display:flex;gap:10px;align-items:center;margin-bottom:18px}
.store-gate-input>input{height:50px;flex:1;min-width:0;letter-spacing:2px;font-size:16px;text-transform:uppercase}
.store-captcha{display:block;border:1px solid var(--store-line);border-radius:6px;overflow:hidden;background:var(--store-primary);padding:0;flex-shrink:0}
.store-captcha canvas{display:block}
.store-gate-card>.store-text-button{width:100%;margin-top:16px;color:var(--store-muted);font-size:12px}
.store-gate-card .store-error{margin:0 0 14px!important}
.store-theme-preview{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 20px;padding:9px 16px;background:var(--store-accent);color:var(--store-accent-ink);font-size:12px;border-bottom:1px solid var(--store-line)}
.store-theme-preview a{text-decoration:underline;text-underline-offset:3px}
@keyframes store-spin{to{transform:rotate(360deg)}}
@keyframes store-panel-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:1024px){.store-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-brand-name{max-width:350px}}
@media(max-width:640px){
 html{scroll-padding-top:82px}
 .store-page{font-size:14px;background-attachment:scroll}
 .store-container{width:calc(100% - 28px)}
 .store-header-inner{min-height:66px;gap:12px}
 .store-brand{gap:10px;font-size:17px}
 .store-brand-mark{width:35px;height:35px;font-size:20px;border-radius:10px}
 .store-brand-name{max-width:calc(100vw - 130px)}
 .store-header-actions{gap:10px}
 .store-header-actions>.store-account-link,.store-logout,.store-header-query{display:none}
 .store-header-notice{font-size:12px;min-height:44px}
 .store-main{padding-top:18px;padding-bottom:18px}
 .store-announcement{padding:16px;margin-bottom:22px}
 .store-announcement-heading{margin-bottom:10px}
 .store-announcement-content{font-size:14px!important;line-height:1.85!important}
 .store-catalog{scroll-margin-top:84px}
 .store-catalog-heading{display:block;padding-bottom:14px}
 .store-catalog h2{font-size:21px}
 .store-search{min-width:0;max-width:none;width:100%;margin-top:14px;min-height:46px}
 .store-search input{font-size:16px}
 .store-category-rail{gap:20px;scrollbar-width:none}
 .store-category-rail::-webkit-scrollbar{display:none}
 .store-category-chip{font-size:13px;padding:12px 1px;min-height:46px}
 .store-product-grid{grid-template-columns:1fr;gap:12px}
 .store-product,.store-page[data-theme-density=compact] .store-product{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-areas:"visual details" "bottom bottom";gap:0 14px;padding:16px;border-radius:var(--store-radius)}
 .store-product-top{grid-area:visual;display:block;margin:0 0 12px}
 .store-product-content{grid-area:details}
 .store-product-meta{margin:0 0 12px;gap:5px 8px}
 .store-product-meta .store-delivery-tag{display:inline-flex;margin:0;text-align:left}
 .store-product-meta .store-product-stock{margin:0}
 .store-product-image{width:56px;height:56px;border-radius:12px;font-size:27px}
 .store-delivery-tag{display:block;padding:0;background:transparent;font-size:10px;white-space:normal;line-height:1.6;text-align:center;margin-top:6px}
 .store-delivery-tag i{display:none}
 .store-product h4{font-size:16px;line-height:1.55;margin-bottom:7px;align-self:start}
 .store-product-stock{font-size:12px;gap:5px;line-height:1.55;margin:0 0 12px;align-self:start}
 .store-product-stock>span:last-child:not(.store-stock-dot){margin-left:5px;font-size:11px}
 .store-product-bottom{grid-area:bottom;padding-top:12px;gap:10px;align-items:center}
 .store-product-price{font-size:25px}
 .store-product-price small{font-size:13px}
 .store-product-price>span{font-size:11px}
 .store-buy-button{min-height:44px;padding:11px 19px;font-size:13px;gap:9px}
 .store-buy-button>i{font-size:16px}
 .store-footer{padding-bottom:84px;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
 .store-footer>.store-container{padding-top:4px;padding-bottom:12px;font-size:11px}
 .store-mobile-nav{position:fixed;display:flex;justify-content:space-around;align-items:center;bottom:0;left:0;right:0;z-index:35;background:var(--store-surface);border-top:1px solid var(--store-line);box-shadow:0 -4px 20px #1f3d2c08;padding:8px 14px calc(8px + env(safe-area-inset-bottom))}
 .store-mobile-nav>a,.store-mobile-nav>button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;flex:1;border:0;border-radius:10px;background:none;color:var(--store-muted);font-size:11px;line-height:1.3;min-height:48px;margin:0 5px;padding:3px 6px}
 .store-mobile-nav i{font-size:20px;line-height:1.1}
 .store-mobile-nav .is-active{background:var(--store-accent);color:var(--store-accent-ink);font-weight:650}
 .store-modal{padding:0;align-items:flex-end;background:rgba(15,35,25,.45)}
 .store-modal-card{max-width:100%;max-height:94vh;max-height:94dvh;border-radius:18px 18px 0 0;border-bottom:0;box-shadow:0 -8px 36px rgba(0,0,0,.14);padding-bottom:env(safe-area-inset-bottom)}
 .store-modal-header{padding:17px 18px 14px;gap:10px}
 .store-modal-header h2{font-size:18px;line-height:1.5}
 .store-icon-button{width:38px;height:38px;font-size:18px;border-radius:9px}
 .store-modal-scroll{padding:18px;scrollbar-width:none}
 .store-modal-footer{padding:15px 18px}
 .store-checkout-topline{font-size:12px}
 .store-product-detail{font-size:14px}
 .store-checkout-section{padding:18px 0}
 .store-step-heading{margin-bottom:14px}
 .store-step-heading h3{font-size:14px}
 .store-field label{font-size:13px;margin-bottom:8px}
 .store-field>input,.store-password-field>input,.store-coupon-row>input{font-size:16px;height:47px;padding:11px 12px}
 .store-field-hint{font-size:11px;line-height:1.8}
 .store-stepper button{width:42px;height:42px}
 .store-stepper input{height:42px;width:50px;font-size:16px}
 .store-quantity-row label{font-size:13px}
 .store-quantity-row .store-field-hint{font-size:11px}
 .store-payment-options{gap:8px}
 .store-payment-option{padding:12px 10px;gap:7px;min-height:66px}
 .store-payment-label strong{font-size:13px}
 .store-payment-label small{font-size:11px}
 .store-payment-icon{width:23px;font-size:21px}
 .store-payment-icon img{width:23px;height:23px}
 .store-radio-dot{width:11px;height:11px}
 .store-checkout-footer{padding:15px 18px;gap:8px 12px}
 .store-checkout-footer strong{font-size:26px}
 .store-checkout-footer>.store-button{min-width:148px;min-height:48px;font-size:13px;padding:12px 15px;gap:9px;flex:1;max-width:215px}
 .store-order-result{padding:14px}
 .store-order-result-head{font-size:11px;gap:10px}
 .store-order-result-head code{font-size:11px}
 .store-order-result-body h3{font-size:14px}
 .store-order-result-body>strong{font-size:18px}
 .store-order-result-foot{font-size:11px;gap:8px;align-items:flex-start}
 .store-order-result-foot>span{max-width:54%}
 .store-receipt-meta>div{font-size:12px}
 .store-receipt-meta code{font-size:11px}
 .store-receipt-actions>.store-button{font-size:12px;gap:7px;min-height:44px}
 .store-toast{bottom:96px;bottom:calc(96px + env(safe-area-inset-bottom));font-size:12px;max-width:calc(100% - 28px)}
 .store-gate-card{padding:25px 20px}
 .store-gate-card h1{font-size:22px}
}
@media(max-width:359px){
 .store-container{width:calc(100% - 20px)}
 .store-brand-name{max-width:calc(100vw - 120px);font-size:16px}
 .store-brand-mark{width:32px;height:32px}
 .store-header-actions{gap:7px}
 .store-product,.store-page[data-theme-density=compact] .store-product{padding:14px;gap:0 12px;grid-template-columns:50px minmax(0,1fr)}
 .store-product-image{width:50px;height:50px}
 .store-product h4{font-size:15px}
 .store-product-price{font-size:24px}
 .store-buy-button{padding:11px 16px;font-size:13px;gap:6px}
 .store-modal-header{padding:16px 14px 13px}
 .store-modal-scroll{padding:15px 14px}
 .store-checkout-footer{padding:14px;gap:8px 10px}
 .store-checkout-footer strong{font-size:24px}
 .store-checkout-footer>.store-button{padding:12px;font-size:12px;gap:6px}
 .store-payment-option{gap:6px;padding:11px 8px}
 .store-payment-label strong{font-size:12px}
 .store-payment-label small{font-size:10px}
 .store-payment-icon{width:20px;font-size:19px}
 .store-mobile-nav{padding-left:8px;padding-right:8px}
 .store-mobile-nav>a,.store-mobile-nav>button{margin:0 3px}
}

/* Compact single-column product rows. Older uploaded themes keep catalog=grid. */
.store-page[data-theme-catalog=list] .store-product-grid{grid-template-columns:minmax(0,1fr);gap:8px}
.store-page[data-theme-catalog=list] .store-product{display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-areas:"visual details action";align-items:center;gap:12px;min-height:60px;padding:7px 12px;border-radius:12px;box-shadow:none}
.store-page[data-theme-catalog=list] .store-product:hover{box-shadow:none}
.store-page[data-theme-catalog=list] .store-product-top{grid-area:visual;display:block;margin:0;align-self:center}
.store-page[data-theme-catalog=list] .store-product-image{width:32px;height:32px;font-size:19px;border-radius:8px;border-color:var(--store-line)}
.store-page[data-theme-catalog=list] .store-product-image img{padding:2px}
.store-page[data-theme-catalog=list] .store-product-content{grid-area:details;align-self:center;min-width:0}
.store-page[data-theme-catalog=list] .store-product h4{display:block;overflow:visible;-webkit-line-clamp:unset;grid-area:auto;font-size:14px;font-weight:650;line-height:1.4;margin:0 0 3px;overflow-wrap:anywhere}
.store-page[data-theme-catalog=list] .store-product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:0;min-width:0}
.store-page[data-theme-catalog=list] .store-delivery-tag,.store-page[data-theme-catalog=list] .store-product-stock{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:10.5px;font-weight:500;line-height:1.35;border:1px solid var(--store-line);border-radius:4px;padding:1px 5px;margin:0;text-align:left;white-space:normal;max-width:100%}
.store-page[data-theme-catalog=list] .store-delivery-tag{color:var(--store-primary);background:var(--store-bg)}
.store-page[data-theme-catalog=list] .store-delivery-tag.is-manual{color:var(--store-warning)}
.store-page[data-theme-catalog=list] .store-product-stock{color:#367048;background:#edf5e8;border-color:#d7e5cf}
.store-page[data-theme-catalog=list] .store-product-stock.is-low{color:#8b5c14;background:#fbf4e1;border-color:#eadcb9}
.store-page[data-theme-catalog=list] .store-product-stock.is-empty{color:#a34437;background:#fff0ee;border-color:#f0d4ce}
.store-page[data-theme-catalog=list] .store-delivery-tag i,.store-page[data-theme-catalog=list] .store-stock-dot{display:none}
.store-page[data-theme-catalog=list] .store-product-stock>span:last-child:not(.store-stock-dot){margin-left:2px;font-size:inherit;color:inherit}
.store-page[data-theme-catalog=list] .store-product-bottom{grid-area:action;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:12px;margin:0;padding:0;border:0;min-width:0;max-width:220px}
.store-page[data-theme-catalog=list] .store-product-price{justify-content:flex-end;align-content:center;font-size:17px;line-height:1.35;letter-spacing:0;gap:1px;max-width:140px;min-width:0;overflow-wrap:anywhere}
.store-page[data-theme-catalog=list] .store-product-price small{font-size:11px;margin-right:1px}
.store-page[data-theme-catalog=list] .store-product-price>span{display:none}
.store-page[data-theme-catalog=list] .store-buy-button{min-height:44px;min-width:52px;padding:7px 12px;border-radius:8px;font-size:12px;line-height:1.4;gap:0}
.store-page[data-theme-catalog=list] .store-buy-button>i{display:none}
.store-page[data-theme-catalog=list][data-theme-mode=dark] .store-product-stock{color:#b6d89a;background:#293e2b;border-color:#496249}
.store-page[data-theme-catalog=list][data-theme-mode=dark] .store-product-stock.is-low{color:#f3c983;background:#3f3526;border-color:#6b5634}
.store-page[data-theme-catalog=list][data-theme-mode=dark] .store-product-stock.is-empty{color:#f4b4a8;background:#3a2928;border-color:#6a4545}
@media(max-width:640px){
 .store-page[data-theme-catalog=list] .store-product{gap:9px;padding:7px 10px;border-radius:10px}
 .store-page[data-theme-catalog=list] .store-product h4{font-size:13px;line-height:1.45}
 .store-page[data-theme-catalog=list] .store-product-meta{gap:3px 4px}
 .store-page[data-theme-catalog=list] .store-delivery-tag,.store-page[data-theme-catalog=list] .store-product-stock{font-size:10px;padding:1px 4px}
 .store-page[data-theme-catalog=list] .store-product-bottom{gap:8px;max-width:170px}
 .store-page[data-theme-catalog=list] .store-product-price{font-size:15px;max-width:105px}
 .store-page[data-theme-catalog=list] .store-buy-button{min-height:44px;min-width:48px;padding:7px 9px}
}
@media(max-width:420px){
 .store-page[data-theme-catalog=list] .store-product{grid-template-columns:32px minmax(0,1fr) auto;gap:8px;padding:5px 8px}
 .store-page[data-theme-catalog=list] .store-product-bottom{flex-direction:column;align-items:stretch;gap:0;min-width:48px;max-width:84px}
 .store-page[data-theme-catalog=list] .store-product-price{justify-content:center;font-size:14px;line-height:1.2;max-width:84px}
 .store-page[data-theme-catalog=list] .store-product-price small{font-size:10px}
}

@media(prefers-reduced-motion:reduce){.store-page *,.store-page *:before,.store-page *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Checkout keeps both closing controls outside the single content scroller. */
.store-checkout-modal .store-modal-card{height:auto;max-height:calc(100dvh - 64px);min-height:0}
.store-checkout-modal .store-modal-header{position:relative;z-index:2;padding-top:16px;padding-bottom:13px;flex:0 0 auto}
.store-checkout-modal .store-modal-scroll{flex:1 1 auto;min-height:0;padding-top:16px;padding-bottom:16px}
.store-checkout-modal .store-checkout-footer{position:relative;z-index:2;flex:0 0 auto;padding-top:12px;padding-bottom:10px}
.store-checkout-close{display:block;flex:0 0 100%;width:100%;border:0;background:transparent;color:var(--store-muted);font:inherit;font-size:13px;min-height:36px;padding:4px 12px;text-align:center;cursor:pointer}
.store-checkout-close:hover{color:var(--store-primary)}
.store-reveal-gate{display:block;text-align:left;padding:16px;border:1px solid var(--store-line);border-radius:12px;background:var(--store-bg)}
.store-reveal-gate .store-field{margin-bottom:12px}
.store-reveal-gate .store-button{width:100%;min-height:44px}
.store-query-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:var(--store-muted);font-size:12px}
.store-query-pagination button{min-height:42px;border:1px solid var(--store-line);border-radius:8px;padding:8px 14px;background:var(--store-surface);color:var(--store-ink);cursor:pointer}
.store-query-pagination button:disabled{opacity:.45;cursor:default}
@media(max-width:640px){
 .store-checkout-modal{align-items:center;padding:20px 10px calc(20px + env(safe-area-inset-bottom))}
 .store-checkout-modal .store-modal-card{max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px - env(safe-area-inset-bottom));border-radius:16px;border-bottom:1px solid var(--store-line);padding-bottom:0}
 .store-checkout-modal .store-modal-header{padding:11px 14px 10px;align-items:center}
 .store-checkout-modal .store-modal-header h2{font-size:16px;line-height:1.4}
 .store-checkout-modal .store-icon-button{width:44px;height:44px;flex:0 0 44px}
 .store-checkout-modal .store-modal-scroll{padding:12px 14px}
 .store-checkout-modal .store-checkout-topline{margin-bottom:10px}
 .store-checkout-modal .store-product-detail{padding-bottom:14px}
 .store-checkout-modal .store-checkout-section{padding:13px 0}
 .store-checkout-modal .store-step-heading{margin-bottom:10px}
 .store-checkout-modal .store-field{margin-bottom:13px}
 .store-checkout-modal .store-payment-option{min-height:56px;padding-top:9px;padding-bottom:9px}
 .store-checkout-modal .store-checkout-footer{padding:10px 14px 7px;gap:4px 10px}
 .store-checkout-modal .store-checkout-footer strong{font-size:23px}
 .store-checkout-modal .store-checkout-footer>.store-button{min-height:44px;min-width:140px;padding:10px 13px}
 .store-checkout-modal .store-checkout-close{min-height:36px}
}
@media(max-height:500px){
 .store-checkout-modal{padding:8px}
 .store-checkout-modal .store-modal-card{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
 .store-checkout-modal .store-modal-header{padding-top:5px;padding-bottom:5px}
 .store-checkout-modal .store-checkout-footer{padding-top:6px;padding-bottom:4px}
}

/* Stateless raster challenge; no answer is shipped to canvas or HTML. */
.store-captcha img{display:block;width:120px;height:48px;object-fit:contain}

/* Shop notices remain centred, with both closing controls outside the content. */
#subDialogNoticeModal{--store-notice-edge:16px;--store-notice-gap-y:max(var(--store-notice-edge),env(safe-area-inset-top,0px),env(safe-area-inset-bottom,0px));--store-notice-gap-x:max(var(--store-notice-edge),env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));align-items:center;justify-content:center;padding:16px;padding:var(--store-notice-gap-y) var(--store-notice-gap-x)}
#subDialogNoticeModal>.store-notice-card{max-width:530px;max-height:calc(100vh - 32px);max-height:calc(100vh - 2 * var(--store-notice-gap-y));max-height:calc(100dvh - 2 * var(--store-notice-gap-y));min-height:0;margin:0;border:1px solid var(--store-line);border-radius:18px;padding-bottom:0;box-shadow:0 18px 60px rgba(0,0,0,.18)}
#subDialogNoticeModal>.store-notice-card>.store-modal-scroll{flex:1 1 auto;min-height:0}
@media(max-height:500px){
 #subDialogNoticeModal{--store-notice-edge:8px;padding:8px;padding:var(--store-notice-gap-y) var(--store-notice-gap-x)}
 #subDialogNoticeModal>.store-notice-card{max-height:calc(100vh - 16px);max-height:calc(100vh - 2 * var(--store-notice-gap-y));max-height:calc(100dvh - 2 * var(--store-notice-gap-y))}
 #subDialogNoticeModal .store-modal-header{padding:10px 16px}
 #subDialogNoticeModal .store-modal-footer{padding:10px 16px}
}
