/* True Botanicals Replica - Authentic Theme Overrides */
:root {
  --font-body-family: "Suisse Intl", "Assistant", sans-serif;
  --font-heading-family: "ABC Marist Book", Georgia, serif;
  --color-background: 249, 244, 238;
  --color-foreground: 44, 18, 3;
  --color-button: 44, 18, 3;
  --color-button-text: 249, 244, 238;
  --tb-cream: #f9f4ee;
  --tb-espresso: #2c1203;
  --tb-sand: #e5dfdc;
  --tb-oat: #d8d2c2;
}

html, body {
  background-color: var(--tb-cream);
  color: var(--tb-espresso);
  font-family: var(--font-body-family);
}

/* Header & Navigation Fidelity */
sticky-header.header-wrapper {
  display: block;
  position: relative;
  z-index: 45;
  background-color: var(--tb-cream);
  border-bottom: 1px solid rgba(44, 18, 3, 0.08);
}

.header__menu-item,
.header__inline-menu a,
.promo-banner__link {
  white-space: nowrap;
}

.header__icon--cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#cart-icon-bubble .tb-cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--tb-espresso);
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.tb-cart-badge.is-empty {
  display: none !important;
}

/* Mega Menu visibility & layering */
header-menu details[open] .mega-menu__content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 80;
  background: var(--tb-cream);
  box-shadow: 0 10px 28px rgba(44, 18, 3, 0.12);
}

/* Mobile Menu Drawer clean stacking */
details#Details-menu-drawer-container[open] .menu-drawer {
  visibility: visible;
  transform: translateX(0);
  z-index: 95;
  background: var(--tb-cream);
}

/* Promo Offers Drawer */
.promoOffers {
  display: none;
}
.promoOffers.is-open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 120;
}
.promoOffers.is-open .promoOffers__bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.promoOffers.is-open .promoOffers__inner {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 94vw);
  background: #fff;
  padding: 2.4rem;
  z-index: 121;
  overflow-y: auto;
}

/* Search Modal clean layout + live results */
.search-modal.modal__content {
  z-index: 90;
}
#tb-live-search-results {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.6rem;
  max-height: 55vh;
  overflow-y: auto;
  padding-bottom: 1.6rem;
}
.tb-live-search-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--tb-espresso);
  background: var(--tb-cream);
  padding: 0.8rem;
  border-radius: 4px;
}
.tb-live-search-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}
.tb-live-search-card__title {
  font-family: var(--font-heading-family);
  font-size: 1.4rem;
  line-height: 1.25;
}
.tb-live-search-card__price {
  font-size: 1.3rem;
  font-weight: 500;
}

/* Homepage Hero Carousel & Horizontal Carousels without external Splide JS crash */
#home-hero-carousel .splide__list {
  display: flex !important;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
#home-hero-carousel .splide__slide {
  flex: 0 0 100%;
  min-width: 100%;
  transition: opacity 0.35s ease;
}
#home-hero-carousel .splide__slide.tb-slide-hidden {
  display: none;
}

#best-sellers-hover .splide__list,
#shopByConcern .splide__list {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  scrollbar-width: none;
  padding: 0 0 8px 0;
}
#best-sellers-hover .splide__list::-webkit-scrollbar,
#shopByConcern .splide__list::-webkit-scrollbar {
  display: none;
}
#best-sellers-hover .splide__slide {
  flex: 0 0 calc(25% - 18px);
  min-width: 240px;
  margin-right: 0 !important;
  width: auto !important;
  scroll-snap-align: start;
}
#shopByConcern .splide__slide {
  flex: 0 0 calc(25% - 18px);
  min-width: 220px;
  scroll-snap-align: start;
}
@media (max-width: 989px) {
  #best-sellers-hover .splide__slide,
  #shopByConcern .splide__slide {
    flex: 0 0 calc(50% - 12px);
    min-width: 165px;
  }
}

/* Press Marquee */
@keyframes tb-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.fast-marquee__track,
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.6rem;
}

/* Collection / Shop All Styling */
.tb-col-breadcrumbs {
  padding-top: 2rem;
  margin-bottom: 1rem;
}
.tb-collection-toolbar-wrap {
  margin-bottom: 2.4rem;
}
.tb-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.tb-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 1.4rem;
  border: 1px solid rgba(44, 18, 3, 0.25);
  border-radius: 4px;
  color: var(--tb-espresso);
  text-decoration: none;
  font-size: 1.3rem;
  line-height: 1;
  white-space: nowrap;
  background: transparent;
  transition: all 0.2s ease;
}
.tb-filter-pill:hover,
.tb-filter-pill.is-active {
  background: var(--tb-espresso);
  color: var(--tb-cream);
  border-color: var(--tb-espresso);
}

.tb-facets-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(44, 18, 3, 0.12);
  border-bottom: 1px solid rgba(44, 18, 3, 0.12);
}
.tb-facets-bar__left,
.tb-facets-bar__right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
}
.tb-instock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--tb-espresso);
  font-size: 1.35rem;
  white-space: nowrap;
}
.tb-instock-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--tb-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border-radius: 2px;
}
.tb-instock-toggle.is-active .tb-instock-box {
  background: var(--tb-espresso);
  color: #fff;
}
.tb-facets-count,
.tb-sort-label {
  font-size: 1.35rem;
  line-height: 1.4;
  white-space: nowrap;
}
#tb-sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  height: 36px;
  padding: 0 12px;
  white-space: nowrap;
  gap: 8px;
}

/* Uniform Product Cards across Home & Collection Grids */
.tb-card .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tb-card .card__inner {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  background: #f4efe8;
}
.tb-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.tb-card .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tb-card .card__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between;
  padding-top: 1.2rem;
}
.tb-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.tb-stars-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--tb-espresso);
}
.tb-card__rev-count {
  font-size: 1.2rem;
  opacity: 0.8;
}
.tb-card__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.tb-card__var-pill {
  padding: 0.35rem 0.7rem;
  font-size: 1.1rem;
  border: 1px solid rgba(44, 18, 3, 0.35);
  background: transparent;
  color: var(--tb-espresso);
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.tb-card__var-pill.is-active {
  background: var(--tb-oat);
  border-color: var(--tb-espresso);
  font-weight: 500;
}
.tb-card__var-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.tb-price-del {
  opacity: 0.65;
  font-weight: 400;
  margin-right: 4px;
}
.tb-collection-grid-wrap {
  padding-bottom: 6rem;
}
#product-grid.grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* PDP Layout & Styling */
.tb-pdp-main .product__container {
  padding-top: 1.6rem;
}
.tb-pdp-main .product__breadcrumbs {
  margin-bottom: 1.8rem;
}
.tb-pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 700px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.tb-pdp-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 2px solid transparent;
  background: #f4efe8;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}
.tb-pdp-thumb.is-active {
  border-color: var(--tb-espresso);
}
.tb-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tb-pdp-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f4efe8;
  overflow: hidden;
}
.tb-pdp-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tb-stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(249, 244, 238, 0.9);
  border: 1px solid var(--tb-sand);
  color: var(--tb-espresso);
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}
.tb-stage-arrow--prev { left: 12px; }
.tb-stage-arrow--next { right: 12px; }

.tb-pdp-reviews-summary {
  margin: 0.8rem 0 0.4rem;
}
.tb-pdp-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--tb-espresso);
  text-decoration: none;
  font-size: 1.35rem;
}
.tb-pdp-rev-count {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tb-pdp-price {
  font-size: 2.2rem;
  margin: 1rem 0 0;
}
.tb-pdp-price #product-price {
  font-weight: 600;
}
.tb-opt-label {
  font-size: 1.2rem;
  letter-spacing: 0.08rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.tb-pdp-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 1.8rem !important;
}
.tb-pdp-variants .variant {
  padding: 0 !important;
  margin: 0 !important;
}
.tb-variant-btn {
  padding: 1rem 1.8rem;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.tb-pdp-variants .variant.is--oos .tb-variant-btn {
  opacity: 0.45;
  text-decoration: line-through;
}
.tb-pdp-atc-btn {
  width: 100%;
  min-height: 50px;
  background-color: var(--tb-espresso) !important;
  color: #fff !important;
  border: 1px solid var(--tb-espresso) !important;
  font-size: 1.35rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tb-pdp-atc-btn:hover {
  background-color: #46200c !important;
}
.tb-pdp-atc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tb-error-msg {
  color: #b42318;
  font-size: 1.3rem;
  margin-top: 0.8rem;
}

.tb-pdp-accordions {
  margin-top: 2rem;
  border-top: 1px solid rgba(44, 18, 3, 0.15);
}
.tb-pdp-accordions .product__accordion {
  border-bottom: 1px solid rgba(44, 18, 3, 0.15);
}
.tb-pdp-accordions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 !important;
  cursor: pointer;
  list-style: none;
}
.tb-pdp-accordions summary::-webkit-details-marker { display: none; }
.accordion-icon-wrap {
  font-size: 1.8rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
details[open] .accordion-icon-wrap {
  transform: rotate(45deg);
}
.tb-pdp-accordions .accordion__content {
  padding-bottom: 1.6rem !important;
  line-height: 1.6;
}

.tb-routine-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.tb-routine-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(44, 18, 3, 0.1);
}
.tb-routine-item:last-child { border-bottom: none; padding-bottom: 0; }
.tb-routine-item__img {
  width: 68px;
  height: 88px;
  flex-shrink: 0;
  background: #f4efe8;
  display: block;
}
.tb-routine-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tb-routine-item__info {
  flex: 1 1 auto;
  min-width: 0;
}
.tb-routine-item__title {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--tb-espresso);
  text-decoration: none;
  margin-bottom: 0.4rem;
}
.tb-routine-item__price {
  font-size: 1.3rem;
}
.tb-routine-item__add,
#whats-included .tb-routine-item__add.button {
  width: auto !important;
  min-width: 116px !important;
  max-width: none !important;
  padding: 0 1.4rem !important;
  min-height: 36px !important;
  font-size: 1.1rem !important;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Below-the-fold PDP sections & fallback */
#tb-pdp-below-sections {
  margin-top: 4rem;
}
#tb-pdp-below-sections img {
  max-width: 100%;
  height: auto;
}
.tb-fallback-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 767px) {
  .tb-fallback-detail { grid-template-columns: 1fr; }
}

.tb-reviews-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
  border-top: 1px solid rgba(44, 18, 3, 0.12);
}
.tb-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 2.8rem;
}
.tb-reviews-head__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
}
.tb-reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.tb-review-card {
  background: #fff;
  border: 1px solid rgba(44, 18, 3, 0.12);
  padding: 2rem;
  border-radius: 4px;
}
.tb-review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tb-review-card__author {
  margin-left: 0.6rem;
  font-size: 1.35rem;
}
.tb-review-card__badge {
  font-size: 1.15rem;
  color: #5b332c;
  margin-left: 0.4rem;
}
.tb-review-card__date {
  font-size: 1.2rem;
  opacity: 0.65;
  white-space: nowrap;
}
.tb-review-card__body p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.55;
}

/* =========================================================
   3-Segment Flex Cart Drawer (#rebuy-cart)
   ========================================================= */
.tb-cart-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.tb-cart-drawer.is-visible {
  display: block !important;
}
.tb-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 4, 0.45);
}
.tb-cart-flyout {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(440px, 100vw) !important;
  height: 100vh !important;
  max-height: 100dvh !important;
  background: var(--tb-cream) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
  z-index: 2001;
}
.tb-cart-flyout__header {
  flex: 0 0 auto;
  background: #fff;
  border-bottom: 1px solid var(--tb-sand);
}
.tb-cart-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
}
.tb-cart-head-bar .rebuy-cart__title {
  margin: 0;
  font-size: 1.6rem;
}
.tb-cart-head-bar .cart-header-button.title {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-heading-family);
  font-size: 1.9rem;
  color: var(--tb-espresso);
}
.tb-cart-flyout .rebuy-cart__flyout-close {
  position: static !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 1px solid rgba(44, 18, 3, 0.2) !important;
  border-radius: 50%;
  color: var(--tb-espresso) !important;
  cursor: pointer;
  flex-shrink: 0;
}
.tb-ship-bar {
  padding: 0.9rem 1.8rem 1.2rem;
  background: var(--tb-cream);
  border-top: 1px solid rgba(44, 18, 3, 0.08);
}
.tb-ship-bar__label {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  text-align: center;
}
.tb-ship-bar__track {
  width: 100%;
  height: 6px;
  background: var(--tb-sand);
  border-radius: 999px;
  overflow: hidden;
}
.tb-ship-bar__fill {
  height: 100%;
  background: var(--tb-espresso);
  transition: width 0.25s ease;
}

.tb-cart-flyout__body {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  padding: 1.6rem 1.8rem;
}
.tb-drawer-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--tb-sand);
}
.tb-drawer-item:first-child { padding-top: 0; }
.tb-drawer-item__img {
  width: 78px;
  height: 98px;
  flex-shrink: 0;
  background: #fff;
}
.tb-drawer-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tb-drawer-item__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tb-drawer-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}
.tb-drawer-item__title {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--tb-espresso);
  text-decoration: none;
  line-height: 1.3;
}
.tb-drawer-item__remove {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--tb-espresso);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.tb-drawer-item__var {
  font-size: 1.2rem;
  opacity: 0.72;
  margin-top: 0.3rem;
}
.tb-drawer-item__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
}

/* Clean Quantity Pill Stepper (No WooCommerce double borders) */
.tb-qty-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(44, 18, 3, 0.35);
  border-radius: 3px;
  background: #fff;
  height: 32px;
}
.tb-qty-pill button {
  width: 28px;
  height: 30px;
  border: none !important;
  background: transparent !important;
  color: var(--tb-espresso);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none !important;
}
.tb-qty-pill span {
  min-width: 28px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  border: none !important;
}

.tb-cart-empty-box {
  text-align: center;
  padding: 3.6rem 1.2rem;
}
.tb-cart-empty-box p {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
}

.tb-cart-upsells-wrap {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--tb-sand);
}
.tb-upsell-heading {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  margin: 0 0 1.2rem;
}
.tb-upsell-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.tb-upsell-card {
  background: #fff;
  border: 1px solid rgba(44, 18, 3, 0.12);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
}
.tb-upsell-card__img {
  display: block;
  aspect-ratio: 3/4;
  background: #f4efe8;
}
.tb-upsell-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tb-upsell-card__title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--tb-espresso);
  text-decoration: none;
}
.tb-upsell-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.tb-upsell-add {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--tb-espresso);
  background: transparent;
  color: var(--tb-espresso);
  font-size: 1.1rem;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.tb-upsell-add:hover {
  background: var(--tb-espresso);
  color: #fff;
}

.tb-cart-flyout__footer {
  flex: 0 0 auto !important;
  background: #fff !important;
  border-top: 1px solid var(--tb-sand) !important;
  padding: 1.4rem 1.8rem 1.8rem !important;
}
.tb-cart-foot-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
.tb-cart-flyout__footer .rebuy-cart__flyout-subtotal {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  font-size: 1.45rem;
}
.tb-cart-foot-line--est {
  font-size: 1.55rem;
  padding-top: 0.6rem;
  margin-bottom: 1.2rem;
  border-top: 1px solid rgba(44, 18, 3, 0.1);
}
.tb-checkout-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  height: auto !important;
  background: var(--tb-espresso) !important;
  color: #fff !important;
  border: 1px solid var(--tb-espresso) !important;
  font-size: 1.35rem !important;
  letter-spacing: 0.14rem !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.tb-checkout-cta:hover {
  background: #46200c !important;
  color: #fff !important;
}
.tb-view-cart-link {
  display: block;
  text-align: center;
  margin-top: 0.9rem;
  font-size: 1.25rem;
  color: var(--tb-espresso);
  text-decoration: underline;
}

/* Cart Page (/cart/) */
.tb-cart-page-inner {
  padding-top: 4rem;
  padding-bottom: 6rem;
}
.tb-cart-page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.tb-cart-page-shipbar {
  background: #fff;
  border: 1px solid var(--tb-sand);
  padding: 1.2rem 1.6rem;
  font-size: 1.35rem;
  margin-bottom: 2.4rem;
}
.tb-cart-table {
  width: 100%;
  border-collapse: collapse;
}
.tb-cart-table th {
  text-align: left;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--tb-sand);
}
.tb-cart-table th.right,
.tb-cart-table td.right {
  text-align: right;
}
.tb-cart-table td {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--tb-sand);
  vertical-align: middle;
}
.tb-cart-table .cart-item__name {
  font-size: 1.65rem !important;
  line-height: 1.3;
  font-family: var(--font-heading-family);
  text-decoration: none;
  color: var(--tb-espresso);
  display: inline-block;
  margin-bottom: 0.4rem;
}
.tb-cart-table .product-option {
  font-size: 1.3rem;
  color: rgba(44, 18, 3, 0.78);
}
.tb-cart-table__img {
  width: 82px;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #fff;
}
.tb-cart-note-box {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: static !important;
  width: 35rem;
  max-width: 100%;
}
.tb-note-label {
  position: static !important;
  height: auto !important;
  line-height: 1.4 !important;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--tb-espresso) !important;
}
.tb-cart-note-box .tb-note-textarea {
  width: 100%;
  min-height: 96px;
  border: 1px solid var(--tb-sand);
  background: #fff;
  padding: 1rem 1.2rem;
  font-family: inherit;
  font-size: 1.35rem;
  color: var(--tb-espresso);
  resize: vertical;
}
.tb-cart-summary-blocks {
  background: #fff;
  border: 1px solid var(--tb-sand);
  padding: 2.2rem;
}
.tb-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.tb-cart-estimated-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 1.2rem;
  border-top: 1px solid var(--tb-sand);
  margin-top: 0.8rem;
}
/* cleaned obsolete cart__note rules replaced by tb-note-textarea above */
@media (max-width: 749px) {
  .tb-cart-table thead { display: none; }
  .tb-cart-table tr {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 1rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--tb-sand);
  }
  .tb-cart-table td {
    border: none;
    padding: 0;
  }
  .tb-cart-table td.cart-item__totals {
    grid-column: 2;
    text-align: left !important;
  }
  .tb-cart-table td.cart-item__quantity {
    grid-column: 2;
  }
}
