/* Smash Commerce: progress bar, companion tile, autocomplete list. Colours fall back to the site tokens. */
.smash-ship-bar { margin: 0 0 14px; }
.smash-ship-bar[hidden] { display: none; }
.smash-ship-bar__text { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.smash-ship-bar__track { height: 8px; border-radius: 999px; background: var(--smash-ship-track, #EAE2CC); overflow: hidden; }
.smash-ship-bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--smash-ship-fill, #E3262B); transition: width .35s ease; }
.smash-ship-bar.is-reached .smash-ship-bar__fill { background: var(--smash-ship-reached, #1f7a3a); }
.smash-ship-bar.is-reached .smash-ship-bar__text::before { content: "✓ "; }

.smash-companions { margin: 0 0 14px; }
.smash-companions:empty { display: none; }
.smash-companions__heading { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--smash-muted, #5B6478); }
.smash-companions__item { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--smash-border, #EAE2CC); border-radius: 10px; background: var(--smash-cream, #FFF8E7); }
.smash-companions__thumb img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 6px; }
.smash-companions__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.smash-companions__name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.smash-companions__price { font-size: 13px; }
.smash-companions__price del { opacity: .6; margin-right: 4px; }
.smash-companions__add { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; font-size: 13px; color: #fff; background: var(--smash-ship-fill, #E3262B); cursor: pointer; }
.smash-companions__add.is-busy { opacity: .6; cursor: progress; }

.smash-ac { position: absolute; z-index: 1001; left: 0; right: 0; margin: 2px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--smash-border, #EAE2CC); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 260px; overflow: auto; }
.smash-ac[hidden] { display: none; }
.smash-ac li { padding: 8px 12px; cursor: pointer; font-size: 14px; line-height: 1.3; }
.smash-ac li:hover, .smash-ac li[aria-selected="true"] { background: var(--smash-cream, #FFF8E7); }
.woocommerce-checkout .form-row { position: relative; }

.smash-pickup-note { margin: 6px 0 4px 26px; font-size: 13px; line-height: 1.4; color: var(--smash-muted, #5B6478); }
.smash-pickup-note__line { margin: 0; }
.smash-pickup-note__line.is-address { color: inherit; font-weight: 600; }

/* Drawer defaults for the Bricks Mini Cart in off-canvas mode. Scoped to the drawer so the header
   icon's own typography (often white) does not bleed into the panel. Bricks element settings win. */
.brxe-woocommerce-mini-cart .cart-detail { color: var(--smash-ink, #1B2333); font-size: 15px; }
.brxe-woocommerce-mini-cart .cart-detail .widget_shopping_cart_content { display: flex; flex-direction: column; min-height: 100%; }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart { flex: 1 1 auto; margin: 0 0 16px; }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--smash-border, #EAE2CC); }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart-item a:not(.remove) { color: inherit; font-weight: 600; text-decoration: none; }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart-item .quantity { display: block; color: var(--smash-muted, #5B6478); font-size: 13px; }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart-item a.remove { order: 3; margin-left: auto; color: var(--smash-muted, #5B6478); }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0 0 12px; font-weight: 700; }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons { display: flex; gap: 10px; margin: 0; }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons .button { flex: 1 1 0; text-align: center; border-radius: 999px; padding: 14px 16px; font-weight: 700; color: var(--smash-ink, #1B2333); background: var(--smash-gold, #FFD400); text-decoration: none; }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons .button.checkout { color: #fff; background: var(--smash-ship-fill, #E3262B); }
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__empty-message { margin: 24px 0; color: var(--smash-muted, #5B6478); }

/* ---------- Cart, checkout and thank-you layouts (Bricks trees in dev/rig/rig-files/bricks/*.json) ---------- */
:root { --smash-navy: #0E1F3A; --smash-gold: #FFD400; --smash-gold-dark: #E8B900; --smash-red: #E3262B; --smash-cream: #FFF8E7; --smash-border: #EAE2CC; --smash-line: #C3CDDC; --smash-ink: #1B2333; --smash-muted: #5B6B84; --smash-font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; --smash-display: "Anton", Impact, "Arial Narrow Bold", sans-serif; }
.smash-co, .smash-cart, .smash-ty { font-family: var(--smash-font); color: var(--smash-ink); padding: clamp(24px, 4vw, 56px) 20px; }
.smash-co__inner, .smash-cart__inner, .smash-ty__inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.smash-co__h, .smash-cart__h, .smash-ty__h { font-family: var(--smash-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; color: var(--smash-navy); margin: 0 0 14px; line-height: 1.05; }
.smash-co__h { font-size: 26px; } .smash-cart__h { font-size: 40px; } .smash-ty__h { font-size: 44px; }
.smash-co__grid, .smash-cart__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 32px 48px; align-items: start; }
@media (max-width: 991px) { .smash-co__grid, .smash-cart__grid { grid-template-columns: 1fr; gap: 28px; } }
@media (min-width: 992px) { .smash-co__side, .smash-cart__side { position: sticky; top: 24px; } }
.smash-co__side, .smash-cart__side { background: var(--smash-cream); border: 1px solid var(--smash-border); border-radius: 16px; padding: 24px; }
.smash-co__trust { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--smash-muted); }

/* Fields */
.smash-co .form-row label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--smash-muted); }
.smash-co .form-row label .optional { font-weight: 500; text-transform: none; letter-spacing: 0; }
.smash-co .form-row label .required { color: var(--smash-red); text-decoration: none; }
.smash-co input.input-text, .smash-co textarea, .smash-co select, .smash-co .select2-container .select2-selection--single { width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--smash-line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--smash-ink); }
.smash-co .select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; color: inherit; }
.smash-co .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 10px; }
.smash-co input.input-text:focus, .smash-co textarea:focus, .smash-co select:focus { outline: 3px solid var(--smash-gold); outline-offset: 1px; border-color: var(--smash-navy); }
.smash-co .form-row { margin-bottom: 14px; }
.smash-co .woocommerce-billing-fields h3, .smash-co .woocommerce-shipping-fields h3, .smash-co .woocommerce-additional-fields h3 { font-family: var(--smash-display); font-weight: 400; text-transform: uppercase; font-size: 20px; color: var(--smash-navy); margin: 8px 0 12px; }
.smash-co .woocommerce-form-login-toggle .woocommerce-info, .smash-co .woocommerce-form-coupon-toggle .woocommerce-info { background: #fff; border: 1px dashed var(--smash-line); border-radius: 12px; color: var(--smash-ink); padding: 12px 16px; }
.smash-co .woocommerce-form-coupon-toggle .woocommerce-info { margin-top: 16px; }
.smash-co .woocommerce-form-coupon-toggle a, .smash-co .woocommerce-form-login-toggle a { color: var(--smash-navy); font-weight: 700; }

/* Order review */
.smash-co table.shop_table { width: 100%; border: 0; border-collapse: collapse; font-size: 15px; }
.smash-co table.shop_table th, .smash-co table.shop_table td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--smash-border); text-align: left; vertical-align: top; background: transparent; }
.smash-co table.shop_table thead th { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--smash-muted); }
.smash-co table.shop_table .product-total, .smash-co table.shop_table td:last-child, .smash-co table.shop_table th:last-child { text-align: right; }
.smash-co table.shop_table .product-quantity { color: var(--smash-muted); font-weight: 600; }
.smash-co table.shop_table tfoot th { font-weight: 600; color: var(--smash-muted); }
.smash-co table.shop_table tfoot .order-total th, .smash-co table.shop_table tfoot .order-total td { font-size: 18px; font-weight: 800; color: var(--smash-navy); border-bottom: 0; }
.smash-co #shipping_method { list-style: none; margin: 0; padding: 0; }
.smash-co #shipping_method li { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; }
.smash-co #shipping_method label { font-weight: 600; }
.smash-co .woocommerce-shipping-destination { font-size: 13px; color: var(--smash-muted); }

/* Payment */
.smash-co .woocommerce-checkout-payment { background: transparent; margin-top: 16px; }
.smash-co .wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.smash-co .wc_payment_method { border: 2px solid var(--smash-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; background: #fff; }
.smash-co .wc_payment_method > label { font-weight: 700; display: inline; }
.smash-co .payment_box { background: transparent; padding: 10px 0 0; font-size: 14px; color: var(--smash-muted); }
.smash-co .payment_box::before { display: none; }
.smash-co .woocommerce-privacy-policy-text { font-size: 13px; color: var(--smash-muted); }

/* Buttons */
.smash-co #place_order, .smash-cart .checkout-button, .smash-btn, .smash-co .woocommerce-form-login button, .smash-co .checkout_coupon button, .smash-cart .coupon button, .smash-cart button[name="update_cart"] { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.smash-co #place_order, .smash-cart .checkout-button, .smash-btn--gold { width: 100%; min-height: 56px; font-size: 18px; color: var(--smash-navy); background: var(--smash-gold); }
.smash-co #place_order:hover, .smash-cart .checkout-button:hover, .smash-btn--gold:hover { background: var(--smash-gold-dark); color: var(--smash-navy); }
.smash-btn--gold { width: auto; }
.smash-co .woocommerce-form-login button, .smash-co .checkout_coupon button, .smash-cart .coupon button, .smash-cart button[name="update_cart"] { color: #fff; background: var(--smash-navy); }
.smash-cart button[name="update_cart"]:disabled { opacity: .45; }

/* Cart page */
.smash-cart table.shop_table { width: 100%; border: 0; border-collapse: collapse; }
.smash-cart table.shop_table th, .smash-cart table.shop_table td { padding: 14px 8px; border: 0; border-bottom: 1px solid var(--smash-border); background: transparent; vertical-align: middle; }
.smash-cart table.shop_table thead th { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--smash-muted); }
.smash-cart .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--smash-cream); }
.smash-cart .product-name a { color: var(--smash-ink); font-weight: 700; text-decoration: none; }
.smash-cart .product-remove a.remove { color: var(--smash-muted); font-size: 22px; }
.smash-cart .quantity { display: inline-flex; border: 2px solid var(--smash-line); border-radius: 999px; overflow: hidden; }
.smash-cart .quantity input.qty { width: 54px; border: 0; text-align: center; font: inherit; font-weight: 700; }
.smash-cart .quantity .minus, .smash-cart .quantity .plus { border: 0; background: #fff; width: 36px; }
.smash-cart .coupon { display: flex; gap: 8px; align-items: center; }
.smash-cart .coupon input.input-text { min-height: 44px; padding: 8px 14px; border: 2px solid var(--smash-line); border-radius: 999px; font: inherit; }
.smash-cart .cart_totals h2 { font-family: var(--smash-display); font-weight: 400; text-transform: uppercase; font-size: 22px; color: var(--smash-navy); margin: 0 0 10px; }
.smash-cart .cart_totals table.shop_table th { width: 40%; font-weight: 600; color: var(--smash-muted); }
.smash-cart .cart_totals .order-total th, .smash-cart .cart_totals .order-total td { font-size: 20px; font-weight: 800; color: var(--smash-navy); border-bottom: 0; }
.smash-cart .wc-proceed-to-checkout { padding: 8px 0 0; }
.smash-cart .smash-ship-bar--page { margin-bottom: 18px; }
.smash-cart .smash-companions--page { margin-top: 28px; }
.smash-companions--page .smash-companions__item + .smash-companions__item { margin-top: 10px; }
@media (min-width: 640px) { .smash-companions--page { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; } .smash-companions--page .smash-companions__heading { grid-column: 1 / -1; } .smash-companions--page .smash-companions__item + .smash-companions__item { margin-top: 0; } }
.smash-cart__empty { align-items: center; text-align: center; padding: 40px 0; }
.smash-cart__lead, .smash-ty__lead { font-size: 18px; line-height: 1.5; color: var(--smash-muted); max-width: 560px; margin: 0; }

/* Thank you */
.smash-ty__inner { max-width: 820px; }
.smash-ty .woocommerce-notice { font-size: 18px; font-weight: 600; color: var(--smash-navy); }
.smash-ty .woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; list-style: none; margin: 8px 0 24px; padding: 18px 20px; background: var(--smash-cream); border: 1px solid var(--smash-border); border-radius: 16px; }
.smash-ty .woocommerce-order-overview li { font-size: 13px; color: var(--smash-muted); border: 0; margin: 0; padding: 0; }
.smash-ty .woocommerce-order-overview li strong { display: block; font-size: 16px; color: var(--smash-ink); margin-top: 2px; }
.smash-ty h2, .smash-ty h3 { font-family: var(--smash-display); font-weight: 400; text-transform: uppercase; font-size: 22px; color: var(--smash-navy); margin: 24px 0 10px; }
.smash-ty table.shop_table { width: 100%; border: 0; border-collapse: collapse; }
.smash-ty table.shop_table th, .smash-ty table.shop_table td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--smash-border); text-align: left; }
.smash-ty table.shop_table td:last-child, .smash-ty table.shop_table th:last-child { text-align: right; }
.smash-ty .woocommerce-customer-details address { border: 0; padding: 0; font-style: normal; line-height: 1.5; }

/* Headings that the WooCommerce elements print themselves */
.smash-co #order_review_heading, .smash-co .woocommerce-billing-fields h3 { display: none; }
.smash-co .woocommerce-form-login-toggle { margin-bottom: 18px; }
.smash-co .woocommerce-form-login-toggle .woocommerce-info, .smash-co .woocommerce-form-coupon-toggle .woocommerce-info { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.smash-ty .woocommerce-thankyou-order-received { display: none; }
.smash-ty table.shop_table tfoot th, .smash-ty table.shop_table tfoot td, .smash-ty table.shop_table tbody td { background: transparent; }
.smash-ty table.shop_table tfoot th { font-weight: 600; color: var(--smash-muted); }
.smash-ty table.shop_table tfoot tr:last-child th, .smash-ty table.shop_table tfoot tr:last-child td { border-bottom: 0; }
.smash-ty .woocommerce-table__product-name .product-quantity { background: var(--smash-cream); border-radius: 999px; padding: 2px 8px; font-size: 12px; color: var(--smash-muted); }
.smash-ty__inner > .smash-btn { align-self: flex-start; margin-top: 8px; }

/* Mobile cart: one card per line instead of WooCommerce's stacked label rows */
@media (max-width: 767px) {
  .smash-cart table.shop_table, .smash-cart table.shop_table tbody, .smash-cart table.shop_table tr { display: block; width: 100%; }
  .smash-cart table.shop_table thead { display: none; }
  .smash-cart table.shop_table tr.woocommerce-cart-form__cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb name remove" "thumb price remove" "thumb qty subtotal"; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--smash-border); }
  .smash-cart table.shop_table tr.woocommerce-cart-form__cart-item td, .smash-cart table.shop_table tr.woocommerce-cart-form__cart-item th { display: block; padding: 0; border: 0; text-align: left; background: transparent; }
  .smash-cart table.shop_table tr.woocommerce-cart-form__cart-item td::before, .smash-cart table.shop_table tr.woocommerce-cart-form__cart-item th::before { display: none !important; content: none !important; }
  .smash-cart table.shop_table td.product-thumbnail { grid-area: thumb; }
  .smash-cart table.shop_table .product-name { grid-area: name; font-weight: 700; }
  .smash-cart table.shop_table td.product-price { grid-area: price; color: var(--smash-muted); }
  .smash-cart table.shop_table td.product-quantity { grid-area: qty; margin-top: 6px; }
  .smash-cart table.shop_table td.product-subtotal { grid-area: subtotal; align-self: end; justify-self: end; font-weight: 700; }
  .smash-cart table.shop_table td.product-remove { grid-area: remove; justify-self: end; }
  .smash-cart table.shop_table tr:last-child td.actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0 0; border: 0; }
  .smash-cart table.shop_table td.actions::before { display: none; }
  .smash-cart .coupon { width: 100%; }
  .smash-cart .coupon input.input-text { flex: 1 1 auto; min-width: 0; }
  .smash-cart button[name="update_cart"] { width: 100%; }
}
/* Checkout: ship-to-different-address as a plain checkbox row, order notes hidden by the element */
.smash-co h3#ship-to-different-address { font-family: var(--smash-font) !important; font-size: 15px !important; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--smash-ink); margin: 18px 0 10px; display: block; }
.smash-co h3#ship-to-different-address label { display: inline-flex !important; flex-direction: row; align-items: center; gap: 10px; float: none; width: auto; }
.smash-co h3#ship-to-different-address label input { order: -1; margin: 0; width: 18px; height: 18px; }
.smash-co .woocommerce-account-fields label { display: flex; align-items: center; gap: 10px; text-transform: none; font-size: 15px; letter-spacing: 0; color: var(--smash-ink); }
/* Thank-you table: no striping from theme styles */
.smash-ty .woocommerce-table tr, .smash-ty .woocommerce-table tfoot tr, .smash-ty .woocommerce-table tfoot th, .smash-ty .woocommerce-table tfoot td { background: transparent !important; }

/* Product page row ([smash_companions for="product"]) */
.smash-companions--product { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.smash-companions--product .smash-companions__heading { grid-column: 1 / -1; }
.smash-companions--product .smash-companions__item { background: #fff; }
.smash-companions__add.is-added { background: var(--smash-navy, #0E1F3A); cursor: default; }
.smash-co h3#ship-to-different-address label span { font-size: 15px; font-weight: 600; }
.smash-co h3#ship-to-different-address label input { position: static !important; float: none; }
