body.gts-cart-open{overflow:hidden}.gts-cart-overlay{position:fixed;inset:0;background:rgba(10,20,14,.48);opacity:0;visibility:hidden;transition:.25s;z-index:99998}.gts-cart-drawer{position:fixed;right:0;top:0;width:min(480px,100%);height:100dvh;background:#fff;transform:translateX(100%);transition:transform .3s ease;z-index:99999;box-shadow:-18px 0 45px rgba(0,0,0,.16);font-family:inherit}.gts-cart-open .gts-cart-overlay{opacity:1;visibility:visible}.gts-cart-open .gts-cart-drawer{transform:none}.gts-cart-drawer__inner{height:100%;display:flex;flex-direction:column}.gts-cart-head{padding:26px 28px 20px;border-bottom:1px solid #e8e8e8;display:flex;justify-content:space-between;align-items:center}.gts-cart-head h2{margin:2px 0 0;font-size:30px;line-height:1.1;color:#222}.gts-cart-eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:700;color:#1d5b36}.gts-cart-count{font-size:17px;font-weight:500;color:#777}.gts-cart-close,.gts-cart-item__remove{border:0;background:none;cursor:pointer;color:#333}.gts-cart-close{font-size:38px;line-height:1;padding:0 4px}.gts-cart-items{flex:1;overflow:auto;padding:5px 28px}.gts-cart-item{display:grid;grid-template-columns:86px 1fr;gap:16px;padding:22px 0;border-bottom:1px solid #eee}.gts-cart-item__image img{width:86px;height:86px;object-fit:contain;background:#f6f6f6;border-radius:8px}.gts-cart-item__body{min-width:0}.gts-cart-item__top,.gts-cart-item__bottom{display:flex;justify-content:space-between;gap:12px}.gts-cart-item__name{font-weight:700;font-size:15px;line-height:1.35;color:#252525}.gts-cart-item__meta{font-size:12px;color:#777;margin-top:4px}.gts-cart-item__meta p{margin:0}.gts-cart-item__offer{display:inline-block;margin-top:7px;padding:4px 7px;border-radius:4px;background:#edf6f0;color:#1d5b36;font-size:11px;font-weight:700}.gts-cart-item__remove{font-size:24px;line-height:1;height:24px}.gts-cart-item__bottom{align-items:center;margin-top:13px}.gts-cart-item__price{font-weight:700}.gts-cart-qty{display:flex;border:1px solid #ddd;border-radius:5px;overflow:hidden;height:34px}.gts-cart-qty button,.gts-cart-qty input{width:34px;border:0;background:#fff;text-align:center;font:inherit}.gts-cart-qty button{cursor:pointer;font-size:18px}.gts-cart-qty input{-moz-appearance:textfield;border-left:1px solid #eee;border-right:1px solid #eee}.gts-cart-qty input::-webkit-inner-spin-button{display:none}.gts-cart-item__qty-static{font-size:13px;color:#777}.gts-cart-footer{padding:20px 28px 28px;border-top:1px solid #e5e5e5;background:#fff}.gts-cart-shipping-note{background:#f3f6f4;color:#3d5144;padding:10px 12px;border-radius:6px;font-size:12px;margin-bottom:15px}.gts-cart-subtotal{display:flex;justify-content:space-between;align-items:center;font-size:17px;margin-bottom:17px}.gts-cart-subtotal strong{font-size:21px}.gts-cart-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.gts-cart-primary,.gts-cart-secondary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border-radius:5px;text-decoration:none!important;font-weight:700;text-align:center}.gts-cart-primary{background:var(--brand-main)!important;border-color:var(--brand-main)!important;color:#fff!important}.gts-cart-secondary{border:1px solid #1d5b36;color:#1d5b36!important;background:#fff}.gts-cart-empty{margin:auto;padding:40px;text-align:center}.gts-cart-empty__icon{font-size:38px}.gts-cart-empty h3{margin:14px 0 7px}.gts-cart-empty p{color:#777;margin:0 0 22px}.gts-cart-drawer.is-loading:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.65);cursor:wait}@media(max-width:600px){.gts-cart-head{padding:20px}.gts-cart-items{padding:0 20px}.gts-cart-footer{padding:18px 20px 22px}.gts-cart-item{grid-template-columns:72px 1fr}.gts-cart-item__image img{width:72px;height:72px}.gts-cart-actions{grid-template-columns:1fr}.gts-cart-head h2{font-size:26px}}

/* v0.3 drawer refinement */
.gts-cart-drawer{width:min(520px,100%)}
.gts-cart-items{background:#f7f8f7;padding:18px 24px}
.gts-cart-item{background:#fff;border:1px solid #e4e7e4;border-radius:12px;padding:16px;margin:0 0 12px;grid-template-columns:74px 1fr;box-shadow:0 2px 8px rgba(0,0,0,.035)}
.gts-cart-item__image img{width:74px;height:74px;background:#fff}
.gts-cart-item__bottom{margin-top:9px}
.gts-cart-item__name{font-size:14px}
.gts-cart-footer{box-shadow:0 -8px 22px rgba(0,0,0,.045)}

/* One page checkout */
.gts-checkout{max-width:1320px;margin:0 auto;padding:48px 24px 80px}
.gts-checkout-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(380px,.9fr);gap:42px;align-items:start}
.gts-checkout-wizard{display:flex;flex-direction:column;gap:14px}
.gts-checkout-step{background:#fff;border:1px solid #e1e5e2;border-radius:12px;overflow:hidden;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.gts-checkout-step__head{width:100%;border:0;background:#fff;padding:22px 24px;display:grid;grid-template-columns:48px 1fr 28px;align-items:center;text-align:left;cursor:pointer;color:#222}
.gts-checkout-step__number{font-size:12px;font-weight:800;letter-spacing:.08em;color:#1d5b36}
.gts-checkout-step__title{font-size:20px;font-weight:800}
.gts-checkout-step__state{font-size:24px;text-align:right;color:#1d5b36}
.gts-checkout-step__body{display:none;padding:0 24px 26px;border-top:1px solid #edf0ed}
.gts-checkout-step.is-open .gts-checkout-step__body{display:block}
.gts-checkout-step__body .woocommerce-billing-fields>h3,.gts-checkout-step__body .woocommerce-shipping-fields>h3{display:none}
.gts-checkout-step__body .form-row{margin:0 0 16px}
.gts-checkout-step__body input.input-text,.gts-checkout-step__body select,.gts-checkout-step__body textarea{width:100%;min-height:48px;border:1px solid #d7ddd8;border-radius:7px;padding:10px 12px;background:#fff}
.gts-checkout-step__body label{font-weight:700;font-size:13px;margin-bottom:6px;display:block}
.gts-checkout-next,.gts-place-order{border:0;border-radius:6px;background:var(--brand-main)!important;border-color:var(--brand-main)!important;color:#fff!important;font-weight:800;min-height:50px;padding:12px 22px;cursor:pointer}
.gts-checkout-next{margin-top:8px}
.gts-place-order{width:100%;font-size:16px}
.gts-checkout-help{background:#f3f6f4;border-radius:7px;padding:14px;color:#405147}
.gts-checkout-summary{position:sticky;top:28px}
.gts-checkout-summary__inner{background:#fff;border:1px solid #e1e5e2;border-radius:14px;padding:26px;box-shadow:0 5px 24px rgba(0,0,0,.055)}
.gts-checkout-summary h2{margin:3px 0 20px;font-size:28px}
.gts-checkout-summary table.shop_table{border:0;margin:0;width:100%}
.gts-checkout-summary table.shop_table th,.gts-checkout-summary table.shop_table td{padding:14px 6px;border-color:#e9ece9}
.gts-checkout-summary .product-name{font-weight:600}
.gts-checkout-summary .order-total th,.gts-checkout-summary .order-total td{font-size:18px;color:#1d5b36}
.gts-checkout-payment-shell #payment{background:transparent!important}
.gts-checkout-payment-shell .wc_payment_methods{padding:0!important;border:0!important;list-style:none}
.gts-checkout-payment-shell .payment_box{background:#f5f6f5!important;border-radius:7px}
.gts-checkout-payment-shell .place-order{padding:18px 0 0!important}
@media(max-width:900px){.gts-checkout-layout{grid-template-columns:1fr}.gts-checkout-summary{position:static;order:-1}.gts-checkout{padding:24px 16px 50px}}
@media(max-width:600px){.gts-cart-items{padding:12px}.gts-cart-item{grid-template-columns:64px 1fr;padding:13px}.gts-cart-item__image img{width:64px;height:64px}.gts-checkout-step__head{padding:18px;grid-template-columns:38px 1fr 24px}.gts-checkout-step__title{font-size:17px}.gts-checkout-step__body{padding:0 18px 20px}.gts-checkout-summary__inner{padding:20px}}

/* v0.4 checkout polish */
.gts-checkout-step__head{grid-template-columns:48px minmax(0,1fr) auto 28px;gap:10px}
.gts-checkout-step__heading{display:flex;flex-direction:column;min-width:0}
.gts-checkout-step__summary{display:none;margin-top:3px;font-size:12px;font-weight:500;color:#707770;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gts-checkout-step__edit{display:none;font-size:12px;font-weight:800;color:#1d5b36}
.gts-checkout-step.is-complete:not(.is-open) .gts-checkout-step__summary,.gts-checkout-step.is-complete:not(.is-open) .gts-checkout-step__edit{display:block}
.gts-checkout-step.is-complete:not(.is-open) .gts-checkout-step__state{display:none}
.gts-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding-top:22px}
.gts-field-grid .form-row{float:none!important;width:auto!important;clear:none!important}
.gts-field-grid .form-row-wide,.gts-field-grid #billing_email_field,.gts-field-grid #billing_phone_field,.gts-field-grid #billing_country_field,.gts-field-grid #billing_address_1_field,.gts-field-grid #billing_address_2_field{grid-column:1/-1}
.gts-alternate-shipping{margin-top:4px;padding-top:4px}.gts-alternate-shipping h3{font-size:14px!important;margin:0 0 12px!important}.gts-alternate-shipping #ship-to-different-address{display:block!important}.gts-alternate-shipping .shipping_address{padding-top:12px}

.gts-checkout-summary__inner{padding:28px}.gts-checkout-summary h2{margin-bottom:16px}
.gts-review-products{border:1px solid #e5e9e6;border-radius:10px;overflow:hidden;background:#fff}
.gts-review-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border-bottom:1px solid #edf0ed}
.gts-review-item:last-child{border-bottom:0}.gts-review-item__image img{display:block;width:58px;height:58px;object-fit:contain;border-radius:7px;background:#f7f8f7}
.gts-review-item__content{display:flex;flex-direction:column;min-width:0}.gts-review-item__content strong{font-size:13px;line-height:1.35;color:#252525}.gts-review-item__qty{margin-top:3px;font-size:11px;color:#777}.gts-review-item__price{font-size:14px;font-weight:800;color:#1d6b3c;white-space:nowrap}
.gts-review-item.is-child{position:relative;margin-left:28px;background:#f8faf8;grid-template-columns:46px minmax(0,1fr) auto;padding:11px 14px 11px 12px}.gts-review-item.is-child:before{content:"";position:absolute;left:-15px;top:-1px;bottom:-1px;width:2px;background:#d7eadc}.gts-review-item.is-child .gts-review-item__image img{width:46px;height:46px}
.gts-review-badge{align-self:flex-start;margin-top:5px;padding:4px 7px;border-radius:999px;background:#eaf5ed;color:#176334;font-size:9px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.gts-review-totals{margin-top:18px}.gts-review-total,.gts-review-shipping{display:flex;justify-content:space-between;gap:18px;padding:11px 2px;border-bottom:1px solid #edf0ed;font-size:13px}.gts-review-total strong{color:#1d6b3c}.gts-review-total--grand{padding-top:15px;border:0;font-size:19px;font-weight:900}.gts-review-total--grand strong{font-size:21px}.gts-review-shipping__label{font-weight:700}.gts-review-shipping>div{flex:1;text-align:right}.gts-review-shipping ul#shipping_method{margin:0;list-style:none}.gts-review-shipping ul#shipping_method li{margin:0 0 7px}.gts-review-shipping ul#shipping_method label{font-size:12px}

/* v0.4 drawer grouping */
.gts-cart-group{background:#fff;border:1px solid #e4e7e4;border-radius:12px;margin:0 0 12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.035)}
.gts-cart-group .gts-cart-item{border:0;border-radius:0;box-shadow:none;margin:0;background:#fff}
.gts-cart-group__children{margin:0 14px 14px 50px;border-left:2px solid #d8eadc;padding-left:10px}
.gts-cart-group__children .gts-cart-item{background:#f7f9f7;padding:11px;grid-template-columns:58px 1fr;border-radius:8px;margin:7px 0 0}
.gts-cart-group__children .gts-cart-item__image img{width:58px;height:58px}.gts-cart-group__children .gts-cart-item__name{font-size:12px}.gts-cart-group__children .gts-cart-item__bottom{margin-top:6px}

@media(max-width:600px){.gts-field-grid{grid-template-columns:1fr}.gts-field-grid .form-row{grid-column:1/-1}.gts-checkout-step__head{grid-template-columns:38px minmax(0,1fr) auto 22px}.gts-checkout-step__edit{display:none!important}.gts-review-item{grid-template-columns:50px minmax(0,1fr) auto;padding:11px}.gts-review-item__image img{width:50px;height:50px}.gts-review-item.is-child{margin-left:18px}.gts-cart-group__children{margin-left:32px}}

/* v0.4.1 controls */
.gts-cart-qty{display:inline-grid!important;grid-template-columns:42px 48px 42px!important;height:42px!important;border:1px solid #d7dcd8!important;border-radius:7px!important;overflow:hidden!important;background:#fff!important;align-items:stretch!important}
.gts-cart-qty button,.gts-cart-qty input{box-sizing:border-box!important;width:100%!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#252525!important;line-height:40px!important;text-align:center!important;box-shadow:none!important}
.gts-cart-qty button{font-size:21px!important;font-weight:600!important;cursor:pointer!important}
.gts-cart-qty input{font-size:17px!important;border-left:1px solid #e1e5e2!important;border-right:1px solid #e1e5e2!important;-moz-appearance:textfield!important}
.gts-cart-qty input::-webkit-outer-spin-button,.gts-cart-qty input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}
.gts-cart-item__remove,.gts-review-remove{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;min-height:32px!important;padding:7px 11px!important;border:1px solid #c93636!important;border-radius:5px!important;background:#fff4f4!important;color:#b52626!important;font-size:11px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important}
.gts-cart-item__remove:hover,.gts-review-remove:hover{background:#b52626!important;color:#fff!important}
.gts-cart-item__meta .variation-Offer,.gts-cart-item__meta dt.variation-Offer,.gts-cart-item__meta dd.variation-Offer{display:none!important}
.gts-review-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.gts-review-qty{grid-template-columns:30px 36px 30px!important;height:32px!important}
.gts-review-qty button,.gts-review-qty input{height:30px!important;min-height:30px!important;line-height:30px!important;font-size:13px!important}
.gts-review-remove{min-height:30px!important;padding:6px 8px!important;font-size:10px!important}
.gts-checkout-summary{position:relative}.gts-checkout-summary.is-loading:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.68);z-index:20;cursor:wait;border-radius:inherit}
button.gts-cart-secondary{font:inherit;cursor:pointer}
@media(max-width:600px){.gts-cart-qty{grid-template-columns:38px 44px 38px!important}.gts-cart-item__top{align-items:flex-start}.gts-cart-item__remove{font-size:10px!important;padding:6px 8px!important}}

/* v0.4.5 — site-wide primary Woo/GTS CTA colour */
.gts-cart-primary,
.gts-checkout-next,
.gts-place-order,
.gts-checkout-payment-shell #place_order,
.woocommerce .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  background-color:var(--brand-main)!important;
  border-color:var(--brand-main)!important;
  color:#fff!important;
}
.gts-cart-primary:hover,
.gts-checkout-next:hover,
.gts-place-order:hover,
.gts-checkout-payment-shell #place_order:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background-color:var(--brand-main)!important;
  border-color:var(--brand-main)!important;
  color:#fff!important;
  filter:brightness(.92);
}


/* v0.4.6 — active checkout step contrast */
.gts-checkout-step.is-open .gts-checkout-step__number,
.gts-checkout-step.is-open .gts-checkout-step__state {
  color:#fff!important;
}


/* v0.4.7 — free UK delivery progress */
.gts-free-shipping{margin:0 0 18px;padding:14px 15px;background:#f5f8f6;border:1px solid #dce7df;border-radius:8px}
.gts-free-shipping__message{margin:0 0 10px;color:#34453a;font-size:13px;line-height:1.4}
.gts-free-shipping__message strong{color:var(--brand-main);font-weight:800}
.gts-free-shipping__track{position:relative;width:100%;height:7px;overflow:hidden;background:#dfe5e1;border-radius:999px}
.gts-free-shipping__bar{display:block;height:100%;background:var(--brand-main);border-radius:999px;transition:width .3s ease}
.gts-free-shipping.is-qualified{background:#f1f8f3;border-color:#cfe2d4}
.gts-free-shipping.is-qualified .gts-free-shipping__message{margin-bottom:10px}
.gts-cart-footer .gts-free-shipping{margin-bottom:16px}
.gts-review-totals .gts-free-shipping{margin:0 0 16px}
@media(max-width:600px){.gts-free-shipping{padding:12px 13px}.gts-free-shipping__message{font-size:12px}}


/* v0.5.0 — drawer free-delivery progress */
.gts-cart-footer .gts-free-shipping{display:block;width:100%;margin:0 0 18px;padding:14px 15px;box-sizing:border-box}
.gts-cart-footer .gts-free-shipping__message{display:block;margin:0 0 10px;text-align:left}
.gts-cart-footer .gts-free-shipping__track{display:block;width:100%;height:8px;background:#dfe5e1;border-radius:999px;overflow:hidden}
.gts-cart-footer .gts-free-shipping__bar{display:block;height:100%;background:var(--brand-main);border-radius:999px;transition:width .3s ease}

/* v0.5.1 — drawer cross-sells */
.gts-cart-items{min-height:0}
.gts-drawer-cross-sells{flex:0 0 auto;max-height:48vh;overflow-y:auto;padding:16px 24px;background:#fff;border-top:1px solid #e5e8e5}
.gts-drawer-cross-sells h3{margin:0 0 12px;font-size:16px;line-height:1.3;color:#222}
.gts-drawer-cross-sells__list{display:grid;gap:12px}
.gts-drawer-cross-sell{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px;align-items:start}
.gts-drawer-cross-sell__image img{display:block;width:66px;height:66px;object-fit:contain;border:1px solid #eee;border-radius:6px}
.gts-drawer-cross-sell__details{min-width:0}
.gts-drawer-cross-sell__name{display:block;color:#252525;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none}
.gts-drawer-cross-sell__price{margin:4px 0;font-size:13px;color:#278348}
.gts-drawer-cross-sell__button .button{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-height:32px!important;margin:0!important;padding:6px 12px!important;background:var(--brand-main,#1d5b36)!important;border:0!important;border-radius:5px!important;color:#fff!important;font-size:12px!important;line-height:1.3!important;text-decoration:none!important;cursor:pointer}
.gts-drawer-cross-sell__button .added_to_cart{display:none!important}
@media(max-width:600px){.gts-drawer-cross-sells{padding:14px 20px;max-height:42vh}}

/* v0.5.2 — collapsed cross-sell recommendations */
.gts-drawer-cross-sells__more{margin-top:12px}
.gts-drawer-cross-sells__more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;color:var(--brand-main,#1d5b36);font-weight:700;font-size:13px;padding:10px 0;border-top:1px solid #e5e8e5}
.gts-drawer-cross-sells__more summary::-webkit-details-marker{display:none}
.gts-drawer-cross-sells__more-open{display:none}
.gts-drawer-cross-sells__more[open] .gts-drawer-cross-sells__more-open{display:inline}
.gts-drawer-cross-sells__more[open] .gts-drawer-cross-sells__more-closed{display:none}
.gts-drawer-cross-sells__chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s;flex-shrink:0;margin-right:3px}
.gts-drawer-cross-sells__more[open] .gts-drawer-cross-sells__chevron{transform:rotate(225deg)}
.gts-drawer-cross-sells__list--extra{padding:4px 0 6px}
.gts-drawer-cross-sells__more summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* v0.5.4 — collapsible AJAX coupon form in drawer */
.gts-drawer-coupon{margin:0 0 18px;border:1px solid #d9e4db;border-radius:8px;background:#fff}
.gts-drawer-coupon>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;color:var(--brand-main,#1d5b36);font-weight:700;cursor:pointer;list-style:none}
.gts-drawer-coupon>summary::-webkit-details-marker{display:none}
.gts-drawer-coupon__chevron{height:8px;width:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s}
.gts-drawer-coupon[open] .gts-drawer-coupon__chevron{transform:rotate(225deg)}
.gts-drawer-coupon__content{padding:0 15px 15px}
.gts-drawer-coupon__form label{display:block;margin-bottom:7px;font-size:12px;font-weight:600;color:#333}
.gts-drawer-coupon__controls{display:flex;gap:8px}
.gts-drawer-coupon__controls input{min-width:0;flex:1;border:1px solid #d2d9d4;border-radius:5px;padding:10px;font-size:14px}
.gts-drawer-coupon__controls button{flex-shrink:0;border:0;border-radius:5px;padding:10px 13px;background:var(--brand-main,#1d5b36);color:#fff;font-weight:700;cursor:pointer}
.gts-drawer-coupon__controls button:disabled{opacity:.55;cursor:wait}
.gts-drawer-coupon__message{margin:9px 0 0;color:#b3261e;font-size:12px}
.gts-drawer-coupon__applied{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px}
.gts-drawer-coupon__chip{display:inline-flex;align-items:center;gap:8px;padding:5px 8px;border-radius:5px;background:#e9f4ed;color:#175e35;font-size:12px}
.gts-drawer-coupon__chip button{background:none;border:0;color:inherit;font-size:18px;line-height:1;cursor:pointer}
@media(max-width:420px){.gts-drawer-coupon__controls{flex-direction:column}.gts-drawer-coupon__controls button{width:100%}}

/* v0.5.5 — consistent white checkout accordion header labels and controls. */
.gts-checkout-step .gts-checkout-step__head,
.gts-checkout-step .gts-checkout-step__head .gts-checkout-step__number,
.gts-checkout-step .gts-checkout-step__head .gts-checkout-step__title,
.gts-checkout-step .gts-checkout-step__head .gts-checkout-step__summary,
.gts-checkout-step .gts-checkout-step__head .gts-checkout-step__edit,
.gts-checkout-step .gts-checkout-step__head .gts-checkout-step__state {
    color: #fff !important;
}

/* v0.5.5 — explicit email marketing opt-in in checkout Step 1. */
.gts-checkout-step__body .gts-marketing-optin {
    margin: 4px 0 20px;
    padding: 14px 16px;
    background: #f0f7f2;
    border: 1px solid #cfe3d4;
    border-radius: 8px;
}
.gts-checkout-step__body .gts-marketing-optin .form-row { margin: 0; }
.gts-checkout-step__body .gts-marketing-optin label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    cursor: pointer;
}
.gts-checkout-step__body .gts-marketing-optin input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 2px 0 0;
    accent-color: #287b46;
}

/* v0.5.6 — compact drawer with independently scrollable basket and pinned actions */
.gts-cart-drawer{height:100vh;height:100dvh;overflow:hidden}
.gts-cart-drawer__inner{display:flex;flex-direction:column;height:100%;height:100dvh;min-height:0;overflow:hidden}
.gts-cart-head{flex:0 0 auto;padding:16px 22px 13px}
.gts-cart-head h2{font-size:25px}
.gts-cart-items{flex:1 1 auto;min-height:80px;overflow-y:auto;overscroll-behavior:contain;padding:12px 20px;background:#f7f8f7}
.gts-cart-footer{flex:0 0 auto;padding:12px 20px max(14px,env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(0,0,0,.07);position:relative;z-index:2}
.gts-cart-footer .gts-free-shipping{margin-bottom:10px;padding:9px 11px}
.gts-cart-footer .gts-free-shipping__message{margin-bottom:6px;font-size:11px}
.gts-cart-footer .gts-free-shipping__track{height:6px}
.gts-cart-subtotal{margin-bottom:10px;font-size:14px}
.gts-cart-subtotal strong{font-size:17px}
.gts-cart-actions{gap:8px}
.gts-cart-primary,.gts-cart-secondary{min-height:40px;padding:8px 10px;font-size:13px}
.gts-drawer-cross-sells{flex:0 0 auto;min-height:0;max-height:none;overflow:visible;padding:10px 20px 12px;border-top:1px solid #e5e8e5;background:#fff}
.gts-drawer-cross-sells__heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.gts-drawer-cross-sells__heading h3{margin:0;font-size:14px}
.gts-drawer-cross-sells__arrows{display:flex;gap:5px}
.gts-drawer-cross-sells__arrows button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #d6e1d8;border-radius:50%;background:#fff;color:var(--brand-main,#1d5b36);font-size:23px;line-height:1;cursor:pointer}
.gts-drawer-cross-sells__list{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:2px 1px 5px}
.gts-drawer-cross-sell{flex:0 0 calc((100% - 10px)/2);min-width:0;display:flex;flex-direction:column;gap:5px;scroll-snap-align:start;padding:8px;border:1px solid #e8eae8;border-radius:8px;box-sizing:border-box;background:#fff}
.gts-drawer-cross-sell__image{display:flex;justify-content:center}
.gts-drawer-cross-sell__image img{width:54px;height:54px;object-fit:contain;border:0}
.gts-drawer-cross-sell__details{display:flex;flex-direction:column;align-items:center;text-align:center;flex:1;min-width:0}
.gts-drawer-cross-sell__name{font-size:11px;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.5em}
.gts-drawer-cross-sell__price{font-size:11px;margin:3px 0 6px}
.gts-drawer-cross-sell__button{margin-top:auto}
.gts-drawer-cross-sell__button .button{font-size:10px!important;padding:5px 7px!important;min-height:27px!important}
@media(max-width:600px){
 .gts-cart-head{padding:12px 15px 10px}.gts-cart-head h2{font-size:22px}
 .gts-cart-items{padding:9px 12px;min-height:65px}
 .gts-drawer-cross-sells{padding:9px 12px 10px}
 .gts-drawer-cross-sell{flex-basis:calc((100% - 10px)/2)}
 .gts-cart-footer{padding:10px 12px max(12px,env(safe-area-inset-bottom))}
 .gts-cart-actions{grid-template-columns:1fr 1fr}
 .gts-cart-primary,.gts-cart-secondary{min-height:40px;font-size:12px;padding:7px 5px}
}
@media(max-height:650px){
 .gts-drawer-cross-sells__list{max-height:115px}
 .gts-drawer-cross-sell{display:grid;grid-template-columns:45px minmax(0,1fr);gap:5px}
 .gts-drawer-cross-sell__image img{width:43px;height:43px}
 .gts-drawer-cross-sell__details{align-items:flex-start;text-align:left}
 .gts-drawer-cross-sell__name{min-height:0}
}

/* v0.5.7 - wider drawer and compact recommendation cards */
@media(min-width:1440px){.gts-cart-drawer{width:560px;max-width:100%}}
@media(min-width:1024px) and (max-width:1439px){.gts-cart-drawer{width:500px;max-width:100%}}
@media(max-width:1023px){.gts-cart-drawer{width:100%;max-width:100%}}
.gts-drawer-cross-sells{padding:10px 20px!important}
.gts-drawer-cross-sells__heading{margin-bottom:8px}
.gts-drawer-cross-sells__heading h3{font-size:13px;margin:0}
.gts-drawer-cross-sells__list{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:0 0 4px;scroll-snap-type:x mandatory}
.gts-drawer-cross-sell{flex:0 0 calc((100% - 10px)/2);min-width:0;display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:10px;padding:8px;border:1px solid #e8e8e8;border-radius:6px;scroll-snap-align:start}
.gts-drawer-cross-sell__image{display:flex;align-items:center;justify-content:center}
.gts-drawer-cross-sell__image img{width:60px;height:60px;object-fit:contain}
.gts-drawer-cross-sell__details{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;min-width:0}
.gts-drawer-cross-sell__name{font-size:11px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:0}
.gts-drawer-cross-sell__price{font-size:12px;margin:0}
.gts-drawer-cross-sell__button{margin-top:0}
.gts-drawer-cross-sell__button .button{font-size:10px!important;padding:5px 8px!important;min-height:26px!important}
@media(max-width:600px){.gts-drawer-cross-sells{padding:10px 12px!important}.gts-drawer-cross-sell{flex-basis:85%;grid-template-columns:65px minmax(0,1fr)}.gts-drawer-cross-sell__image img{width:55px;height:55px}}
/* Checkout recommendations and coupon: keep order summary compact */
.gts-checkout-cross-sells{border-top:1px solid #e8e8e8;margin:12px 0;padding:12px 0!important}
.gts-checkout-cross-sells .gts-drawer-cross-sell{flex-basis:85%}
.gts-checkout-coupon{margin:12px 0 16px;border:1px solid #e0e6e0;border-radius:7px;padding:0 12px}
.gts-checkout-coupon>summary{padding:12px 0;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:13px;font-weight:700;color:var(--brand-main,#1d5b36)}
.gts-checkout-coupon .gts-drawer-coupon__content{padding-bottom:12px}
.gts-checkout-coupon .gts-drawer-coupon__controls{display:flex;gap:8px}
.gts-checkout-coupon .gts-drawer-coupon__controls input{min-width:0;flex:1}
.gts-checkout-coupon .gts-drawer-coupon__controls button{white-space:nowrap}
/* WooCommerce renders '(optional)' outside checkbox label; hide for this opt-in only. */
.gts-marketing-optin .optional{display:none!important}

/* v0.5.9 — drawer shipping estimator */
.gts-shipping-estimator{margin:12px 0;border:1px solid #dce7df;border-radius:8px;background:#fff;color:#303030}
.gts-shipping-estimator>summary{display:flex;justify-content:space-between;align-items:center;padding:12px;cursor:pointer;font-weight:700;font-size:13px;color:var(--brand-main,#287a48)}
.gts-shipping-estimator__body{padding:0 12px 12px}
.gts-shipping-estimator form{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px}
.gts-shipping-estimator label{font-size:11px;font-weight:600;grid-column:span 1}
.gts-shipping-estimator select,.gts-shipping-estimator input{width:100%;min-width:0;border:1px solid #ccc;border-radius:5px;padding:9px;font-size:12px;background:#fff;color:#333}
.gts-shipping-estimator form button{grid-column:1/-1;background:var(--brand-main,#287a48);color:#fff;border:0;border-radius:5px;padding:10px;cursor:pointer;font-weight:700}
.gts-shipping-estimator form button:disabled{opacity:.65;cursor:wait}
.gts-shipping-estimator__message{grid-column:1/-1;color:#a32626;font-size:12px;margin:0}
.gts-shipping-estimator__rates{border-top:1px solid #e5e5e5;margin-top:12px;padding-top:10px;font-size:12px}
.gts-shipping-estimator__rate{display:flex;justify-content:space-between;gap:12px;margin:6px 0}
.gts-shipping-estimator__rates small{display:block;margin-top:8px;color:#666;line-height:1.4}
.gts-shipping-estimator form{grid-template-columns:minmax(0,1fr)}
.gts-shipping-estimator label,.gts-shipping-estimator form button,.gts-shipping-estimator__message{grid-column:1}


/* v0.5.11: account creation and checkout horizontal overflow safeguards */
body.woocommerce-checkout:not(.woocommerce-order-received) { overflow-x: clip; }
.gts-checkout, .gts-checkout-layout, .gts-checkout-wizard, .gts-checkout-summary,
.gts-checkout-step, .gts-checkout-step__body, .gts-checkout-summary__inner { min-width:0; max-width:100%; box-sizing:border-box; }
.gts-checkout-layout { width:100%; }
.gts-checkout-step__body input, .gts-checkout-step__body select, .gts-checkout-step__body textarea { max-width:100%; box-sizing:border-box; }
.gts-checkout-summary table.shop_table { table-layout:fixed; }
.gts-checkout-summary table.shop_table td, .gts-checkout-summary table.shop_table th { overflow-wrap:anywhere; }
.gts-create-account { border:1px solid #dce6df; background:#f6faf7; padding:18px 20px; border-radius:9px; margin:12px 0 20px; }
.gts-create-account h3 { margin:0 0 10px; font-size:18px; }
.gts-create-account__benefits { list-style:none; padding:0; margin:0 0 16px; }
.gts-create-account__benefits li { position:relative; padding:3px 0 3px 24px; font-size:14px; }
.gts-create-account__benefits li:before { content:'✓'; position:absolute; left:0; color:var(--brand-main,#1d5b36); font-weight:800; }
.gts-create-account .form-row { margin-bottom:0; }
.gts-create-account label.checkbox { display:flex!important; align-items:center; gap:10px; font-size:14px; font-weight:700; cursor:pointer; }
.gts-create-account input[type=checkbox] { width:18px!important; height:18px!important; min-height:0!important; flex:0 0 18px; margin:0!important; }
.gts-create-account__fields { padding-top:14px; }
.gts-checkout-terms-intro { font-size:13px; line-height:1.6; margin:0 0 12px; }
@media(max-width:900px){ .gts-checkout-layout { grid-template-columns:minmax(0,1fr); gap:20px; } }
@media(max-width:600px){ .gts-checkout { width:100%; padding-left:12px; padding-right:12px; } .gts-checkout-step__body { min-width:0; } }


/* v0.5.13 - launch-day checkout width and mobile viewport repair */
body.woocommerce-checkout:not(.woocommerce-order-received) {
  width: 100%; max-width: 100%; overflow-x: hidden;
}
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.gts-checkout {
  display: block;
  width: calc(100% - 32px) !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 32px 0 64px !important;
  box-sizing: border-box !important;
  float: none !important;
}
body.woocommerce-checkout .gts-checkout-layout {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr);
  gap: 28px;
  align-items: start;
}
body.woocommerce-checkout .gts-checkout-layout > *,
body.woocommerce-checkout .gts-checkout-summary__inner,
body.woocommerce-checkout .gts-review-products,
body.woocommerce-checkout .gts-review-item,
body.woocommerce-checkout .gts-cart-group,
body.woocommerce-checkout .gts-checkout-cross-sells,
body.woocommerce-checkout .gts-drawer-cross-sells__list {
  min-width: 0; max-width: 100%; box-sizing: border-box;
}
body.woocommerce-checkout .gts-checkout-summary__inner { overflow: hidden; }
body.woocommerce-checkout .gts-checkout-cross-sells,
body.woocommerce-checkout .gts-drawer-cross-sells__list { overflow-x: auto; }
@media (max-width: 900px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.gts-checkout {
    width: calc(100% - 24px) !important;
    padding: 20px 0 44px !important;
  }
  body.woocommerce-checkout .gts-checkout-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }
  body.woocommerce-checkout .gts-checkout-summary {
    order: 0;
    position: static;
  }
}
@media (max-width: 600px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.gts-checkout {
    width: calc(100% - 20px) !important;
    padding: 16px 0 36px !important;
  }
  body.woocommerce-checkout .gts-checkout-step__body { padding: 12px 14px 18px; }
  body.woocommerce-checkout .gts-checkout-step__head { padding: 15px 14px; }
  body.woocommerce-checkout .gts-checkout-summary__inner { padding: 16px; }
  body.woocommerce-checkout .gts-review-item,
  body.woocommerce-checkout .gts-cart-item { min-width: 0; }
  body.woocommerce-checkout .gts-review-item__name,
  body.woocommerce-checkout .gts-cart-item__name { overflow-wrap: anywhere; }
}

/* v0.5.14 — checkout cross-sell carousel must not inflate the mobile layout viewport.
   Keep horizontal scrolling inside its own scrollport, not on the page. */
body.woocommerce-checkout .gts-checkout-summary,
body.woocommerce-checkout .gts-checkout-summary__inner,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  min-width: 0;
  max-width: 100%;
}
body.woocommerce-checkout .gts-checkout-cross-sells {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  contain: inline-size;
  overflow: hidden;
}
body.woocommerce-checkout .gts-checkout-cross-sells .gts-drawer-cross-sells__heading {
  min-width: 0;
  max-width: 100%;
}
body.woocommerce-checkout .gts-checkout-cross-sells .gts-drawer-cross-sells__list {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
}
body.woocommerce-checkout .gts-checkout-cross-sells .gts-drawer-cross-sell {
  flex: 0 0 85%;
  min-width: 0;
  max-width: 85%;
  box-sizing: border-box;
}

/* v0.5.16: checkout recommendations are a vertical list, independent of drawer scroller */
body.woocommerce-checkout .gts-checkout-recommendations {
  display:block; width:100%; max-width:100%; min-width:0;
  box-sizing:border-box; margin:14px 0; padding:14px 0;
  border-top:1px solid #e5e8e5; overflow-wrap:anywhere;
}
body.woocommerce-checkout .gts-checkout-recommendations h3 {
  font-size:16px; line-height:1.35; margin:0 0 12px;
}
body.woocommerce-checkout .gts-checkout-recommendations__items {
  display:grid; grid-template-columns:minmax(0,1fr); gap:10px;
  width:100%; max-width:100%; min-width:0;
}
body.woocommerce-checkout .gts-checkout-recommendation {
  display:grid; grid-template-columns:72px minmax(0,1fr); gap:12px;
  align-items:start; width:100%; min-width:0; max-width:100%;
  box-sizing:border-box; padding:10px; border:1px solid #e5e8e5;
  border-radius:8px; background:#fff;
}
body.woocommerce-checkout .gts-checkout-recommendation__image,
body.woocommerce-checkout .gts-checkout-recommendation__details {min-width:0;max-width:100%;}
body.woocommerce-checkout .gts-checkout-recommendation__image img {
  display:block; width:72px; height:72px; max-width:100%; object-fit:contain;
}
body.woocommerce-checkout .gts-checkout-recommendation__name {
  display:block; font-size:13px; font-weight:700; line-height:1.35;
  overflow-wrap:anywhere; text-decoration:none;
}
body.woocommerce-checkout .gts-checkout-recommendation__price {font-size:13px;margin:5px 0;}
body.woocommerce-checkout .gts-checkout-recommendation__button .button {
  font-size:11px!important; padding:7px 10px!important; min-height:0!important;
  white-space:normal; max-width:100%; box-sizing:border-box;
}
@media(max-width:420px){
 body.woocommerce-checkout .gts-checkout-recommendation {grid-template-columns:58px minmax(0,1fr);gap:9px;padding:8px;}
 body.woocommerce-checkout .gts-checkout-recommendation__image img {width:58px;height:58px;}
}
