.tbg-home {
  overflow: hidden;
  background: var(--tbg-surface);
}

.tbg-home-width {
  width: min(calc(100% - 2rem), var(--wp--style--global--wide-size, 1320px));
  margin-inline: auto;
}

.tbg-home-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.tbg-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--tbg-dark);
}

.tbg-home-hero__inner {
  position: relative;
  min-height: clamp(500px, 42vw, 660px);
  display: flex;
  align-items: center;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.tbg-home-hero__copy {
  position: relative;
  z-index: 2;
  width: min(660px, calc(100% - 3rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: max(1.5rem, calc((100vw - var(--wp--style--global--wide-size, 1320px)) / 2));
  padding: clamp(1.65rem, 3vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(135deg, rgba(10, 42, 31, 0.9), rgba(19, 67, 47, 0.68));
  box-shadow: 0 24px 70px rgba(3, 20, 14, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--tbg-surface);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
}

.tbg-home-hero__copy .tbg-eyebrow {
  color: var(--tbg-harvest);
}

.tbg-home-hero__copy h1 {
  max-width: 13ch;
  margin: 0.35rem 0 0.85rem;
  color: var(--tbg-surface);
  font-size: clamp(2.65rem, 4.5vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.tbg-home-hero__lead {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.58;
}

.tbg-home-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.tbg-home-hero__actions .tbg-button {
  min-width: 190px;
  justify-content: center;
  padding-inline: 1.1rem;
  white-space: nowrap;
}

.tbg-home-hero__actions .tbg-button--secondary {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
  color: var(--tbg-surface);
}

.tbg-home-hero__actions .tbg-button--secondary:hover {
  border-color: var(--tbg-harvest);
  background: var(--tbg-harvest);
  color: var(--tbg-dark);
}

.tbg-home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.tbg-home-hero__trust span {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--tbg-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: var(--tbg-surface);
  font-size: 0.74rem;
  font-weight: 650;
}

.tbg-home-hero__trust .tbg-home-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--tbg-harvest);
}

.tbg-home-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.tbg-home-hero__media::before,
.tbg-home-hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.tbg-home-hero__media::before {
  background: linear-gradient(90deg, rgba(4, 24, 16, 0.62) 0%, rgba(4, 24, 16, 0.15) 58%, rgba(4, 24, 16, 0.05) 100%);
}

.tbg-home-hero__media::after {
  background: linear-gradient(0deg, rgba(4, 24, 16, 0.34), transparent 42%);
}

.tbg-home-hero__media > img,
.tbg-home-hero__media > picture,
.tbg-home-hero__media > picture > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 55%;
  filter: blur(1.25px) saturate(0.94) contrast(1.03);
  transform: scale(1.012);
}

.tbg-home-hero__media > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.tbg-home-hero__stamp {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  width: 104px;
  height: 104px;
  display: grid;
  place-content: center;
  border: 4px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: var(--tbg-forest);
  color: var(--tbg-surface);
  text-align: center;
  transform: rotate(-6deg);
}

.tbg-home-hero__stamp strong,
.tbg-home-hero__stamp span {
  display: block;
}

.tbg-home-hero__stamp strong {
  font-family: var(--wp--preset--font-family--display, "Aptos Display", Aptos, "Segoe UI", sans-serif);
  font-size: 1.25rem;
  line-height: 1;
}

.tbg-home-hero__stamp span {
  margin-top: 0.18rem;
  color: var(--tbg-sage);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tbg-home-categories,
.tbg-home-how {
  padding-block: clamp(2rem, 4vw, 3.6rem);
}

.tbg-home-categories {
  background: #eef6ef;
  box-shadow: 0 0 0 100vmax #eef6ef;
  clip-path: inset(0 -100vmax);
}

.tbg-home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.tbg-home-section-head :where(h2, p) {
  margin-top: 0;
}

.tbg-home-section-head h2 {
  margin-bottom: 0.3rem;
  color: var(--tbg-dark);
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  letter-spacing: -0.025em;
}

.tbg-home-section-head > div > p:last-child {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--tbg-muted);
}

.tbg-home-section-head--centred {
  justify-content: center;
  text-align: center;
}

.tbg-home-text-link {
  min-height: var(--tbg-touch);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--tbg-forest);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tbg-home-text-link:hover {
  color: var(--tbg-dark);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.tbg-home-section-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tbg-home-category-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.55rem) / 4);
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.15rem 0 0.45rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.tbg-home-category {
  position: relative;
  min-width: 0;
  min-height: 116px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--tbg-border);
  border-radius: var(--tbg-radius-lg);
  background: var(--tbg-surface);
  box-shadow: var(--tbg-shadow-sm);
  color: var(--tbg-dark);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  scroll-snap-align: start;
}

.tbg-home-category.has-image {
  min-height: 168px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  isolation: isolate;
  padding: 1rem;
  color: #fff;
  background: #173f2e;
}

.tbg-home-category.has-image::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 20, 0.02) 22%, rgba(8, 30, 20, 0.84) 100%);
  content: "";
}

.tbg-home-category.has-image .tbg-home-category__visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.tbg-home-category.has-image .tbg-home-category__copy small {
  color: rgba(255, 255, 255, 0.82);
}

.tbg-home-category.has-image .tbg-home-category__arrow {
  color: #fff;
}

.tbg-home-category.has-image:hover {
  color: #fff;
}

.tbg-home-category:hover {
  border-color: var(--tbg-leaf);
  box-shadow: var(--tbg-shadow-md);
  color: var(--tbg-forest);
  transform: translateY(-2px);
}

.tbg-home-category__visual {
  width: 76px;
  height: 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--tbg-sage);
  color: var(--tbg-forest);
}

.tbg-home-category__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tbg-home-category__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: inherit;
  color: inherit;
}

.tbg-home-category.has-image .tbg-category-image.is-missing {
  display: none;
}

.tbg-home-category.has-image .tbg-category-image.is-missing + .tbg-home-category__fallback {
  display: grid;
}

.tbg-home-category__visual .tbg-home-icon {
  width: 2.25rem;
  height: 2.25rem;
}

.tbg-home-category--fruit .tbg-home-category__visual {
  background: #f8e6df;
  color: #a84044;
}

.tbg-home-category--vegetables .tbg-home-category__visual {
  background: #e3f0df;
  color: #326d3c;
}

.tbg-home-category--herbs .tbg-home-category__visual {
  background: #e3efe8;
  color: #237a50;
}

.tbg-home-category--box .tbg-home-category__visual,
.tbg-home-category--pantry .tbg-home-category__visual {
  background: #f2ead8;
  color: #765d2d;
}

.tbg-home-category__copy {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.tbg-home-category__copy strong {
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.tbg-home-category__copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--tbg-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tbg-home-category__arrow {
  font-size: 1.1rem;
  font-weight: 700;
}

.tbg-home-collections {
  padding-bottom: 0;
}

.tbg-home-collection {
  padding-block: clamp(2rem, 4vw, 3.4rem);
  border-top: 1px solid var(--tbg-border);
}

.tbg-home-collection--band-1 {
  background: #fff8e8;
  box-shadow: 0 0 0 100vmax #fff8e8;
  clip-path: inset(0 -100vmax);
}

.tbg-home-collection--band-2 {
  background: #f0f6f4;
  box-shadow: 0 0 0 100vmax #f0f6f4;
  clip-path: inset(0 -100vmax);
}

.tbg-home-collection--band-3 {
  background: #f7f3ec;
  box-shadow: 0 0 0 100vmax #f7f3ec;
  clip-path: inset(0 -100vmax);
}

.tbg-home-collection--band-4 {
  background: #eef5e8;
  box-shadow: 0 0 0 100vmax #eef5e8;
  clip-path: inset(0 -100vmax);
}

.tbg-home-preview-bar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding: 0.72rem 1rem;
  background: #173f35;
  color: #fff;
  text-align: center;
}

.tbg-home-preview-bar a {
  color: #fff;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tbg-home-rail-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 0.5rem;
}

.tbg-home-rail-actions button {
  width: var(--tbg-touch);
  min-height: var(--tbg-touch);
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--tbg-border) !important;
  background: var(--tbg-surface);
  color: var(--tbg-dark);
  cursor: pointer;
}

.tbg-home-rail-actions button:hover:not(:disabled) {
  border-color: var(--tbg-forest) !important;
  background: var(--tbg-sage);
  color: var(--tbg-forest);
}

.tbg-home-rail-actions button:disabled {
  cursor: default;
  opacity: 0.36;
}

.tbg-home-product-rail {
  display: grid;
  grid-auto-columns: clamp(218px, 22vw, 280px);
  grid-auto-flow: column;
  gap: 0.85rem;
  padding: 0.15rem 0.15rem 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0.15rem;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--tbg-leaf) transparent;
}

.tbg-home-product-rail:focus-visible {
  border-radius: var(--tbg-radius-md);
}

.tbg-home-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tbg-border);
  border-radius: var(--tbg-radius-md);
  background: var(--tbg-surface);
  box-shadow: var(--tbg-shadow-sm);
  scroll-snap-align: start;
  transform: translateY(0);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.tbg-home-product__media {
  position: relative;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: var(--tbg-sage);
}

.tbg-home-product__view-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.tbg-home-product__view-media:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.tbg-home-product__image {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 240ms ease;
}

.tbg-home-product:focus-within {
  border-color: var(--tbg-forest);
  box-shadow: 0 0 0 3px rgba(23, 79, 55, 0.12), var(--tbg-shadow-md);
}

@media (hover: hover) and (pointer: fine) {
  .tbg-home-product:hover {
    border-color: rgba(23, 79, 55, 0.58);
    box-shadow: 0 16px 34px rgba(11, 51, 36, 0.16);
    transform: translateY(-4px);
  }

  .tbg-home-product:hover .tbg-home-product__image {
    transform: scale(1.025);
  }
}

.tbg-home-product__media .tbg-badge {
  z-index: 2;
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  box-shadow: 0 2px 8px rgba(11, 51, 36, 0.14);
}

.tbg-home-product__meta {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.tbg-home-product__body {
  min-height: 194px;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}

.tbg-home-product__category {
  margin: 0;
  color: var(--tbg-olive);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tbg-home-product__unit {
  flex: 0 0 auto;
  max-width: 48%;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
  background: var(--tbg-sage);
  color: var(--tbg-forest);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tbg-home-product h3 {
  min-height: 2.35em;
  display: -webkit-box;
  margin: 0.3rem 0 0.45rem;
  overflow: hidden;
  color: var(--tbg-dark);
  font-family: var(--wp--preset--font-family--sans, Aptos, "Segoe UI", sans-serif);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tbg-home-product h3 button {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.tbg-home-product h3 button:hover {
  color: var(--tbg-forest);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.tbg-home-product__price {
  min-height: 1.7rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-bottom: 0.55rem;
}

.tbg-home-product__price > span {
  color: var(--tbg-dark);
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.tbg-home-product__price del {
  color: var(--tbg-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.tbg-home-product__price ins {
  text-decoration: none;
}

.tbg-home-product__price small {
  color: var(--tbg-muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.tbg-home-product__special-meta {
  min-height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin: -0.25rem 0 0.5rem;
  color: var(--tbg-muted);
  font-size: 0.65rem;
}

.tbg-home-product__special-meta strong {
  color: #a33d22;
  font-size: 0.68rem;
}

.tbg-specials-storefront .tbg-catalogue-hero {
  background:
    radial-gradient(circle at 90% 20%, rgba(242, 201, 76, 0.3), transparent 20rem),
    linear-gradient(125deg, #fff3d0, var(--tbg-cream));
}

.tbg-specials-grid .tbg-home-product {
  height: 100%;
}

.tbg-home-product__controls {
  margin-top: auto;
}

.tbg-home-product__controls.is-loading {
  opacity: 0.58;
  pointer-events: none;
}

.tbg-home-product__add {
  width: 100%;
  min-height: var(--tbg-touch);
}

.tbg-home-stepper {
  width: 100%;
  min-height: var(--tbg-touch);
  display: grid;
  grid-template-columns: var(--tbg-touch) minmax(0, 1fr) var(--tbg-touch);
  align-items: stretch;
  overflow: hidden;
  border: 2px solid var(--tbg-forest);
  border-radius: 10px;
  background: var(--tbg-surface);
}

.tbg-home-stepper button {
  width: var(--tbg-touch);
  min-height: var(--tbg-touch);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0;
  background: var(--tbg-dark);
  color: var(--tbg-surface);
  font-size: 1.15rem;
  cursor: pointer;
}

.tbg-home-stepper button:hover {
  background: var(--tbg-forest);
}

.tbg-home-stepper output {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding-inline: 0.2rem;
  color: var(--tbg-dark);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.tbg-home-stepper output strong {
  font-size: 1.22rem;
  font-weight: 800;
}

.tbg-home-product__status {
  min-height: 0.95rem;
  margin: 0.28rem 0 -0.2rem;
  color: var(--tbg-muted);
  font-size: 0.65rem;
  line-height: 1.25;
}

.tbg-home-product__status.is-error {
  color: var(--tbg-error);
  font-weight: 650;
}

.tbg-home-rail-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px dashed var(--tbg-border);
  border-radius: var(--tbg-radius-lg);
  background: var(--tbg-cream);
}

.tbg-home-rail-empty p {
  margin: 0;
  color: var(--tbg-muted);
}

.tbg-home-delivery {
  color: var(--tbg-surface);
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 201, 76, 0.2), transparent 22rem),
    var(--tbg-dark);
}

.tbg-home-delivery__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.tbg-home-delivery .tbg-eyebrow {
  color: var(--tbg-harvest);
}

.tbg-home-delivery h2 {
  max-width: 15ch;
  margin: 0.3rem 0 1rem;
  color: var(--tbg-surface);
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.tbg-home-delivery__copy > p:not(.tbg-eyebrow) {
  max-width: 60ch;
  margin-bottom: 1.5rem;
  color: var(--tbg-sage);
  line-height: 1.6;
}

.tbg-button--light {
  border-color: var(--tbg-surface);
  background: var(--tbg-surface);
  color: var(--tbg-dark);
}

.tbg-button--light:hover {
  border-color: var(--tbg-harvest);
  background: var(--tbg-harvest);
  color: var(--tbg-dark);
}

.tbg-home-delivery__rules {
  display: grid;
  gap: 0.7rem;
}

.tbg-home-delivery__rules > div {
  min-height: 88px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--tbg-radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.tbg-home-delivery__rules strong {
  color: var(--tbg-harvest);
  font-family: var(--wp--preset--font-family--display, "Aptos Display", Aptos, "Segoe UI", sans-serif);
  font-size: 2rem;
  text-align: center;
}

.tbg-home-delivery__rules span {
  color: var(--tbg-surface);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.tbg-home-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tbg-home-how {
  background: #f8f3ea;
  box-shadow: 0 0 0 100vmax #f8f3ea;
  clip-path: inset(0 -100vmax);
}

.tbg-home-how__grid article {
  position: relative;
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid var(--tbg-border);
  border-radius: var(--tbg-radius-lg);
  background: var(--tbg-cream);
}

.tbg-home-how__grid article > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tbg-sage);
  color: var(--tbg-forest);
}

.tbg-home-how__grid article > span .tbg-home-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.tbg-home-how__grid article > small {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--tbg-border);
  font-family: var(--wp--preset--font-family--display, "Aptos Display", Aptos, "Segoe UI", sans-serif);
  font-size: 2.5rem;
  font-weight: 650;
  line-height: 1;
}

.tbg-home-how__grid h3 {
  margin: 1rem 0 0.45rem;
  color: var(--tbg-dark);
  font-size: 1.2rem;
}

.tbg-home-how__grid p {
  margin: 0;
  color: var(--tbg-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .tbg-home-hero__inner {
    min-height: 540px;
  }

  .tbg-home-hero__copy {
    width: min(610px, calc(100% - 3rem));
  }

  .tbg-home-category-grid {
    grid-auto-columns: calc((100% - 1.7rem) / 3);
  }

}

@media (max-width: 780px) {
  .tbg-home-width {
    width: min(calc(100% - 1.25rem), var(--wp--style--global--wide-size, 1320px));
  }

  .tbg-home-hero__inner {
    min-height: 570px;
    align-items: flex-end;
    padding: 5.5rem 0 1rem;
  }

  .tbg-home-hero__copy {
    width: calc(100% - 1.25rem);
    margin-inline: auto;
    padding: 1.2rem 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 42, 29, 0.9), rgba(18, 68, 47, 0.72));
    -webkit-backdrop-filter: blur(14px) saturate(110%);
    backdrop-filter: blur(14px) saturate(110%);
  }

  .tbg-home-hero__copy h1 {
    max-width: 14ch;
    margin-block: 0.2rem 0.55rem;
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 0.98;
  }

  .tbg-home-hero__lead {
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .tbg-home-hero__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.7rem;
  }

  .tbg-home-hero__actions .tbg-button {
    min-width: 0;
    padding-inline: 0.65rem;
    text-align: center;
    white-space: normal;
  }

  .tbg-home-hero__trust {
    width: calc(100% + 1rem);
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
    padding: 0.1rem 1rem 0.15rem 0;
    overflow-x: auto;
  }

  .tbg-home-hero__trust span {
    flex: 0 0 auto;
    font-size: 0.68rem;
  }

  .tbg-home-hero__media {
    inset: 0;
  }

  .tbg-home-hero__media::before {
    background: linear-gradient(0deg, rgba(3, 22, 14, 0.54), rgba(3, 22, 14, 0.04) 65%);
  }

  .tbg-home-hero__media::after {
    background: linear-gradient(90deg, rgba(3, 22, 14, 0.18), transparent 70%);
  }

  .tbg-home-hero__media > img {
    object-position: 58% center;
    filter: blur(0.8px) saturate(0.96);
  }

  .tbg-home-hero__stamp {
    right: 0.75rem;
    top: 0.75rem;
    bottom: auto;
    width: 72px;
    height: 72px;
    border-width: 3px;
  }

  .tbg-home-hero__stamp strong {
    font-size: 0.96rem;
  }

  .tbg-home-hero__stamp span {
    font-size: 0.52rem;
  }

  .tbg-home-categories,
  .tbg-home-how {
    padding-block: 2.25rem;
  }

  .tbg-home-section-head {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .tbg-home-section-head h2 {
    font-size: 1.55rem;
  }

  .tbg-home-section-head > div > p:last-child {
    font-size: 0.82rem;
  }

  .tbg-home-category-grid {
    grid-auto-columns: minmax(210px, 72vw);
    gap: 0.55rem;
  }

  .tbg-home-category {
    min-height: 94px;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.55rem;
    border-radius: 11px;
  }

  .tbg-home-category__visual {
    width: 56px;
    height: 68px;
    border-radius: 9px;
  }

  .tbg-home-category__visual .tbg-home-icon {
    width: 1.7rem;
    height: 1.7rem;
  }

  .tbg-home-category__copy strong {
    font-size: 0.82rem;
  }

  .tbg-home-category__copy small {
    font-size: 0.64rem;
  }

  .tbg-home-category__arrow {
    display: none;
  }

  .tbg-home-collection {
    padding-block: 1.75rem;
  }

  .tbg-home-collections {
    padding-bottom: 2.25rem;
  }

  .tbg-home-product-rail {
    width: calc(100% + 0.625rem);
    grid-auto-columns: clamp(178px, 72vw, 260px);
    gap: 0.55rem;
    margin-right: -0.625rem;
    padding-right: 0.625rem;
  }

  .tbg-home-product__body {
    min-height: 184px;
    padding: 0.65rem;
  }

  .tbg-home-product h3 {
    font-size: 0.86rem;
  }

  .tbg-home-product__price > span {
    font-size: 1rem;
  }

  .tbg-home-delivery__inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-block: 2.75rem;
  }

  .tbg-home-delivery h2 {
    font-size: 2rem;
  }

  .tbg-home-delivery__rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .tbg-home-delivery__rules > div {
    min-height: 112px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0.35rem;
    padding: 0.7rem 0.45rem;
    text-align: center;
  }

  .tbg-home-delivery__rules strong {
    font-size: 1.5rem;
  }

  .tbg-home-delivery__rules span {
    font-size: 0.66rem;
  }

  .tbg-home-how__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .tbg-home-how__grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 0.8rem;
    padding: 0.9rem;
  }

  .tbg-home-how__grid article > span {
    width: 48px;
    height: 48px;
    grid-row: 1 / span 2;
  }

  .tbg-home-how__grid h3 {
    margin: 0.15rem 2rem 0.2rem 0;
    font-size: 1rem;
  }

  .tbg-home-how__grid p {
    margin-right: 1.5rem;
    font-size: 0.78rem;
  }

  .tbg-home-how__grid article > small {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbg-home-product,
  .tbg-home-product__image {
    transition: none;
  }

  .tbg-home-product:hover,
  .tbg-home-product:hover .tbg-home-product__image {
    transform: none;
  }
}

@media (max-width: 460px) {
  .tbg-home-section-head {
    flex-wrap: wrap;
  }

  .tbg-home-section-head .tbg-home-text-link {
    min-height: 32px;
  }

  .tbg-home-rail-actions {
    margin-left: auto;
  }

  .tbg-home-stepper output span {
    display: none;
  }

  .tbg-home-rail-empty {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  .tbg-home-category.has-image {
    min-height: 128px;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    padding: 0.7rem;
  }

  .tbg-home-category.has-image .tbg-home-category__visual {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 350px) {
  .tbg-home-hero__actions {
    grid-template-columns: 1fr;
  }

  .tbg-home-category {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.35rem;
  }

  .tbg-home-category__visual {
    width: 42px;
    height: 58px;
  }

  .tbg-home-category__copy strong {
    font-size: 0.75rem;
    overflow-wrap: normal;
    word-break: normal;
  }
}
.tbg-home-product--bundle { cursor: default; }
.tbg-home-product__bundle-open,
.tbg-home-product__bundle-title,
.tbg-home-product__contents-link { border: 0 !important; padding: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.tbg-home-product__bundle-open { width: 100%; height: 100%; display: block; }
.tbg-home-product__bundle-open img { transition: transform .2s ease; }
.tbg-home-product--bundle:hover .tbg-home-product__bundle-open img { transform: scale(1.025); }
.tbg-home-product__bundle-title { width: 100%; }
.tbg-home-product__bundle-title h3 { margin: 0; }
.tbg-home-product__contents-link { color: var(--tbg-forest); font-size: .78rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.tbg-home-product__media .tbg-badge--bundle {
  right: .5rem;
  left: auto;
  width: max-content;
  max-width: calc(100% - 1rem);
  min-height: 1.4rem;
  padding: .18rem .48rem;
  background: var(--tbg-forest);
  color: #fff;
  font-size: .62rem;
  line-height: 1;
}

.tbg-bundle-contents__heading {
  margin: .85rem 0 .5rem;
  color: var(--tbg-dark);
  font-size: 1rem;
}

.tbg-bundle-contents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  max-height: none;
  margin: 0 0 .75rem;
  padding: 0;
  overflow: visible;
  list-style: none;
}

.tbg-bundle-contents li {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  padding: .38rem;
  border: 1px solid var(--tbg-border);
  border-radius: 10px;
  background: #fff;
}

.tbg-bundle-contents__media {
  width: 42px;
  height: 42px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--tbg-sage);
}

.tbg-bundle-contents__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tbg-bundle-contents__image.is-missing {
  object-fit: contain;
  padding: .2rem;
}

.tbg-bundle-contents__copy {
  min-width: 0;
  display: grid;
  gap: .08rem;
}

.tbg-bundle-contents strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--tbg-dark);
  font-size: .72rem;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tbg-bundle-contents small {
  overflow: hidden;
  color: var(--tbg-muted);
  font-size: .66rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 641px) {
  .tbg-bundle-contents {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
