/**
 * TG Shop cart + checkout exploration (v1.3.23)
 * Presentation only: WooCommerce retains totals, payments, shipping, forms and validation.
 * Separate from single product, shop grid and company pages.
 */
body.tg-checkout-exploration {
  --tg-cx-ink: #1c1e15;
  --tg-cx-muted: #807c78;
  --tg-cx-rule: #dcdad8;
  --tg-cx-surface: #f7f6f6;
  --tg-cx-accent: #ff5c00;
  background: #fff;
}
body.tg-checkout-exploration :where(.site-main,.entry-content,.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) { box-sizing:border-box; }
body.tg-checkout-exploration :where(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {
  color:var(--tg-cx-ink);
  font-family:'Scto Grotesk A',Arial,sans-serif;
  letter-spacing:-.02em;
}
body.tg-checkout-exploration :where(h1,h2,h3,.wc-block-components-title,.wc-block-cart__empty-cart__title) {
  color:var(--tg-cx-ink);
  letter-spacing:-.04em;
  line-height:1.14;
}
body.tg-checkout-exploration :where(.woocommerce-cart,.woocommerce-checkout,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) :where(a:not(.button),button.link) {color:var(--tg-cx-ink);text-underline-offset:3px;}
body.tg-checkout-exploration :where(input,select,textarea,.wc-block-components-text-input input) {border-radius:4px;}
body.tg-checkout-exploration :where(input,select,textarea,button,a):focus-visible {outline:2px solid var(--tg-cx-accent);outline-offset:3px;}
body.tg-checkout-exploration :where(.button,.checkout-button,.wc-block-components-button,.place-order button#place_order) {
  border-radius:4px!important;
  background:var(--tg-cx-ink)!important;
  border:1px solid var(--tg-cx-ink)!important;
  color:#fff!important;
  box-shadow:none!important;
  letter-spacing:.025em;
  transition:background-color .2s ease,border-color .2s ease;
}
body.tg-checkout-exploration :where(.button,.checkout-button,.wc-block-components-button,.place-order button#place_order):hover {
  background:var(--tg-cx-accent)!important;
  border-color:var(--tg-cx-accent)!important;
  color:#fff!important;
}
/* Cart: narrow, editorial table with generous white space and quiet totals. */
body.tg-cart-page :where(.woocommerce,.wp-block-woocommerce-cart) {max-width:1120px;margin:0 auto;padding:35px 24px 75px;}
body.tg-cart-page :where(.woocommerce table.shop_table,.wc-block-cart-items) {width:100%;border:0;border-collapse:collapse;}
body.tg-cart-page :where(.woocommerce table.shop_table th,.woocommerce table.shop_table td,.wc-block-cart-items__row) {
  border:0;border-bottom:1px solid var(--tg-cx-rule);padding:24px 12px;
}
body.tg-cart-page .woocommerce table.shop_table thead th {font-size:12px;color:var(--tg-cx-muted);font-weight:500;text-transform:uppercase;letter-spacing:.06em;}
body.tg-cart-page :where(.woocommerce-cart-form__cart-item,.wc-block-cart-items__row) {vertical-align:middle;}
body.tg-cart-page :where(.woocommerce-cart-form__cart-item .product-thumbnail img,.wc-block-cart-item__image img) {width:110px;max-width:110px;height:auto;object-fit:contain;}
body.tg-cart-page :where(.product-name,.wc-block-cart-item__product) {font-weight:500;}
body.tg-cart-page :where(.woocommerce .quantity input.qty,.wc-block-components-quantity-selector) {
  border:1px solid var(--tg-cx-rule);background:#fff;border-radius:3px;min-height:42px;
}
body.tg-cart-page .woocommerce .quantity input.qty {width:68px;text-align:center;}
body.tg-cart-page :where(.cart-collaterals,.wc-block-cart__sidebar) {margin-top:38px;}
body.tg-cart-page .cart-collaterals .cart_totals {float:right;width:min(100%,410px);}
body.tg-cart-page :where(.cart_totals,.wc-block-cart__sidebar) :where(h2,.wc-block-components-totals-wrapper) {border-color:var(--tg-cx-rule);}
body.tg-cart-page .wc-proceed-to-checkout .checkout-button {display:block;width:100%;padding:16px 24px!important;font-size:14px;text-align:center;}
body.tg-cart-page :where(.woocommerce-message,.woocommerce-info,.woocommerce-error) {border:1px solid var(--tg-cx-rule);border-radius:4px;background:var(--tg-cx-surface);color:var(--tg-cx-ink);}
/* Classic checkout: retain WooCommerce's functional fieldsets, create two visual columns. */
body.tg-checkout-page :where(.woocommerce,.wp-block-woocommerce-checkout) {max-width:1280px;margin:0 auto;padding:25px 24px 80px;}
body.tg-checkout-page .woocommerce form.checkout:not(.wc-block-checkout__form) {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  column-gap:clamp(32px,5vw,90px);
  align-items:start;
}
body.tg-checkout-page .woocommerce form.checkout > .col2-set {grid-column:1;grid-row:1 / span 4;width:100%;margin:0;}
body.tg-checkout-page .woocommerce form.checkout > .col2-set :where(.col-1,.col-2) {float:none;width:100%;margin:0 0 24px;}
body.tg-checkout-page .woocommerce form.checkout > #order_review_heading {grid-column:2;grid-row:1;margin:0;padding:20px 24px 8px;background:var(--tg-cx-surface);font-size:20px;}
body.tg-checkout-page .woocommerce form.checkout > #order_review {grid-column:2;grid-row:2;background:var(--tg-cx-surface);padding:0 24px 24px;min-width:0;}
body.tg-checkout-page .woocommerce form.checkout > :not(.col2-set):not(#order_review_heading):not(#order_review) {min-width:0;}
body.tg-checkout-page .woocommerce form.checkout :where(.form-row,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields) {box-sizing:border-box;}
body.tg-checkout-page .woocommerce form.checkout :where(input.input-text,textarea,select) {
  min-height:48px;border:1px solid var(--tg-cx-rule);border-radius:6px;padding:12px;background:#fff;color:var(--tg-cx-ink);
}
body.tg-checkout-page .woocommerce form.checkout :where(.select2-container--default .select2-selection--single) {min-height:48px;border:1px solid var(--tg-cx-rule);border-radius:6px;}
body.tg-checkout-page .woocommerce form.checkout .woocommerce-checkout-review-order-table {border:0;border-collapse:collapse;width:100%;}
body.tg-checkout-page .woocommerce form.checkout .woocommerce-checkout-review-order-table :where(td,th) {border:0;border-bottom:1px solid var(--tg-cx-rule);padding:14px 4px;}
body.tg-checkout-page .woocommerce form.checkout #payment {background:transparent;border:0;}
body.tg-checkout-page .woocommerce form.checkout #payment .payment_box {background:#fff;}
body.tg-checkout-page .woocommerce form.checkout #payment .place-order {padding:18px 0 0;}
body.tg-checkout-page .woocommerce form.checkout #payment #place_order {float:none;width:100%;min-height:52px;}
/* WooCommerce Cart/Checkout Blocks retain their provider-rendered form structure. */
body.tg-checkout-page .wp-block-woocommerce-checkout .wc-block-checkout {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  gap:clamp(32px,5vw,90px);
  align-items:start;
}
body.tg-checkout-page .wp-block-woocommerce-checkout .wc-block-checkout__main {width:100%;min-width:0;grid-column:1;}
body.tg-checkout-page .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {width:100%;min-width:0;grid-column:2;background:var(--tg-cx-surface);padding:24px;box-sizing:border-box;border:0;}
body.tg-checkout-page :where(.wc-block-components-text-input input,.wc-block-components-combobox-control input,.wc-block-components-form .wc-block-components-text-input input) {
  border:1px solid var(--tg-cx-rule);border-radius:6px!important;background:#fff;
}
body.tg-checkout-page :where(.wc-block-components-checkout-place-order-button,.wc-block-components-checkout-place-order-button:hover) {min-height:52px;}
body.tg-checkout-page :where(.wc-block-components-order-summary,.wc-block-components-totals-wrapper) {border-color:var(--tg-cx-rule);}
/* Keep payment-provider iframe contents and their branded methods intact. */
@media(max-width:900px){
  body.tg-checkout-page .woocommerce form.checkout:not(.wc-block-checkout__form),
  body.tg-checkout-page .wp-block-woocommerce-checkout .wc-block-checkout {display:block;}
  body.tg-checkout-page .woocommerce form.checkout > #order_review_heading {margin-top:32px;}
  body.tg-checkout-page .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {margin-top:24px;}
  body.tg-checkout-page :where(.woocommerce,.wp-block-woocommerce-checkout),
  body.tg-cart-page :where(.woocommerce,.wp-block-woocommerce-cart) {padding-left:18px;padding-right:18px;}
  body.tg-cart-page .cart-collaterals .cart_totals {width:100%;float:none;}
}
@media(max-width:600px){
  body.tg-cart-page :where(.woocommerce,.wp-block-woocommerce-cart),
  body.tg-checkout-page :where(.woocommerce,.wp-block-woocommerce-checkout) {padding-top:20px;padding-bottom:48px;}
  body.tg-cart-page :where(.woocommerce table.shop_table th,.woocommerce table.shop_table td,.wc-block-cart-items__row) {padding:16px 6px;}
  body.tg-cart-page :where(.woocommerce-cart-form__cart-item .product-thumbnail img,.wc-block-cart-item__image img) {max-width:76px;}
  body.tg-checkout-page .woocommerce form.checkout > #order_review,
  body.tg-checkout-page .woocommerce form.checkout > #order_review_heading {padding-left:16px;padding-right:16px;}
}
@media(prefers-reduced-motion:reduce){
  body.tg-checkout-exploration :where(.button,.checkout-button,.wc-block-components-button) {transition:none;}
}

/* v1.3.24 — Actual cart composition from TG Shop Figma 8:148. */
body.tg-cart-page,body.tg-checkout-page {
  --tg-box-width:1082px;--tg-cx-ink:#1c1e15;--tg-cx-muted:#807c78;
  --tg-cx-rule:#d1d0cf;--tg-cx-accent:#ff5c00;
  background:#f7f6f6;letter-spacing:-.01em;
}
body.tg-checkout-exploration :where(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {letter-spacing:-.01em;}
body.tg-checkout-exploration :where(h1,h2,h3,.wc-block-components-title,.wc-block-cart__empty-cart__title) {letter-spacing:-.01em;}
body.tg-cart-page :where(.site-main,.entry-content,.elementor-widget-container),
body.tg-checkout-page :where(.site-main,.entry-content,.elementor-widget-container) {min-width:0;}
body.tg-cart-page :where(.woocommerce,.wp-block-woocommerce-cart),
body.tg-checkout-page :where(.woocommerce,.wp-block-woocommerce-checkout) {
  width:min(var(--tg-box-width),calc(100% - 40px));max-width:var(--tg-box-width);margin-inline:auto;padding:0 0 75px;
}
body.tg-cart-page .tg-cart-layout {width:100%;padding-top:10px;}
body.tg-cart-page .tg-cart-heading {height:97px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--tg-cx-rule);}
body.tg-cart-page .tg-cart-heading h1 {font-size:40px;font-weight:400;line-height:1;letter-spacing:-.01em;margin:0;color:var(--tg-cx-ink);}
body.tg-cart-page .tg-cart-continue {font-size:14px;color:var(--tg-cx-accent)!important;text-decoration:none;border-bottom:1px solid #ffbe99;padding-bottom:2px;letter-spacing:-.01em;}
body.tg-cart-page .tg-cart-form {width:100%;}
body.tg-cart-page .tg-cart-labels {display:grid;grid-template-columns:minmax(0,1fr) 220px 160px;gap:20px;padding:15px 24px;color:var(--tg-cx-muted);font-size:14px;line-height:1.2;}
body.tg-cart-page .tg-cart-labels span:nth-child(2) {text-align:left;}
body.tg-cart-page .tg-cart-labels span:nth-child(3) {text-align:right;}
body.tg-cart-page .tg-cart-items {border-top:1px solid var(--tg-cx-rule);border-bottom:1px solid var(--tg-cx-rule);}
body.tg-cart-page .tg-cart-row {display:grid;grid-template-columns:114px minmax(0,1fr) 160px 120px;align-items:center;gap:24px;min-height:138px;padding:12px 24px;border-bottom:1px solid var(--tg-cx-rule);background:transparent;}
body.tg-cart-page .tg-cart-row:last-child {border-bottom:0;}
body.tg-cart-page .tg-cart-photo,body.tg-cart-page .tg-cart-photo img {display:block;width:114px;height:114px;object-fit:cover;border-radius:0;}
body.tg-cart-page .tg-cart-product {font-size:20px;line-height:1.08;letter-spacing:-.01em;min-width:0;}
body.tg-cart-page .tg-cart-name a {color:var(--tg-cx-ink)!important;text-decoration:none!important;}
body.tg-cart-page .tg-cart-product .variation {font-size:13px;margin:8px 0;color:var(--tg-cx-muted);}
body.tg-cart-page .tg-cart-product .variation dt,body.tg-cart-page .tg-cart-product .variation dd {display:inline;float:none;margin:0 5px 0 0;}
body.tg-cart-page .tg-cart-price {color:var(--tg-cx-muted);font-size:18px;margin-top:9px;}
body.tg-cart-page .tg-cart-qtywrap {display:flex;align-items:center;gap:17px;}
body.tg-cart-page .tg-cart-qty {height:43px;width:83px;display:grid;grid-template-columns:26px 30px 26px;align-items:center;border:1px solid var(--tg-cx-rule);border-radius:3px;background:#fff;overflow:hidden;}
body.tg-cart-page .tg-cart-qty :is(button,input.qty) {display:block!important;margin:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;color:var(--tg-cx-ink)!important;font-size:16px!important;text-align:center;line-height:1!important;}
body.tg-cart-page .tg-cart-qty button {cursor:pointer;font-weight:400;}
body.tg-cart-page .tg-cart-qty input.qty::-webkit-inner-spin-button,body.tg-cart-page .tg-cart-qty input.qty::-webkit-outer-spin-button {appearance:none;margin:0;}
body.tg-cart-page .tg-cart-qty input.qty {appearance:textfield;-moz-appearance:textfield;}
body.tg-cart-page .tg-cart-remove {display:inline-grid;place-items:center;width:26px;height:36px;color:var(--tg-cx-muted)!important;background:transparent!important;border:0!important;font-size:25px!important;font-weight:300!important;text-decoration:none!important;}
body.tg-cart-page .tg-cart-remove:hover {color:var(--tg-cx-accent)!important;}
body.tg-cart-page .tg-cart-line-total {font-size:18px;justify-self:end;white-space:nowrap;}
body.tg-cart-page .tg-cart-actions {display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 0;}
body.tg-cart-page .tg-cart-coupon {display:flex;align-items:center;gap:8px;}
body.tg-cart-page .tg-cart-coupon label {position:absolute;clip:rect(0,0,0,0);}
body.tg-cart-page .tg-cart-coupon input {width:170px;height:42px;border:1px solid var(--tg-cx-rule);padding:10px 12px;border-radius:4px;background:#fff;font-size:14px;}
body.tg-cart-page .tg-cart-actions .button {min-height:42px!important;padding:9px 15px!important;font-size:13px!important;text-transform:none;}
body.tg-cart-page .tg-cart-summary {width:100%;display:flex;justify-content:flex-end;margin-top:15px;}
body.tg-cart-page .tg-cart-summary :where(.cross-sells) {display:none;}
body.tg-cart-page .tg-cart-summary .cart_totals {float:none!important;width:300px!important;max-width:100%;margin:0;}
body.tg-cart-page .tg-cart-summary .cart_totals h2 {display:none;}
body.tg-cart-page .tg-cart-summary .cart_totals table {width:100%;margin:0 0 20px!important;background:transparent;border:0!important;}
body.tg-cart-page .tg-cart-summary .cart_totals table tr {display:flex;justify-content:space-between;gap:12px;padding:6px 0;border:0!important;}
body.tg-cart-page .tg-cart-summary .cart_totals table tr :is(th,td) {border:0!important;padding:0!important;display:block;width:auto!important;font-size:16px!important;font-weight:400;text-align:right;}
body.tg-cart-page .tg-cart-summary .cart_totals table tr.order-total {font-weight:600;margin-top:12px;}
body.tg-cart-page .tg-cart-summary .cart_totals table tr.order-total :is(th,td) {font-weight:600;}
body.tg-cart-page .tg-cart-summary .wc-proceed-to-checkout {padding:0;}
body.tg-cart-page .tg-cart-summary .checkout-button {display:flex;align-items:center;justify-content:center;width:300px;max-width:100%;height:50px;font-size:14px!important;font-weight:400!important;background:var(--tg-cx-accent)!important;border-color:var(--tg-cx-accent)!important;letter-spacing:.04em!important;text-transform:uppercase;}
/* Woo Cart Block retains native internals, with more generous item content. */
body.tg-cart-page .wc-block-cart__main {min-width:0;}
body.tg-cart-page .wc-block-cart-items__row {min-height:138px!important;}
body.tg-cart-page .wc-block-cart-item__image img {width:114px!important;max-width:114px!important;height:114px!important;object-fit:cover;}
/* Checkout Figma frame 8:230 — 530 / 21 / 530 within centered 1081px. */
body.tg-checkout-page .woocommerce form.checkout:not(.wc-block-checkout__form) {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:21px!important;align-items:start;}
body.tg-checkout-page .woocommerce form.checkout > .col2-set {grid-column:1;grid-row:1;float:none;width:100%;min-width:0;}
body.tg-checkout-page .woocommerce form.checkout > #order_review_heading {grid-column:2;grid-row:1;background:#ededed;padding:30px 36px 0;margin:0;font-size:18px;z-index:1;}
body.tg-checkout-page .woocommerce form.checkout > #order_review {display:contents;}
body.tg-checkout-page .woocommerce form.checkout > #order_review > table {grid-column:2;grid-row:2;background:#ededed;padding:0 36px 28px;margin:0!important;display:table;width:100%;border-collapse:separate;border-spacing:0;}
body.tg-checkout-page .woocommerce form.checkout > #order_review > #payment {grid-column:1;grid-row:2;margin-top:35px;min-width:0;}
body.tg-checkout-page .woocommerce form.checkout input.input-text {min-height:50px;}
body.tg-checkout-page .woocommerce form.checkout #payment {background:transparent;}
body.tg-checkout-page .woocommerce form.checkout #payment #place_order {background:var(--tg-cx-accent)!important;border-color:var(--tg-cx-accent)!important;}
body.tg-checkout-page .woocommerce form.checkout :where(h3,#order_review_heading) {font-size:20px;font-weight:400;letter-spacing:-.01em;}
body.tg-checkout-page .woocommerce form.checkout :where(.form-row) {margin-bottom:12px;}
body.tg-checkout-page .wc-block-checkout {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:21px!important;}
body.tg-checkout-page .wc-block-checkout__sidebar {background:#ededed!important;border-radius:4px;padding:32px!important;}
body.tg-checkout-page :where(.wc-block-checkout__main,.wc-block-checkout__sidebar) {width:100%!important;min-width:0;}
body.tg-checkout-page .wp-block-woocommerce-checkout :where(input,select) {min-height:48px;}
/* Shop information typography, not CTA/all caps, uses -1%. */
body.tg-checkout-exploration :where(p,li,dl,dt,dd,label,legend,small,span):not(.button) {letter-spacing:-.01em;}
@media(max-width:900px){
  body.tg-cart-page .tg-cart-row {grid-template-columns:92px minmax(0,1fr) 128px 80px;gap:14px;padding:16px 8px;}
  body.tg-cart-page .tg-cart-photo,body.tg-cart-page .tg-cart-photo img {width:92px;height:92px;}
  body.tg-checkout-page .woocommerce form.checkout:not(.wc-block-checkout__form),body.tg-checkout-page .wc-block-checkout {display:block!important;}
  body.tg-checkout-page .woocommerce form.checkout > #order_review {display:block;}
  body.tg-checkout-page .woocommerce form.checkout > #order_review > table {display:table;}
  body.tg-checkout-page .woocommerce form.checkout > #order_review_heading {margin-top:32px;}
  body.tg-checkout-page .woocommerce form.checkout > #order_review > #payment {margin-top:24px;}
}
@media(max-width:600px){
  body.tg-cart-page .tg-cart-labels {display:none;}
  body.tg-cart-page .tg-cart-heading h1 {font-size:32px;}
  body.tg-cart-page .tg-cart-row {grid-template-columns:82px minmax(0,1fr) 85px;gap:10px;padding:16px 0;min-height:114px;}
  body.tg-cart-page .tg-cart-photo,body.tg-cart-page .tg-cart-photo img {width:82px;height:82px;}
  body.tg-cart-page .tg-cart-product {font-size:15px;}
  body.tg-cart-page .tg-cart-price {font-size:14px;}
  body.tg-cart-page .tg-cart-qtywrap {grid-column:3;grid-row:1;flex-direction:column;align-items:flex-end;gap:4px;}
  body.tg-cart-page .tg-cart-line-total {grid-column:2 / span 2;grid-row:2;font-size:14px;}
  body.tg-cart-page .tg-cart-qty {width:83px;}
  body.tg-cart-page .tg-cart-actions {align-items:stretch;flex-direction:column;}
  body.tg-cart-page .tg-cart-coupon input {flex:1;min-width:0;width:auto;}
  body.tg-cart-page .tg-cart-summary .cart_totals {width:100%!important;}
  body.tg-cart-page .tg-cart-summary .checkout-button {width:100%;}
  body.tg-checkout-page .woocommerce form.checkout > #order_review > table {padding:0 16px 24px;}
}

/* v1.3.25 — Cart/Checkout semantic aliases and key components. */
body.tg-checkout-exploration {
  --tg-cx-ink:var(--tg-color-dark);
  --tg-cx-muted:var(--tg-color-light);
  --tg-cx-rule:var(--tg-color-border);
  --tg-cx-surface:var(--tg-bg-light);
  --tg-cx-accent:var(--tg-color-orange);
}
body.tg-cart-page .tg-cart-name a,
body.tg-cart-page .wc-block-cart-item__product .wc-block-components-product-name {
  font-family:var(--tg-font-display)!important;
  font-size:var(--tg-type-product-sm)!important;
  font-weight:900!important;
  letter-spacing:var(--tg-tracking-display)!important;
  line-height:1.08!important;
}
body.tg-cart-page :is(.tg-cart-price,.tg-cart-line-total) {
  font-family:var(--tg-font-body);
  font-size:var(--tg-type-large);
  letter-spacing:var(--tg-tracking-body);
  color:var(--tg-text-secondary);
}
body.tg-checkout-page :where(input.input-text,textarea,select,label):not(.button),
body.tg-cart-page :where(.tg-cart-labels,.tg-cart-continue) {
  font-family:var(--tg-font-body);
  font-size:var(--tg-type-standard);
  letter-spacing:var(--tg-tracking-body);
}
