/* The layout's fonts, or Noto Sans TC when GOODBUY 管理's 字型 switch is on (GOODBUY Core sets --gb-font then). */
.gbs-storefront{box-sizing:border-box;width:100%;min-width:0;font-family:var(--gb-font,"Helvetica Neue",Helvetica,Arial,sans-serif);font-size:14px;line-height:1.5;text-transform:none;letter-spacing:normal}.gbs-storefront *{box-sizing:border-box}.gbs-storefront img{max-width:100%;height:auto}.gbs-storefront button,.gbs-storefront input,.gbs-storefront select,.gbs-storefront textarea{font:inherit}.gbs-storefront a{text-decoration:none}.gbs-storefront :focus-visible{outline:3px solid #97334b;outline-offset:3px}
.gbs-storefront{--gb-page:#f6f7f9;--gb-card:#fff;--gb-title:#474f5e;--gb-text:#242833;--gb-muted:#667085;--gb-primary:#356dff;--gb-link:#1941a8;--gb-border:#d4d8e1;--gb-promo:#fffaf1;--gb-orange:#ad5b00;--gb-green:#168267;background:var(--gb-page);color:var(--gb-text);font-family:var(--gb-font,"Helvetica Neue",Helvetica,Arial,sans-serif);font-size:14px}
.gbs-storefront {max-width:none;width:auto;margin:0;padding:24px 32px}
.gbs-storefront{max-width:none}
.gbs-storefront a{color:var(--gb-link)}
.gbs-storefront .gb-steps{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--gb-muted);font-size:12px;margin:0 0 20px}
.gbs-storefront .gb-steps .current{color:var(--gb-text)}
.gbs-storefront .gb-steps b{font-size:20px}
.gbs-storefront .gb-back{position:absolute;font-size:12px;text-decoration:none}
.gbs-storefront .gb-commerce-grid{display:grid;grid-template-columns:minmax(0,1fr) 328px;gap:20px;align-items:start}
.gbs-storefront .gb-cart-main,.gbs-storefront .gb-cart-sidebar,.gbs-storefront .gb-checkout-main,.gbs-storefront .gb-checkout-sidebar{min-width:0}
.gbs-storefront .gb-card{background:var(--gb-card);border-radius:8px;box-shadow:0 2px 8px rgba(54,62,81,.04);margin:0 0 20px;overflow:hidden}
.gbs-storefront .gb-card h2,.gbs-storefront .gb-card>summary{font-size:18px;font-weight:500;color:var(--gb-title);padding:16px;margin:0;border-bottom:1px solid #eef0f3;line-height:22px}
.gbs-storefront .gb-card-body{padding:16px}
.gbs-storefront .gb-greeting{padding:20px}
.gbs-storefront .gb-card>summary{cursor:pointer;list-style:none}
.gbs-storefront .gb-card>summary::-webkit-details-marker{display:none}
.gbs-storefront .gb-collapse{float:right}
.gbs-storefront .gb-card:not([open]) .gb-collapse{transform:rotate(90deg)}
.gbs-storefront .gb-progress{background:var(--gb-promo);border:0;border-radius:4px;padding:12px;margin:12px 16px;font-size:14px;font-weight:500;line-height:1.6}
.gbs-storefront .gb-progress strong{color:var(--gb-orange)}
.gbs-storefront .gb-progress small{color:var(--gb-muted);font-size:12px}
.gbs-storefront .gb-progress-track{height:4px;background:#edf0f5;margin:10px 0;position:relative}
.gbs-storefront .gb-progress-track span{display:block;height:4px;background:linear-gradient(90deg,#ee9900,#f5ca72)}
/* Positioned, not floated: a float here pushed the 滿…免運 line under it apart when the bar is short. */
.gbs-storefront .gb-progress-track span{position:relative}
.gbs-storefront .gb-progress-track span:after{content:''!important;display:block;float:none!important;width:22px;height:15px;margin:0!important;position:absolute;right:-11px;top:-6px;background:var(--gb-promo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='%23ee9900' d='M1 1h13v10H1zm13 3h4.6L23 8.4V11h-9z'/%3E%3Ccircle cx='5.5' cy='13' r='2.4' fill='%23ee9900'/%3E%3Ccircle cx='17.5' cy='13' r='2.4' fill='%23ee9900'/%3E%3C/svg%3E") center/contain no-repeat!important}
.gbs-storefront .gb-cart-item{display:grid;grid-template-columns:68px minmax(0,1fr) 32px;column-gap:16px;padding:16px;border-top:1px solid #eef0f3}
.gbs-storefront .gb-cart-item .product-thumbnail img{width:54px;height:72px;object-fit:cover}
.gbs-storefront .gb-cart-item .product-name>a{font-weight:600;color:var(--gb-text);text-decoration:none}
.gbs-storefront .gb-cart-item .product-price{color:var(--gb-muted);margin:4px 0}
.gbs-storefront .gb-cart-item .product-price ins{background:none;text-decoration:none}
.gbs-storefront .gb-cart-item dl.variation{margin:4px 0;display:flex;gap:6px}
.gbs-storefront .gb-cart-item dl.variation p{margin:0}
.gbs-storefront .gb-cart-item dl.variation dd{margin:0}
.gbs-storefront .gb-cart-item a.remove{color:var(--gb-muted)!important;width:28px;height:28px;border-radius:0;background:none}
.gbs-storefront .gb-cart-item .remove svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.4}
.gbs-storefront .gb-cart-item .product-quantity{grid-column:1/3;margin-top:20px}
.gbs-storefront .gb-cart-item .product-subtotal{grid-column:3;grid-row:2;justify-self:end;white-space:nowrap;text-align:right;align-self:end;font-size:18px}
.gbs-storefront .gb-cart-item .product-subtotal small{font-size:12px;color:var(--gb-title)}
.gbs-storefront .quantity{display:inline-flex;align-items:center;border:1px solid var(--gb-border);border-radius:3px;height:40px;max-width:160px}
.gbs-storefront .quantity button{height:38px;min-width:38px;padding:0;background:#fff;color:var(--gb-text);border:0;font-size:20px}
.gbs-storefront .quantity input.qty{width:80px;min-width:0;height:38px;border:0;border-left:1px solid var(--gb-border);border-right:1px solid var(--gb-border);border-radius:0;padding:0;text-align:center;-moz-appearance:textfield}
.gbs-storefront input.qty::-webkit-inner-spin-button{appearance:none}
.gbs-storefront .gb-update-cart{margin:0 16px 16px;background:#fff;color:var(--gb-text);border:1px solid var(--gb-border)}
.gbs-storefront .gb-addon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:16px}
.gbs-storefront .gb-addon-grid article{min-width:0}
.gbs-storefront .gb-addon-grid article[hidden]{display:none}
.gbs-storefront .gb-addon-grid img{width:150px;height:150px;object-fit:cover;margin:0 auto;display:block}
.gbs-storefront .gb-addon-grid h3{font-size:14px;line-height:20px;height:40px;margin:10px 0 4px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gbs-storefront .gb-addon-price{color:var(--gb-green);font-size:12px}
.gbs-storefront .gb-addon-price .amount{font-size:18px;font-weight:500}
.gbs-storefront .gb-addon .button{background:white;color:var(--gb-text);border:1px solid var(--gb-text);border-radius:0;font-size:14px;font-weight:400;padding:7px 8px;width:100%;margin-top:8px;min-height:34px}
.gbs-storefront .gb-expand-addons{display:block;margin:0 auto 20px;border:0;background:none;color:var(--gb-text);font-size:14px;cursor:pointer}
.gbs-storefront .gb-cart-notice{font-size:12px;line-height:1.4;padding:16px;white-space:normal}
.gbs-storefront .gb-mobile{display:none}
.gbs-storefront .gb-coupon form{display:flex;gap:8px;padding:12px 16px 20px}
.gbs-storefront input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.gbs-storefront select,.gbs-storefront textarea{font-family:inherit;font-size:14px;color:var(--gb-text);border:1px solid var(--gb-border);border-radius:3px;max-width:100%;background:#fff;min-height:40px;padding:8px 12px;box-sizing:border-box}
.gbs-storefront input::placeholder,.gbs-storefront textarea::placeholder{color:#727b8b}
.gbs-storefront .gb-coupon input{width:0;flex:1}
.gbs-storefront .gb-coupon .button{background:#fff;border:1px solid var(--gb-border);border-radius:0;color:var(--gb-title);font-size:14px;padding:8px 12px}
.gbs-storefront .gb-methods label{display:block;margin:0 0 4px}
.gbs-storefront .gb-methods select{width:100%;margin-bottom:20px}
.gbs-storefront .gb-methods select:last-child{margin-bottom:4px}
.gbs-storefront .gb-summary-line{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eef0f3;padding:0 0 16px;margin-bottom:16px;align-items:center}
.gbs-storefront .gb-summary-line .amount{white-space:nowrap}
.gbs-storefront .gb-total{color:var(--gb-link);font-size:16px;border:0;padding:0}
.gbs-storefront .cart_totals{float:none!important;width:100%!important}
.gbs-storefront .cart_totals h2{font-size:18px}
.gbs-storefront .button.alt,.gbs-storefront #place_order{background:var(--gb-primary);color:#fff;border:0;border-radius:0;font-size:16px;font-weight:500;width:100%;height:40px;min-height:40px;padding:10px 12px;text-align:center;line-height:20px;text-decoration:none;margin:0;box-sizing:border-box;display:block}
.gbs-storefront .button.alt:hover{filter:brightness(.94)}
.gbs-storefront .gb-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gbs-storefront .gb-fields .form-row{float:none;width:auto;margin:0;padding:0}
.gbs-storefront .gb-fields label{line-height:20px;font-size:14px;font-weight:400;margin:0 0 4px;display:block}
.gbs-storefront .gb-fields input,.gbs-storefront .gb-fields select{width:100%}
.gbs-storefront .gb-fields input[type=checkbox]{width:16px;min-height:16px}
.gbs-storefront .gb-fields #billing_email_field{grid-column:1/-1}
.gbs-storefront .gb-fields #billing_first_name_field{grid-column:1}
.gbs-storefront .gb-fields .gb-phone-field{grid-column:1}
.gbs-storefront .gb-fields #gb_ig_field{grid-column:2;grid-row:3}
.gbs-storefront .gb-fields .description{display:block!important;visibility:visible!important;color:var(--gb-title);font-size:12px;padding:0;margin:4px 0 0;background:none!important;line-height:1.5}
.gbs-storefront .gb-fields .description:before{display:none!important}
.gbs-storefront .gb-fields #gb_invoice_field{grid-column:1}
.gbs-storefront .gb-fields #gb_store_field{grid-column:2}
.gbs-storefront .gb-fields .gb-check{display:flex;align-items:center;gap:8px;grid-column:1/-1;margin:0}
.gbs-storefront .gb-phone-field .gb-check{margin-top:8px!important}
.gbs-storefront .gb-shipping-label,.gbs-storefront .gb-address-label,.gbs-storefront .gb-same-label{grid-column:1/-1;margin:0}
.gbs-storefront .gb-fields .gb-same-label{display:flex;align-items:center;gap:12px;margin:0 0 4px}
.gbs-storefront .gb-same-label input{appearance:none;width:52px!important;height:32px;border:0;border-radius:20px;background:#667085;cursor:pointer;position:relative}
.gbs-storefront .gb-same-label input:checked{background:var(--gb-link)}
.gbs-storefront .gb-same-label input:after{content:'';position:absolute;left:4px;top:4px;width:24px;height:24px;border-radius:50%;background:white}
.gbs-storefront .gb-same-label input:checked:after{left:24px}
.gbs-storefront .gb-fields #shipping_address_1_field{grid-column:1/-1}
/* the recipient's boxes (WooCommerce's shipping field wrapper and shipping box, for Taiwan shipping plugins) add no box of their own: the rows
   stay in the grid. WoodMart hides a shipping box without WooCommerce's ship-to-different-address checkbox (an id inside :has), so this
   names an id too; a plugin hiding one on the element itself (woomp for convenience-store pickup) still can. */
.gbs-storefront #customer_details .gb-fields .gb-recipient-fields,.gbs-storefront #customer_details .gb-fields .gb-shipping-address,.gbs-storefront #customer_details .gb-fields .gb-buyer-address{display:contents}
/* WooCommerce's clearfix on its shipping box would otherwise be a grid cell of its own */
.gbs-storefront #customer_details .gb-fields :is(.gb-recipient-fields,.gb-shipping-address,.gb-buyer-address)::before,.gbs-storefront #customer_details .gb-fields :is(.gb-recipient-fields,.gb-shipping-address,.gb-buyer-address)::after{content:none;display:none}
/* the addresses by the chosen kind of shipping (checkout.js sets gb-kind-home / -store / -pickup, gb-same-on and gb-buyer-address-on on the
   form): the buyer's address where Core asks for it, kept shown for convenience stores too (woomp hides those rows then); the recipient's
   only for delivery with 收件人同訂購人 off (on: one line that it is the buyer's); none for 面交 */
.gbs-storefront .gb-same-address{display:none;grid-column:1/-1;margin:0}
.gbs-storefront .gb-remember-store{grid-column:1/-1;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.gbs-storefront .gb-remember-store[hidden]{display:none}
.gbs-storefront .gb-remember-store .gb-forget-store{all:unset;color:var(--gb-link);text-decoration:underline;cursor:pointer;font-size:14px}
.gbs-storefront .gb-remember-store .gb-forget-store[hidden]{display:none}
.gbs-storefront .gb-remember-store .gb-forget-store:focus-visible{outline:2px solid var(--gb-link);outline-offset:2px}
.gbs-storefront .gb-forget-said:empty{display:none}
.gbs-storefront form.gb-same-on.gb-kind-home .gb-same-address{display:block}
.gbs-storefront form:not(.gb-buyer-address-on) .gb-buyer-address{display:none!important}
.gbs-storefront form.gb-buyer-address-on .gb-buyer-address>:is(#billing_state_field,#billing_city_field,#billing_postcode_field.gb-zip-row:has(input[name=zipcode]),#billing_address_1_field){display:block!important}
.gbs-storefront form.gb-same-on.gb-kind-home .gb-recipient :is(.gb-address-label,.gb-shipping-address),.gbs-storefront form.gb-kind-pickup .gb-recipient :is(.gb-address-label,.gb-shipping-address){display:none!important}
.gbs-storefront .gb-fields #shipping_postcode_field:not(.gb-zip-row){display:none}
/* the row for woomp's postcode box (form-checkout-optional.php): nothing in it without woomp */
.gbs-storefront .gb-zip-row:not(:has(input[name=zipcode])){display:none!important}
.gbs-storefront .gb-payment-card h2{display:flex;justify-content:space-between;align-items:center}
.gbs-storefront .gb-payment-card h2 span{font-size:12px;color:var(--gb-muted)}
.gbs-storefront .gb-payment-card h2 b{color:var(--gb-link)}
.gbs-storefront.woocommerce-checkout #payment{background:white;border-radius:8px}
.gbs-storefront.woocommerce-checkout #payment ul.payment_methods{padding:0;border:0}
.gbs-storefront #payment div.payment_box{background:var(--gb-page);color:var(--gb-title);margin:12px 0 0}
.gbs-storefront #payment div.payment_box:before{border-bottom-color:var(--gb-page)}
.gbs-storefront #order_review{float:none;width:100%}
.gbs-storefront .gb-checkout-sidebar{position:sticky;top:20px}
/* WoodMart's 回到頂端 (fixed bottom right) sat over the right column (提交訂單 too) wherever the window is not much wider than the content, so not on this checkout */
body:has(.gbs-storefront form.checkout) .scrollToTop{display:none!important}
.gbs-storefront .gb-order-notes label{display:none}
.gbs-storefront .gb-order-notes textarea{width:100%;min-height:68px}
.gbs-storefront .gb-order-notes .form-row{margin:0;padding:0}
.gbs-storefront-terms-and-conditions-wrapper{font-size:14px}
.gbs-storefront-terms-and-conditions-wrapper .form-row{margin:0 0 16px;padding:0}
.gbs-storefront :focus-visible{outline:3px solid var(--gb-link);outline-offset:3px}
.gbs-storefront .gb-empty-cart{max-width:1028px}
@media(max-width:767px){.gbs-storefront {padding:16px 8px}
.gbs-storefront .gb-steps{margin-bottom:20px}
.gbs-storefront .gb-commerce-grid{display:flex;flex-direction:column;gap:0}
.gbs-storefront .gb-cart-main,.gbs-storefront .gb-cart-sidebar,.gbs-storefront .gb-checkout-main,.gbs-storefront .gb-checkout-sidebar{width:100%}
.gbs-storefront .gb-cart-sidebar,.gbs-storefront .gb-cart-main{display:contents}
.gbs-storefront .gb-cart-sidebar>.gb-greeting{order:-1;width:100%;box-sizing:border-box}
.gbs-storefront .gb-cart-main>.woocommerce-cart-form{width:100%}
.gbs-storefront .gb-cart-main>.gb-points{width:100%;order:1;box-sizing:border-box}
.gbs-storefront .gb-cart-main>.gb-addon{width:100%;order:1}
.gbs-storefront .gb-cart-sidebar>.gb-coupon{width:100%;order:2}
.gbs-storefront .gb-cart-sidebar>.gb-methods{width:100%;order:3}
.gbs-storefront .gb-cart-sidebar>.cart_totals{order:4}
.gbs-storefront .gb-cart-main>.gb-cart-notice{order:5;width:100%;box-sizing:border-box}
.gbs-storefront .gb-mobile{display:block}
.gbs-storefront .gb-desktop{display:none}
.gbs-storefront .gb-cart-item{grid-template-columns:76px minmax(0,1fr) 22px;gap:12px;padding:16px}
.gbs-storefront .gb-cart-item .product-name{font-size:14px}
.gbs-storefront .gb-cart-item .product-thumbnail img{width:54px;height:72px}
.gbs-storefront .gb-cart-item .product-subtotal{font-size:18px}
.gbs-storefront .quantity{height:36px;max-width:132px}
.gbs-storefront .quantity button{height:34px;min-width:34px}
.gbs-storefront .quantity input.qty{height:34px;width:56px}
.gbs-storefront .gb-cart-subtotal{display:flex;justify-content:space-between;padding:16px;border-top:1px solid #eef0f3;font-size:16px}
.gbs-storefront .gb-addon-grid{gap:18px;padding:16px}
.gbs-storefront .gb-addon-grid img{width:100%;height:auto;aspect-ratio:1}
.gbs-storefront .gb-addon-grid h3{font-size:13px;line-height:18px;height:36px}
.gbs-storefront .gb-addon .button{padding:6px 0;font-size:13px}
.gbs-storefront .gb-checkout-sidebar{position:static}
.gbs-storefront .gb-fields{display:flex;flex-wrap:wrap;gap:16px}
.gbs-storefront .gb-fields>*{width:100%!important;box-sizing:border-box}
.gbs-storefront .gb-fields #shipping_state_field,.gbs-storefront .gb-fields #shipping_city_field{width:calc(50% - 8px)!important}
.gbs-storefront .gb-fields .gb-same-label{justify-content:space-between}
.gbs-storefront .gb-fields label{line-height:20px}
.gbs-storefront .gb-back{position:static;display:block;margin-bottom:8px}
.gbs-storefront .gb-payment-card h2{gap:8px}
.gbs-storefront .gb-checkout-main{order:1}
.gbs-storefront .gb-checkout-sidebar{order:2}
.gbs-storefront .gb-cart-notice{font-size:12px}
.gbs-storefront-notices-wrapper{overflow-wrap:anywhere}
}
.gbs-storefront .gb-phone-field .woocommerce-input-wrapper,.gbs-storefront #shipping_phone_field .woocommerce-input-wrapper{display:flex;gap:8px}
.gbs-storefront .gb-phone-field .woocommerce-input-wrapper:before,.gbs-storefront #shipping_phone_field .woocommerce-input-wrapper:before{content:'+886';padding:9px 12px;border:1px solid var(--gb-border);border-radius:3px;background:white;line-height:20px}
.gbs-storefront .gb-phone-field input,.gbs-storefront #shipping_phone_field input{min-width:0}
@media(max-width:767px){.gbs-storefront .quantity input.qty{padding:0}
.gbs-storefront .quantity button{background:white}
}
.gbs-storefront  .woocommerce{max-width:none!important;width:100%}
.gbs-storefront{margin-top:0}
.gbs-storefront .gb-card.gb-addon{padding:0;border:0;margin:0 0 20px}
.gbs-storefront a.checkout-button.button.alt{background:var(--gb-primary);color:#fff}
.gbs-storefront form .form-row span.description{color:var(--gb-title);padding:0;margin:4px 0 0;line-height:18px}
.gbs-storefront form .form-row label{line-height:20px}
.gbs-storefront form .form-row input.input-text{padding:8px 12px;border:1px solid var(--gb-border)}
.gbs-storefront form .gb-fields .form-row{margin:0;padding:0}
.gbs-storefront .gb-order-notes .form-row label{display:none}
.gbs-storefront .gb-update-cart{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
.gbs-storefront .gb-update-cart:focus-visible{position:static;width:auto;height:auto;clip-path:none;padding:8px;margin:16px}
.gbs-storefront-terms-and-conditions-wrapper label{font-size:14px;line-height:20px}
@media(max-width:767px){}
.gbs-storefront .gb-steps,.gbs-storefront .gb-steps b{line-height:16px;height:16px}
.gbs-storefront .gb-steps{margin-bottom:20px}
.gbs-storefront .gb-icon{width:20px;height:20px;fill:currentColor;vertical-align:middle}
.gbs-storefront .gb-payment-label{display:flex;align-items:center;justify-content:space-between}
.gbs-storefront .gb-payment-change{border:0;background:none;color:var(--gb-link);padding:0 0 4px;font-size:14px}
.gbs-storefront .gb-greeting{display:flex;align-items:center;gap:4px}
@media(max-width:767px){.gbs-storefront .gb-checkout-sidebar{display:contents}
.gbs-storefront .gb-checkout-sidebar>.gb-greeting{order:0;width:100%;box-sizing:border-box}
.gbs-storefront .gb-checkout-sidebar>#order_review{order:1}
.gbs-storefront .gb-commerce-grid>.gb-cart-notice{order:3;width:100%}
.gbs-storefront .gb-checkout-main{order:2}
/* 物流方式 and the store's row: the name on its own line, the choices the card's whole width under it (two columns were too narrow) */
.gbs-storefront .gbs-shipping,.gbs-storefront .gbs-shipping tbody,.gbs-storefront .gbs-shipping tr{display:block;width:100%}
.gbs-storefront .gbs-shipping th,.gbs-storefront .gbs-shipping td{display:block;width:100%!important;box-sizing:border-box;padding-left:0!important;padding-right:0!important;text-align:left!important}
.gbs-storefront .gbs-shipping th{padding-bottom:4px!important}
.gbs-storefront .gbs-shipping td{padding-top:0!important}
.gbs-storefront .gbs-shipping #shipping_method{width:100%}
}
/* the order button's part of 付款資訊: the privacy words, the terms and 成為會員 above the button, as they were in 訂單明細 */
.gbs-storefront #payment .gb-place-order{margin:16px 0 0;padding:0}
.gbs-storefront .gb-commerce-grid>.gb-cart-notice{grid-column:1}
.gbs-storefront .gb-checkout-sidebar{top:124px}
.gbs-storefront input,.gbs-storefront button,.gbs-storefront a{scroll-margin-top:120px}
@media(max-width:767px){.gbs-storefront .gb-back{position:absolute;margin:0;font-size:12px}
.gbs-storefront .gb-checkout-sidebar{top:auto}
.gbs-storefront input,.gbs-storefront button,.gbs-storefront a{scroll-margin-top:76px}
}

.gbs-storefront .gb-greeting{padding:16px}
.gbs-storefront .gb-fields .woocommerce-input-wrapper{display:block}
.gbs-storefront .gb-fields .gb-phone-field .woocommerce-input-wrapper,.gbs-storefront .gb-fields #shipping_phone_field .woocommerce-input-wrapper{display:flex}
@media(max-width:767px){.gbs-storefront .gb-fields{gap:12px}
.gbs-storefront .gb-fields label{margin-bottom:0}
.gbs-storefront .gb-fields .description{margin-top:4px!important}
}

.gbs-storefront{padding:24px 20px}.gbs-storefront .gb-fields .form-row-wide{grid-column:1/-1}.gbs-storefront .gb-fields>div{min-width:0}.gbs-storefront .woocommerce-billing-fields>h3,.gbs-storefront .woocommerce-additional-fields>h3{display:none}.gbs-storefront .woocommerce-billing-fields__field-wrapper,.gbs-storefront .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gbs-storefront .form-row{float:none;width:auto}.gbs-storefront .form-row-wide{grid-column:1/-1}.gbs-storefront .gb-checkout-sidebar{top:20px}.gbs-storefront .gb-fields label{visibility:visible}.gbs-storefront .woocommerce-shipping-fields label{position:static;width:auto;height:auto;clip-path:none;white-space:normal}@media(max-width:767px){.gbs-storefront{padding:20px 12px}.gbs-storefront .gb-commerce-grid{display:flex;flex-direction:column}.gbs-storefront .gb-checkout-main,.gbs-storefront .gb-cart-main,.gbs-storefront .gb-cart-sidebar{width:100%}}
/* A theme's own quantity buttons would sit next to these. */
.gbs-storefront .quantity .minus,.gbs-storefront .quantity .plus{display:none!important}
/* Rows other plugins print on the totals hooks. */
.gbs-storefront .gbs-hook-rows{width:100%;margin:0 0 8px;border:0;font-size:14px}
.gbs-storefront .gbs-hook-rows th,.gbs-storefront .gbs-hook-rows td{padding:4px 0;border:0;background:transparent;text-align:left;font-weight:400}
.gbs-storefront .gbs-hook-rows th{white-space:nowrap;padding-right:12px}
.gbs-storefront .gbs-hook-rows td{text-align:right;overflow-wrap:anywhere}
/* Anything another plugin prints beside the coupon field wraps below it instead of squeezing it. */
.gbs-storefront .gb-coupon form{flex-wrap:wrap}
.gbs-storefront .gb-coupon form input{flex:1 1 120px}
/* WooCommerce sizes first and last name at 47% for floats. Inside this grid that would be 47% of one column. */
.gbs-storefront .woocommerce-billing-fields__field-wrapper .form-row,.gbs-storefront .woocommerce-shipping-fields__field-wrapper .form-row{float:none;width:auto;margin-right:0}
.gbs-storefront .gb-fields-container .woocommerce-input-wrapper{display:block}
.gbs-storefront .gb-fields-container .form-row input.input-text{width:100%}

/* A theme such as WoodMart styles titles, prices, fields, buttons, quantity and notices with selectors as strong as these.
   Inside the layout the old site's values win; outside it nothing here applies. */
body.gbs-on .wd-page-title,body.gbs-on .page-title,body.gbs-on .page-title-default,body.gbs-on .title-shop,body.gbs-on .wd-checkout-steps,body.gbs-on .checkout-steps,body.gbs-on .woodmart-checkout-steps{display:none!important}
body.gbs-on-checkout .woocommerce-form-coupon-toggle,body.gbs-on-checkout form.checkout_coupon{display:none!important}
.gbs-storefront,.gbs-storefront :is(h1,h2,h3,h4,h5,h6,p,a,span,strong,b,em,small,bdi,del,ins,label,input,select,textarea,button,summary,th,td,li,dt,dd){font-family:var(--gb-font,"Helvetica Neue",Helvetica,Arial,sans-serif)!important;letter-spacing:normal!important;text-transform:none!important}
.gbs-storefront .amount,.gbs-storefront bdi,.gbs-storefront .woocommerce-Price-currencySymbol{font-size:inherit!important;font-weight:inherit!important;color:inherit!important;line-height:inherit!important}
.gbs-storefront del{color:var(--gb-muted)!important;font-weight:400!important;opacity:1!important}
.gbs-storefront ins{background:none!important;text-decoration:none!important;font-weight:inherit!important}
.gbs-storefront .gb-card>h2,.gbs-storefront .gb-card>summary,.gbs-storefront .gb-card h2{font-size:18px!important;font-weight:500!important;line-height:22px!important;color:var(--gb-title)!important}
.gbs-storefront .gb-steps,.gbs-storefront .gb-steps span{font-size:12px!important;font-weight:400!important}
.gbs-storefront .gb-cart-item .product-name,.gbs-storefront .gb-cart-item .product-name>a{font-size:14px!important;font-weight:500!important;line-height:20px!important;color:var(--gb-text)!important}
.gbs-storefront .gb-cart-item .product-price{font-size:14px!important;font-weight:400!important;line-height:20px!important;color:var(--gb-muted)!important}
.gbs-storefront .gb-cart-item .product-subtotal{font-size:18px!important;font-weight:500!important;line-height:24px!important;color:var(--gb-text)!important}
.gbs-storefront .gb-cart-item .product-subtotal small{font-size:12px!important;font-weight:400!important;color:var(--gb-title)!important}
.gbs-storefront .gb-summary-line,.gbs-storefront .gb-cart-subtotal{font-size:14px!important;font-weight:400!important;line-height:20px!important}
.gbs-storefront .gb-summary-line strong{font-weight:500!important}
.gbs-storefront .gb-total,.gbs-storefront .gb-total strong{font-size:16px!important;font-weight:600!important;color:var(--gb-link)!important}
.gbs-storefront .gb-progress{font-size:14px!important;font-weight:500!important;line-height:1.6!important}
.gbs-storefront .gb-progress small{font-size:12px!important;font-weight:400!important}
.gbs-storefront .gb-greeting{font-size:14px!important;font-weight:400!important}
.gbs-storefront label,.gbs-storefront form .form-row label{font-size:14px!important;font-weight:400!important;line-height:20px!important;color:var(--gb-text)!important}
.gbs-storefront input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=button]):not(.qty),.gbs-storefront select:not(.select2-hidden-accessible),.gbs-storefront textarea{height:auto!important;min-height:40px!important;padding:9px 12px!important;border:1px solid var(--gb-border)!important;border-radius:3px!important;background-color:#fff!important;color:var(--gb-text)!important;font-size:14px!important;font-weight:400!important;line-height:20px!important;box-shadow:none!important}
.gbs-storefront .button:not(.alt),.gbs-storefront button.button:not(.alt){font-size:14px!important;font-weight:400!important;box-shadow:none!important}
.gbs-storefront .button.alt,.gbs-storefront #place_order,.gbs-storefront a.checkout-button{min-height:40px!important;border:0!important;border-radius:0!important;background:var(--gb-primary)!important;color:#fff!important;font-size:16px!important;font-weight:500!important;line-height:20px!important;box-shadow:none!important}
.gbs-storefront .quantity{display:inline-flex!important;align-items:stretch!important;width:auto!important;max-width:160px!important;height:40px!important;margin:0!important;padding:0!important;gap:0!important;border:1px solid var(--gb-border)!important;border-radius:3px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
.gbs-storefront .quantity:has(.gb-qty-minus)>:not(.gb-qty-minus):not(.gb-qty-plus):not(input.qty):not(label){display:none!important}
.gbs-storefront .quantity .gb-qty-minus,.gbs-storefront .quantity .gb-qty-plus{display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;min-width:38px!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:var(--gb-text)!important;font-size:20px!important;font-weight:400!important;line-height:1!important;box-shadow:none!important}
.gbs-storefront .quantity input.qty{width:80px!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-left:1px solid var(--gb-border)!important;border-right:1px solid var(--gb-border)!important;border-radius:0!important;background:#fff!important;color:var(--gb-text)!important;font-size:14px!important;font-weight:400!important;text-align:center!important;box-shadow:none!important}
.gbs-storefront .woocommerce-notices-wrapper:empty{display:none}
.gbs-storefront .woocommerce-message,.gbs-storefront .woocommerce-info,.gbs-storefront .woocommerce-error{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;width:fit-content!important;max-width:100%!important;min-height:0!important;margin:0 0 16px!important;padding:8px 12px!important;border:1px solid var(--gb-border)!important;border-left:3px solid var(--gb-green)!important;border-radius:4px!important;background:#fff!important;color:var(--gb-text)!important;font-size:14px!important;font-weight:400!important;line-height:20px!important;box-shadow:none!important;list-style:none!important}
.gbs-storefront .woocommerce-info{border-left-color:var(--gb-link)!important}
.gbs-storefront .woocommerce-error{display:block!important;border-left-color:#b42318!important}
.gbs-storefront .woocommerce-message::before,.gbs-storefront .woocommerce-info::before,.gbs-storefront .woocommerce-error::before,.gbs-storefront .woocommerce-message::after,.gbs-storefront .woocommerce-info::after{content:none!important;display:none!important}
.gbs-storefront .woocommerce-message .button,.gbs-storefront .woocommerce-info .button{order:2;min-height:0!important;padding:2px 8px!important;border:1px solid var(--gb-border)!important;background:#fff!important;color:var(--gb-link)!important}
.gbs-storefront .gb-payment-label{margin:0 0 4px!important;font-size:14px!important}
.gbs-storefront .gb-payment-box{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--gb-border);border-radius:3px;background:#fff}
.gbs-storefront .gb-payment-current{font-size:14px!important;color:var(--gb-text)!important}
.gbs-storefront .gb-payment-change{flex:0 0 auto;min-height:0!important;margin:0!important;padding:4px 0!important;border:0!important;background:none!important;color:var(--gb-link)!important;font-size:14px!important;font-weight:400!important;cursor:pointer;box-shadow:none!important}
.gbs-storefront .gb-payment-options{display:flex;flex-direction:column;margin:4px 0 0;border:1px solid var(--gb-border);border-radius:3px;background:#fff;box-shadow:0 4px 12px rgba(54,62,81,.12);overflow:hidden}
.gbs-storefront .gb-payment-options[hidden]{display:none}
.gbs-storefront .gb-payment-option{display:block;width:100%;min-height:40px!important;margin:0!important;padding:9px 12px!important;border:0!important;border-bottom:1px solid #eef0f3!important;border-radius:0!important;background:#fff!important;color:var(--gb-text)!important;font-size:14px!important;font-weight:400!important;text-align:left!important;cursor:pointer;box-shadow:none!important}
.gbs-storefront .gb-payment-option:last-child{border-bottom:0!important}
.gbs-storefront .gb-payment-option[aria-current=true]{color:var(--gb-link)!important;font-weight:500!important}
.gbs-storefront .gb-payment-option:hover{background:#f6f7f9!important}
.gbs-storefront .gb-order-review .gbs-hook-rows tr.cart_item{display:none}
.gbs-storefront .gb-order-review .gbs-hook-rows td,.gbs-storefront .gb-order-review .gbs-hook-rows th{font-size:14px!important;font-weight:400!important;line-height:20px!important;vertical-align:top}
.gbs-storefront .gbs-shipping th,.gbs-storefront .gbs-shipping td,.gbs-storefront .gbs-shipping label{font-size:14px!important;font-weight:400!important;line-height:20px!important}
.gbs-storefront .gb-order-review .gbs-hook-rows .amount{white-space:nowrap!important}
@media(max-width:767px){.gbs-storefront .quantity{height:36px!important;max-width:132px!important}
.gbs-storefront .quantity .gb-qty-minus,.gbs-storefront .quantity .gb-qty-plus{width:34px!important;min-width:34px!important}
.gbs-storefront .quantity input.qty{width:56px!important}}
/* Phones: one field per row, as on the old site's mobile checkout. Half-width fields (first/last, or a field plugin's pairs) become full width. */
@media(max-width:600px){.gbs-storefront .woocommerce-billing-fields__field-wrapper,.gbs-storefront .woocommerce-shipping-fields__field-wrapper,.gbs-storefront .woocommerce-additional-fields__field-wrapper,.gbs-storefront .gb-fields{grid-template-columns:minmax(0,1fr)!important}
.gbs-storefront .form-row,.gbs-storefront .form-row-first,.gbs-storefront .form-row-last,.gbs-storefront .form-row-wide{float:none!important;width:100%!important;max-width:100%!important;flex:0 0 100%!important;grid-column:1/-1!important;margin-left:0!important;margin-right:0!important}
/* select2 hides the real select as a 1px absolute element; it must keep that size. */
.gbs-storefront .form-row select:not(.select2-hidden-accessible),.gbs-storefront .form-row input.input-text,.gbs-storefront .form-row textarea{width:100%!important;max-width:100%!important;text-overflow:ellipsis}}
/* Guests: the old site's sign-in prompt where members see their greeting (top of the right column; above the cart or buyer card on phones). */
.gbs-storefront .gb-guest{display:flex!important;align-items:center;gap:12px;padding:20px!important}
.gbs-storefront .gb-guest .gb-guest-icon{flex:0 0 auto;width:26px;height:26px;fill:none;stroke:var(--gb-text);stroke-width:1.8;stroke-linecap:round}
.gbs-storefront .gb-guest-text{flex:1 1 auto;min-width:0;font-size:15px!important;line-height:1.45;color:var(--gb-text)}
.gbs-storefront .gb-guest-login{flex:0 0 auto;display:inline-flex;align-items:center;min-height:42px;padding:0 22px;border-radius:0;background:#242833;color:#fff!important;font-size:16px!important;font-weight:500!important;text-decoration:none!important;white-space:nowrap}
.gbs-storefront .gb-guest-login:hover{filter:brightness(1.2)}
/* Checkout: field descriptions stay visible (the old site shows them under the field); create-account option on the right. */
.gbs-storefront .form-row .description{display:block!important;position:static!important;margin:6px 0 0!important;padding:0!important;background:none!important;color:var(--gb-muted)!important;font-size:13px!important;line-height:1.5!important;box-shadow:none!important}
.gbs-storefront .form-row .description::before{display:none!important}
.gbs-storefront:has(#gb_createaccount) .woocommerce-account-fields p.create-account{display:none!important}
.gbs-storefront .gb-create-account,.gbs-storefront .woocommerce-terms-and-conditions-wrapper .form-row{margin:0 0 14px!important;padding:0!important}
.gbs-storefront .gb-create-account label,.gbs-storefront .woocommerce-terms-and-conditions-wrapper label{display:flex!important;align-items:flex-start;gap:10px;font-size:15px!important;line-height:1.5!important}
.gbs-storefront .gb-create-account input[type=checkbox],.gbs-storefront .woocommerce-terms-and-conditions-wrapper input[type=checkbox]{flex:0 0 auto;width:20px!important;height:20px!important;min-height:0!important;margin:2px 0 0!important}
/* A theme's clearfix (::before/::after with content, as Storefront puts on form.checkout) becomes a grid item and pushes the main column into
   the sidebar's place. The layout grids have no floats to clear. */
.gbs-storefront .gb-commerce-grid::before,.gbs-storefront .gb-commerce-grid::after{content:none!important;display:none!important}
/* The convenience-store plugin's store choice (woomp, row .choose_cvs): once a store is chosen its name sits above 選擇超商門市 and the
   label reads 已選門市. Only its own markup is restyled; choosing a store works as before. */
.gbs-storefront .choose_cvs td{display:flex!important;flex-direction:column;align-items:flex-start;gap:6px}
.gbs-storefront .choose_cvs .show_choose_cvs_name{order:-1;font-weight:600}
.gbs-storefront .choose_cvs .show_choose_cvs_name br{display:none}
.gbs-storefront .choose_cvs th{font-size:0!important}
.gbs-storefront .choose_cvs th::after{content:"超商門市";font-size:14px}
.gbs-storefront .choose_cvs:has(.show_choose_cvs_name:not([style*="none"]) .choose_cvs_name:not(:empty)) th::after{content:"已選門市"}
/* Its three store rows under 收件人資訊 are empty until a store is chosen and have nothing to fill in: until then only the name row shows,
   saying the store is still to be chosen; the plugin fills them in once one is chosen and they show as before. */
.gbs-storefront :is(#CVSAddress_field,#CVSTelephone_field):has(>strong:empty){display:none!important}
.gbs-storefront #CVSStoreName_field>strong:empty::before{content:"還沒選擇門市，請按「選擇超商門市」";color:#999;font-weight:400}
/* woomp's postcode box sits in the recipient part too; with a store chosen as the method the plugin hides the address rows, and the box
   (nothing to post to) goes with them */
.gbs-storefront .gb-shipping-address:has(>#shipping_address_1_field[style*="none"])>:is(input[name=zipcode],#shipping_postcode_field){display:none!important}
/* Cart and checkout: the whole page in the old site's light blue #f7f8fb (taken from its cart and checkout screenshots), WoodMart's page
   wrappers without white edges, the content cards white as before. Header and footer keep their own colours. */
body.gbs-on-cart,body.gbs-on-checkout,body.gbs-on-cart :is(.website-wrapper,.main-page-wrapper,.wd-page-content),body.gbs-on-checkout :is(.website-wrapper,.main-page-wrapper,.wd-page-content){background:#f7f8fb!important}
body.gbs-on-cart .main-page-wrapper :is(.container,.site-content,.wd-content-layout,.content-layout-wrapper,.content-area,.site-main,article,.entry-content),body.gbs-on-checkout .main-page-wrapper :is(.container,.site-content,.wd-content-layout,.content-layout-wrapper,.content-area,.site-main,article,.entry-content){background:transparent!important}
body.gbs-on-cart .gbs-storefront,body.gbs-on-checkout .gbs-storefront{--gb-page:#f7f8fb}
/* Cart and checkout spacing as the shop asked: the step line right under the header with 24px above and below on computers, 16px on phones,
   its » level with the words; on phones the page's content 8px from the screen's edges; the sign-in prompt's words at 14px. WoodMart's
   own top space on these pages goes, so the 24 / 16px are measured from the header. */
body.gbs-on-cart :is(.main-page-wrapper,.wd-content-layout,.content-layout-wrapper,.site-content,.wd-content-area,.entry-content),body.gbs-on-checkout :is(.main-page-wrapper,.wd-content-layout,.content-layout-wrapper,.site-content,.wd-content-area,.entry-content){padding-top:0!important;margin-top:0!important}
body.gbs-on-cart .gbs-storefront.gbs-storefront,body.gbs-on-checkout .gbs-storefront.gbs-storefront{padding-top:0!important;margin-top:0!important}
body .gbs-storefront.gbs-storefront .gb-steps{display:flex;align-items:center;height:auto!important;margin:0!important;padding:24px 0!important;line-height:16px!important}
body .gbs-storefront.gbs-storefront .gb-steps>*{display:inline-flex;align-items:center;height:16px!important;line-height:16px!important}
body .gbs-storefront.gbs-storefront .gb-steps b{font-size:0!important;width:10px}
body .gbs-storefront.gbs-storefront .gb-steps b svg{display:block;width:10px;height:10px}
body .gbs-storefront.gbs-storefront .gb-guest-text{font-size:14px!important}
@media(max-width:767px){
body .gbs-storefront.gbs-storefront .gb-steps{padding:16px 0!important}
body.gbs-on-cart .main-page-wrapper :is(.container,.wd-content-layout),body.gbs-on-checkout .main-page-wrapper :is(.container,.wd-content-layout){padding-left:0!important;padding-right:0!important}
body.gbs-on-cart .gbs-storefront.gbs-storefront,body.gbs-on-checkout .gbs-storefront.gbs-storefront{padding-left:8px!important;padding-right:8px!important}
}
/* 回饋活動: the points the cart earns, in the old site's card (green #35af8a on #eafbf1) */
.gbs-storefront .gb-points .gb-points-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}
.gbs-storefront .gb-points .gb-points-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 12px 4px 6px;border-radius:0;background:#eafbf1;color:var(--gb-text);font-size:13px;line-height:18px}
.gbs-storefront .gb-points .gb-points-dot{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#35af8a;color:#fff;font-size:10px;font-weight:700;line-height:1}
.gbs-storefront .gb-points .gb-points-earn{color:#35af8a;font-size:14px;font-weight:600;white-space:nowrap}
.gbs-storefront .gb-points .gb-points-body{padding:16px}
.gbs-storefront .gb-points .gb-points-body:empty{display:none}
/* nothing to show yet (no points line, no words from the shop): the whole card stays away; a theme's section{display:block} would show it */
.gbs-storefront .gb-points[hidden]{display:none!important}
/* the shop's own notice, when there, says it all: the plugin's one-line number steps aside */
.gbs-storefront .gb-points:has(.gb-points-body>*) .gb-points-row{display:none}
.gbs-storefront .gb-points .wpgens-points-earning-notice{margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
/* Cart on computers as the old site's table: 商品資料 (picture, 加購品 tag, name, options or 貨況), 商品單價, 數量 (and 現庫存只剩下 N 件),
   商品小計 with the bin; a heading row on top. Phones keep the cards (with the tag). */
.gbs-storefront .gb-cart-head,.gbs-storefront .gb-cart-item .product-unit{display:none}
.gbs-storefront .gb-addon-tag{display:inline-block;margin:0 0 6px;padding:2px 8px;background:#ecf9f2;color:#252832;font-size:12px;font-weight:400;line-height:18px}
.gbs-storefront .gb-cart-item .gb-addon-tag{display:table}
.gbs-storefront .gb-cart-state{margin:4px 0 0;color:var(--gb-muted);font-size:14px}
.gbs-storefront .gb-stock-left{display:none;margin:8px 0 0;color:var(--gb-text);font-size:14px}
.gbs-storefront .gb-stock-left b{color:#f1a23d;font-weight:500}
@media(min-width:768px){
.gbs-storefront .gb-cart-head,.gbs-storefront .gb-cart-item.gb-cart-item{display:grid!important;grid-template-columns:84px minmax(0,1fr) 120px 190px 120px 28px;column-gap:16px;align-items:start}
.gbs-storefront .gb-cart-head{padding:12px 16px;border-top:1px solid #eef0f3;color:var(--gb-text);font-size:14px;font-weight:500}
.gbs-storefront .gb-cart-head span:first-child{grid-column:1/3}
.gbs-storefront .gb-cart-head span:last-child{grid-column:5/7;text-align:right;padding-right:44px}
.gbs-storefront .gb-cart-item.gb-cart-item{padding:16px}
.gbs-storefront .gb-cart-item .product-thumbnail{grid-column:1;grid-row:1}
.gbs-storefront .gb-cart-item .product-thumbnail img{width:84px!important;height:84px!important;object-fit:cover}
.gbs-storefront .gb-cart-item .product-name{grid-column:2;grid-row:1}
.gbs-storefront .gb-cart-item .product-name .product-price{display:none}
.gbs-storefront .gb-cart-item .product-unit{display:flex;flex-direction:column;grid-column:3;grid-row:1;font-size:14px;line-height:20px}
.gbs-storefront .gb-cart-item .product-unit ins{order:-1;background:none;text-decoration:none;color:var(--gb-text)}
.gbs-storefront .gb-cart-item .product-unit del{color:var(--gb-muted);font-size:12px}
.gbs-storefront .gb-cart-item .product-quantity{grid-column:4;grid-row:1;margin:0!important}
.gbs-storefront .gb-cart-item .gb-stock-left{display:block}
.gbs-storefront .gb-cart-item .product-subtotal{grid-column:5;grid-row:1;align-self:start!important;justify-self:end;text-align:right}
.gbs-storefront .gb-cart-item .product-subtotal small,.gbs-storefront .gb-cart-item .product-subtotal br{display:none}
.gbs-storefront .gb-cart-item a.remove{grid-column:6;grid-row:1;align-self:start}
}
/* 優惠加購區: three to a row, 加購價 12px and the price 18px in #00a88a, names 13px; computers picture left, words right, six shown first;
   phones square picture above, three shown first; 展開／查看全部 shows the rest, 收合 hides them */
.gbs-storefront .gb-addon .gb-addon-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px;padding:16px}
.gbs-storefront .gb-addon .gb-addon-item{display:grid;grid-template-columns:44% minmax(0,1fr);column-gap:12px;align-items:start;margin:0;padding:0;border:0;text-align:left}
.gbs-storefront .gb-addon .gb-addon-image img{display:block;width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover;margin:0}
.gbs-storefront .gb-addon .gb-addon-text{display:flex;flex-direction:column;min-width:0}
.gbs-storefront .gb-addon h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin:0 0 8px!important;color:var(--gb-text);font-size:13px!important;font-weight:500!important;line-height:18px!important}
.gbs-storefront .gb-addon .gb-addon-price{display:flex;flex-direction:column;margin:0 0 8px;color:#00a88a!important}
.gbs-storefront .gb-addon .gb-addon-price span{font-size:12px;line-height:16px}
.gbs-storefront .gb-addon .gb-addon-price strong,.gbs-storefront .gb-addon .gb-addon-price .amount{color:#00a88a!important;font-size:18px!important;font-weight:600;line-height:24px}
.gbs-storefront .gb-addon form{margin:auto 0 0}
.gbs-storefront .gb-addon form .button{display:flex!important;align-items:center;justify-content:center;width:100%;height:36px!important;min-height:0!important;margin:0;padding:0 8px!important;border:1px solid var(--gb-text)!important;border-radius:0!important;background:#fff!important;color:var(--gb-text)!important;font-size:14px!important;font-weight:400!important;line-height:1.2!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none}
.gbs-storefront .gb-addon form .button:disabled{opacity:.45}
.gbs-storefront .gb-addon .gb-expand-addons{display:none;align-items:center;gap:6px;margin:0 auto 16px!important}
.gbs-storefront .gb-addon .gb-expand-addons svg{width:12px;height:12px}
.gbs-storefront .gb-addon .gb-expand-addons .gb-open,.gbs-storefront .gb-addon.is-open .gb-expand-addons .gb-closed{display:none}
.gbs-storefront .gb-addon.is-open .gb-expand-addons .gb-open{display:inline}
.gbs-storefront .gb-addon.is-open .gb-expand-addons svg{transform:rotate(180deg)}
@media(min-width:768px){
.gbs-storefront .gb-addon:not(.is-open) .gb-addon-after6{display:none}
.gbs-storefront .gb-addon.gb-addon-many6 .gb-expand-addons{display:flex}
}
@media(max-width:767px){
.gbs-storefront .gb-addon .gb-addon-grid{gap:16px 10px;padding:16px 12px}
.gbs-storefront .gb-addon .gb-addon-item{display:flex;flex-direction:column}
.gbs-storefront .gb-addon .gb-addon-image{margin-bottom:8px}
.gbs-storefront .gb-addon h3{-webkit-line-clamp:3;line-clamp:3}
.gbs-storefront .gb-addon:not(.is-open) .gb-addon-after3{display:none}
.gbs-storefront .gb-addon.gb-addon-many3 .gb-expand-addons{display:flex}
}
/* 回饋活動: the shop's own notice inside without its own grey box and frame, only the white card and its words */
.gbs-storefront .gb-points .gb-points-body :is(div,section,aside,article){background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.gbs-storefront .gb-points .gb-points-body>*,.gbs-storefront .gb-points .gb-points-body>*>:is(div,section){padding:0!important;margin:0!important}
/* phones: 返回 on the step line's row, centred on it */
@media(max-width:767px){
.gbs-storefront .gb-steps-row{position:relative}
.gbs-storefront .gb-steps-row>.gb-back{position:absolute!important;left:0;top:50%;transform:translateY(-50%);margin:0!important;line-height:16px}
}
/* a line whose quantity cannot change (an add-on, a product sold one at a time): WooCommerce hides the number, so no − / + either;
   computers show 1 in the 數量 column (a theme such as WoodMart hides this box), phones leave it out as before */
.gbs-storefront .gb-cart-item .quantity:has(input[type=hidden]) :is(.gb-qty-minus,.gb-qty-plus){display:none!important}
@media(min-width:768px){
.gbs-storefront .gb-cart-item .quantity:has(input[type=hidden]){display:inline-flex!important;border:0!important;width:auto!important}
.gbs-storefront .gb-cart-item .quantity:has(input[type=hidden])::before{content:"1";display:inline-flex;align-items:center;height:36px;font-size:14px}
}
@media(max-width:767px){.gbs-storefront .gb-cart-item .quantity:has(input[type=hidden]){display:none!important}}
/* the points plugin's 「Apply … discount?」 in its own white card above 訂單資訊 (cart) and 訂單明細 (checkout): its heading like the other
   cards' headings, without its own grey box and frame; its arrow, its opening and closing and its words as the plugin has them */
.gbs-storefront .gb-totals{display:block}
.gbs-storefront .gb-redeem :is(.wpgens-cart-points-redemption,.wpgens-points-redemption-block,.wpgens-points-checkout-ui){margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.gbs-storefront .gb-redeem .wpgens-accordion h3{margin:0!important;padding:16px!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:18px!important;font-weight:500!important;line-height:22px!important;color:var(--gb-title)!important}
.gbs-storefront .gb-redeem .wpgens-accordion.show h3{border-bottom:1px solid #eef0f3!important}
.gbs-storefront .gb-redeem .wpgens-accordion-inner{border:0!important;border-radius:0!important;padding:16px!important}
/* its 「Log In」 for a signed-out visitor: white words on our dark button, square, as 登入 in 已經是會員？ (the theme's link colour made them blue
   on its grey); its link and words as the plugin has them */
.gbs-storefront .gb-redeem a.wpgens-loyalty-login-button{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:42px;height:auto!important;padding:0 22px!important;border-radius:0!important;background:#242833!important;color:#fff!important;font-size:16px!important;font-weight:500!important;line-height:1.3!important;text-decoration:none!important;opacity:1!important}
.gbs-storefront .gb-redeem a.wpgens-loyalty-login-button:is(:hover,:focus){color:#fff!important;filter:brightness(1.2);opacity:1!important}
/* the footer's divider line right where the light blue ends: no white strip above it (a footer that starts with an Elementor divider has
   the divider's own gap above the line; the gap below it stays) */
body.gbs-on-cart :is(.footer-container,.wd-footer) .elementor>:first-child .elementor-widget-divider:first-child .elementor-divider,
body.gbs-on-checkout :is(.footer-container,.wd-footer) .elementor>:first-child .elementor-widget-divider:first-child .elementor-divider{padding-top:0!important}
/* Square buttons and sale tags: the theme's own inside the layout too (WoodMart's buttons read these, its round and semi-round styles set
   them on the button itself; any other button or tag here square whoever styles it). The cards' round wishlist heart stays round. */
.gbs-storefront,.gbs-storefront :is(.btn-shape-round,.btn-style-round,.btn-shape-semi-round,.btn-style-semi-round){--btn-brd-radius:0px;--btn-default-brd-radius:0px;--btn-accented-brd-radius:0px}
.gbs-storefront :is(button,input[type=submit],input[type=button],a.button,.button,.onsale):not(.gb-card-wishlist .woosw-btn){border-radius:0!important}
