/* WooCommerce pages: cart, checkout, account - defaults matching the theme. */

.woocommerce-page .pageheader--spacer { height: 0; }
.woocommerce, .woocommerce-page { font-size: 14px; }

.woocommerce-breadcrumb { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.woocommerce table.shop_table {
  width: 100%; border-collapse: collapse; border: 1px solid #e5e5e5; font-size: 14px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  padding: 12px 16px; border-bottom: 1px solid #e5e5e5; text-align: left;
}
.woocommerce table.shop_table th { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; background: #f7f7f7; }
.woocommerce a.remove { color: #232323 !important; font-weight: 600; }
.woocommerce a.remove:hover { color: #bf570a !important; background: none; }
.woocommerce .quantity input { border: 1px solid #ccc; padding: 8px 6px; width: 70px; text-align: center; }

.woocommerce-cart .cart-collaterals .cart_totals table { border-width: 0 0 1px; }
.woocommerce-cart .cart_totals th, .woocommerce-cart .cart_totals td { border-bottom: 1px solid #e5e5e5; padding: 12px 0; }
.woocommerce-cart .cart_totals .order-total th, .woocommerce-cart .cart_totals .order-total td { font-size: 18px; }
.woocommerce .cart_totals .wc-proceed-to-checkout a { background: #232323; color: #fff; }

.woocommerce .cart_totals .wc-proceed-to-checkout { display: block; text-align: right; }
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button { display: inline-block; padding: 13px 28px; border-radius: 3px; }
.woocommerce .cart_totals .wc-proceed-to-checkout a:hover { background: #5c5c5c; }

.woocommerce-checkout #payment {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 4px 16px 16px;
}
.woocommerce-checkout #payment ul.wc_payment_methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-checkout #payment li.wc_payment_method { border-bottom: 1px solid #f0f0f0; }
.woocommerce-checkout #payment li.wc_payment_method:last-child { border-bottom: 0; }
.woocommerce-checkout #payment li.wc_payment_method label { padding: 13px 4px; font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; }
.woocommerce-checkout #payment div.payment_box {
  background: #f7f7f7; margin: 8px 4px 14px; padding: 12px 14px; border-radius: 8px;
  font-size: 13px; line-height: 1.6; color: #6f6a5f;
}
/* The gateway pointer collides with the boxed payment section - drop it. */
.woocommerce-checkout #payment div.payment_box::before { display: none; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top: 3px solid #bf570a; background: #f7f7f7; padding: 14px 18px 14px 52px !important;
}
.woocommerce-error { border-top-color: #c0392b; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid #e5e5e5; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 4px; color: #232323; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #bf570a; font-weight: 600; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  padding: 11px 12px; border: 1px solid #ccc; border-radius: 3px; background: #fff; font-family: inherit; font-size: 14px; width: 100%;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { border-color: #232323; outline: 0; }

@media (max-width: 767.98px) {
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select {
    font-size: 16px;
  }
  .woocommerce .quantity input { font-size: 16px; }
  .select2-container--default .select2-selection--single .select2-selection__rendered { font-size: 16px; line-height: 44px; }
}
.woocommerce form .form-row label { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; display: block; }

.woocommerce ul.products li.product .button { display: inline-block; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit {
  background: #232323; color: #fff; border-radius: 3px; padding: 12px 24px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover { background: #5c5c5c; color: #fff; }

:root { --wc-primary: #232323; }

/* Checkout "Place order" button - theme colour, Shopify-style rounding. */
.woocommerce-checkout #place_order {
  background: #232323; color: #fff; border: 0; border-radius: 8px; padding: 15px 28px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px;
}
.woocommerce-checkout #place_order:hover { background: #5c5c5c; color: #fff; }

/* --- Checkout: Shopify-style two-column layout + skin ---
   Slim header (header.php), sentence-case labels, rounded inputs and a grey
   sticky summary card. Layout + skin only - colours stay on theme tokens. */
:root { --tbf-checkout-sticky-top: 24px; } /* slim checkout bar scrolls away */

/* Slim bar replacing the full site header on checkout (header.php). */
.tbf-checkout-bar { background: #fff; border-bottom: 1px solid #e5e5e5; }
/* 1fr auto 1fr keeps the logo optically centred in the bar while the
   "Secure checkout" note stays pinned to the right edge. */
.tbf-checkout-bar__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 64px; gap: 20px;
}
.tbf-checkout-bar__brand {
  display: flex; align-items: center; justify-content: center;
  grid-column: 2;
}
.tbf-checkout-bar__brand a {
  color: #232323; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.tbf-checkout-bar__brand a:hover { color: #bf570a; }
.tbf-checkout-bar__brand .custom-logo { display: block; max-height: 38px; width: auto; }
.tbf-checkout-bar__secure {
  display: flex; align-items: center; gap: 7px; color: #232323;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  grid-column: 3; justify-self: end;
}
.tbf-checkout-bar__secure .icon { width: 15px; height: 15px; }

/* The page h1 would duplicate the slim bar - drop it (the cart page does the same). */
.woocommerce-checkout .page-content .page-title { display: none; }

form.woocommerce-checkout { max-width: 1180px; margin: 0 auto; }

/* Fields: sentence-case labels above rounded inputs. The "form." prefix and
   later position are needed to outrank the theme's own
   ".woocommerce form .form-row label" rule at line 46. */
form.woocommerce-checkout .form-row { margin-bottom: 16px; }
form.woocommerce-checkout .form-row label {
  font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: #232323; margin-bottom: 6px;
}
form.woocommerce-checkout .form-row label .required { color: #bf570a; }
/* "(optional)" markers WC renders on non-required fields. */
form.woocommerce-checkout .form-row label .optional {
  color: #6a6a6a; font-weight: 400; font-size: 12px;
}
form.woocommerce-checkout .form-row input.input-text,
form.woocommerce-checkout .form-row textarea.input-text,
form.woocommerce-checkout .form-row select,
form.woocommerce-checkout .form-row textarea {
  padding: 12px 14px; border: 1px solid #ccc; border-radius: 8px;
  background: #fff; font-size: 15px;
}
form.woocommerce-checkout .form-row input.input-text:focus,
form.woocommerce-checkout .form-row textarea.input-text:focus,
form.woocommerce-checkout .form-row select:focus,
form.woocommerce-checkout .form-row textarea:focus {
  border-color: #232323; outline: 0; box-shadow: 0 0 0 1px rgb(35 35 35 / 0.12);
}
.woocommerce-checkout .input-checkbox, .woocommerce-checkout .input-radio {
  width: auto; accent-color: #232323;
}

/* WooCommerce 11.x ships no column rules, so paired rows sit side by side.
   Each row clears the floats above it except the place-order row, which is a
   flex column of its own. */
form.woocommerce-checkout .form-row::after { content: ""; display: table; clear: both; }
form.woocommerce-checkout .form-row.place-order::after { content: none; }
form.woocommerce-checkout .form-row-first { float: left; width: calc(50% - 8px); clear: none; }
form.woocommerce-checkout .form-row-last { float: right; width: calc(50% - 8px); clear: none; }
form.woocommerce-checkout .form-row-wide, form.woocommerce-checkout .form-row-middle {
  float: none; width: 100%; clear: both;
}

/* Section headings: plain and readable, with a divider between the blocks. */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: #232323; margin: 0 0 18px; padding: 0;
}
.woocommerce-checkout .woocommerce-shipping-fields {
  clear: both; margin-top: 30px; padding-top: 26px; border-top: 1px solid #e5e5e5;
}
.woocommerce-checkout #ship-to-different-address { margin: 0 0 16px; }
.woocommerce-checkout #ship-to-different-address label {
  font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none;
  display: inline; margin: 0;
}
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 10px; }

/* Country / state dropdowns (select2 on checkout). */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 46px; margin: 0; padding: 0; box-sizing: border-box;
  background: #fff; border: 1px solid #ccc; border-radius: 8px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px; padding-left: 14px; color: #232323; font-family: inherit; font-size: 15px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; top: 1px; }
.woocommerce-checkout .select2-container--default .select2-selection--single:focus,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #232323; outline: 0; box-shadow: 0 0 0 1px rgb(35 35 35 / 0.12);
}
.woocommerce-checkout .select2-container--default .select2-dropdown {
  border-color: #ccc; border-radius: 8px;
}
.woocommerce-checkout .select2-container--default .select2-search--dropdown .select2-search__input {
  border: 1px solid #ccc; border-radius: 6px; padding: 8px 10px; font-size: 14px;
}

/* Order summary card: flat grey panel with line items, totals and payment box.
   Borderless - the rows are separated by spacing, not rules. */
.tbf-checkout-summary {
  background: var(--color-checkout-panel-bg, #f5f5f5);
  border: 0; border-radius: 0; padding: 22px 22px 24px;
}
.tbf-checkout-summary #order_review_heading {
  display: none;
}

/* The review table has to fit a ~400px card, so the column header row goes.
   "table.shop_table" is repeated to outrank the theme's own
   ".woocommerce table.shop_table td" padding rule. */
.tbf-checkout-summary .woocommerce-checkout-review-order-table,
.tbf-checkout-summary table.woocommerce-checkout-review-order-table {
  border: 0; margin: 0; background: none;
}
.tbf-checkout-summary .woocommerce-checkout-review-order-table thead { display: none; }
.tbf-checkout-summary table.woocommerce-checkout-review-order-table th,
.tbf-checkout-summary table.woocommerce-checkout-review-order-table td {
  padding: 12px 0; border: 0; background: none;
}
.tbf-checkout-summary .woocommerce-checkout-review-order-table .product-name { color: #232323; font-weight: 400; }
.tbf-checkout-summary .woocommerce-checkout-review-order-table .product-total { text-align: right; white-space: nowrap; font-weight: 500; }
/* "table." is repeated here as well: WooCommerce's
   ".woocommerce table.shop_table tfoot th/td" border-top is one class
   stronger than the th/td rule above, so these need the element bump. */
.tbf-checkout-summary table.woocommerce-checkout-review-order-table tfoot th,
.tbf-checkout-summary table.woocommerce-checkout-review-order-table tfoot td {
  border: 0; font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none;
}
.tbf-checkout-summary table.woocommerce-checkout-review-order-table tfoot tr:last-child th,
.tbf-checkout-summary table.woocommerce-checkout-review-order-table tfoot tr:last-child td {
  border-top: 0; padding-top: 15px;
}
.tbf-checkout-summary .woocommerce-checkout-review-order-table .order-total th,
.tbf-checkout-summary .woocommerce-checkout-review-order-table .order-total td { font-size: 18px; font-weight: 600; }

.tbf-checkout-review__item { display: flex; align-items: flex-start; gap: 12px; position: relative; }
.tbf-checkout-review__item img {
  width: 58px; height: 72px; object-fit: cover; border-radius: 6px;
  flex: 0 0 auto; background: #fff; border: 0;
}
.tbf-checkout-review__qty {
  position: absolute; top: -6px; left: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  font-size: 11px; font-weight: 700; line-height: 1;
  color: #fff; background: #232323; border-radius: 10px;
}
.tbf-checkout-review__item-info { display: flex; flex-direction: column; gap: 4px; }
.tbf-checkout-review__name { font-size: 14px; font-weight: 400; color: #232323; }

/* Discount-code row inside the summary card (review-order.php).
   The ".woocommerce table.shop_table td" rule outranks a bare
   ".tbf-checkout-coupon td", so the form. prefix is needed. */
form.woocommerce-checkout .tbf-checkout-summary .tbf-checkout-coupon td { border-top: 0; }
.tbf-checkout-coupon__intro { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: #232323; }
.tbf-checkout-coupon__form { display: flex; gap: 8px; margin: 0; }
.tbf-checkout-coupon__form input[type="text"] {
  flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; font-size: 14px;
  border: 1px solid #ccc; border-radius: 6px; background: #fff;
}
.tbf-checkout-coupon__form input[type="text"]:focus {
  border-color: #232323; outline: 0; box-shadow: 0 0 0 1px rgb(35 35 35 / 0.12);
}
.tbf-checkout-coupon__form input.has-error { border-color: #a00; }
.tbf-checkout-coupon__apply {
  flex: 0 0 auto; height: 40px; padding: 0 18px; font-size: 14px; font-weight: 600;
  color: #fff; background: #232323; border: 0; border-radius: 6px; cursor: pointer;
}
.tbf-checkout-coupon__form .coupon-error-notice {
  display: block; margin-top: 4px; font-size: 12.5px; color: #a00;
}

/* Contact / Delivery / Choose Delivery Method sections (form-billing.php). */
.tbf-checkout-section { margin-top: 26px; }
.tbf-checkout-section__title {
  margin: 0 0 4px; font-size: 20px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: #232323;
}
.tbf-checkout-section__hint { margin: 0 0 8px; font-size: 13px; color: #6f6a5f; }
.tbf-checkout-section .form-row .form-row-description,
.tbf-checkout-section .form-row-description { font-size: 12.5px; color: #6f6a5f; margin-top: 2px; }
.tbf-checkout-optin {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; cursor: pointer;
}
.tbf-checkout-optin__input { margin-top: 3px; accent-color: #232323; }
.tbf-checkout-optin__text { font-size: 13.5px; line-height: 1.4; color: #6f6a5f; }

/* Choose Delivery Method selectable rows (tbf-cart.php). */
.tbf-shipping-methods { list-style: none; margin: 6px 0 0; padding: 0; }
.tbf-shipping-method { margin-top: 6px; }
.tbf-shipping-method input[type="radio"] { margin: 3px 0 0; accent-color: #232323; }
.tbf-shipping-method__row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tbf-shipping-method input[type="radio"]:checked + .tbf-shipping-method__row {
  border-color: #232323; box-shadow: inset 0 0 0 1px #232323;
}
.tbf-shipping-method input[type="radio"]:focus-visible + .tbf-shipping-method__row {
  outline: 2px solid rgb(191 87 10 / 0.55); outline-offset: 2px;
}
.tbf-shipping-method__label { flex: 1 1 auto; font-size: 14.5px; font-weight: 500; color: #232323; }
.tbf-shipping-method__cost { font-size: 13.5px; color: #6f6a5f; }
.tbf-checkout-delivery-methods__empty { margin: 0; font-size: 13.5px; color: #6f6a5f; }

/* Secure line above the payment box (tbf-cart.php). */
.tbf-checkout-payment-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 18px 0 14px; font-size: 12.5px; color: #6f6a5f; text-align: center;
}
.tbf-checkout-payment-note .icon { width: 14px; height: 14px; flex: 0 0 auto; }

/* The payment box sits directly on the grey card, so it inherits the panel
   background instead of being a bordered white box of its own. */
form.woocommerce-checkout .tbf-checkout-summary #payment {
  margin: 0; padding: 4px 0 0; background: none;
  border: 0; border-radius: 0;
}
form.woocommerce-checkout .tbf-checkout-summary #payment ul.wc_payment_methods { border-bottom: 0; }
form.woocommerce-checkout .tbf-checkout-summary #payment .form-row.place-order {
  display: flex; flex-direction: column; align-items: stretch; gap: 14px;
  margin: 16px 0 0; padding: 16px 0 0; border: 0; border-top: 0;
}
form.woocommerce-checkout .tbf-checkout-summary .form-row.place-order .woocommerce-terms-and-conditions-wrapper { float: none; }
form.woocommerce-checkout .tbf-checkout-summary #order_review #place_order {
  float: none; width: 100%; margin: 0; padding: 16px 28px; border-radius: 8px;
}

/* Accordion toggle is mobile-only and JS-driven, so it stays hidden without JS. */
.tbf-checkout-summary__toggle { display: none; }

@media (min-width: 1024px) {
  form.woocommerce-checkout {
    display: grid; grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px 40px; align-items: start;
  }
  form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1; }
  form.woocommerce-checkout .tbf-checkout-summary {
    grid-column: 2; grid-row: 1;
    position: sticky; top: var(--tbf-checkout-sticky-top);
  }
  /* The form column is narrower now, so stack billing above shipping. */
  form.woocommerce-checkout #customer_details .col-1,
  form.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
}

/* Mobile place order button — hidden on desktop, shown in mobile media query. */
.tbf-checkout-mobile-place-order { display: none; }

@media (max-width: 1023.98px) {
  form.woocommerce-checkout { display: flex; flex-direction: column; }
  .tbf-checkout-summary { order: -1; margin-bottom: 26px; padding: 0; }
  .tbf-checkout-summary #order_review_heading { display: none; }
  .tbf-checkout-summary.is-ready .tbf-checkout-summary__toggle {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 17px 18px; background: none; border: 0; cursor: pointer;
    font-family: inherit; color: #232323; text-align: left;
    border-radius: 0;
  }
  .tbf-checkout-summary__toggle-label {
    font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .tbf-checkout-summary__toggle-total { margin-left: auto; font-size: 15px; font-weight: 600; }
  .tbf-checkout-summary__toggle-icon {
    flex: 0 0 auto; width: 9px; height: 9px; margin-top: -3px;
    border-right: 1.5px solid #232323; border-bottom: 1.5px solid #232323;
    transform: rotate(45deg); transition: transform .2s ease;
  }
  .tbf-checkout-summary.is-collapsed .tbf-checkout-summary__toggle-icon { transform: rotate(-45deg); }
  .tbf-checkout-summary.is-collapsed #order_review { display: none; }
  .tbf-checkout-summary:not(.is-collapsed) #order_review {
    padding: 2px 18px 18px; border-top: 0;
  }

  /* Hide the place order button inside the summary on mobile;
     it's duplicated at the bottom of the form. */
.tbf-checkout-summary #payment .form-row.place-order,
.tbf-checkout-summary .woocommerce-checkout-payment .form-row.place-order { display: none !important; }

  /* Mobile place order button at the bottom of the form. */
  .tbf-checkout-mobile-place-order {
    display: block;
    margin-top: 24px;
  }
  .tbf-checkout-mobile-place-order button {
    width: 100%; padding: 16px 24px;
    font-size: 14px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: #fff; background: #232323;
    border: 1.5px solid #232323; border-radius: 8px;
  }
  .tbf-checkout-mobile-place-order button:hover {
    background: #5c5c5c; border-color: #5c5c5c;
  }
}

/* Policy links + copyright under the form (tbf-cart.php). */
.tbf-checkout-policies {
  max-width: 1180px; margin: 30px auto 0; text-align: center;
  font-size: 13px; color: #6f6a5f;
}
.tbf-checkout-policies a { color: #6f6a5f; text-decoration: underline; }
.tbf-checkout-policies a:hover { color: #232323; }
.tbf-checkout-policies__sep { margin: 0 9px; color: #c9c6bf; }
.tbf-checkout-policies__copy { margin-top: 10px; font-size: 12.5px; color: #9d9d9d; }

.woocommerce ul.products, .woocommerce ul.products.list { padding: 0; }
.woocommerce .related.products { padding-top: 30px; }

.woocommerce-notices-wrapper, .woocommerce .woocommerce-notices-wrapper { margin-bottom: 20px; }

.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { top: 1.1em; }

.product {
  grid-template-columns: 1fr 1fr;
}

/* ---- Customer account: login / register / lost-password / dashboard ---- */

.woocommerce-account .page-title { font-weight: 300; letter-spacing: 0.04em; text-transform: none; }
.woocommerce-account .woocommerce h2, .woocommerce-account .woocommerce h3 { font-weight: 300; letter-spacing: 0.04em; text-transform: none; }

.woocommerce form.login, .woocommerce form.register,
.woocommerce .woocommerce-form-login, .woocommerce .woocommerce-form-register,
.woocommerce .woocommerce-ResetPassword {
  border: 1px solid #e5e5e5; padding: 26px 28px; background: #fff; min-width: 0;
}
.woocommerce .woocommerce-ResetPassword { max-width: 560px; margin: 0 auto; grid-column: 1 / -1; }

.woocommerce .woocommerce-form-login .form-row,
.woocommerce .woocommerce-form-register .form-row,
.woocommerce .woocommerce-ResetPassword .form-row { margin-bottom: 16px; }

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme { display: inline-block; }
.woocommerce .woocommerce-form-login .woocommerce-LostPassword { margin: 14px 0 0; font-size: 13px; }
.woocommerce .woocommerce-form-login .woocommerce-LostPassword a { color: #bf570a; }

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation { grid-column: 1; float: none; width: 100%; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-content { grid-column: 2; padding: 24px; border: 1px solid #e5e5e5; min-width: 0; float: none; width: 100%; }
.woocommerce-account .woocommerce .col2-set, 
.woocommerce-account .woocommerce .u-columns.col2-set { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce-account .woocommerce .col2-set .col-1, 
.woocommerce-account .woocommerce .col2-set .col-2 { width: 100%; float: none; }

.woocommerce-account .woocommerce-MyAccount-navigation { background: #f7f7f7; border: 1px solid #e5e5e5; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px 18px; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid #e5e5e5; }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 11px 0; color: #232323; font-size: 13px; letter-spacing: 0.06em; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #bf570a; font-weight: 600; }

.woocommerce-account .woocommerce-MyAccount-content p, .woocommerce-account .woocommerce-MyAccount-content address { font-size: 14px; line-height: 1.6; }
.woocommerce-account .woocommerce-Address .title h3 { float: left; margin: 0 0 12px; }
.woocommerce-account .woocommerce-Address .title .edit { float: right; margin-top: 4px; }
.woocommerce-account .woocommerce .addresses { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

@media (max-width: 767.98px) {
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content { grid-column: 1; }
  .woocommerce-account .woocommerce .col2-set,
  .woocommerce-account .woocommerce .u-columns.col2-set,
  .woocommerce-account .woocommerce .addresses { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
}

/* ---- Dedicated centered Login / Register pages (page-login.php / page-register.php) ---- */

.tbf-auth { max-width: 420px; margin: 0 auto; padding: 10px 0 60px; text-align: center; }

.tbf-auth .page-title.tbf-auth__title { text-align: center; margin-bottom: 30px; }

.tbf-auth__card { border: 0; background: transparent; padding: 0; text-align: left; }

.tbf-auth__card .woocommerce-form-login,
.tbf-auth__card .woocommerce-form-register { border: 0; padding: 0; margin: 0; }

.tbf-auth__card .woocommerce-form-row { margin: 0 0 20px; }

.tbf-auth__card .woocommerce-form-row label {
  display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600;
  letter-spacing: normal; text-transform: none; line-height: 1.4;
}

.tbf-auth__card input.input-text {
  box-sizing: border-box; width: 100%; padding: 12px 20px; border: 1px solid #c8c8c8;
  border-radius: 0; background: #fff; font-family: inherit; font-size: 16px; font-weight: 600;
}
.tbf-auth__card input.input-text:focus {
  border-color: #232323; box-shadow: 0 0 0 1px rgb(35 35 35 / 0.12); outline: 0;
}

.tbf-auth__card .woocommerce-button,
.tbf-auth__card .woocommerce-form-login__submit,
.tbf-auth__card .woocommerce-form-register__submit {
  box-sizing: border-box; display: block; width: 100%;
  background: #232323; color: #fff; border: 1.5px solid #232323; border-radius: 0;
  padding: 1.2em 25px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 12px; line-height: 1em;
}
.tbf-auth__card .woocommerce-button:hover,
.tbf-auth__card .woocommerce-form-login__submit:hover,
.tbf-auth__card .woocommerce-form-register__submit:hover { background: #5c5c5c; color: #fff; border-color: #5c5c5c; }

.tbf-auth__submit-row { margin-top: 22px; }

.tbf-auth__btnrow { margin-top: 22px; }

.tbf-auth__note {
  display: block; margin: 14px 0 0; font-size: 14px; letter-spacing: normal;
  text-transform: none; color: inherit;
}

.tbf-auth__note--center { text-align: center; }

.tbf-auth__note .underline,
.tbf-auth__link .underline { color: #232323; text-decoration: underline; text-underline-offset: 3px; }

.tbf-auth__password-wrap { position: relative; display: block; }
.tbf-auth__card .tbf-auth__password-wrap .input-text { padding-right: 130px; }
.tbf-auth__password-wrap .text-over-input__text {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: 14px; line-height: 1.2;
}
.tbf-auth__password-wrap .text-over-input__text .underline { color: #9d9d9d; text-decoration: underline; text-underline-offset: 3px; }
.tbf-auth__password-wrap .text-over-input__text .underline:hover { color: #232323; }

.tbf-recover { text-align: left; }
.tbf-recover[hidden] { display: none; }
.tbf-auth__recover-heading { margin-bottom: 20px; }
.tbf-auth__subtitle {
  margin: 0 0 6px; font-size: 28px; font-weight: 600; letter-spacing: normal;
  text-transform: none; color: #232323; text-align: center;
}
.tbf-auth__recover-note { margin: 0 0 22px; text-align: center; color: inherit; font-size: 14px; }

.tbf-auth__recover-success {
  margin: 0 0 22px; padding: 12px 16px; text-align: center; font-size: 14px;
  background: #f4f4f4; border: 1px solid #e5e5e5; color: #232323;
}

@media (max-width: 767.98px) {
  .tbf-auth { padding-top: 0; }
  .tbf-auth__card { padding: 0; }
}

/* ---- Guest welcome gate on My Account (replaces default side-by-side login/register) ---- */

.woocommerce-account .woocommerce .tbf-account-gate { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; }

.tbf-account-gate { text-align: center; padding: 46px 30px; border: 1px solid #e5e5e5; background: #f7f7f7; }

.tbf-account-gate__title { font-size: 26px; font-weight: 300; letter-spacing: 0.05em; margin: 0 0 12px; }

.tbf-account-gate__sub { max-width: 450px; margin: 0 auto 28px; font-size: 14px; line-height: 1.65; color: #6f6a5f; }

.tbf-account-gate__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.tbf-account-gate__actions .btn { min-width: 200px; }

.tbf-account-gate__lost { margin: 24px 0 0; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.tbf-account-gate__lost a { color: #232323; border-bottom: 1px solid #232323; text-decoration: none; }

.tbf-account-gate__lost a:hover { color: #bf570a; border-bottom-color: #bf570a; }

/* ============================================================
   Collection page: toolbar (sort + view toggle)
   ============================================================ */

.collection-toolbar {
  display: flex; align-items: center; gap: 18px; padding: 6px 0 24px;
}

.tbf-filters-toggle { display: inline-flex; align-items: center; gap: 9px; }
.tbf-filters-toggle__icon { display: inline-flex; }
.tbf-filters-toggle__icon svg { display: block; }

.collection-toolbar__spacer { flex: 1; }

.tbf-collection-clear {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #232323; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
.tbf-collection-clear:hover { color: #bf570a; }

/* --- Collection layout: filter drawer + product grid --- */

.collection-layout { display: block; }
.collection-layout__grid { min-width: 0; }

/* The filter panel stays hidden until the toolbar button is clicked, at every
   viewport width, then slides in from the right. */
.tbf-filters {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(360px, 90vw);
  transform: translateX(105%); transition: transform 0.25s ease;
  background: #fff; z-index: 1300; overflow-y: auto; padding: 26px;
  box-shadow: -8px 0 30px rgb(0 0 0 / 0.15);
}
.tbf-filters.open { transform: none; }

.tbf-filters-backdrop {
  position: fixed; inset: 0; z-index: 1299;
  background: rgb(0 0 0 / 0.4);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.tbf-filters-backdrop.open { opacity: 1; visibility: visible; }

.tbf-filters__close { display: block; float: right; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #232323; padding: 0 0 10px; }
.tbf-filters__head { clear: both; }

.tbf-filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tbf-filters__heading { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.tbf-filters__clear { font-size: 13px; color: #232323; text-decoration: underline; text-underline-offset: 3px; }
.tbf-filters__clear:hover { color: #bf570a; }

.tbf-filters__group { padding: 16px 0; border-top: 1px solid #e5e5e5; }
.tbf-filters__group:first-of-type { border-top: 0; padding-top: 0; }
.tbf-filters__title { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #232323; }

.tbf-filters__list { list-style: none; margin: 0; padding: 0; }
.tbf-filters__item { margin: 0 0 4px; }
.tbf-filters__item a { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: #232323; text-decoration: none; }
.tbf-filters__item a:hover { color: #5c5c5c; }
.tbf-filters__item.is-active a { color: #bf570a; }
.tbf-filters__check {
  width: 15px; height: 15px; flex: 0 0 15px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #c8c8c8; font-size: 11px; line-height: 1; color: #fff;
}
.tbf-filters__item.is-active .tbf-filters__check { border-color: #232323; background: #232323; }
.tbf-filters__count { margin-left: auto; font-size: 12px; color: #9d9d9d; }

.tbf-filters__price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tbf-filters__price-input {
  flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #c8c8c8; border-radius: 0;
  font-family: inherit; font-size: 14px; color: #232323;
}
.tbf-filters__price-input:focus { border-color: #232323; outline: 0; }
.tbf-filters__price-sep { color: #9d9d9d; }
.tbf-filters__apply { width: 100%; box-sizing: border-box; padding: 11px 18px; }

/* --- Shop archive: load more (replaces pagination) --- */
.tbf-load-more {
  clear: both;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 34px 0 10px;
}
.tbf-load-more__btn { min-width: 200px; display: none; }
.tbf-load-more.is-ready .tbf-load-more__btn { display: inline-flex; }
.tbf-load-more__btn[disabled] { opacity: .55; cursor: default; }
.tbf-load-more__status { min-height: 1.2em; font-size: 14px; color: #5c5c5c; text-align: center; }
.tbf-load-more__sentinel { width: 100%; height: 1px; }
.tbf-load-more.is-done .tbf-load-more__status { color: #9d9d9d; }
.tbf-load-more noscript { display: block; width: 100%; }
.tbf-load-more noscript .woocommerce-pagination { margin-top: 0; }

/* --- Product page: badges, stock countdown, lightbox, tabs --- */

.product-label-container--media { top: 12px; left: 12px; right: auto; }
.product-label--new { background: #232323; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }

.tbf-main-image img { cursor: zoom-in; }
.tbf-lightbox-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 4;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #232323;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
  opacity: 0; transition: opacity var(--transition);
}
.product-media__main:hover .tbf-lightbox-btn { opacity: 1; }
.tbf-lightbox-btn:hover { background: #232323; color: #fff; }

.stock-countdown { border: 1px solid #e4d9c3; background: #faf6ee; border-radius: 4px; padding: 12px 14px; }
.stock-countdown__msg { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 10px; }
.stock-countdown__track { height: 6px; border-radius: 3px; background: #eadfc9; overflow: hidden; }
.stock-countdown__fill { display: block; height: 100%; background: #a9712f; border-radius: 3px; }

.stock-countdown--out { border-color: #e5e5e5; background: #f5f5f5; display: flex; align-items: center; gap: 8px; }
.stock-countdown--out svg { flex: 0 0 18px; color: #999; }
.stock-countdown--out span { font-size: 14px; font-weight: 600; color: #999; }

.tabs__panel .shop_attributes { width: 100%; border-collapse: collapse; margin: 0; }
.tabs__panel .shop_attributes th, .tabs__panel .shop_attributes td { text-align: left; padding: 9px 14px; border-bottom: 1px solid #eee; font-size: 14px; }
.tabs__panel .shop_attributes th { width: 38%; font-weight: 600; color: #555; }

/* Lightbox */
.tbf-lightbox {
  position: fixed; inset: 0; z-index: 99990;
  background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
}
.tbf-lightbox.is-open { opacity: 1; }
.tbf-lightbox__stage { max-width: 88vw; max-height: 86vh; }
.tbf-lightbox__stage img { max-width: 88vw; max-height: 86vh; width: auto; height: auto; display: block; }
.tbf-lightbox__close {
  position: absolute; top: 18px; right: 22px; z-index: 2;
  width: 44px; height: 44px; border: 0; background: none; color: #fff;
  font-size: 34px; line-height: 1; cursor: pointer;
}
.tbf-lightbox__close:hover, .tbf-lightbox__arrow:hover { color: #e0cdb0; }
.tbf-lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.tbf-lightbox__prev { left: 20px; }
.tbf-lightbox__next { right: 20px; }

/* --- 404 page --- */

.error-404 { padding: 60px 0 40px; }
.error-404__code { font-size: 90px; font-weight: 200; line-height: 1; margin: 0 0 14px; color: #232323; letter-spacing: 0.04em; }

/* Reviews tab */
.tabs__panel .product-reviews { font-size: 14px; }
.tabs__panel #reviews { margin: 0; }
.tabs__panel .commentlist { list-style: none; margin: 0 0 18px; padding: 0; }
.tabs__panel .commentlist li { padding: 10px 0; border-bottom: 1px solid #eee; }
.tabs__panel #review_form_wrapper { margin-top: 14px; }
.tabs__panel #review_form_wrapper input[type="text"],
.tabs__panel #review_form_wrapper input[type="email"],
.tabs__panel #review_form_wrapper textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #ccc; border-radius: 3px; font-family: inherit; }
.tabs__panel #review_form_wrapper input[type="submit"] { background: var(--btn-bg); color: #fff; border: 0; padding: 12px 22px; cursor: pointer; border-radius: 3px; }

/* --- Trust badges (product page) --- */

.trust-badges { list-style: none; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid #eee; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.trust-badge__icon { color: var(--color-link, #232323); margin-bottom: 3px; }
.trust-badge__title { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; }
.trust-badge__text { font-size: 12px; color: #7d786d; }
@media (max-width: 767.98px) {
  .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
}

/* --- Quick view modal --- */

.tbf-quickview-modal {
  position: fixed; inset: 0; z-index: 99995;
  background: rgba(0,0,0,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.tbf-quickview-modal.is-open { opacity: 1; visibility: visible; }
.tbf-quickview-modal__inner {
  position: relative; background: #fff; width: 92%; max-width: 860px;
  max-height: 90vh; overflow-y: auto; border-radius: 4px;
  transform: translateY(10px); transition: transform .2s ease;
}
.tbf-quickview-modal.is-open .tbf-quickview-modal__inner { transform: none; }
.tbf-quickview-modal__close {
  position: absolute; top: 8px; right: 10px; z-index: 5;
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  font-size: 30px; line-height: 1; color: #555;
}
.tbf-quickview-modal__close:hover { color: #000; }
.tbf-quickview-modal__body { padding: 30px 30px 26px; }
.tbf-qv-loading, .tbf-qv-error { text-align: center; padding: 40px 10px; color: #7d786d; }

.tbf-qv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.tbf-qv__media img { width: 100%; display: block; background: var(--color-scheme-light-bg); }
.tbf-qv__title { font-size: 22px; font-weight: 700; line-height: 1.25; display: block; margin: 0 0 6px; color: #000; }
.tbf-qv__title:hover { color: var(--color-link); }
.tbf-qv__price { margin: 0 0 12px; }
.tbf-qv__price .price__current { font-size: 19px; font-weight: 600; }
.tbf-qv__price .price__was { display: inline-block; margin-left: 8px; font-size: 15px; font-weight: 400; text-decoration: line-through; opacity: 0.6; }
.tbf-qv__desc { font-size: 14px; color: #555; margin-bottom: 16px; }
.tbf-qv__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tbf-qv-qty { margin-bottom: 0; }
.tbf-qv__actions .btn { margin: 0; }

.tbf-qv-var { margin-top: 4px; }
.tbf-qv-attr { margin-bottom: 12px; }
.tbf-qv-attr__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #232323; }
.tbf-qv-attr__options { display: flex; flex-wrap: wrap; gap: 8px; }
.tbf-qv-opt { padding: 0; margin: 0; border: 1px solid #c8c8c8; background: #fff; cursor: pointer; }
.tbf-qv-opt--pill { min-width: 42px; padding: 7px 13px; border-radius: 4px; font-size: 14px; font-weight: 600; color: #232323; }
.tbf-qv-opt--pill:hover { border-color: #232323; }
.tbf-qv-opt--pill.is-active { background: #232323; border-color: #232323; color: #fff; }
.tbf-qv-opt--color { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #c8c8c8; display: inline-flex; align-items: center; justify-content: center; }
.tbf-qv-opt--color:hover { border-color: #232323; }
.tbf-qv-opt__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--swatch); border: 1px solid rgba(0, 0, 0, 0.14); }
.tbf-qv-opt--color.is-active { border-color: #232323; box-shadow: 0 0 0 1px #232323 inset; }
.tbf-qv-opt--color.is-active .tbf-qv-opt__dot { box-shadow: 0 0 0 2px #fff inset; }
.tbf-qv-var__hint { margin: 0 0 12px; font-size: 12px; color: #8a8578; }
.tbf-qv-var__hint.is-ready { visibility: hidden; }
.tbf-qv-var__footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tbf-qv-variation { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #232323; }
.tbf-qv-add.is-disabled { opacity: 0.5; pointer-events: none; }
.tbf-qv__full { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-link); }
@media (max-width: 767.98px) {
  .tbf-qv { grid-template-columns: 1fr; }
  .tbf-quickview-modal__body { padding: 22px 18px 18px; }
}

@media (max-width: 767.98px) {
  .tbf-lightbox__arrow { width: 42px; height: 42px; }
  .tbf-lightbox__prev { left: 8px; }
  .tbf-lightbox__next { right: 8px; }
}

/* --- Grid / list view toggle --- */

.tbf-view-toggle { display: inline-flex; border: 1px solid #c8c8c8; }

.tbf-view-toggle__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 40px; padding: 0; margin: 0; border: 0; background: #fff;
  color: #9d9d9d; cursor: pointer;
}
.tbf-view-toggle__btn + .tbf-view-toggle__btn { border-left: 1px solid #c8c8c8; }
.tbf-view-toggle__btn:hover { color: #232323; }
.tbf-view-toggle__btn.is-active { background: #232323; color: #fff; }

/* --- List view layout --- */

.tbf-archive-grid.tbf-view-list { display: flex; flex-direction: column; gap: 28px; }
.tbf-archive-grid.tbf-view-list .product-block { width: 100%; }
.tbf-archive-grid.tbf-view-list .block-inner-inner { display: flex; align-items: flex-start; gap: 34px; }
.tbf-archive-grid.tbf-view-list .image-cont { flex: 0 0 240px; }
.tbf-archive-grid.tbf-view-list .product-block__detail { flex: 1; min-width: 0; padding-top: 6px; }
.tbf-archive-grid.tbf-view-list .image-page-button { display: none; }

@media (max-width: 767.98px) {
  .tbf-archive-grid.tbf-view-list .block-inner-inner { gap: 20px; }
  .tbf-archive-grid.tbf-view-list .image-cont { flex-basis: 140px; }
}

@media (max-width: 1023.98px) {
  .collection-toolbar__spacer { display: none; }
  .tbf-filters { width: min(320px, 88vw); }
}

.tbf-sort { display: inline-flex; align-items: center; gap: 10px; margin: 0; }

.tbf-sort__label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6f6a5f; white-space: nowrap;
}

.tbf-sort__select-wrap { position: relative; display: inline-block; }

.tbf-sort__select {
  -webkit-appearance: none; appearance: none;
  border: 1px solid #c8c8c8; border-radius: 0; background: #fff;
  padding: 10px 38px 10px 14px; font-family: inherit; font-size: 14px;
  font-weight: 600; color: #232323; cursor: pointer;
}
.tbf-sort__select::-ms-expand { display: none; }
.tbf-sort__select:focus { border-color: #232323; outline: 0; }

.tbf-sort__select-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%;
  width: 9px; height: 9px; margin-top: -5px; pointer-events: none;
  border-right: 1.5px solid #232323; border-bottom: 1.5px solid #232323;
  transform: rotate(45deg);
}

.tbf-sort__apply { padding: 10px 18px; }

@media (max-width: 767.98px) {
  .collection-toolbar { justify-content: center; flex-wrap: wrap; }
}

/* ============================================================
   Cart page – mirrors target's /cart (item list + 2-col summary)
   ============================================================ */

.woocommerce-cart .page-content .page-title { display: none; }

.woocommerce-cart .tbf-cart-form,
.woocommerce-cart .tbf-cart-empty {
  max-width: 1200px; margin: 0 auto;
}

/* --- Empty cart state --- */

.tbf-cart-empty { padding: 60px 20px; text-align: center; }

.tbf-cart-empty__icon { color: #232323; display: block; margin-bottom: 16px; }

.tbf-cart-empty__icon svg { width: 34px; height: 34px; }

.tbf-cart-empty__title {
  margin: 0 0 28px; font-size: 34px; font-weight: 200; letter-spacing: -0.04em; text-transform: none;
}

.tbf-cart-empty .btn--primary { padding: 1.2em 50px; }

/* --- Heading --- */

.tbf-cart__title {
  margin: 0 0 34px; font-size: 46px; font-weight: 200; letter-spacing: -0.035em;
  text-transform: none; color: #232323; border-bottom: 0;
}

.tbf-cart__count { color: #6f6a5f; font-weight: 400; }

/* --- Item line list --- */

.tbf-cart-item-list { border-top: 0; }

.tbf-cart-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 190px 150px;
  gap: 30px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid #e5e5e5;
}

.tbf-cart-item__thumbnail { grid-column: 1; align-self: start; }

/* Cart-page only. This MUST NOT carry a plain `.tbf-cart-item__thumbnail img`
   selector: the drawer reuses the same class, and a fixed 130x162 there would
   force every drawer thumbnail back to a cropped box. Scoped to the cart form
   so the drawer's own auto-size rules are the only ones that match it. */
.tbf-cart-form .tbf-cart-item__thumbnail img {
  display: block; width: 130px; height: 162px; object-fit: cover;
  background: #f7f7f7;
}

.tbf-cart-item__info { grid-column: 2; min-width: 0; }

.tbf-cart-item__name { font-size: 17px; font-weight: 600; margin: 0 0 6px; line-height: 1.35; }
.tbf-cart-item__name a { color: #232323; }
.tbf-cart-item__name a:hover { color: #5c5c5c; }

.tbf-cart-item__attributes { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: #5c5c5c; }
.tbf-cart-item__attribute { display: flex; gap: 6px; }
.tbf-cart-item__attributes dt {
  margin: 0; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 12px;
}
.tbf-cart-item__attributes dd { margin: 0; }

.tbf-cart-item__info .variation { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: #5c5c5c; }
.tbf-cart-item__info .variation dt { clear: both; display: inline-block; float: none; margin-right: 4px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; }
.tbf-cart-item__info .variation dd { display: inline-block; float: none; margin: 0 12px 0 0; padding: 0; }

.tbf-cart-item__qty { margin-top: 2px; }

.tbf-cart-item__qty-hint {
  display: block; margin-top: 7px; font-size: 11.5px; color: #9d9d9d;
}

.tbf-qty { display: inline-flex; align-items: center; border: 1px solid #c8c8c8; }

.tbf-qty__step {
  width: 38px; height: 42px; border: 0; background: transparent; color: #232323;
  font-size: 20px; line-height: 1; cursor: pointer; font-family: inherit;
}
.tbf-qty__step:hover { background: #f2f2f2; }

.tbf-qty__field .quantity { display: inline-block; margin: 0; padding: 0; border: 0; }

.tbf-qty input.qty {
  width: 46px; height: 42px; margin: 0; padding: 0; border: 0; border-left: 1px solid #efefef;
  border-right: 1px solid #efefef; border-radius: 0; text-align: center; font-size: 14px;
  font-weight: 600; color: #232323; -moz-appearance: textfield;
}
.tbf-qty input.qty::-webkit-outer-spin-button,
.tbf-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Price column: unit price, struck regular price, discount --- */

.tbf-cart-item__price {
  grid-column: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  text-align: right;
}

.tbf-cart-item__price-now { font-size: 15px; font-weight: 600; white-space: nowrap; }
.tbf-cart-item__price-now .woocommerce-Price-amount { font-weight: 600; }

.tbf-cart-item__price-was {
  font-size: 13.5px; color: #9d9d9d; text-decoration: line-through; white-space: nowrap;
}

.tbf-cart-item__discount {
  display: inline-block; margin-top: 3px; padding: 2px 7px;
  background: #232323; color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: 0.04em;
  border-radius: 2px;
}

.tbf-cart-item__subtotal {
  grid-column: 4; justify-self: end; text-align: right;
  font-size: 16px; font-weight: 600; white-space: nowrap;
}

/* --- Summary: order note (left) + subtotal/checkout (right) --- */

.tbf-cart-subtotal-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  padding: 44px 0 10px;
}

.tbf-cart__note-label {
  display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #6f6a5f;
}

.tbf-cart__note {
  width: 100%; min-height: 120px; padding: 14px 18px; border: 1px solid #c8c8c8; border-radius: 0;
  background: #fff; font-family: inherit; font-size: 15px; resize: vertical;
}
.tbf-cart__note:focus { border-color: #232323; outline: 0; box-shadow: 0 0 0 1px rgb(35 35 35 / 0.12); }

.tbf-cart-subtotal-container__total { text-align: right; }

.tbf-cart__subtotal {
  margin: 0 0 6px; font-size: 26px; font-weight: 400; letter-spacing: normal; text-transform: none;
}
.tbf-cart__subtotal-amount { font-weight: 600; }

.tbf-cart__policies { margin-bottom: 26px; font-size: 14px; color: #6f6a5f; }

.tbf-cart__checkout-buttons { display: flex; justify-content: flex-end; align-items: center; gap: 18px; flex-wrap: wrap; }

.tbf-cart__checkout {
  background: #232323; color: #fff; border: 1.5px solid #232323; border-radius: 0; cursor: pointer;
  padding: 1.2em 42px; font-family: inherit; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1em;
}
.tbf-cart__checkout:hover { background: #5c5c5c; border-color: #5c5c5c; color: #fff; }

.tbf-cart__continue-shopping {
  display: inline-block; margin-top: 22px; color: #232323; font-size: 14px;
  text-decoration: underline; text-underline-offset: 3px;
}
.tbf-cart__continue-shopping:hover { color: #5c5c5c; }

@media (max-width: 1023.98px) {
  .tbf-cart-item { grid-template-columns: 100px minmax(0, 1fr) 150px; gap: 22px; }
  .tbf-cart-form .tbf-cart-item__thumbnail img { width: 100px; height: 125px; }
  .tbf-cart-item__price { grid-column: 3; }
  .tbf-cart-item__subtotal { grid-column: 3; }
  .tbf-qty__step { width: 40px; height: 44px; font-size: 20px; }
  .tbf-qty input.qty { width: 52px; height: 44px; font-size: 16px; }
}

@media (max-width: 767.98px) {
  .tbf-cart__title { font-size: 32px; }
  .tbf-cart-item { grid-template-columns: 84px minmax(0, 1fr); gap: 16px 18px; padding: 20px 0; }
  .tbf-cart-item__thumbnail { grid-column: 1; grid-row: 1; }
  .tbf-cart-form .tbf-cart-item__thumbnail img { width: 84px; height: 105px; }
  .tbf-cart-item__info { grid-column: 2; grid-row: 1; }
  .tbf-cart-item__price {
    grid-column: 2; grid-row: 2; justify-self: start; align-items: flex-start; text-align: left;
  }
  .tbf-cart-item__subtotal { grid-column: 2; grid-row: 3; justify-self: start; }
  .tbf-cart-subtotal-container { grid-template-columns: 1fr; gap: 30px; }
  .tbf-cart-subtotal-container__total { text-align: left; }
  .tbf-cart__checkout-buttons { justify-content: flex-start; flex-direction: column; gap: 12px; }
  .tbf-cart__checkout { width: 100%; min-height: 52px; padding: 16px 24px; font-size: 15px; }
  .tbf-cart__continue-shopping { width: 100%; text-align: center; padding: 14px; font-size: 15px; }
  .tbf-qty__step { width: 44px; height: 44px; font-size: 20px; }
  .tbf-qty input.qty { width: 56px; height: 44px; font-size: 16px; }
  .tbf-cart__note { font-size: 16px; min-height: 100px; }
}
/* --------------------------------------------------------------------------
   Cart drawer: mini-cart rows, matched to the Cart page's line list
   -------------------------------------------------------------------------- */

/* The drawer body is filled from the "div.widget_shopping_cart_content" cart
   fragment, so these rules target WooCommerce's mini-cart markup. Core's
   clearfix on `ul.cart_list li` has to be undone first: its ::before/::after
   would otherwise be placed into the grid row as extra items. */

.tbf-cart-drawer .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }

.tbf-cart-drawer .woocommerce-mini-cart li.mini_cart_item::before,
.tbf-cart-drawer .woocommerce-mini-cart li.mini_cart_item::after { content: none; display: none; }

.tbf-cart-drawer .woocommerce-mini-cart li.mini_cart_item {
  margin: 0; list-style: none; background: none;
}

/* Same four columns as the Cart page, sized for the 760px panel. The Cart
   page's own 130/190/150px tracks with 30px gaps consume 560px, which would
   leave the product name only 64px, so the quantity and subtotal tracks are
   narrowed and the 22px gaps come off. The thumbnail track is deliberately
   wider than the Cart page's 130px, and the panel was widened to pay for it so
   the name column still gets ~230px. */
.tbf-cart-drawer .tbf-cart-item {
  grid-template-columns: 160px minmax(0, 1fr) 132px 116px;
  gap: 22px; padding: 24px 0;
}
/* Width is auto so the thumbnail sizes itself rather than being forced to a
   fixed 160px; the shared `img { max-width: 100% }` rule caps it at the grid
   track, and height follows the image's own aspect ratio. Scoped to the drawer
   only — the Cart page keeps its fixed 130x162 box. */
.tbf-cart-drawer .tbf-cart-item__thumbnail img {
  width: auto; height: auto; object-fit: contain; background: #f7f7f7;
}
.tbf-cart-drawer .tbf-cart-item__name { font-size: 15px; }
.tbf-cart-drawer .tbf-cart-item__subtotal { font-size: 15px; }

.tbf-cart-drawer .tbf-qty__step { width: 34px; height: 38px; }
.tbf-cart-drawer .tbf-qty input.qty { width: 42px; height: 38px; }

/* --- Summary: subtotal, then Checkout over View cart --- */

.tbf-drawer-cart-summary { padding-top: 26px; }

/* Order note. Sits under the subtotal and above the buttons, mirroring the
   cart page's own note block, but opens on demand instead of always. */
.tbf-drawer-cart-note { margin: 0 0 22px; }
.tbf-drawer-cart-note__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--tbf-muted, #6b6b6b);
  text-decoration: underline; text-underline-offset: 3px;
}
.tbf-drawer-cart-note__toggle:hover { color: var(--tbf-text, #111); }
.tbf-drawer-cart-note__toggle::after {
  content: ''; width: 7px; height: 7px; flex: 0 0 auto;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.tbf-drawer-cart-note.is-open .tbf-drawer-cart-note__toggle::after { transform: rotate(-135deg) translate(-2px, -2px); }
.tbf-drawer-cart-note__toggle:focus-visible { outline: 2px solid var(--tbf-text, #111); outline-offset: 3px; }
.tbf-drawer-cart-note__panel { margin-top: 12px; }
.tbf-drawer-cart-note__panel[hidden] { display: none; }
.tbf-drawer-cart-note__field {
  display: block; width: 100%; min-height: 76px; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid #dcdcdc; border-radius: 3px;
  background: #fff; color: inherit; font: inherit; font-size: 14px; line-height: 1.5;
  resize: vertical;
}
.tbf-drawer-cart-note__field:focus { border-color: #111; outline: none; }
.tbf-drawer-cart-note__actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.tbf-drawer-cart-note__save {
  padding: 6px 14px; border: 1px solid #111; border-radius: 3px;
  background: #111; color: #fff; font: inherit; font-size: 13px; cursor: pointer;
}
.tbf-drawer-cart-note__save:hover { background: #000; }
.tbf-drawer-cart-note__status { font-size: 13px; color: var(--tbf-muted, #6b6b6b); }

/* Label left, value right. Flex rather than text-align because the value is an
   inline <span> that has to sit hard against the edge, not just right-align. */
.tbf-cart-drawer .woocommerce-mini-cart__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 0 0 20px; font-size: 20px; font-weight: 400; text-align: left;
}
.tbf-cart-drawer .woocommerce-mini-cart__total strong { font-weight: 400; }
.tbf-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount { font-weight: 600; flex: 0 0 auto; }

.tbf-cart-drawer .woocommerce-mini-cart__buttons {
  display: flex; flex-direction: column; gap: 12px; margin: 0; text-align: center;
}

/* Checkout leads, matching the Cart page where it is the primary action. */
.tbf-cart-drawer .woocommerce-mini-cart__buttons a {
  display: block; margin: 0; border-radius: 0; text-transform: uppercase;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; line-height: 1;
}
.tbf-cart-drawer .woocommerce-mini-cart__buttons a.checkout {
  order: -1; background: #232323; color: #fff; border: 1.5px solid #232323;
  padding: 1.2em 42px;
}
.tbf-cart-drawer .woocommerce-mini-cart__buttons a.checkout:hover { background: #5c5c5c; border-color: #5c5c5c; color: #fff; }

.tbf-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) {
  background: none; color: #232323; border: 0; padding: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.tbf-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout):hover { color: #5c5c5c; }

/* --- Empty state, matching the Cart page's --- */

.tbf-cart-drawer .tbf-cart-empty--drawer { padding: 60px 0 40px; text-align: center; }
.tbf-cart-drawer .tbf-cart-empty--drawer .tbf-cart-empty__title { font-size: 22px; margin: 0 0 20px; }
.tbf-cart-drawer .tbf-cart-empty--drawer .tbf-cart-empty__icon { color: #9d9d9d; margin-bottom: 16px; }

@media (max-width: 1023.98px) {
  .tbf-cart-drawer .tbf-cart-item {
    grid-template-columns: 100px minmax(0, 1fr) 116px 104px; gap: 18px;
  }
  /* height stays auto, as at desktop: a fixed 125px here would re-crop the
     portrait photos on tablet. Width auto keeps the drawer-only behaviour. */
  .tbf-cart-drawer .tbf-cart-item__thumbnail img { width: auto; height: auto; }
}

@media (max-width: 767.98px) {
  .tbf-cart-drawer .tbf-cart-item {
    grid-template-columns: 84px minmax(0, 1fr); gap: 16px 18px; padding: 20px 0;
  }
  .tbf-cart-drawer .tbf-cart-item__thumbnail { grid-column: 1; grid-row: 1; }
  .tbf-cart-drawer .tbf-cart-item__thumbnail img { width: auto; height: auto; }
  .tbf-cart-drawer .tbf-cart-item__info { grid-column: 2; grid-row: 1; }
  .tbf-cart-drawer .tbf-cart-item__price {
    grid-column: 2; grid-row: 2; justify-self: start; align-items: flex-start; text-align: left;
  }
  .tbf-cart-drawer .tbf-cart-item__subtotal { grid-column: 2; grid-row: 3; justify-self: start; }
  .tbf-cart-drawer .tbf-qty__step { width: 40px; height: 40px; font-size: 20px; }
  .tbf-cart-drawer .tbf-qty input.qty { width: 50px; height: 40px; font-size: 16px; }
  .tbf-cart-drawer .woocommerce-mini-cart__buttons a { width: 100%; min-height: 48px; padding: 14px 20px; }
  .tbf-cart-drawer .woocommerce-mini-cart__buttons a.checkout { order: -1; }
}

/* ==========================================================================
   Thank you / Order received page — Shopify style
   ========================================================================== */

.tbf-thankyou-page .tbf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tbf-thankyou__notice {
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
  padding: 20px 24px;
  border-radius: 8px;
  margin-bottom: 32px;
  font-size: 16px;
  font-weight: 500;
}

.tbf-thankyou__header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}

.tbf-thankyou__order-number {
  font-size: 28px;
  font-weight: 600;
  color: #232323;
  margin: 0 0 12px;
}

.tbf-thankyou__order-number strong {
  color: #bf570a;
}

.tbf-thankyou__status {
  display: inline-block;
  margin-left: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tbf-thankyou__status--processing,
.tbf-thankyou__status--on-hold {
  background: #fff3e0;
  color: #e65100;
}

.tbf-thankyou__status--completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.tbf-thankyou__status--failed,
.tbf-thankyou__status--cancelled {
  background: #fdeaea;
  color: #c62828;
}

.tbf-thankyou__status--pending {
  background: #f3e5f5;
  color: #6a1b9a;
}

.tbf-thankyou__date {
  color: #6a6a6a;
  font-size: 14px;
  margin: 0;
}

.tbf-thankyou__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.tbf-thankyou__main {
  min-width: 0;
}

.tbf-thankyou__sidebar {
  position: sticky;
  top: 100px;
}

.tbf-thankyou__section {
  margin-bottom: 32px;
}

.tbf-thankyou__section-title {
  font-size: 18px;
  font-weight: 600;
  color: #232323;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}

.tbf-thankyou__items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tbf-thankyou__items-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a6a6a;
  border-bottom: 1px solid #e5e5e5;
}

.tbf-thankyou__col-product { width: 60%; }
.tbf-thankyou__col-qty { width: 15%; text-align: center; }
.tbf-thankyou__col-price { width: 25%; text-align: right; }

.tbf-thankyou__item {
  border-bottom: 1px solid #f0f0f0;
}

.tbf-thankyou__item:last-child { border-bottom: none; }

.tbf-thankyou__item td {
  padding: 16px;
  vertical-align: middle;
}

.tbf-thankyou__item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tbf-thankyou__item-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e5e5e5;
  flex-shrink: 0;
}

.tbf-thankyou__qty {
  position: absolute; top: -6px; left: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  font-size: 11px; font-weight: 700; line-height: 1;
  color: #fff; background: #232323; border-radius: 10px;
}

.tbf-thankyou__item-meta { flex: 1; min-width: 0; position: relative; }

.tbf-thankyou__item-name {
  display: block;
  font-weight: 500;
  color: #232323;
  margin-bottom: 4px;
}

.tbf-thankyou__item-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #6a6a6a;
}

.tbf-thankyou__item-meta-list li { margin-bottom: 2px; }

.tbf-thankyou__addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.tbf-thankyou__address-title {
  font-size: 14px;
  font-weight: 600;
  color: #232323;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tbf-thankyou__address-content {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4a4a;
  margin: 0;
}

.tbf-thankyou__failed {
  background: #fdeaea;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
  text-align: center;
}

.tbf-thankyou__failed .woocommerce-notice--error {
  margin: 0 0 16px;
  background: transparent;
  border: none;
  color: #c62828;
}

.tbf-thankyou__failed-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.tbf-thankyou__summary,
.tbf-thankyou__payment,
.tbf-thankyou__note {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.tbf-thankyou__summary-title,
.tbf-thankyou__payment-title,
.tbf-thankyou__note-title {
  font-size: 14px;
  font-weight: 600;
  color: #232323;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tbf-thankyou__summary-table {
  width: 100%;
  font-size: 14px;
}

.tbf-thankyou__summary-table th,
.tbf-thankyou__summary-table td {
  padding: 10px 0;
  border-bottom: 1px solid #eef0f0;
}

.tbf-thankyou__summary-table th {
  text-align: left;
  color: #6a6a6a;
  font-weight: 400;
}

.tbf-thankyou__summary-table td {
  text-align: right;
  font-weight: 500;
  color: #232323;
}

.tbf-thankyou__total-row {
  border-bottom: none !important;
  font-size: 16px;
  font-weight: 600;
}

.tbf-thankyou__total-row th,
.tbf-thankyou__total-row td {
  padding-top: 16px;
  padding-bottom: 0;
}

.tbf-thankyou__free {
  color: #2e7d32;
  font-weight: 600;
}

.tbf-thankyou__payment-method {
  font-weight: 500;
  color: #232323;
  margin: 0;
}

.tbf-thankyou__note-content {
  margin: 0;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
  white-space: pre-wrap;
}

.tbf-thankyou__continue {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  margin-top: 16px;
  background: #232323;
  color: #fff;
  border: 1.5px solid #232323;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tbf-thankyou__continue:hover {
  background: #5c5c5c;
  border-color: #5c5c5c;
  color: #fff;
}

@media (max-width: 1023.98px) {
  .tbf-thankyou__grid {
    grid-template-columns: 1fr;
  }

  .tbf-thankyou__sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .tbf-thankyou__addresses {
    grid-template-columns: 1fr;
  }

  .tbf-thankyou__order-number {
    font-size: 22px;
  }

  .tbf-thankyou__item-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tbf-thankyou__item-image {
    width: 100%;
    max-width: 120px;
    height: auto;
  }
}
