/* Adapted commerce components; uses Don Pion theme tokens. */
.woocommerce ul.products li.product > .button {
align-items: center;
  align-self: stretch;
  background: var(--wp--preset--color--primary);
  border-radius: var(--wp--custom--radius--small);
  color: #fff;
  display: inline-flex;
  font-size: var(--wp--preset--font-size--small);
  justify-content: center;
  margin-top: var(--wp--preset--spacing--s);
  min-height: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
  text-align: center;
}
.woocommerce ul.products li.product > .button:focus-visible {
outline-color: var(--wp--preset--color--primary);
}
.tf-quick-order-trigger {
align-items: center;
  background: transparent;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  color: var(--wp--preset--color--text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: var(--wp--preset--font-size--small);
  justify-content: center;
  min-height: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
}
.woocommerce ul.products li.product > .tf-quick-order-trigger--card {
border-color: transparent;
  color: var(--wp--preset--color--muted);
  margin-top: 0;
  padding-block: 0;
  text-decoration: underline;
  text-decoration-color: var(--wp--preset--color--border);
  text-underline-offset: 0.2em;
  width: 100%;
}
.woocommerce ul.products li.product > .tf-quick-order-trigger--card:hover {
color: var(--wp--preset--color--primary);
  text-decoration-color: currentColor;
}
.tf-quick-order-single {
border-top: 1px solid var(--wp--preset--color--border);
  margin-top: var(--wp--preset--spacing--m);
  padding-top: var(--wp--preset--spacing--m);
}
.tf-quick-order-single h2 {
font-size: var(--wp--preset--font-size--product-title);
  margin: 0 0 var(--wp--preset--spacing--xs);
}
.tf-quick-order-single p {
color: var(--wp--preset--color--muted);
  margin: 0 0 var(--wp--preset--spacing--s);
}
.tf-quick-order-single__actions,
.tf-quick-order-modal__messenger-links {
align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--xs);
}
.tf-quick-order-messenger,
.tf-quick-order-modal__messenger-links a {
align-items: center;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  color: var(--wp--preset--color--text);
  display: inline-flex;
  min-height: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
  text-decoration: none;
}
.tf-quick-order-messenger svg {
fill: currentColor;
  flex: 0 0 auto;
}
.tf-quick-order-modal__messenger-links {
display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tf-quick-order-modal__messenger-links a {
gap: 0.375rem;
  justify-content: center;
  min-width: 0;
  padding-inline: var(--wp--preset--spacing--xs);
}
.tf-modal-open {
overflow: hidden;
}
.tf-quick-order-modal {
inset: 0;
  position: fixed;
  z-index: 100000;
}
.tf-quick-order-modal[hidden] {
display: none;
}
.tf-quick-order-modal [hidden] {
display: none !important;
}
.tf-quick-order-modal__backdrop {
background: rgb(0 0 0 / 48%);
  inset: 0;
  position: absolute;
}
.tf-quick-order-modal__dialog {
background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--medium);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
  left: 50%;
  max-height: calc(100vh - 2 * var(--wp--preset--spacing--m));
  max-width: 30rem;
  overflow: auto;
  padding: var(--wp--preset--spacing--l);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2 * var(--wp--preset--spacing--m));
}
.tf-quick-order-modal__close {
align-items: center;
  background: transparent;
  border: 0;
  color: var(--wp--preset--color--text);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 1.75rem;
  height: var(--wp--custom--control--height);
  justify-content: center;
  padding: 0;
  position: absolute;
  right: var(--wp--preset--spacing--s);
  top: var(--wp--preset--spacing--s);
  width: var(--wp--custom--control--height);
}
.tf-quick-order-modal h2 {
margin: 0 var(--wp--preset--spacing--xl) var(--wp--preset--spacing--s) 0;
}
.tf-quick-order-modal__product {
display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 var(--wp--preset--spacing--m);
}
.tf-quick-order-modal__product span {
color: var(--wp--preset--color--muted);
}
.tf-quick-order-form {
display: grid;
  gap: var(--wp--preset--spacing--xs);
}
.tf-quick-order-form label {
font-weight: 600;
}
.tf-quick-order-form input[type="tel"] {
background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  box-sizing: border-box;
  color: var(--wp--preset--color--text);
  font: inherit;
  min-height: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
  width: 100%;
}
.tf-quick-order-submit {
background: var(--wp--preset--color--primary);
  border: 0;
  border-radius: var(--wp--custom--radius--small);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
}
.tf-quick-order-submit:disabled {
cursor: wait;
  opacity: 0.6;
}
.tf-quick-order-form__status {
color: var(--wp--preset--color--text);
  margin: var(--wp--preset--spacing--xs) 0;
  min-height: 1.5em;
}
.tf-quick-order-form__status:empty {
display: none;
}
.tf-quick-order-privacy {
color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.45;
  margin: var(--wp--preset--spacing--xs) 0 0;
}
.tf-quick-order-privacy a {
color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.tf-quick-order-success {
border-block: 1px solid var(--wp--preset--color--border);
  padding-block: var(--wp--preset--spacing--m);
}
.tf-quick-order-success h3 {
font-size: var(--wp--preset--font-size--heading-3);
  margin: 0 0 var(--wp--preset--spacing--xs);
}
.tf-quick-order-success p {
color: var(--wp--preset--color--muted);
  margin: 0;
}
.tf-quick-order-modal__messengers {
border-top: 1px solid var(--wp--preset--color--border);
  margin-top: var(--wp--preset--spacing--m);
  padding-top: var(--wp--preset--spacing--m);
}
.tf-quick-order-modal__messengers p {
margin: 0 0 var(--wp--preset--spacing--s);
}
@media (max-width: 47.999rem) {
.tf-quick-order-modal__dialog {
border-radius: var(--wp--custom--radius--medium) var(--wp--custom--radius--medium) 0 0;
    bottom: 0;
    left: 0;
    max-height: min(88vh, 42rem);
    max-width: none;
    padding: var(--wp--preset--spacing--m);
    top: auto;
    transform: none;
    width: 100%;
}
.woocommerce ul.products li.product > .button,
  .woocommerce ul.products li.product > .tf-quick-order-trigger--card {
font-size: 0.8125rem;
    padding-inline: var(--wp--preset--spacing--xs);
}
.tf-quick-order-single__actions {
display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tf-quick-order-single__actions > .tf-quick-order-trigger,
  .tf-quick-order-single__actions > .tf-quick-order-messenger--max {
grid-column: 1 / -1;
}
.tf-quick-order-single__actions > *,
  .tf-quick-order-modal__messenger-links > * {
box-sizing: border-box;
    justify-content: center;
    width: 100%;
}
.tf-quick-order-modal__messenger-links {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tf-quick-order-modal__messenger-links > .tf-quick-order-messenger--max {
grid-column: 1 / -1;
}
}
.tf-cart {
padding-block: var(--wp--preset--spacing--m) var(--wp--preset--spacing--xl);
}
.tf-cart > h1 {
font-size: var(--wp--preset--font-size--heading-2);
  margin: 0 0 var(--wp--preset--spacing--m);
}
.tf-cart-continue {
margin: calc(var(--wp--preset--spacing--s) * -1) 0 var(--wp--preset--spacing--m);
}
.tf-cart-continue a {
color: var(--wp--preset--color--muted);
  display: inline-flex;
  gap: var(--wp--preset--spacing--xs);
}
.tf-cart .wp-block-woocommerce-cart {
margin: 0;
}
.tf-cart .wc-block-cart-items {
border-collapse: separate;
  border-spacing: 0;
}
.tf-cart .wc-block-cart-items__row {
border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--medium);
  display: grid;
  gap: var(--wp--preset--spacing--s);
  grid-template-columns: 5.5rem minmax(0, 1fr);
  margin-bottom: var(--wp--preset--spacing--s);
  padding: var(--wp--preset--spacing--s);
}
.tf-cart .wc-block-cart-items__header {
border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 0.0625rem;
  margin: -0.0625rem;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 0.0625rem;
}
.tf-cart .wc-block-cart-item__image,
.tf-cart .wc-block-cart-item__product,
.tf-cart .wc-block-cart-item__total {
border: 0;
  padding: 0;
}
.tf-cart .wc-block-cart-item__image {
grid-area: 1 / 1 / span 2 / 2;
  grid-row: 1 / span 2;
  width: auto;
}
.tf-cart .wc-block-cart-item__image img {
aspect-ratio: 1;
  border-radius: var(--wp--custom--radius--small);
  object-fit: cover;
  width: 100%;
}
.tf-cart .wc-block-cart-item__product {
grid-area: 1 / 2;
  min-width: 0;
}
.tf-cart .wc-block-components-product-name {
color: var(--wp--preset--color--text);
  font-weight: 650;
  line-height: 1.3;
}
.tf-cart .wc-block-cart-item__prices,
.tf-cart .wc-block-components-product-price {
color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
}
.tf-cart .wc-block-cart-item__prices {
align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--xs);
  margin-block: var(--wp--preset--spacing--xs);
}
.tf-cart-item__price-label,
.tf-cart-item__subtotal-label {
color: var(--wp--preset--color--muted);
  font-size: 0.75rem;
  font-weight: 400;
}
.tf-cart .wc-block-components-product-metadata__description,
.tf-cart .wc-block-cart-item__total .wc-block-components-product-badge {
display: none;
}
.tf-cart .wc-block-components-quantity-selector {
border-color: var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  min-height: var(--wp--custom--control--height);
}
.tf-cart .wc-block-components-quantity-selector__button {
min-height: var(--wp--custom--control--height);
  min-width: var(--wp--custom--control--height);
}
.tf-cart .wc-block-cart-item__remove-link {
color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  min-height: 2.75rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.tf-cart .wc-block-cart-item__total {
align-self: start;
  color: var(--wp--preset--color--text);
  font-size: 1rem;
  font-weight: 650;
  grid-area: 2 / 2;
  grid-column: 2;
  grid-row: 2;
  text-align: left;
}
.tf-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
align-items: baseline;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--xs);
}
.tf-cart .wc-block-components-notice-banner {
align-items: center;
  border-radius: var(--wp--custom--radius--small);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.35;
  margin-bottom: var(--wp--preset--spacing--s);
  min-height: 0;
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s) !important;
}
.tf-cart .wc-block-components-notice-banner > svg {
height: 1.25rem;
  margin-right: var(--wp--preset--spacing--xs);
  width: 1.25rem;
}
.tf-cart .wc-block-components-notice-banner__content {
align-items: center;
  display: flex;
  gap: var(--wp--preset--spacing--s);
  justify-content: space-between;
  margin: 0;
}
.tf-cart .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content > a {
display: none;
}
.tf-cart .wc-block-components-sidebar {
background: var(--wp--preset--color--surface);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--medium);
  padding: var(--wp--preset--spacing--m);
}
.tf-cart .wc-block-cart__totals-title {
font-size: var(--wp--preset--font-size--heading-3);
  font-weight: 650;
  padding: 0 0 var(--wp--preset--spacing--s);
  text-align: left;
}
.tf-cart .wc-block-components-totals-wrapper {
border-top-color: var(--wp--preset--color--border);
  padding-inline: 0;
}
.tf-cart .wc-block-components-totals-footer-item {
font-size: var(--wp--preset--font-size--heading-3);
}
.tf-cart .wc-block-components-totals-coupon__button,
.tf-cart .wc-block-cart__submit-button {
min-height: var(--wp--custom--control--height);
}
.tf-cart .wc-block-cart__submit-button {
background: var(--wp--preset--color--primary);
  border-radius: var(--wp--custom--radius--small);
  color: #fff;
  font-weight: 650;
}
.tf-cart-empty {
align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 34rem;
  padding-block: var(--wp--preset--spacing--xl);
  text-align: center;
}
.tf-cart-empty h2 {
margin: 0;
}
.tf-cart-empty p {
color: var(--wp--preset--color--muted);
  margin-block: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
}
@media (max-width: 47.999rem) {
.tf-cart .wc-block-cart-items__row {
width: 100%;
}
.tf-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
grid-area: 2 / 2;
    grid-row-start: 2;
}
.tf-cart .wc-block-components-sidebar {
margin-top: var(--wp--preset--spacing--m);
}
}
@media (min-width: 60rem) {
.tf-cart {
padding-block: var(--wp--preset--spacing--l) var(--wp--preset--spacing--xl);
}
.tf-cart .wc-block-components-main {
padding-right: var(--wp--preset--spacing--l);
    width: 65%;
}
.tf-cart .wc-block-components-sidebar {
align-self: start;
    position: sticky;
    top: var(--wp--preset--spacing--m);
    width: 35%;
}
.tf-cart .wc-block-cart-items__row {
grid-template-columns: 7rem minmax(0, 1fr) auto;
    padding: var(--wp--preset--spacing--m);
}
.tf-cart .wc-block-cart-item__image {
grid-area: 1 / 1;
    grid-row: 1;
}
.tf-cart .wc-block-cart-item__total {
align-self: start;
    grid-area: 1 / 3;
    grid-column: 3;
    grid-row: 1;
    text-align: right;
}
.tf-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
justify-content: flex-end;
}
}
.tf-home-hero,
.tf-home-categories,
.tf-home-today,
.tf-home-budget,
.tf-home-featured,
.tf-home-products,
.tf-home-trust,
.tf-home-delivery,
.tf-home-contact {
margin-inline: auto;
  max-width: var(--wp--style--global--wide-size);
  padding-inline: var(--wp--custom--container--gutter);
}
.tf-home-categories,
.tf-home-today,
.tf-home-budget,
.tf-home-featured,
.tf-home-products,
.tf-home-trust,
.tf-home-delivery,
.tf-home-contact {
padding-bottom: var(--wp--preset--spacing--m);
}
.tf-home-categories h2,
.tf-home-today h2,
.tf-home-budget h2,
.tf-home-featured h2,
.tf-home-products h2,
.tf-home-trust h2,
.tf-home-delivery h2,
.tf-home-contact h2 {
margin-bottom: var(--wp--preset--spacing--s);
}
.tf-home-categories nav {
overflow: hidden;
}
.tf-category-list {
display: grid;
  gap: var(--wp--preset--spacing--s);
  grid-auto-columns: minmax(6rem, 27vw);
  grid-auto-flow: column;
  list-style: none;
  margin: 0 calc(var(--wp--custom--container--gutter) * -1) calc(var(--wp--preset--spacing--l) * -1);
  overflow-x: auto;
  padding: 0 var(--wp--custom--container--gutter) calc(var(--wp--preset--spacing--xs) + var(--wp--preset--spacing--l));
  scroll-padding-inline: var(--wp--custom--container--gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.tf-category-list::-webkit-scrollbar {
display: none;
  height: 0;
  width: 0;
}
.tf-category-list li {
min-width: 0;
  scroll-snap-align: start;
}
.tf-category-card {
appearance: none;
  background: transparent;
  border: 0;
  color: var(--wp--preset--color--text);
  cursor: pointer;
  display: block;
  font: inherit;
  font-weight: 650;
  padding: 0;
  text-align: center;
  text-decoration: none;
  width: 100%;
}
.tf-category-card[aria-pressed="true"] .tf-category-card__media {
box-shadow: 0 0 0 0.25rem var(--wp--preset--color--accent);
}
.tf-category-card[aria-pressed="true"] .tf-category-card__label {
color: var(--wp--preset--color--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.25rem;
}
.tf-category-card__media {
aspect-ratio: 1;
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--medium);
  display: block;
  margin-bottom: var(--wp--preset--spacing--xs);
  overflow: hidden;
  position: relative;
}
.tf-category-card__media img {
height: 100%;
  object-fit: cover;
  width: 100%;
}
.tf-category-card__label {
align-items: flex-start;
  display: flex;
  justify-content: center;
  line-height: 1.3;
  min-height: 2.6em;
  overflow-wrap: anywhere;
  text-align: center;
}
.tf-category-card__price {
color: var(--wp--preset--color--text, #20211f);
  display: block;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  min-height: 1.4em;
  text-align: center;
}
.tf-category-card__price del {
color: var(--wp--preset--color--muted, #696b66);
  font-weight: 450;
}
.tf-category-card__price ins {
color: var(--wp--preset--color--sale, #a33a36);
  text-decoration: none;
}
.tf-category-card__sale {
background: var(--wp--preset--color--sale, #a33a36);
  border-radius: var(--wp--custom--radius--small);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  left: var(--wp--preset--spacing--xs);
  padding: 0.25rem 0.4rem;
  position: absolute;
  top: var(--wp--preset--spacing--xs);
}
.tf-home-section-heading {
align-items: baseline;
  display: flex;
  gap: var(--wp--preset--spacing--s);
  justify-content: space-between;
}
.tf-home-section-heading a {
flex: 0 0 auto;
  font-weight: 650;
  white-space: nowrap;
}
.tf-home-price-filters {
align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
  justify-content: center;
  margin-bottom: var(--wp--preset--spacing--m);
}
.tf-home-price-filters__buttons {
display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--xs);
  justify-content: center;
  max-width: 100%;
}
.tf-home-price-filters button {
background-color: var(--wp--preset--color--surface, #f3f2ee);
  border: 0.0625rem solid var(--wp--preset--color--muted, #696b66);
  border-radius: 999px;
  color: var(--wp--preset--color--text, #20211f);
  cursor: pointer;
  font: inherit;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 650;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}
.tf-home-price-filters button[aria-pressed="true"] {
background-color: var(--wp--preset--color--primary, #245744);
  border-color: var(--wp--preset--color--primary, #245744);
  color: #fff;
}
.tf-home-price-filters button:hover {
background-color: var(--wp--preset--color--primary-hover, #193f31);
  border-color: var(--wp--preset--color--primary-hover, #193f31);
  color: #fff;
}
.tf-home-price-filters button:focus-visible {
outline-color: var(--wp--preset--color--primary, #245744);
}
.tf-home-filter-reset {
background: transparent;
  border: 0;
  color: var(--wp--preset--color--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  margin-top: var(--wp--preset--spacing--xs);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.tf-home-products__count {
color: var(--wp--preset--color--muted);
}
.tf-home-products__empty {
color: var(--wp--preset--color--muted);
  margin: 0;
  padding-block: var(--wp--preset--spacing--m);
  text-align: center;
}
.tf-home-products__empty p {
margin: 0 0 var(--wp--preset--spacing--s);
}
.tf-home-products__empty-reset {
background: var(--wp--preset--color--primary);
  border: 0;
  border-radius: var(--wp--custom--radius--small);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  min-height: var(--wp--custom--control--height);
  padding-inline: var(--wp--preset--spacing--m);
}
.tf-home-products .products > [hidden] {
display: none !important;
}
@media (max-width: 47.999rem) {
.tf-single-product div.product.instock .tf-quick-order-single {
order: 5;
}
}
@media (min-width: 45rem) {
.tf-category-list {
gap: var(--wp--preset--spacing--m);
    grid-auto-flow: initial;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin: 0;
    overflow: visible;
    padding: 0;
}
.tf-home-categories nav {
overflow: visible;
}
.tf-home-categories,
  .tf-home-today,
  .tf-home-budget,
  .tf-home-featured,
  .tf-home-products,
  .tf-home-trust,
  .tf-home-delivery,
  .tf-home-contact {
padding-bottom: var(--wp--preset--spacing--xl);
}
.tf-home-categories h2,
  .tf-home-today h2,
  .tf-home-budget h2,
  .tf-home-featured h2,
  .tf-home-products h2,
  .tf-home-trust h2,
  .tf-home-delivery h2,
  .tf-home-contact h2 {
margin-bottom: var(--wp--preset--spacing--m);
}
}

.tf-quick-order-form input[type="text"] { width:100%; box-sizing:border-box; border:1px solid var(--wp--preset--color--border); border-radius:var(--wp--custom--radius--small); padding:12px; font:inherit; }

/* Keep quantity controls and removal separate with current WooCommerce Blocks. */
.tf-cart .wc-block-components-quantity-selector { min-width: 132px; width: 132px; flex-shrink: 0; }
.tf-cart .wc-block-cart-item__quantity { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tf-cart .wc-block-cart-item__remove-link { position: static; flex-shrink: 0; margin: 0; min-width: 44px; }

.dp-cart-quick-order { margin-block: 0.75rem 0; }
.tf-quick-order-cart { width: 100%; min-height: 48px; justify-content: center; background: transparent; color: var(--wp--preset--color--primary, #245947); border: 1px solid currentColor; }
.tf-quick-order-cart[hidden] { display: none !important; }
.tf-quick-order-modal__product strong { white-space: pre-line; }
.dp-checkout-consents { margin-block: 1.5rem; display: grid; gap: 1rem; }
.dp-checkout-consents .tf-checkout-checkbox { align-items: flex-start; }
.dp-checkout-consents input { flex-shrink: 0; }
.dp-checkout-consents a { text-decoration: underline; }

/* Explicit grid tracks remain present even when only one product matches a filter. */
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--l) var(--wp--preset--spacing--s);
  align-items: stretch;
}
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product {
  display: flex;
  flex-direction: column;
  float: none;
  width: 100%;
  max-width: 20rem;
  min-width: 0;
  margin: 0;
}
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product .woocommerce-loop-product__link {
  display: flex;
  flex: 1;
  flex-direction: column;
}
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product .price {
  margin-top: auto;
  padding-top: .5rem;
  padding-bottom: .75rem;
}
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product .woocommerce-loop-product__title {
  min-height: 0;
}
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product > :is(.button, .tf-quick-order-trigger) {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  text-align: center;
}
@media (min-width: 48rem) {
  :is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--wp--preset--spacing--m);
  }
}
@media (min-width: 75rem) {
  :is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Cart estimate excludes shipping until checkout. */
.dp-cart-delivery-note { margin-block: 1rem; font-size: .875rem; line-height: 1.5; }
.dp-cart-delivery-note small { display: block; color: var(--wp--preset--color--muted); font-size: .8125rem; margin-top: .25rem; }

/* One secondary product action, sized by CSS even if WooCommerce replaces it. */
.tf-single-product .tf-quick-order-single {
  display: block;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}
.tf-single-product div.product.instock .tf-quick-order-single { order: 4; }
.tf-single-product .tf-quick-order-trigger--single {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--wp--custom--control--height);
  background: #fff;
  border: 1px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
  font-weight: 650;
  text-align: center;
}
.tf-single-product .tf-quick-order-trigger--single:hover { background: #f1f6f3; }
.tf-single-product .tf-quick-order-trigger--single:focus-visible {
  outline: 3px solid var(--wp--preset--color--primary);
  outline-offset: 3px;
}
.tf-category-card--sale svg { display: block; width: 100%; height: 100%; color: var(--wp--preset--color--primary); }

/* Block-based product grids: equal card height, price and buttons aligned to the bottom. */
.wc-block-product-template li.wc-block-product {
  display: flex;
  flex-direction: column;
}
.wc-block-product-template li.wc-block-product .wp-block-post-title {
  min-height: 0;
}
.wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-price {
  margin-top: auto;
}

/* Centered product title and price in catalog cards. */
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product .woocommerce-loop-product__title,
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product .price {
  text-align: center;
}
:is(.tf-catalog, .tf-home-products) ul.products[class*="columns-"] li.product .price {
  justify-content: center;
}

/* Variable product form: select on its own row, then quantity + add-to-cart on one row. */
.tf-single-product form.variations_form.cart { display: block; }
.tf-single-product form.variations_form .variations { border: 0; margin: 0 0 var(--wp--preset--spacing--s); width: 100%; }
.tf-single-product form.variations_form .variations tbody,
.tf-single-product form.variations_form .variations tr { display: block; }
.tf-single-product form.variations_form .variations th.label,
.tf-single-product form.variations_form .variations td.value { display: block; padding: 0; text-align: left; }
.tf-single-product form.variations_form .variations th.label { margin-bottom: .375rem; font-weight: 650; }
.tf-single-product form.variations_form .variations select { width: 100%; min-height: var(--wp--custom--control--height, 48px); box-sizing: border-box; }
.tf-single-product form.variations_form .reset_variations { display: inline-block; margin-top: .375rem; font-size: .875rem; color: var(--wp--preset--color--muted); }
.tf-single-product form.variations_form .single_variation_wrap { margin: 0; }
.tf-single-product form.variations_form .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; gap: var(--wp--preset--spacing--s); }
.tf-single-product form.variations_form .woocommerce-variation-add-to-cart .quantity { flex: none; margin: 0; float: none; }
.tf-single-product form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1; min-height: var(--wp--custom--control--height, 48px); }
.tf-single-product form.variations_form .woocommerce-variation-price { margin-bottom: var(--wp--preset--spacing--xs); }
/* Chosen variation price sits under the selector, next to the add-to-cart button. */
.tf-single-product form.variations_form .woocommerce-variation-price { margin: 0 0 var(--wp--preset--spacing--s); }
.tf-single-product form.variations_form .woocommerce-variation-price .price { font-size: var(--wp--preset--font-size--heading-3, 1.5rem); font-weight: 700; }
