/* WooCommerce cart / checkout / account pages in the TurfSteel look */
.ts-woo-page{max-width:1100px;margin:0 auto;padding:40px 24px 60px;font-family:var(--font-body-family,Assistant,Helvetica,Arial,sans-serif);color:#333}
.ts-woo-page h1.title{font-size:32px;font-weight:800;letter-spacing:-.02em;margin:0 0 24px;color:#111}
.ts-woo-page a{color:#111}
.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce-notices-wrapper ul{list-style:none;margin:0 0 20px;padding:12px 16px;border-radius:6px;border:1px solid #ddd;background:#fafafa;border-left:4px solid #ff5801}
.woocommerce .woocommerce-error{border-left-color:#d72c0d;background:#fff4f4}
/* ---- cart ---- */
.woocommerce table.shop_table{width:100%;border-collapse:collapse;border:0;margin:0 0 24px}
.woocommerce table.shop_table th{text-align:left;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#777;padding:0 0 12px;border-bottom:1px solid #e5e5e5;font-weight:600}
.woocommerce table.shop_table td{padding:18px 8px 18px 0;border-bottom:1px solid #eee;vertical-align:middle}
.woocommerce table.shop_table td.product-thumbnail img{width:96px;height:96px;object-fit:cover;border-radius:8px;border:1px solid #eee}
.woocommerce table.shop_table td.product-name a{font-weight:700;text-decoration:none;font-size:16px}
.woocommerce table.shop_table dl.variation{margin:4px 0 0;font-size:13px;color:#666}.woocommerce table.shop_table dl.variation dt,.woocommerce table.shop_table dl.variation dd{display:inline;margin:0}
.woocommerce td.product-remove a.remove{color:#999;font-size:22px;text-decoration:none;line-height:1}.woocommerce td.product-remove a.remove:hover{color:#d72c0d}
.woocommerce .quantity{display:inline-flex;border:1px solid #ddd;border-radius:6px;overflow:hidden}
.woocommerce .quantity .qty{width:64px;height:40px;border:0;text-align:center;font:inherit}
.woocommerce .quantity .qty::-webkit-inner-spin-button{opacity:1}
.woocommerce td.actions{padding-top:16px}.woocommerce td.actions .coupon{display:flex;gap:8px;float:left}
.woocommerce td.actions .coupon input.input-text{height:44px;padding:0 12px;border:1px solid #ddd;border-radius:6px;font:inherit;min-width:200px}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #place_order,.woocommerce .checkout-button{display:inline-block;background:#ff5801;color:#fff;border:0;border-radius:8px;padding:14px 24px;font:inherit;font-weight:700;letter-spacing:.3px;cursor:pointer;text-decoration:none;text-align:center;transition:background .15s}
.woocommerce .button:hover,.woocommerce #place_order:hover{background:#e04e00}
.woocommerce .button[disabled],.woocommerce button.button:disabled{opacity:.55;cursor:default}
.woocommerce .cart-collaterals{display:flex;justify-content:flex-end}
.woocommerce .cart_totals{width:100%;max-width:420px;background:#f7f7f7;border-radius:12px;padding:24px}
.woocommerce .cart_totals h2{font-size:20px;margin:0 0 12px;font-weight:800}
.woocommerce .cart_totals table.shop_table td,.woocommerce .cart_totals table.shop_table th{padding:10px 0;border-bottom:1px solid #e5e5e5;text-transform:none;letter-spacing:0;font-size:15px;color:#333}
.woocommerce .cart_totals .order-total td,.woocommerce .cart_totals .order-total th{font-size:18px;font-weight:800;border-bottom:0}
.woocommerce .cart_totals .checkout-button{display:block;width:100%;margin-top:16px;font-size:16px;padding:16px}
.woocommerce .cart_totals ul#shipping_method{list-style:none;margin:0;padding:0}
.woocommerce .cart-empty{text-align:center;font-size:20px;margin:40px 0 20px}.woocommerce .return-to-shop{text-align:center}
/* WooCommerce injects empty <wc-order-attribution-inputs> elements as direct children of
   form.checkout (and elsewhere); being in-flow (not display:none), the checkout grid below
   auto-places them as real grid items, which knocks billing details and order review into the
   wrong columns/rows. Their hidden <input> fields still submit with the form regardless of
   display:none here. */
wc-order-attribution-inputs{display:none}
/* ---- stripped checkout header (logo / secure / back-to-cart only -- no nav, no exits) ---- */
.ts-checkout-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:#0b0b0b}
.ts-checkout-header__logo img{display:block;height:28px;width:auto}
.ts-checkout-header__secure{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#d7d9dc}
.ts-checkout-header__back{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:#fff;text-decoration:none}
.ts-checkout-header__back:hover{color:#ff5801}
@media (max-width:600px){.ts-checkout-header{padding:14px 16px}.ts-checkout-header__secure{display:none}}
/* ---- checkout ---- */
.woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 420px;grid-template-rows:minmax(76px,auto) auto auto;gap:0 48px;align-items:start}
.woocommerce form.checkout .col2-set{display:block;grid-column:1;grid-row:3;margin-top:36px}
.woocommerce form.checkout #order_review{grid-column:2;grid-row:3}
/* WooCommerce Stripe's express-checkout button box and its "-- OR --" divider are plain
   children of form.checkout, not inside either real column, so the 2-column grid's default
   auto-placement was dropping the divider into the right (order-review) column next to the
   buttons instead of under them. Pin both to their own full-width rows above the two columns.
   grid-template-rows reserves min-height for row 1 so the page doesn't jump once Stripe's JS
   swaps the express-checkout box from display:none to visible a moment after load. */
#wc-stripe-express-checkout-element{grid-column:1/-1;grid-row:1}
#wc-stripe-express-checkout-button-separator{grid-column:1/-1;grid-row:2;width:100%;box-sizing:border-box}
/* Checkout only shows this entirely stripped site chrome via header.php/footer.php
   (logo + lock + back-to-cart) -- no nav/announcement bars to style here. */
.woocommerce form.checkout h3{font-size:21px;font-weight:700;margin:0 0 14px;color:#1f1f1f}
.woocommerce form .form-row{margin:0 0 14px;padding:0;display:block}
.woocommerce form .form-row label{display:block;font-size:13px;color:#555;margin:0 0 6px}
.woocommerce form .form-row label .required{color:#d72c0d;text-decoration:none}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea,.select2-container--default .select2-selection--single{width:100%;height:50px;padding:0 12px;border:1px solid #d9d9d9;border-radius:6px;font:inherit;font-size:16px;background:#fff;box-sizing:border-box}
.woocommerce form .form-row textarea{height:auto;padding:12px;min-height:90px}
.woocommerce form .form-row .input-text:focus,.woocommerce form .form-row select:focus{outline:none;border-color:#ff5801;box-shadow:0 0 0 1px #ff5801}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:48px;padding-left:0;font-size:16px}.select2-container--default .select2-selection--single .select2-selection__arrow{height:48px}
.woocommerce form .form-row.woocommerce-invalid .input-text{border-color:#d72c0d}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:calc(50% - 7px);display:inline-block;vertical-align:top}.woocommerce form .form-row-first{margin-right:14px}
.woocommerce .woocommerce-billing-fields,.woocommerce .woocommerce-shipping-fields,.woocommerce .woocommerce-additional-fields{margin-bottom:28px}
.woocommerce #ship-to-different-address{font-size:15px;font-weight:600}
.woocommerce #order_review_heading{display:none}
.woocommerce #order_review{background:#f5f5f5;border-radius:12px;padding:16px;position:sticky;top:20px}
.woocommerce #order_review table.shop_table th,.woocommerce #order_review table.shop_table td{padding:10px 0;font-size:15px;text-transform:none;letter-spacing:0;color:#333;border-bottom:1px solid #e3e3e3}
.woocommerce #order_review table.shop_table thead{display:none}
.woocommerce #order_review .order-total th,.woocommerce #order_review .order-total td{font-size:19px;font-weight:800;border-bottom:0;padding-top:14px}
.woocommerce #order_review .product-name .product-quantity{color:#777;font-weight:400}
.ts-checkout-savings-row th,.ts-checkout-savings-row td{color:#c74601;font-weight:700}
/* Payment block: ONE clean card (#payment), not three nested boxes -- the inner
   ul.payment_methods list and div.payment_box both drop their own borders/background/padding
   so the actual Stripe card form gets the full width of the single outer card. */
/* No frame of its own: Stripe's Payment Element already draws the card frame inside its
   iframe, so any wrapper border here just nests a second/third box around it. */
.woocommerce #payment{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;margin-top:16px}
@media (max-width:600px){.woocommerce #order_review{padding:12px}}
.woocommerce #payment ul.payment_methods{list-style:none;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.woocommerce #payment ul.payment_methods li{padding:0 0 12px;border-bottom:0}
.woocommerce #payment ul.payment_methods li label{font-weight:600;cursor:pointer}
.woocommerce #payment div.payment_box{background:transparent;border:0;border-radius:0;padding:4px 0 0;margin:0;color:#555}
.woocommerce #payment div.payment_box p{margin:0}
/* The Stripe gateway's card form is a real <fieldset> (#wc-stripe-upe-form), which
   browsers render with their own default border + padding + intrinsic sizing unless
   explicitly reset -- that default chrome is exactly the narrow grey-bordered box
   nested inside the orange payment card. Neutralize it so the Stripe-mounted iframe
   gets the full width of its container. */
.woocommerce #payment fieldset#wc-stripe-upe-form,
.woocommerce #payment fieldset.wc-payment-form{border:0;margin:0;padding:0;min-width:0;width:100%}
.woocommerce #payment .wc-stripe-upe-element{width:100%}
.woocommerce #place_order{width:100%;font-size:16px;padding:17px;background:#ff5801}.woocommerce #place_order:hover{background:#e04e00}
.woocommerce .woocommerce-privacy-policy-text,.woocommerce .woocommerce-terms-and-conditions-wrapper{font-size:12px;color:#666;margin-top:12px}
.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0}.woocommerce ul#shipping_method li{margin:0 0 8px}
/* The coupon prompt is noise above a form people came to finish, not browse -- gone entirely
   (not just moved); the actual coupon form it toggled stays reachable via .showcoupon markup
   in the DOM for anyone who still submits ?coupon, but nothing invites buyers to go hunting. */
.woocommerce-checkout .woocommerce-form-coupon-toggle{display:none}
.ts-checkout-secure{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:600;color:#17191d;margin:0 0 14px}
.ts-checkout-payment-icons{margin:0 0 16px}
.ts-checkout-payment-icons .footer-payment-icons-container{justify-content:flex-start!important;gap:6px!important}
.ts-checkout-payment-icons .footer-payment-icon{opacity:.85}
.ts-checkout-reassure{display:flex;justify-content:center;gap:18px;font-size:13px;font-weight:600;color:#3a3f45;margin-top:14px;flex-wrap:wrap}
.ts-checkout-reassure span{display:flex;align-items:center;gap:5px}
.ts-checkout-reassure svg{color:#1f8a3d;flex:none}
/* Styles the WooCommerce Stripe Gateway reads from this hidden #input-text element
   (its "upeThemeInputSelector") to auto-theme the Payment Element's own secure iframe,
   so the real Stripe card fields pick up matching radius/border/typography. */
#wc-stripe-hidden-style-input{border-radius:9px!important;border:1px solid #d9d9d9!important;font-family:var(--font-body-family,Assistant,Helvetica,Arial,sans-serif)!important;font-size:16px!important;color:#1f1f1f!important}
/* Mobile-only collapsible order summary injected before the whole checkout form. */
.ts-checkout-mobile-summary{display:none}
@media (max-width:900px){
  .ts-checkout-mobile-summary{display:block;background:#f5f5f5;border-radius:12px;margin:0 0 20px;overflow:hidden}
  .ts-checkout-mobile-summary summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer}
  .ts-checkout-mobile-summary summary::-webkit-details-marker{display:none}
  .ts-cms-thumb img{width:40px;height:40px;object-fit:cover;border-radius:6px;border:1px solid #e3e3e3;display:block}
  .ts-cms-label{font-weight:700;font-size:14.5px;color:#17191d}
  .ts-cms-count{font-weight:400;color:#777}
  .ts-cms-total{margin-left:auto;font-weight:800;font-size:15px;color:#17191d}
  .ts-cms-chevron{transition:transform .15s}
  .ts-checkout-mobile-summary[open] .ts-cms-chevron{transform:rotate(180deg)}
  .ts-cms-items{padding:0 16px 14px;display:flex;flex-direction:column;gap:10px}
  .ts-cms-item{display:flex;align-items:center;gap:10px}
  .ts-cms-item img{width:36px;height:36px;object-fit:cover;border-radius:6px;border:1px solid #e3e3e3;flex:none}
  .ts-cms-item-name{flex:1;font-size:13.5px;color:#333}
  .ts-cms-item-qty{color:#888}
  .ts-cms-item-price{font-size:13.5px;font-weight:700;color:#17191d;white-space:nowrap}
}
/* ---- thank you / account ---- */
.woocommerce-order ul.order_details{list-style:none;display:flex;flex-wrap:wrap;gap:24px;padding:20px;background:#f7f7f7;border-radius:12px;margin:0 0 24px}
.woocommerce-order ul.order_details li{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#777}.woocommerce-order ul.order_details li strong{display:block;font-size:16px;text-transform:none;letter-spacing:0;color:#111;margin-top:4px}
.woocommerce-thankyou-order-received{font-size:22px;font-weight:700;margin:0 0 20px}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:8px}.woocommerce-MyAccount-navigation a{display:inline-block;padding:10px 16px;border:1px solid #ddd;border-radius:8px;text-decoration:none}
.woocommerce-MyAccount-navigation li.is-active a{background:#111;color:#fff;border-color:#111}
@media (max-width:900px){.woocommerce form.checkout{display:block}.woocommerce #order_review{position:static;margin-top:24px}.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;display:block;margin-right:0}.woocommerce .cart_totals{max-width:none}.ts-woo-page{padding:24px 16px 40px}}

/* WooCommerce/WP accessibility-only labels (checkout, account) - hidden like core WP .screen-reader-text */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}

.woocommerce form.checkout h3{font-family:var(--font-heading-family-override,Archivo,sans-serif);font-size:22px;font-weight:800;letter-spacing:-.01em;color:#17191d}
.woocommerce #order_review{background:#fff;border:1px solid #ededed;box-shadow:0 1px 2px rgba(16,20,24,.08)}

/* ---- checkout redesign pass 2 (mockup-driven refinements) ---- */
/* Minimal checkout-only footer (is_checkout() gated in footer.php) */
.ts-checkout-footer{max-width:1100px;margin:32px auto 0;padding:18px 24px 28px;text-align:center;border-top:1px solid #ededed}
.ts-checkout-footer__links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-bottom:8px}
.ts-checkout-footer__links a{font-size:12.5px;color:#5b6168;text-decoration:underline}
.ts-checkout-footer__links a:hover{color:#ff5801}
.ts-checkout-footer__addr{font-size:11.5px;color:#9aa0a6}
@media (max-width:600px){.ts-checkout-footer{padding:16px 16px 24px}}

/* Coupon removed entirely (not relocated/restyled) -- the display:none rule further up is
   the only coupon-related rule now. */

/* Delivery section: plain-text country indicator only (the delivery-estimate line was
   removed per explicit instruction). */
.ts-checkout-country{font-size:12.5px;color:#777;margin:-6px 0 14px}

/* Payment: ONE clean active-tinted card for the single real method (Card/Stripe). No padding
   of its own -- #payment already gives 20px of breathing room, so a second padded layer here
   was pure redundancy stacked on top of it (part of why the actual card fields read as
   cramped: page + #order_review + #payment + this li were FOUR padded layers deep before the
   Stripe iframe even started). The border is now a flush inset highlight, not an inset box. */
.woocommerce #payment ul.payment_methods li.payment_method_stripe{border:0;background:transparent;border-radius:0;padding:0}
.woocommerce #payment ul.payment_methods li.payment_method_stripe > div.payment_box{padding:0;margin:0}
/* Only one gateway exists, so its radio + "Payment options" label are redundant chrome. The
   radio stays checked (WC auto-selects a sole gateway) and still submits while hidden --
   the Stripe plugin does exactly this itself in its "optimized checkout" mode. */
.woocommerce #payment ul.payment_methods li.payment_method_stripe > input.input-radio,
.woocommerce #payment ul.payment_methods li.payment_method_stripe > label{display:none}
/* Privacy line below the button, not above it (WC's template prints it first). */
.woocommerce #payment .form-row.place-order{display:flex;flex-direction:column}
.woocommerce #payment .form-row.place-order #place_order{order:1}
.woocommerce #payment .form-row.place-order .ts-checkout-reassure{order:2}
.woocommerce #payment .form-row.place-order .woocommerce-terms-and-conditions-wrapper{order:3;text-align:center}
.woocommerce .woocommerce-privacy-policy-text p{margin:10px 0 0;font-size:12px;color:#777}

/* Per-item strikethrough regular price (order_review table + mobile collapsible summary). */
.ts-item-was{color:#9aa0a6;text-decoration:line-through;font-weight:400;font-size:12.5px;margin-left:6px}
.ts-cms-item-was{color:#9aa0a6;text-decoration:line-through;font-weight:400;font-size:12px;display:block}
