:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#242424;background:#fff;--rpx:.5px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #7bbaff;outline-offset:4px}h1,h2,p{margin-top:0}.brand-logo{width:48px;height:48px;object-fit:contain}.notice{padding:16px 20px;margin:0;line-height:1.6;font-size:14px;color:#667085}.notice.error{color:#b42318;background:#fff1f1}.preview-notice{background:#fff8dd;color:#805c00;text-align:center;border-bottom:1px solid #f0e0ab}.order-reference{font-size:12px;text-align:center;overflow-wrap:anywhere;background:#fff}.language-control{display:inline-flex;gap:8px;align-items:center;font-size:12px;color:#666}.language-control select{padding:7px 8px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;max-width:150px}.page-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;font-size:12px;color:#777}.page-tools a:hover{text-decoration:underline}.page-heading{display:flex;gap:12px;align-items:center;justify-content:center;margin:8px 0 24px;font-size:18px;font-weight:700}.merchant-footer{text-align:center;padding:24px 12px;color:#999;font-size:12px;line-height:1.6}.section-label{font-size:15px;font-weight:600;text-transform:uppercase;letter-spacing:.6px}.delivery-snapshot{padding:18px;border:1px solid #e8e8e8;border-radius:6px;font-size:15px}.delivery-section h2{margin-bottom:14px}.payment-section{padding-top:14px}.payment-section .notice{padding:12px 0}.payment-section button{display:block;width:100%;border:0;padding:17px 20px;border-radius:6px;font-weight:600;background:#0070ba;color:#fff;font-size:16px}.amount-line{display:flex;justify-content:space-between;gap:16px;padding:10px 0;line-height:1.6;font-size:14px}.amount-line .amount-label{color:#888}.amount-line .amount-number{font-weight:400}.amount-line.total-line{margin-top:12px;padding-top:18px;border-top:1px solid #eee;font-size:20px}.amount-line.total-line .amount-label{color:#222;font-weight:600}.amount-line.total-line .amount-number{font-weight:700}.detail-summary{display:block!important;margin:20px 0}.delivery-section{margin:16px 0}.product-square-img,.item-image,.food-product-image{display:block;object-fit:contain}.image-missing{background:#f2f4f7;min-width:64px;min-height:64px}.product-card-item .product-meta{flex:1;min-width:0}.product-name,.item-name{overflow-wrap:anywhere}.product-quantity{font-size:12px;color:#888;margin-top:6px}.product-price,.item-price{white-space:nowrap}.checkout-title{margin:16px 0 26px;font-size:24px}.checkout-card .page-tools{padding:0 0 12px}.checkout-card .product-square-img{max-width:100%;flex-shrink:0}.checkout-card .payment-section .paypal-button{margin:12px 0 0}.paypal-checkout .header-logo{width:38px;height:38px;object-fit:contain}.paypal-checkout .home-menu{font-size:26px;color:#c4877a;min-width:44px}.paypal-checkout .header-center{text-align:center}.paypal-checkout .brand-slogan{max-width:240px;text-align:center;line-height:1.4}.paypal-checkout .checkout-body>.delivery-section{background:#fff;padding:20px;margin:0}.paypal-checkout .delivery-snapshot{border-radius:0;background:#faf0ee;border:0;color:#444}.paypal-checkout .section-label{padding-bottom:12px;border-bottom:1px solid #f0e0dc;color:#c4877a}.paypal-checkout .order-items{display:flex;flex-direction:column;gap:10px}.paypal-checkout .order-item{display:flex;align-items:center;gap:20px;padding:12px 0}.paypal-checkout .item-image{width:72px;height:88px;flex-shrink:0}.paypal-checkout .item-detail{flex:1;min-width:0}.paypal-checkout .item-name{font-size:15px;margin-bottom:10px}.paypal-checkout .item-qty{font-size:12px;color:#999}.paypal-checkout .item-price{font-weight:600;color:#b8857c}.paypal-checkout .payment-section{padding:20px;background:#fff}.paypal-checkout .payment-section button{background:#c4877a;border-radius:0}.paypal-checkout .total-line .amount-number{color:#c4877a}.food-checkout{min-height:100vh;background:#f6f6f6;display:block!important;height:auto!important}.food-checkout>.page-heading{padding:12px;margin:0;background:#fff;border-bottom:1px solid #eee}.food-body{max-width:900px;margin:auto;padding:22px}.food-banner{display:flex;align-items:center;gap:16px;padding:24px;background:#fff;margin-bottom:12px}.food-brand-logo{width:66px;height:66px;object-fit:contain}.food-banner h1{font-size:24px;margin:0 0 8px}.food-banner p{font-size:13px;color:#888;margin:0}.food-body>.delivery-section,.food-items,.food-summary,.food-body>.payment-section{background:#fff;padding:24px;margin:12px 0}.food-list{display:flex;flex-direction:column;gap:18px}.order-product{display:flex;gap:16px;align-items:center;border-bottom:1px solid #eee;padding:12px 0}.order-product:last-child{border:0}.food-product-image{width:80px;height:80px;flex-shrink:0}.food-body .product-meta{flex:1}.food-body .product-name{font-size:15px;font-weight:600}.food-body .product-price{font-weight:600}.food-checkout[data-theme=doordash] .food-pay-button{background:#eb1700}.food-checkout[data-theme=doordash] .food-banner{border-top:4px solid #eb1700}.food-checkout[data-theme=uber_eats] .food-pay-button{background:#000}.food-checkout[data-theme=uber_eats] .food-banner{border-top:4px solid #06c167}.food-checkout[data-theme=uber_eats] .delivery-snapshot{border:2px solid #000;border-radius:12px}.food-checkout[data-theme=fantuan] .food-pay-button{background:#f5be2b;color:#222}.food-checkout[data-theme=fantuan] .food-banner{border-radius:12px;border-top:4px solid #f5be2b}.catalog-page{max-width:1160px;margin:auto;padding:0 28px 50px}.catalog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0 34px}.catalog-brand{display:flex;gap:10px;align-items:center;font-size:22px}.catalog-page>h1{font-size:32px;margin:14px 0}.catalog-intro{color:#667085;line-height:1.7;margin-bottom:32px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.template-tile{border:1px solid #e4e7ec;border-radius:12px;padding:16px;background:#fff}.template-tile h2{font-size:18px;margin:20px 0 10px}.template-tile>p{font-size:13px;color:#888;line-height:1.7}.template-miniature{height:190px;background:#f5f7fa;border-radius:7px;padding:20px 24px;border-top:4px solid var(--accent)}.mini-brand{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600}.mini-brand img{width:28px;height:28px}.mini-block{height:40px;background:white;margin:15px 0 10px;border:1px solid #eee;border-radius:3px}.mini-line{height:5px;background:#dedfe5;width:85%;margin:9px 0}.mini-line.short{width:55%}.mini-pay{height:24px;background:var(--accent);margin-top:16px;border-radius:3px}.template-tile[data-kind=pdelivery] .template-miniature{background:#faf0ee}.template-tile[data-kind=livepay] .mini-block{width:60px;height:50px;margin:8px auto;border-radius:6px}.template-tile[data-kind=uber_eats] .mini-pay{background:#111}.preview-link{display:inline-block;background:#1d2939;color:#fff;font-size:14px;padding:11px 17px;border-radius:6px;margin-top:10px}.catalog-footer{font-size:12px;color:#999;text-align:center;margin-top:40px}.neutral-status{max-width:620px;margin:60px auto;padding:30px;border:1px solid #eee;text-align:center}.neutral-status a{display:block;margin:20px}.neutral-status h1{font-size:24px}[dir=rtl] .page-tools,[dir=rtl] .amount-line{direction:rtl}[dir=rtl] .product-meta,[dir=rtl] .item-detail{text-align:right}[dir=rtl] .checkout-title{text-align:right}@media(min-width:750px){:root{--rpx:.75px}}@media(max-width:780px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-page{padding:0 20px 35px}.food-body{padding:10px}}@media(max-width:520px){.template-grid{grid-template-columns:1fr}.catalog-header{align-items:flex-start}.catalog-brand{font-size:18px}.language-control span{display:none}.catalog-page>h1{font-size:28px}.page-tools{padding:12px}.checkout-card{border-radius:18px!important;padding:20px 18px!important}.checkout-container{padding:14px!important}.product-card-item{gap:14px!important;padding:14px 0!important}.checkout-card .product-square-img{width:80px!important;height:80px!important;border-radius:10px!important}.checkout-card[data-theme=livepay] .product-card-item{flex-direction:column!important;padding:20px 0!important}.checkout-card[data-theme=livepay] .product-square-img{width:210px!important;height:210px!important}.food-body>.delivery-section,.food-items,.food-summary,.food-body>.payment-section,.food-banner{padding:18px}.food-banner h1{font-size:20px}.food-product-image{width:60px;height:60px}.order-product{gap:12px}.product-price{font-size:14px}.paypal-checkout .order-item{gap:12px}.paypal-checkout .square-card{padding:18px}.merchant-footer{font-size:11px}.neutral-status{margin:20px;padding:20px}}
:is(.checkout-container[data-theme=delivery],.checkout-container[data-theme=livepay]){flex-direction:column}
.checkout-container>.notice{width:100%;flex-shrink:0}
