/*
Theme Name: Taganrog Flowers
Theme URI: https://example.test/taganrog-flowers
Author: Taganrog Flower Shop
Description: Lightweight block theme for the Taganrog flower shop.
Version: 0.3.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: taganrog-flowers
*/

/*
 * Component styles only. Global design tokens are defined in theme.json.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--wp--preset--color--primary);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 0.1875rem solid color-mix(in srgb, var(--wp--preset--color--primary) 72%, white);
  outline-offset: 0.1875rem;
}

.wp-site-blocks {
  padding-left: 0;
  padding-right: 0;
}

.wp-site-blocks > :where(main, section),
.tf-container {
  margin-inline: auto;
  max-width: var(--wp--style--global--wide-size);
  padding-inline: var(--wp--custom--container--gutter);
  width: 100%;
}

/* Buttons */

:where(.wp-element-button, .wp-block-button__link, button, input[type="button"], input[type="submit"]) {
  align-items: center;
  border: 0;
  border-radius: var(--wp--custom--radius--small);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  justify-content: center;
  min-height: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

:where(.wp-element-button, .wp-block-button__link, button, input[type="button"], input[type="submit"]):hover {
  background: var(--wp--preset--color--primary-hover);
  color: #fff;
}

:where(button, input, .wp-element-button)[disabled],
:where(button, input, .wp-element-button)[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  border: 0.0625rem solid var(--wp--preset--color--border);
  color: var(--wp--preset--color--text);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
  background: var(--wp--preset--color--surface);
  border-color: var(--wp--preset--color--text);
}

.wp-block-button.is-style-link > .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--primary);
  min-height: auto;
  padding-inline: 0;
  text-decoration: underline;
}

/* Header */

.tf-header {
  background: color-mix(in srgb, var(--wp--preset--color--background) 94%, transparent);
  border-bottom: 0.0625rem solid var(--wp--preset--color--border);
  position: relative;
  z-index: 20;
}

.tf-header__row {
  gap: var(--wp--preset--spacing--s);
  min-height: 4rem;
  padding-block: var(--wp--preset--spacing--xs);
  padding-inline: var(--wp--custom--container--gutter);
}

.tf-header__wordmark,
.tf-header__logo {
  flex: 1;
  font-size: 0.9375rem;
  margin: 0;
  order: 2;
  text-align: center;
  white-space: nowrap;
}

.tf-header__wordmark a,
.tf-header__logo a {
  color: var(--wp--preset--color--text);
}

.tf-header__logo img {
  display: block;
  height: 2.75rem;
  object-fit: contain;
  width: auto;
}

.tf-header__navigation {
  flex: 0 0 var(--wp--custom--control--height);
  order: 1;
}

.tf-header__navigation .wp-block-navigation__responsive-container-open,
.tf-header__navigation .wp-block-navigation__responsive-container-close {
  align-items: center;
  height: var(--wp--custom--control--height);
  justify-content: center;
  width: var(--wp--custom--control--height);
}

.tf-header__navigation .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--wp--preset--color--background);
  color: var(--wp--preset--color--text);
  padding: var(--wp--preset--spacing--m) var(--wp--custom--container--gutter);
}

.tf-header__navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: flex-start;
  font-size: var(--wp--preset--font-size--h-3);
  gap: var(--wp--preset--spacing--m);
}

.tf-header__search {
  display: none;
  margin: 0;
  order: 3;
}

.tf-header__cart,
.tf-header__row > .wp-block-woocommerce-cart-link {
  flex: 0 0 var(--wp--custom--control--height);
  margin: 0;
  order: 4;
}

.tf-header__cart .wc-block-cart-link {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: var(--wp--custom--control--height);
  min-width: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs);
}

.tf-header__cart .wc-block-cart-link__text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Product collection and classic WooCommerce loops */

:where(.woocommerce ul.products, .woocommerce ul.products[class*="columns-"], .wc-block-product-template, .tf-product-grid) {
  display: grid;
  gap: var(--wp--preset--spacing--l) var(--wp--preset--spacing--s);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.wc-block-product-template li.product {
  display: flex;
  flex-direction: column;
  float: none;
  margin: 0;
  min-width: 0;
  position: relative;
  width: auto;
}

.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);
}

:where(.woocommerce ul.products, .wc-block-product-template) li.product a {
  color: var(--wp--preset--color--text);
}

:where(.woocommerce ul.products, .wc-block-product-template) li.product a:focus-visible {
  border-radius: var(--wp--custom--radius--small);
}

:where(.woocommerce ul.products, .wc-block-product-template) li.product img {
  aspect-ratio: 4 / 5;
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--medium);
  display: block;
  margin: 0 0 var(--wp--preset--spacing--s);
  object-fit: cover;
  width: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-components-product-title {
  display: -webkit-box;
  font-size: var(--wp--preset--font-size--product-title);
  font-weight: 520;
  line-height: 1.35;
  margin: 0 0 var(--wp--preset--spacing--xs);
  min-height: 2.7em;
  overflow: hidden;
  padding: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.woocommerce ul.products li.product .price,
.wc-block-components-product-price {
  align-items: baseline;
  color: var(--wp--preset--color--text);
  display: flex;
  flex-wrap: wrap;
  font-size: var(--wp--preset--font-size--product-price);
  font-weight: 700;
  gap: var(--wp--preset--spacing--xs);
  margin: 0;
}

.woocommerce ul.products li.product .price del,
.wc-block-components-product-price del {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 450;
  opacity: 1;
}

.woocommerce ul.products li.product .price ins,
.wc-block-components-product-price ins {
  color: var(--wp--preset--color--sale);
  text-decoration: none;
}

.woocommerce ul.products li.product span.onsale,
.wc-block-components-product-sale-badge {
  background: var(--wp--preset--color--sale);
  border: 0;
  border-radius: var(--wp--custom--radius--small);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  left: var(--wp--preset--spacing--xs);
  line-height: 1;
  margin: 0;
  min-height: auto;
  min-width: auto;
  padding: 0.3rem 0.4rem;
  right: auto;
  text-transform: none;
  top: var(--wp--preset--spacing--xs);
}

.woocommerce-result-count,
.woocommerce-ordering {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin-bottom: var(--wp--preset--spacing--m);
}

.woocommerce-ordering select,
.wp-block-search__input {
  background: var(--wp--preset--color--background);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  color: var(--wp--preset--color--text);
  min-height: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
}

/* Temporary design-system preview page */

.tf-preview {
  left: 50%;
  max-width: none;
  padding-block: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--2-xl);
  position: relative;
  transform: translateX(-50%);
  width: min(
    calc(100vw - var(--wp--custom--container--gutter) - var(--wp--custom--container--gutter)),
    var(--wp--style--global--wide-size)
  );
}

.tf-preview__intro {
  margin-bottom: var(--wp--preset--spacing--xl);
  max-width: 44rem;
}

.tf-preview__intro p {
  color: var(--wp--preset--color--muted);
  max-width: 38rem;
}

.tf-preview__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--s);
  margin-top: var(--wp--preset--spacing--m);
}

.tf-preview__products > h2 {
  margin-bottom: var(--wp--preset--spacing--m);
}

@media (max-width: 59.999rem) {
  .tf-header__navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .tf-header__navigation .wp-block-navigation__responsive-container-open {
    display: flex;
  }
}

.tf-checkout {
  margin-inline: auto;
  max-width: var(--wp--style--global--wide-size);
  padding: var(--wp--preset--spacing--l) var(--wp--preset--spacing--m) var(--wp--preset--spacing--xl);
}

.tf-checkout > h1 {
  margin: 0 0 var(--wp--preset--spacing--l);
}

.tf-checkout-section {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  padding-block: var(--wp--preset--spacing--m);
}

.tf-checkout-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.tf-checkout-section h2 {
  font-size: var(--wp--preset--font-size--heading-3);
  margin: 0 0 var(--wp--preset--spacing--m);
}

.tf-checkout-grid {
  display: grid;
  gap: var(--wp--preset--spacing--m);
}

.tf-checkout-field,
.tf-checkout-field label {
  display: block;
}

.tf-checkout-field > label {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.tf-checkout-field input,
.tf-checkout-field select,
.tf-checkout-field textarea {
  background: var(--wp--preset--color--surface);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--control);
  box-sizing: border-box;
  color: var(--wp--preset--color--text);
  font: inherit;
  min-height: var(--wp--custom--control--height);
  padding: 0.75rem;
  width: 100%;
}

.tf-checkout-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23272727' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 0.875rem center;
  background-repeat: no-repeat;
  background-size: 0.75rem 0.5rem;
  min-height: 3rem;
  padding-right: 2.5rem;
}

.tf-checkout-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.tf-checkout-field input:focus-visible,
.tf-checkout-field select:focus-visible,
.tf-checkout-field textarea:focus-visible,
.tf-checkout-checkbox input:focus-visible {
  outline: 0.125rem solid var(--wp--preset--color--primary);
  outline-offset: 0.125rem;
}

.tf-required {
  color: var(--wp--preset--color--primary);
}

.tf-checkout-checkbox {
  align-items: center;
  display: flex;
  gap: var(--wp--preset--spacing--s);
  line-height: 1.4;
  min-height: 2.75rem;
}

.tf-checkout-checkbox input {
  -webkit-appearance: none;
  appearance: none;
  background: var(--wp--preset--color--surface);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: 0.25rem;
  display: grid;
  flex: 0 0 auto;
  height: 1.25rem;
  margin: 0;
  place-content: center;
  width: 1.25rem;
}

.tf-checkout-checkbox input::before {
  border: solid var(--wp--preset--color--surface);
  border-width: 0 0.125rem 0.125rem 0;
  content: "";
  height: 0.5rem;
  opacity: 0;
  transform: rotate(45deg) translate(-0.0625rem, -0.0625rem);
  width: 0.25rem;
}

.tf-checkout-checkbox input:checked {
  background: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
}

.tf-checkout-checkbox input:checked::before {
  opacity: 1;
}

.tf-checkout-hint {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin: 0;
}

.tf-checkout-consents {
  display: grid;
  gap: var(--wp--preset--spacing--s);
}

.tf-checkout-consents .tf-checkout-checkbox {
  align-items: flex-start;
  margin: 0;
}

.tf-checkout-consents a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tf-checkout-consents .is-optional {
  color: var(--wp--preset--color--muted);
}

.tf-legal-document {
  margin-inline: auto;
  max-width: 52rem;
}

.tf-legal-shell {
  padding-block: var(--wp--preset--spacing--xl);
}

.tf-legal-shell > .wp-block-post-title {
  margin-bottom: var(--wp--preset--spacing--m);
  max-width: 52rem;
  width: 100%;
}

.tf-legal-revision {
  color: var(--wp--preset--color--muted);
  margin-bottom: var(--wp--preset--spacing--m);
}

.tf-legal-page h2 {
  font-size: var(--wp--preset--font-size--heading-3);
  margin-block: var(--wp--preset--spacing--l) var(--wp--preset--spacing--s);
}

.tf-legal-page p,
.tf-legal-page li {
  line-height: 1.65;
}

.tf-legal-page a {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media print {
  .tf-header,
  .tf-footer {
    display: none !important;
  }

  .tf-legal-document {
    max-width: none;
  }
}

.tf-checkout .wc-block-components-checkout-step__heading,
.tf-checkout .wc-block-components-checkout-step__container {
  padding-left: 0;
}

.tf-checkout .wc-block-checkout__contact-fields,
.tf-checkout .wc-block-checkout__shipping-fields,
.tf-checkout .wc-block-checkout__billing-fields {
  display: none;
}

/* The order-meta content is portalled above Checkout; Woo leaves this empty heading behind. */
.tf-checkout .checkout-order-summary-block-fill-wrapper {
  display: none;
}

/* Initial add-to-cart success feedback is redundant after arriving at Checkout. */
.tf-checkout > .wp-block-woocommerce-store-notices .wc-block-components-notice-banner.is-success {
  display: none;
}

@media (min-width: 45rem) {
  .tf-checkout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-checkout-field--wide,
  .tf-checkout-checkbox,
  .tf-checkout-hint {
    grid-column: 1 / -1;
  }

  :where(.woocommerce ul.products, .woocommerce ul.products[class*="columns-"], .wc-block-product-template, .tf-product-grid) {
    gap: var(--wp--preset--spacing--l) var(--wp--preset--spacing--m);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .tf-checkout-section {
    padding-block: var(--wp--preset--spacing--s);
  }

  .tf-checkout-section h2 {
    margin-bottom: var(--wp--preset--spacing--s);
  }

  .tf-checkout-grid {
    gap: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
  }

  .tf-header__row {
    gap: var(--wp--preset--spacing--m);
    min-height: 4.5rem;
  }

  .tf-header__wordmark,
  .tf-header__logo {
    flex: 0 0 auto;
    font-size: var(--wp--preset--font-size--product-price);
    order: 1;
    text-align: left;
  }

  .tf-header__navigation {
    flex: 1;
    order: 2;
  }

  .tf-header__search {
    display: block;
    flex: 0 1 13rem;
  }

  .tf-header__search .wp-block-search__inside-wrapper {
    min-width: 0;
  }
}

@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;
  }
}

/* Cart */

.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;
  }
}

@media (min-width: 60rem) {
  .tf-header {
    position: sticky;
    top: 0;
  }

  :where(.woocommerce ul.products, .woocommerce ul.products[class*="columns-"], .wc-block-product-template, .tf-product-grid) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Home: hero, quick categories and today's products */

.tf-home {
  margin: 0;
  max-width: none;
  padding: 0;
}

.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-hero {
  align-items: center;
  display: grid;
  gap: var(--wp--preset--spacing--s);
  padding-block: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--m);
}

.tf-home-hero__content {
  max-width: 36rem;
}

.tf-home-hero__content h1 {
  font-size: var(--wp--preset--font-size--heading-2);
  margin-bottom: var(--wp--preset--spacing--s);
}

.tf-home-hero__content p {
  color: var(--wp--preset--color--muted);
  margin-bottom: var(--wp--preset--spacing--m);
  max-width: 31rem;
}

.tf-home-hero__media {
  aspect-ratio: 21 / 10;
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--large);
  margin: 0;
  overflow: hidden;
}

.tf-home-hero__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.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-today__heading {
  align-items: baseline;
  display: flex;
  gap: var(--wp--preset--spacing--s);
  justify-content: space-between;
}

.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-budget-list {
  display: grid;
  gap: var(--wp--preset--spacing--s);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-budget-list a {
  align-items: center;
  background: var(--wp--preset--color--surface);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--medium);
  box-sizing: border-box;
  color: var(--wp--preset--color--text);
  display: flex;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 650;
  gap: var(--wp--preset--spacing--xs);
  height: 3.5rem;
  justify-content: space-between;
  padding: var(--wp--preset--spacing--xs);
  text-decoration: none;
  white-space: nowrap;
}

.tf-budget-label__desktop {
  display: none;
}

.tf-home-featured .woocommerce {
  width: 100%;
}

.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;
}

.tf-trust-list {
  display: grid;
  gap: 0;
}

.tf-trust-item {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  padding-block: var(--wp--preset--spacing--m);
}

.tf-trust-list > .tf-trust-item {
  margin-block-start: 0;
}

.tf-trust-item h3 {
  margin-bottom: var(--wp--preset--spacing--xs);
}

.tf-trust-item p:last-child {
  color: var(--wp--preset--color--muted);
  margin: 0;
}

.tf-home-delivery {
  display: grid;
  gap: var(--wp--preset--spacing--m);
}

.tf-home-delivery__content p,
.tf-home-contact > p {
  color: var(--wp--preset--color--muted);
  margin-bottom: 0;
}

.tf-delivery-summary {
  display: grid;
  gap: var(--wp--preset--spacing--s);
}

.tf-delivery-summary__item {
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--medium);
  padding: var(--wp--preset--spacing--m);
}

.tf-delivery-summary__item h3 {
  font-size: var(--wp--preset--font-size--body);
  margin-bottom: var(--wp--preset--spacing--xs);
}

.tf-delivery-summary__item p {
  margin: 0;
}

.tf-delivery-summary__item p:last-child {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin-top: 0.25rem;
}

.tf-delivery-rates {
  border-block: 0.0625rem solid var(--wp--preset--color--border);
  padding-block: var(--wp--preset--spacing--s);
}

.tf-delivery-rates summary {
  cursor: pointer;
  font-weight: 650;
}

.tf-delivery-rates__content {
  padding-top: var(--wp--preset--spacing--s);
}

.tf-delivery-rates__content > p:first-child {
  color: var(--wp--preset--color--muted);
  max-width: 48rem;
}

.tf-delivery-rates__search {
  display: grid;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 650;
  gap: 0.375rem;
  margin-block: var(--wp--preset--spacing--s);
  max-width: 28rem;
}

.tf-delivery-rates__search input {
  background: var(--wp--preset--color--background);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  color: var(--wp--preset--color--text);
  font: inherit;
  min-height: var(--wp--custom--control--height);
  padding-inline: var(--wp--preset--spacing--s);
  width: 100%;
}

.tf-delivery-rates__table-wrap {
  max-height: 26rem;
  overflow: auto;
  overscroll-behavior: contain;
}

.tf-delivery-rates table {
  border-collapse: collapse;
  min-width: 28rem;
  width: 100%;
}

.tf-delivery-rates th,
.tf-delivery-rates td {
  border-bottom: 0.0625rem solid var(--wp--preset--color--border);
  padding: 0.65rem var(--wp--preset--spacing--xs);
  text-align: left;
}

.tf-delivery-rates td,
.tf-delivery-rates thead th:last-child {
  text-align: right;
  white-space: nowrap;
}

.tf-delivery-rates tbody th {
  font-weight: 500;
}

.tf-delivery-rates tr[hidden] {
  display: none;
}

.tf-delivery-rates__empty {
  color: var(--wp--preset--color--muted);
}

.tf-home-delivery__more {
  margin: 0;
}

.tf-home-delivery__more a {
  font-weight: 650;
}

.tf-home-contact {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  padding-top: var(--wp--preset--spacing--m);
}

.tf-contact-list {
  display: grid;
  gap: var(--wp--preset--spacing--s) var(--wp--preset--spacing--m);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--wp--preset--spacing--s);
}

.tf-contact-list p {
  margin: 0;
}

.tf-contact-list strong {
  display: block;
  font-size: var(--wp--preset--font-size--small);
  margin-bottom: 0.125rem;
}

.tf-contact-placeholder {
  color: var(--wp--preset--color--muted);
}

.tf-footer {
  background: var(--wp--preset--color--surface);
  margin-inline: calc(var(--wp--custom--container--gutter) * -1);
  padding: var(--wp--preset--spacing--l) var(--wp--custom--container--gutter);
}

.tf-footer__inner {
  margin-inline: auto;
  max-width: var(--wp--style--global--wide-size);
}

.tf-footer__grid {
  display: grid;
  gap: var(--wp--preset--spacing--l) var(--wp--preset--spacing--m);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tf-footer__brand {
  grid-column: 1 / -1;
}

.tf-footer__logo img {
  display: block;
  height: auto;
  margin-bottom: var(--wp--preset--spacing--xs);
  max-width: 8.25rem;
  width: 100%;
}

.tf-footer__brand .wp-block-site-title {
  margin-bottom: var(--wp--preset--spacing--xs);
}

.tf-footer__brand p,
.tf-footer__column p {
  color: var(--wp--preset--color--muted);
  margin: 0;
}

.tf-footer__column h2 {
  font-size: var(--wp--preset--font-size--body);
  margin-bottom: var(--wp--preset--spacing--s);
}

.tf-footer__links {
  display: grid;
  gap: var(--wp--preset--spacing--xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-footer__links a {
  display: inline-block;
  padding-block: 0.125rem;
}

.tf-footer__contacts {
  grid-column: 1 / -1;
}

.tf-footer__contacts p {
  margin-bottom: var(--wp--preset--spacing--xs);
}

.tf-footer__contacts p:last-child {
  margin-bottom: 0;
}

.tf-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: var(--wp--preset--spacing--s);
}

.tf-footer-social a {
  align-items: center;
  background: var(--wp--preset--color--background);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: 50%;
  color: var(--wp--preset--color--text);
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
  width: 2.75rem;
}

.tf-footer-social a:hover {
  border-color: currentColor;
  color: var(--wp--preset--color--accent);
  transform: translateY(-0.125rem);
}

.tf-footer-social svg {
  fill: currentColor;
  height: 1.5rem;
  width: 1.5rem;
}

.tf-footer__meta {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin-top: var(--wp--preset--spacing--l);
  padding-top: var(--wp--preset--spacing--m);
}

/* Product archives */

.tf-catalog {
  padding-block: var(--wp--preset--spacing--m) var(--wp--preset--spacing--l);
}

.tf-catalog-header h1 {
  font-size: var(--wp--preset--font-size--heading-2);
  margin: 0 0 var(--wp--preset--spacing--s);
}

.tf-catalog-description {
  color: var(--wp--preset--color--muted);
  max-width: 48rem;
}

.tf-catalog-description > :last-child {
  margin-bottom: 0;
}

.tf-catalog-categories {
  margin-top: var(--wp--preset--spacing--m);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tf-catalog-categories::-webkit-scrollbar {
  display: none;
}

.tf-catalog-categories ul {
  display: flex;
  gap: var(--wp--preset--spacing--xs);
  list-style: none;
  margin: 0;
  padding: 0 var(--wp--custom--container--gutter) var(--wp--preset--spacing--xs) 0;
  width: max-content;
}

.tf-catalog-categories__link {
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: 999px;
  display: block;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  padding: 0.625rem 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}

.tf-catalog-categories__link.is-active {
  background: var(--wp--preset--color--text);
  border-color: var(--wp--preset--color--text);
  color: var(--wp--preset--color--background);
}

.tf-catalog .woocommerce {
  margin-block-start: var(--wp--preset--spacing--s);
}

.tf-catalog .woocommerce-result-count,
.tf-catalog .woocommerce-ordering {
  float: none;
  margin: 0;
}

.tf-catalog-toolbar {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--xs);
}

.tf-catalog .woocommerce-result-count {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
}

.tf-catalog .woocommerce-ordering {
  width: 100%;
}

.tf-catalog .woocommerce-ordering select {
  appearance: none;
  background: var(--wp--preset--color--background);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%231f1f1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right var(--wp--preset--spacing--s) center;
  background-repeat: no-repeat;
  background-size: 1rem;
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  color: var(--wp--preset--color--text);
  font: inherit;
  height: var(--wp--custom--control--height);
  min-height: var(--wp--custom--control--height);
  padding: 0.625rem 2.75rem 0.625rem var(--wp--preset--spacing--s);
  width: 100%;
}

.tf-catalog .woocommerce-ordering select:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.tf-catalog .woocommerce ul.products {
  padding-top: var(--wp--preset--spacing--m);
}

.tf-catalog .woocommerce nav.woocommerce-pagination {
  margin-top: var(--wp--preset--spacing--xl);
  text-align: center;
}

.tf-catalog .woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: inline-flex;
  gap: var(--wp--preset--spacing--xs);
  margin: 0;
}

.tf-catalog .woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.tf-catalog .woocommerce nav.woocommerce-pagination ul li :where(a, span) {
  align-items: center;
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  display: inline-flex;
  justify-content: center;
  min-height: var(--wp--custom--control--height);
  min-width: var(--wp--custom--control--height);
  padding: var(--wp--preset--spacing--xs);
}

.tf-catalog .woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--wp--preset--color--text);
  border-color: var(--wp--preset--color--text);
  color: var(--wp--preset--color--background);
}

.tf-catalog-empty {
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--medium);
  margin-top: var(--wp--preset--spacing--m);
  padding: var(--wp--preset--spacing--l);
  text-align: center;
}

.tf-catalog-empty h2 {
  font-size: var(--wp--preset--font-size--heading-3);
  margin-bottom: var(--wp--preset--spacing--xs);
}

.tf-catalog-empty p {
  color: var(--wp--preset--color--muted);
  margin-bottom: var(--wp--preset--spacing--m);
}

@media (max-width: 47.999rem) {
  .tf-footer__contacts {
    display: grid;
    gap: var(--wp--preset--spacing--s);
    grid-template-columns: minmax(0, 1fr);
  }

  .tf-footer__contacts > * {
    margin-block-start: 0;
  }

  .tf-footer__contacts h2 {
    grid-column: 1 / -1;
  }
}

/* Single product */

.tf-single-product {
  padding-block: var(--wp--preset--spacing--m) var(--wp--preset--spacing--l);
}

.tf-single-product .woocommerce-breadcrumb {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin-bottom: var(--wp--preset--spacing--s);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-single-product .woocommerce-breadcrumb a {
  color: inherit;
}

.tf-product-back-link {
  display: none;
}

body.woocommerce .tf-single-product div.product div.woocommerce-product-gallery {
  float: none;
  margin-bottom: var(--wp--preset--spacing--m);
  width: 100%;
}

.tf-single-product .woocommerce-product-gallery__wrapper,
.tf-single-product .woocommerce-product-gallery__image a {
  display: block;
}

.tf-single-product .woocommerce-product-gallery__image img {
  aspect-ratio: 4 / 5;
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--medium);
  object-fit: cover;
  width: 100%;
}

.tf-single-product .flex-control-thumbs {
  display: flex;
  gap: var(--wp--preset--spacing--xs);
  list-style: none;
  margin: var(--wp--preset--spacing--s) 0 0;
  overflow-x: auto;
  padding: 0 0 var(--wp--preset--spacing--xs);
  scrollbar-width: none;
}

.tf-single-product .flex-control-thumbs::-webkit-scrollbar {
  display: none;
}

.tf-single-product .flex-control-thumbs li {
  flex: 0 0 4.5rem;
}

.tf-single-product .flex-control-thumbs img {
  aspect-ratio: 1;
  border: 0.125rem solid transparent;
  border-radius: var(--wp--custom--radius--small);
  cursor: pointer;
  object-fit: cover;
}

.tf-single-product .flex-control-thumbs img.flex-active {
  border-color: var(--wp--preset--color--primary);
}

body.woocommerce .tf-single-product div.product div.summary {
  float: none;
  margin: 0;
  width: 100%;
}

.tf-single-product div.product .product_title {
  font-size: var(--wp--preset--font-size--heading-3);
  margin: 0 0 var(--wp--preset--spacing--s);
}

.tf-single-product div.product .summary .price {
  align-items: baseline;
  color: var(--wp--preset--color--text);
  display: flex;
  flex-wrap: wrap;
  font-size: var(--wp--preset--font-size--heading-3);
  font-weight: 700;
  gap: var(--wp--preset--spacing--xs);
  margin-bottom: var(--wp--preset--spacing--m);
}

.tf-single-product div.product .summary .price del {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--body);
  font-weight: 450;
  opacity: 1;
}

.tf-single-product div.product .summary .price ins {
  color: var(--wp--preset--color--sale);
  text-decoration: none;
}

.tf-single-product .woocommerce-product-details__short-description {
  color: var(--wp--preset--color--muted);
  margin-bottom: var(--wp--preset--spacing--m);
}

.tf-single-product .woocommerce-product-details__short-description > :last-child {
  margin-bottom: 0;
}

.tf-product-composition {
  border-block: 0.0625rem solid var(--wp--preset--color--border);
  padding-block: var(--wp--preset--spacing--s);
}

.tf-product-composition h2,
.tf-product-description h2,
.tf-single-product .related > h2 {
  font-size: var(--wp--preset--font-size--heading-3);
  margin-bottom: var(--wp--preset--spacing--s);
}

.tf-product-composition ul,
.tf-product-service ul {
  display: grid;
  gap: var(--wp--preset--spacing--xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-product-composition li {
  color: var(--wp--preset--color--muted);
}

.tf-single-product form.cart {
  align-items: stretch;
  display: flex;
  gap: var(--wp--preset--spacing--s);
  margin-block: var(--wp--preset--spacing--m);
}

.tf-single-product form.cart .quantity {
  float: none;
  margin: 0;
}

.tf-single-product form.cart .qty {
  background: var(--wp--preset--color--background);
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--small);
  color: var(--wp--preset--color--text);
  font: inherit;
  height: 100%;
  min-height: var(--wp--custom--control--height);
  padding-inline: var(--wp--preset--spacing--xs);
  width: 4.5rem;
}

.tf-single-product form.cart .single_add_to_cart_button {
  flex: 1;
}

.tf-single-product .stock {
  font-weight: 650;
  margin-block: var(--wp--preset--spacing--m);
}

.tf-single-product .stock.in-stock {
  color: var(--wp--preset--color--primary);
}

.tf-single-product .stock.out-of-stock {
  color: var(--wp--preset--color--sale);
}

.tf-product-service {
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--medium);
  margin-top: var(--wp--preset--spacing--m);
  padding: var(--wp--preset--spacing--m);
}

.tf-product-service li {
  padding-left: var(--wp--preset--spacing--m);
  position: relative;
}

.tf-product-service li::before {
  color: var(--wp--preset--color--primary);
  content: "✓";
  font-weight: 700;
  left: 0;
  position: absolute;
}

.tf-product-service a {
  display: inline-block;
  font-weight: 650;
  margin-top: var(--wp--preset--spacing--s);
}

.tf-single-product .product_meta {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin-top: var(--wp--preset--spacing--m);
}

.tf-product-description,
.tf-single-product .related {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  clear: both;
  margin-top: var(--wp--preset--spacing--xl);
  padding-top: var(--wp--preset--spacing--l);
}

.tf-product-description__content {
  max-width: 48rem;
}

.tf-product-description__content > :last-child {
  margin-bottom: 0;
}

.tf-single-product .related ul.products {
  padding-top: var(--wp--preset--spacing--s);
}

@media (max-width: 47.999rem) {
  .tf-single-product .woocommerce-breadcrumb {
    display: none;
  }

  .tf-product-back-link {
    display: block;
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: var(--wp--preset--spacing--s);
  }

  .tf-product-back-link a {
    color: var(--wp--preset--color--muted);
  }

  .tf-single-product .woocommerce-product-gallery__image img {
    aspect-ratio: 1;
  }

  .tf-single-product div.product.instock .summary {
    display: flex;
    flex-direction: column;
  }

  .tf-single-product div.product.instock .product_title {
    order: 1;
  }

  .tf-single-product div.product.instock .summary .price {
    order: 2;
  }

  .tf-single-product div.product.instock .woocommerce-product-details__short-description {
    order: 3;
  }

  .tf-single-product div.product.instock form.cart {
    order: 4;
  }

  .tf-single-product div.product.instock .tf-quick-order-single {
    order: 5;
  }

  .tf-single-product div.product.instock .tf-product-composition {
    order: 6;
  }

  .tf-single-product div.product.instock .tf-product-service {
    order: 7;
  }

  .tf-single-product div.product.instock .product_meta {
    order: 8;
  }
}

@media (min-width: 60rem) {
  .tf-single-product {
    padding-block: var(--wp--preset--spacing--l) var(--wp--preset--spacing--xl);
  }

  .tf-single-product div.product {
    display: grid;
    gap: 0 var(--wp--preset--spacing--xl);
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  }

  .tf-single-product div.product .woocommerce-product-gallery {
    grid-column: 1;
    margin-bottom: 0;
  }

  .tf-single-product div.product .summary {
    align-self: start;
    grid-column: 2;
  }

  .tf-product-description,
  .tf-single-product .related {
    grid-column: 1 / -1;
  }

  .tf-single-product div.product .product_title {
    font-size: var(--wp--preset--font-size--heading-2);
  }
}

.tf-home-today__heading a {
  flex: 0 0 auto;
  font-weight: 650;
  white-space: nowrap;
}

.tf-home-today .woocommerce {
  width: 100%;
}

.tf-home-today h2 {
  font-size: var(--wp--preset--font-size--heading-3);
}

@media (min-width: 45rem) {
  .tf-home-hero {
    gap: var(--wp--preset--spacing--m);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding-block: var(--wp--preset--spacing--xl);
  }

  .tf-home-hero__media {
    aspect-ratio: 4 / 3;
  }

  .tf-home-hero__content h1 {
    font-size: var(--wp--preset--font-size--heading-1);
  }

  .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-home-today h2 {
    font-size: var(--wp--preset--font-size--heading-2);
  }

  .tf-budget-list {
    gap: var(--wp--preset--spacing--m);
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tf-budget-label__desktop {
    display: inline;
  }

  .tf-budget-label__mobile {
    display: none;
  }

  .tf-trust-list {
    gap: var(--wp--preset--spacing--m);
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tf-trust-item {
    border-top: 0.0625rem solid var(--wp--preset--color--border);
    padding-block: var(--wp--preset--spacing--s) 0;
  }

  .tf-home-delivery {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .tf-delivery-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tf-footer {
    padding-block: var(--wp--preset--spacing--xl);
  }

  .tf-footer__grid {
    grid-template-columns: 1.1fr 1fr 1fr 1.25fr;
  }

  .tf-footer__brand,
  .tf-footer__contacts {
    grid-column: auto;
  }

  .tf-catalog {
    padding-block: var(--wp--preset--spacing--l) var(--wp--preset--spacing--xl);
  }

  .tf-catalog-categories ul {
    flex-wrap: wrap;
    width: auto;
  }

  .tf-catalog-toolbar {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .tf-catalog .woocommerce-result-count {
    line-height: var(--wp--custom--control--height);
  }

  .tf-catalog .woocommerce-ordering {
    width: auto;
  }

  .tf-catalog .woocommerce-ordering select {
    width: auto;
  }
}

/* Order received */

.tf-order-received {
  margin-inline: auto;
  max-width: var(--wp--style--global--wide-size);
  padding: var(--wp--preset--spacing--l) var(--wp--preset--spacing--m) var(--wp--preset--spacing--xl);
}

.tf-order-received .wc-block-order-confirmation-status {
  margin-bottom: var(--wp--preset--spacing--l);
  max-width: 52rem;
}

.tf-order-received .wc-block-order-confirmation-status h1 {
  font-size: var(--wp--preset--font-size--heading-2);
  margin: 0 0 var(--wp--preset--spacing--s);
}

.tf-order-received .wc-block-order-confirmation-status > p {
  color: var(--wp--preset--color--muted);
  margin: 0;
}

.tf-order-received .wp-block-woocommerce-order-confirmation-totals-wrapper,
.tf-order-received .wp-block-woocommerce-order-confirmation-totals {
  margin: 0;
  max-width: none;
}

.tf-order-received__journey {
  display: grid;
  gap: var(--wp--preset--spacing--m);
}

.tf-order-received__journey section,
.tf-order-received__order-heading {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  padding-top: var(--wp--preset--spacing--m);
}

.tf-order-received__journey h2,
.tf-order-received__order-heading h2 {
  font-size: var(--wp--preset--font-size--heading-3);
  margin: 0 0 var(--wp--preset--spacing--m);
}

.tf-order-received__delivery dl,
.tf-order-received__order-heading dl {
  display: grid;
  gap: var(--wp--preset--spacing--m);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.tf-order-received__delivery dl > div,
.tf-order-received__order-heading dl > div {
  min-width: 0;
}

.tf-order-received__delivery dt,
.tf-order-received__order-heading dt {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin-bottom: 0.125rem;
}

.tf-order-received__delivery dd,
.tf-order-received__order-heading dd {
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
}

.tf-order-received__next ol {
  counter-reset: tf-order-step;
  display: grid;
  gap: var(--wp--preset--spacing--s);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-order-received__next li {
  align-items: baseline;
  counter-increment: tf-order-step;
  display: grid;
  gap: var(--wp--preset--spacing--s);
  grid-template-columns: 1.75rem minmax(0, 1fr);
}

.tf-order-received__next li::before {
  color: var(--wp--preset--color--primary);
  content: counter(tf-order-step, decimal-leading-zero);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
}

.tf-order-received__pickup > p {
  margin: 0 0 var(--wp--preset--spacing--s);
}

.tf-order-received__pickup > p:last-child {
  color: var(--wp--preset--color--muted);
  margin-bottom: 0;
}

.tf-order-received__retention {
  background: var(--wp--preset--color--surface);
  border: 0;
  border-radius: var(--wp--custom--radius--medium);
  display: grid;
  gap: var(--wp--preset--spacing--m);
  padding: var(--wp--preset--spacing--m);
}

.tf-order-received__telegram > :first-child,
.tf-order-received__max > :first-child {
  margin-top: 0;
}

.tf-order-received__telegram > p,
.tf-order-received__max > p {
  margin-bottom: var(--wp--preset--spacing--s);
}

.tf-order-received__note {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
}

.tf-order-received__primary-action,
.tf-order-received__secondary-action {
  align-items: center;
  border-radius: var(--wp--custom--radius--small);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 650;
  justify-content: center;
  min-height: var(--wp--custom--control--height);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.tf-order-received__primary-action {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--background);
}

.tf-order-received__primary-action:hover {
  background: var(--wp--preset--color--primary-hover);
  color: var(--wp--preset--color--background);
}

.tf-order-received__secondary-action {
  border: 0.0625rem solid var(--wp--preset--color--border);
  color: var(--wp--preset--color--text);
}

.tf-order-received__primary-action.is-disabled,
.tf-order-received__secondary-action.is-disabled {
  opacity: 0.55;
}

.tf-order-received__max {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  padding-top: var(--wp--preset--spacing--m);
}

.tf-order-received__retention:not(.has-loyalty) .tf-order-received__max {
  border-top: 0;
  padding-top: 0;
}

.tf-order-received__max h3 {
  font-size: var(--wp--preset--font-size--body);
  margin-bottom: var(--wp--preset--spacing--xs);
}

.tf-order-received__order-heading {
  margin-top: var(--wp--preset--spacing--l);
}

.tf-order-received .wc-block-order-confirmation-totals__table {
  border: 0.0625rem solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--medium);
  border-spacing: 0;
  margin: var(--wp--preset--spacing--m) 0 0;
  overflow: hidden;
  width: 100%;
}

.tf-order-received .wc-block-order-confirmation-totals__table th,
.tf-order-received .wc-block-order-confirmation-totals__table td {
  border-color: var(--wp--preset--color--border);
  padding: var(--wp--preset--spacing--s);
}

.tf-order-received__aftercare {
  border-top: 0.0625rem solid var(--wp--preset--color--border);
  margin-top: var(--wp--preset--spacing--m);
  padding-top: var(--wp--preset--spacing--m);
}

.tf-order-received__aftercare p {
  color: var(--wp--preset--color--muted);
  margin: 0 0 var(--wp--preset--spacing--xs);
}

.tf-order-received__aftercare a,
.tf-order-received__secondary-action {
  text-decoration: underline;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.2em;
}

.tf-order-received :where(a, .tf-order-received__primary-action):focus-visible {
  outline: 0.125rem solid var(--wp--preset--color--primary);
  outline-offset: 0.1875rem;
}

@media (min-width: 60rem) {
  .tf-order-received {
    padding-block: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--2-xl);
  }

  .tf-order-received .wp-block-woocommerce-order-confirmation-totals {
    align-items: start;
    display: grid;
    gap: var(--wp--preset--spacing--l);
    grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 0.75fr);
  }

  .tf-order-received__journey {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .tf-order-received__order-heading {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  .tf-order-received .wc-block-order-confirmation-totals__table {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  .tf-order-received__aftercare {
    grid-column: 2;
    grid-row: 3;
  }

  .tf-order-received__retention {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .tf-order-received__retention:not(.has-loyalty) {
    grid-template-columns: minmax(0, 1fr);
  }

  .tf-order-received__max {
    border-left: 0.0625rem solid var(--wp--preset--color--border);
    border-top: 0;
    padding-left: var(--wp--preset--spacing--m);
    padding-top: 0;
  }

  .tf-order-received__retention:not(.has-loyalty) .tf-order-received__max {
    border-left: 0;
    padding-left: 0;
  }
}
