/* ===== home.css (gop nguyen 100% tu css/home.css) ===== */
.tv-hero { background: var(--white); padding: 18px 0 8px; }

.tv-hero__grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 270px;
  gap: 16px;
  min-height: 390px;
}

.tv-dept-list { border: 1px solid var(--line); background: var(--white); }

.tv-dept-list a {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid #f4f4f4;
  color: var(--ink);
}

.tv-dept-list a:hover { background: #fff4e0; }

.tv-dept-list span { color: #c5c5c5; }

.tv-slider {
  position: relative;
  background: #243038;
  color: #fff;
  min-height: 390px;
  overflow: hidden;
}

.tv-slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 40px 42px;
}

.tv-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.tv-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 28, 34, 0.82) 0%, rgba(20, 28, 34, 0.2) 70%);
}

.tv-slide > :not(img) { position: relative; z-index: 1; }

.tv-slide.is-on { display: flex; }

.tv-kicker {
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.tv-slide h1,
.tv-slide h2 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 500;
  max-width: 460px;
  margin-bottom: 10px;
}

.tv-slide p { max-width: 380px; color: #d5dde3; margin-bottom: 18px; }

.tv-dots {
  position: absolute;
  left: 42px;
  bottom: 22px;
  display: flex;
  gap: 0;
}

/* The dots are visually 9px, but the button itself keeps a 32x32 hit
   area so the slider stays easy to use on a touch screen. The negative
   margins keep the visible dots evenly grouped. */
.tv-dots button {
  width: 32px;
  height: 32px;
  margin-inline: -6px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.tv-dots button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.tv-dots button.is-on::after { background: var(--brand); }

.tv-hero-side { display: grid; gap: 16px; }

.tv-promo {
  min-height: 187px;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #3d4c59;
}

.tv-promo--alt { background: #5c4a3a; }

.tv-promo h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }

.tv-promo p { margin-bottom: 12px; color: rgba(255, 255, 255, 0.88); }

.tv-full-banner {
  min-height: 180px;
  background: #243038;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 36px;
}

.tv-full-banner h2 { font-size: 30px; font-weight: 500; margin-bottom: 6px; }

.tv-full-banner p { color: #d5dde3; }

/* ===== category.css (gop nguyen 100% tu css/category.css) ===== */
.tv-shop-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.tv-filters { padding: 16px; }

.tv-filters h2 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }

.tv-filters a,
.tv-filters label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  color: var(--ink);
  cursor: pointer;
}

.tv-filters a.is-active { font-weight: 500; }

.tv-shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted);
}

.tv-shop-toolbar select {
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 8px;
  color: var(--ink);
  min-width: 150px;
}

.tv-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tv-product-grid .tv-product-card {
  flex: none;
  min-width: 0;
  border: 1px solid var(--line);
}

/* ===== product.css (gop nguyen 100% tu css/product.css) ===== */
.tv-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
}

.tv-pdp__media {
  aspect-ratio: 1;
  background: #f7f4ee;
  border: 1px solid var(--line);
  overflow: hidden;
}

.tv-pdp__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tv-pdp h1 { font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }

.tv-pdp .tv-price { font-size: 24px; }

.tv-pdp__sku { color: var(--muted); margin-bottom: 10px; }

.tv-pdp ul { list-style: disc; padding-left: 18px; margin: 12px 0; }

.tv-pdp__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }

.tv-tabs { display: flex; gap: 0; margin-top: 18px; border-bottom: 1px solid var(--line); }

.tv-tabs button {
  border: 0;
  background: transparent;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 500;
}

.tv-tabs button.is-on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }

.tv-tab-panel { background: var(--white); border: 1px solid var(--line); border-top: 0; padding: 16px 18px; }

.tv-related { margin-top: 22px; }

/* ===== cart.css (gop nguyen 100% tu css/cart.css) ===== */
.tv-cart-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; background: transparent; }

.tv-cart-table th,
.tv-cart-table td {
  border: 0;
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

.tv-cart-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 12px;
  background: #f5f2ec;
  border-radius: 0;
}
.tv-cart-table th:first-child { border-radius: 0; }
.tv-cart-table th:last-child { border-radius: 0; }

.tv-cart-table tbody tr.tv-cart-row td {
  background: #faf8f5;
  border-radius: 0;
}
.tv-cart-table tbody tr.tv-cart-row td:first-child { border-radius: 0; }
.tv-cart-table tbody tr.tv-cart-row td:last-child { border-radius: 0; }

.tv-cart-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0 4px;
  background: transparent;
  border: 0;
}

.tv-totals {
  margin-top: 16px;
  margin-left: auto;
  width: min(360px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
}

.tv-totals p { display: flex; justify-content: space-between; margin-bottom: 8px; }

.tv-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.tv-form { display: grid; gap: 10px; }

/* Two fields side by side (first / last name). Without this the two
   inputs would stack as blocks and lose the intended layout. */
.tv-form .two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tv-form input,
.tv-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
}

.tv-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 10px;
  background: var(--white);
  color: var(--ink);
}

.tv-form fieldset { border: 1px solid var(--line); padding: 10px 12px; }
.tv-form legend { padding: 0 4px; color: var(--ink); }

/* ===== content.css (gop nguyen 100% tu css/content.css) ===== */
.tv-page { padding-bottom: 28px; }

.tv-prose { padding: 20px 0px 20px; }

.tv-prose h1 {
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.tv-prose h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 22px 0 8px;
}

.tv-prose p,
.tv-prose li { margin-bottom: 10px; }

.tv-prose ul,
.tv-prose ol { padding-left: 18px; }

.tv-prose a { color: #e06d3b; box-shadow: inset 0 -1px 0 #1d4638; font-weight: 500; }

.tv-lead { color: var(--muted); font-size: 16px; margin-bottom: 16px; }

.tv-note {
  background: #fff4e0;
  border-left: 4px solid var(--brand);
  padding: 12px 14px;
  margin: 14px 0;
}

.tv-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tv-story {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.tv-story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: #f7f4ee;
}

.tv-story div { padding: 14px 16px 16px; }

.tv-story h2 { font-size: 18px; font-weight: 500; color: var(--ink); margin: 6px 0; }

.tv-story time { color: var(--muted); font-size: 12px; }

/* The journal index opens with a wide hero and a row of topic tiles.
   The tiles reuse the category tile look, but as links they need a
   little more breathing room and a pointer on hover. */
.tv-pagehero--dark {
  background: var(--brand-primary);
  grid-template-columns: minmax(0, 1fr);
  padding: 44px 40px;
  border-radius: var(--radius-lg);
}

.tv-pagehero--dark h1 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 600;
  max-width: 22ch;
}

.tv-pagehero__lead {
  color: rgba(247, 244, 239, 0.78);
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.6;
}

.tv-topicgrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.tv-topicgrid .tv-cat-tile {
  border-right: 1px solid var(--border-color);
  border-bottom: 0;
  padding: 26px 22px;
  text-align: left;
  transition: background-color 0.2s var(--ease);
}

.tv-topicgrid .tv-cat-tile:last-child { border-right: 0; }
.tv-topicgrid .tv-cat-tile:hover { background: var(--bg-subtle); }
.tv-topicgrid .tv-cat-tile strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.tv-topicgrid .tv-cat-tile span { font-size: 13px; }

@media (max-width: 767px) {
  .tv-topicgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-topicgrid .tv-cat-tile {
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }
  .tv-topicgrid .tv-cat-tile:last-child { border-bottom: 0; }
  .tv-pagehero--dark { padding: 32px 24px; }
  .tv-pagehero--dark h1 { font-size: 28px; }
}

.tv-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 991px) {
  .tv-story-grid,
  .tv-split { grid-template-columns: 1fr; }
}

/* ===== responsive overrides for the page-level components =====
   These rules must stay in pages.css: the base rules they override
   (.tv-hero__grid, .tv-shop-layout, .tv-pdp, .tv-footer-grid,
   .tv-checkout-grid, .tv-product-grid ...) are declared in this file, and
   theme.css is loaded first, so a breakpoint placed in theme.css would be
   overwritten by the base rule below. */
@media (max-width: 1199px) {
  .tv-hero__grid { grid-template-columns: 230px minmax(0, 1fr); }
  .tv-hero-side { display: none; }
}

@media (max-width: 991px) {
  .tv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .tv-dept-list { display: none; }
  .tv-shop-layout { grid-template-columns: minmax(0, 1fr); }
  .tv-pdp { grid-template-columns: minmax(0, 1fr); }
  .tv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .tv-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-full-banner { flex-direction: column; align-items: flex-start; }
  .tv-slide h1,
  .tv-slide h2 { font-size: 28px; }
}

@media (max-width: 767px) {
  .tv-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-form .two { grid-template-columns: minmax(0, 1fr); }
  .tv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .tv-cart-table { display: block; overflow-x: auto; }

  /* The hero promo cards sit under the slider: keep them inside the
     viewport instead of overflowing to the right. */
  .tv-hero { padding-top: 12px; }
  .tv-slider { min-height: 320px; }
  .tv-slide { padding: 28px 22px; }
  .tv-slide p { max-width: none; }
  .tv-dots { left: 22px; bottom: 16px; }

  /* Shop toolbar: the count, the view switch and the sort select must
     wrap instead of forcing a horizontal scrollbar. */
  .tv-shop-toolbar {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .tv-shop-toolbar select { flex: 1 1 140px; min-width: 0; }
  .tv-viewbar { flex: 0 0 auto; }

  /* Cart table on a phone: stack the cells so nothing is cut off. */
  .tv-cart-table thead { display: none; }
  .tv-cart-table tbody,
  .tv-cart-table tr,
  .tv-cart-table td { display: block; width: 100%; }
  .tv-cart-table tr {
    border: 1px solid var(--line);
    margin-bottom: 10px;
  }
  .tv-cart-table td { border-bottom: 0; padding: 8px 12px; }
  .tv-cart-table td:last-child { padding-bottom: 12px; }

  .tv-cart-actions { flex-direction: column; align-items: stretch; }
  .tv-cart-actions > * { width: 100%; }
  .tv-couponbox { flex-direction: column; align-items: stretch; }
  .tv-couponbox input { min-width: 0; width: 100%; }
  .tv-totals { width: 100%; }

  /* The checkout summary sits below the form on a phone. */
  .tv-checksteps { gap: 6px; }
  .tv-checksteps li { padding: 8px 10px; font-size: 13px; }

  /* Product detail: the action row stacks, the tabs scroll sideways. */
  .tv-pdp { padding: 14px; }
  .tv-pdp__info h1 { font-size: 22px; }
  .tv-pdp__info .tv-price { font-size: 21px; }
  .tv-pdp__actions { gap: 8px; }
  .tv-pdp__actions .tv-qty { width: 100%; justify-content: center; }
  .tv-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tv-tabs::-webkit-scrollbar { display: none; }
  .tv-tabs button { white-space: nowrap; }

  /* The wishlist / compare text links on the product page were only
     17px tall: give them a proper tap height. */
  .tv-pdp .tv-card-links button { padding: 10px 16px 10px 0; }

  /* Frequently bought together: the thumbnail and the copy stack so the
     product name is never cut off. */
  .tv-fbt__item { flex-wrap: wrap; }
  .tv-fbt__item img { width: 56px; height: 56px; }

  .tv-prose { padding: 18px 10px 22px; }
  .tv-prose h1 { font-size: 26px; }
  .tv-hero2 { padding: 28px 20px; }
  .tv-hero2 h1 { font-size: 26px; }
  .tv-full-banner { padding: 24px 20px; }
  .tv-full-banner h2 { font-size: 23px; }

  .tv-bundle__sum { text-align: left; }
  .tv-ratingbar { grid-template-columns: 48px 1fr 34px; }
}

@media (max-width: 420px) {
  .tv-shop-toolbar { flex-direction: column; align-items: stretch; }
  .tv-shop-toolbar select { width: 100%; }
  .tv-viewbar { justify-content: space-between; }
  .tv-viewbar button { flex: 1; }
  .tv-checksteps li { flex: 1; justify-content: center; }
}

/* ===== shop / search listing upgrade =====
   The listing rules live here (and not in theme.css) because the base
   selectors they override are declared in this file: theme.css is loaded
   first, so a breakpoint placed there would be overwritten by the base
   rule below.

   Layout rules
   - grid view : the buy row stacks (stepper above the button) so it fits a
                 2-column phone grid
   - list view : the card becomes a grid of "image | content", so the copy
                 and the buy row never collide
   ========================================================================== */

/* --- page heading --- */
.tv-shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.tv-shop-head h1 {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.tv-shop-head__sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* --- filter panel: shared by the desktop sidebar and the mobile drawer --- */
.tv-filters {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tv-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.tv-filters__head h2 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

/* The close button only exists in the drawer, so it stays hidden on desktop. */
.tv-filters__close {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  place-items: center;
  padding: 0;
  flex: none;
}

.tv-filters__body {
  padding: 4px 16px 8px;
  overflow-y: auto;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}

.tv-filters__section {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.tv-filters__section:last-child { border-bottom: 0; }

.tv-filters__section h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Each row is a full-width tap target on a phone. The legacy
   `.tv-filters label` rule sets `justify-content: space-between`, which
   would push the label text to the far edge, so it is reset here. */
.tv-filters .tv-filters__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 40px;
  padding: 6px 0;
  color: var(--ink);
  cursor: pointer;
}

.tv-filters .tv-filters__row span {
  flex: 1 1 auto;
  min-width: 0;
}

.tv-filters .tv-filters__row input[type="radio"],
.tv-filters .tv-filters__row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--brand);
  margin: 0;
}

.tv-filters .tv-filters__select {
  display: grid;
  gap: 6px;
  justify-content: stretch;
}

.tv-filters .tv-filters__select select {
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 10px;
  color: var(--ink);
  width: 100%;
}

/* --- price range: two fields side by side with a separator --- */
.tv-price-range {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.tv-filters .tv-price-range__field {
  display: grid;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
}

.tv-filters .tv-price-range__field span {
  font-size: 12px;
  color: var(--muted);
}

.tv-filters .tv-price-range__field input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 0 10px;
  background: var(--white);
  color: var(--ink);
}

.tv-price-range__sep {
  color: var(--muted);
  padding-bottom: 12px;
  flex: none;
}

.tv-price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tv-chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  min-height: 34px;
  font-size: 12.5px;
  cursor: pointer;
}

.tv-chip:hover { border-color: var(--brand); background: #fff4e0; }

/* --- footer actions of the filter panel --- */
.tv-filters__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
  background: #fafafa;
  flex: none;
}

.tv-filters__foot .tv-btn {
  flex: 1 1 calc(50% - 4px);
  min-width: 100px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
  white-space: nowrap;
}

/* --- toolbar --- */
.tv-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--muted);
}

.tv-shop-toolbar__left,
.tv-shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tv-shop-count {
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}

/* The trigger is the mobile entry point of the drawer. */
.tv-filter-trigger {
  display: none;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  flex: none;
}

.tv-filter-trigger__badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #1a1a1a;
  font-size: 11.5px;
  font-weight: 600;
}

.tv-shop-sort { display: block; min-width: 0; }

.tv-shop-sort select {
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 8px;
  color: var(--ink);
  min-width: 170px;
  max-width: 100%;
}

.tv-viewbar { display: flex; gap: 8px; }

.tv-viewbar button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  min-height: 40px;
  cursor: pointer;
  color: var(--ink);
}

.tv-viewbar button.is-on {
  border-color: var(--brand);
  background: #fff4e0;
  box-shadow: inset 0 -2px 0 var(--brand);
}

/* --- the card actions never depend on :hover ---
   theme.css hides `.tv-card-overlay` and `.tv-qv` until the figure is
   hovered or a child is focused, and only restores them for devices with
   `hover: none`. A narrow desktop window still reports a pointer, so the
   buttons stayed invisible there. The shop keeps them visible at all
   times and only animates the hover state. */
/* Hover-only overlay actions on shop cards (desktop), always visible on mobile */
.tv-shop-grid .tv-product-card__tools {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.tv-shop-grid .tv-qv {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s, background-color 0.2s;
}

.tv-shop-grid .tv-product-card:hover .tv-product-card__tools,
.tv-shop-grid .tv-product-card:focus-within .tv-product-card__tools {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 767px), (hover: none) {
  .tv-shop-grid .tv-product-card__tools {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

.tv-shop-grid .tv-product-card:hover .tv-qv,
.tv-shop-grid .tv-product-card:focus-within .tv-qv {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* The overlay sits over the image on the right, so it never covers the
   sale badge on the left. */
.tv-shop-grid .tv-card-overlay { z-index: 3; }

/* --- product grid --- */
.tv-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tv-product-grid .tv-product-card {
  flex: none;
  min-width: 0;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* The card body grows so the price and the buy row stay aligned even when
   the title wraps to a different number of lines. */
.tv-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 12px 16px 0;
  min-width: 0;
}

.tv-product-card__title { margin-top: 0; }

.tv-product-card__desc {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  margin: 2px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Grid view: the stepper sits above the button. A 2-column phone grid is
   too narrow for both on one line, and stacking never overflows. */
.tv-product-card__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 0 16px 16px;
  margin-top: auto;
}

.tv-product-card__buy .tv-qty {
  margin: 0;
  flex: none;
  align-self: flex-start;
}

.tv-product-card__buy .tv-btn {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  font-size: 13px;
}

/* --- list view: one product per row, image on the left ---
   `!important` is required: theme.css sets
   `.tv-product-grid { grid-template-columns: repeat(2, ...) !important }`
   inside its 767px block. Without it the list view stayed a 2-column
   grid on a phone and every card was squeezed to ~167px, leaving the
   copy column 60px wide and the "Add to cart" button 37px wide. */
.tv-product-grid.tv-grid-list {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px;
}

/* A grid (not a flex row) keeps the copy and the buy row stacked in the
   second column, so the row can never break apart.
   Three rows: copy, buy row, action row (wish / compare / quick view). */
.tv-grid-list .tv-product-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: stretch;
  gap: 0;
}

.tv-grid-list .tv-product-card__figure {
  grid-column: 1;
  grid-row: 1 / -1;
  position: relative;
  width: auto;
  flex: none;
  min-height: 210px;
  margin: 0;
  border-right: 1px solid var(--line);
  background: #f7f4ee;
}

.tv-grid-list .tv-product-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.tv-grid-list .tv-product-card__body {
  grid-column: 2;
  grid-row: 1;
  padding: 14px 16px 0;
  min-width: 0;
}

.tv-grid-list .tv-product-card__desc {
  -webkit-line-clamp: 3;
  font-size: 13px;
  max-width: 62ch;
}

/* List view has room for the stepper and the button on one line. */
.tv-grid-list .tv-product-card__buy {
  grid-column: 2;
  grid-row: 2;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 16px 14px;
  max-width: 460px;
}

.tv-grid-list .tv-product-card__buy .tv-btn {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

/* In list view the image is narrow and short, so the overlay buttons that
   sit on top of it would be cramped. They move into a dedicated action
   row under the copy instead, where they stay a comfortable tap target
   on a phone and never depend on :hover. */
.tv-grid-list .tv-product-card__actions {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 14px;
  flex-wrap: wrap;
}

.tv-grid-list .tv-product-card__actions .tv-ov {
  position: static;
  opacity: 1;
  transform: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
}

.tv-grid-list .tv-product-card__actions .tv-ov svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
}

.tv-grid-list .tv-product-card__actions .tv-ov:hover {
  border-color: var(--brand);
  background: #fff4e0;
}

.tv-grid-list .tv-product-card__actions .tv-ov.is-on {
  border-color: var(--brand);
  background: #fff4e0;
}

.tv-grid-list .tv-product-card__actions .tv-ov.is-on svg {
  stroke: var(--brand);
  fill: var(--brand);
}

.tv-grid-list .tv-product-card__actions .tv-ov--qv {
  width: auto;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  gap: 6px;
}

.tv-grid-list .tv-product-card__actions .tv-ov--qv svg { display: none; }

/* The overlay on the figure is redundant in list view: the same three
   actions are in the action row. */
.tv-grid-list .tv-product-card__figure .tv-card-overlay,
.tv-grid-list .tv-product-card__figure .tv-product-card__tools { display: none !important; }
.tv-grid-list .tv-product-card__figure .tv-qv { display: none !important; }

/* --- the overlay that dims the page behind the mobile drawer --- */
.tv-filters-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 34, 0.5);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tv-filters-overlay.is-on {
  opacity: 1;
  visibility: visible;
}

/* --- the removable filter chips under the toolbar ---
   They list exactly which filters are running so the customer can drop a
   single one without reopening the drawer. */
.tv-shop-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
}

.tv-shop-chips[hidden] { display: none; }

.tv-shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  cursor: pointer;
}

.tv-shop-chip:hover {
  border-color: var(--brand);
  background: #fff4e0;
}

.tv-shop-chip__x {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0f0f0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  flex: none;
}

.tv-shop-chip:hover .tv-shop-chip__x { background: var(--brand); }

.tv-shop-chip--clear {
  border-style: dashed;
  color: var(--muted);
  padding: 0 12px;
}

/* --- the filter count in the panel footer --- */
.tv-filters__count {
  width: 100%;
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.tv-filters__count b { color: var(--ink); font-weight: 600; }

/* --- empty state --- */
.tv-shop-empty {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 48px 24px;
  text-align: center;
}

.tv-shop-empty__art {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff4e0;
  color: var(--brand-hover);
}

.tv-shop-empty__art svg { width: 40px; height: 40px; }

.tv-shop-empty h2 {
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.tv-shop-empty p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 20px;
}

.tv-shop-empty__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.tv-shop-empty__actions .tv-btn { min-width: 170px; }

/* --- load more --- */
.tv-shop-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tv-shop-more__hint {
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 992px) {
  /* The sidebar follows the scroll on a desktop so the filters stay
     reachable without scrolling back up. */
  .tv-filters { position: sticky; top: 12px; max-height: calc(100vh - 24px); }
}

@media (max-width: 1199px) {
  .tv-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tv-grid-list .tv-product-card { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 991px) {
  /* The sidebar becomes a drawer: it slides in from the left over an
     overlay, and the trigger in the toolbar opens it. */
  .tv-filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 88vw);
    z-index: 58;
    max-height: none;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 24px rgba(51, 62, 72, 0.18);
  }

  .tv-filters.is-open { transform: translateX(0); }

  .tv-filters__close { display: grid; }

  /* While the drawer is open the page behind it must not scroll. */
  body.tv-no-scroll { overflow: hidden; }

  .tv-filter-trigger { display: inline-flex; }

  .tv-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .tv-grid-list .tv-product-card { grid-template-columns: 180px minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .tv-shop-head { padding: 14px 15px; }
  .tv-shop-head h1 { font-size: 22px; }

  .tv-shop-toolbar { gap: 10px; }
  .tv-shop-toolbar__left { flex: 1 1 100%; }
  .tv-shop-toolbar__right {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .tv-shop-sort { flex: 1 1 auto; min-width: 0; }
  .tv-shop-sort select { width: 100%; min-width: 0; }
  .tv-viewbar { flex: 0 0 auto; }
  .tv-viewbar button { padding: 8px 12px; }

  .tv-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  .tv-product-card__body { padding: 10px 11px 0; }
  .tv-product-card__buy { padding: 0 11px 12px; gap: 6px; }
  .tv-product-card__buy .tv-btn { font-size: 12.5px; padding: 0 8px; min-height: 42px; }
  .tv-product-card__desc { font-size: 12px; }

  /* The stepper has to shrink so it still fits a 2-column phone grid. */
  .tv-product-card__buy .tv-qty button { width: 34px; }
  .tv-product-card__buy .tv-qty input { width: 40px; }

  /* On a phone the list view stays a row, but the image shrinks so the
     text still gets a readable column. The card is now a full-width row
     (one product per line), so the copy column has room again. */
  .tv-grid-list .tv-product-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .tv-grid-list .tv-product-card__figure { min-height: 132px; }
  .tv-grid-list .tv-product-card__body { padding: 11px 12px 0; }
  .tv-grid-list .tv-product-card__desc { -webkit-line-clamp: 2; font-size: 12px; }
  .tv-grid-list .tv-product-card__buy {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 12px 12px;
    max-width: none;
  }
  .tv-grid-list .tv-product-card__buy .tv-btn { width: 100%; }

  /* The stepper would not fit next to the button in a narrow column. */
  .tv-grid-list .tv-product-card__buy .tv-qty button { width: 34px; }
  .tv-grid-list .tv-product-card__buy .tv-qty input { width: 40px; }

  .tv-grid-list .tv-product-card__actions { padding: 0 12px 12px; }
  .tv-grid-list .tv-product-card__actions .tv-ov--qv { flex: 1 1 auto; justify-content: center; }

  .tv-shop-empty { padding: 34px 18px; }
  .tv-shop-empty h2 { font-size: 19px; }
  .tv-shop-empty__actions .tv-btn { width: 100%; }
}

@media (max-width: 420px) {
  .tv-filters { width: 92vw; }
  .tv-filters__foot { flex-direction: column-reverse; }
  .tv-filters__foot .tv-btn { width: 100%; }
  .tv-shop-toolbar__right { flex-direction: column; align-items: stretch; }
  .tv-shop-sort select { width: 100%; }
  .tv-viewbar { justify-content: space-between; }
  .tv-viewbar button { flex: 1; }
}


/* ===== Shared Page Utilities (About, Contact, FAQ, Legal, Scrollers) ===== */
.tv-scroller {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

@media (max-width: 1199px) {
  .tv-scroller { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .tv-scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
}

.tv-hero2 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xs);
}
.tv-hero2 h1 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.tv-hero2 p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.tv-hero2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tv-hero2 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.tv-stats4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tv-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.tv-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.tv-stat span {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.tv-values3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tv-value,
.tv-vet,
.tv-faq {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}
.tv-value svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: var(--radius-sm);
  background: var(--brand-primary-soft);
  stroke: var(--brand-primary);
  fill: none;
  stroke-width: 1.8;
  margin-bottom: 4px;
}
.tv-value h3,
.tv-faq h3 {
  font-size: 18px;
  color: var(--text-primary);
}
.tv-value p,
.tv-vet p,
.tv-faq p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tv-steps4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tv-steps4 li {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}
.tv-steps4 li > b {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.tv-steps4 h3 {
  font-size: 17px;
  color: var(--text-primary);
}
.tv-steps4 p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.tv-page-head {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
}
.tv-page-head h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.tv-page-head p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 68ch;
}

.tv-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: start;
}

.tv-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}
.tv-box h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.tv-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tv-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.tv-form input,
.tv-form select,
.tv-form textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tv-form input:focus,
.tv-form select:focus,
.tv-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-soft);
}

@media (max-width: 991px) {
  .tv-hero2,
  .tv-grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .tv-stats4,
  .tv-steps4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv-values3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tv-hero2 { padding: 22px 18px; }
  .tv-hero2 h1 { font-size: 25px; }
  .tv-page-head { padding: 20px 18px; }
  .tv-page-head h1 { font-size: 24px; }
  .tv-box { padding: 18px 16px; }
  .tv-form-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tv-values3 { grid-template-columns: minmax(0, 1fr); }
}


/* ===== Redesigned About & Contact Pages ===== */
/* Legacy About page blocks removed: the page now ships its own
   assets/css/about.css (flat planes, photography, no radius/borders/shadows). */

.tv-value__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-grid;
  place-items: center;
  margin-bottom: 4px;
}

.tv-value__icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: var(--brand-primary);
  fill: none;
  stroke-width: 1.8;
}

/* Contact Page Styles */
.tv-contact-hero {
  background: linear-gradient(135deg, #1b3b32 0%, #152923 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: center;
}

.tv-contact-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  color: #a7f3d0;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tv-contact-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
}

.tv-contact-hero h1 {
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
  margin: 0 0 8px;
}

.tv-contact-hero p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

.tv-contact-hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tv-contact-hero__badges > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  display: grid;
  gap: 4px;
}

.tv-contact-hero__badges b {
  font-family: var(--font-display);
  font-size: 20px;
  color: #f3a738;
}

.tv-contact-hero__badges span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
}

.tv-contact-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.tv-contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-xs);
}

.tv-contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-grid;
  place-items: center;
  margin-bottom: 4px;
}

.tv-contact-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-primary);
  fill: none;
  stroke-width: 1.8;
}

.tv-contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.tv-contact-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 4px;
}

.tv-contact-card__link {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-primary);
  text-decoration: none;
}

.tv-contact-card__link:hover {
  text-decoration: underline;
}

.tv-contact-card small {
  font-size: 12px;
  color: var(--text-muted);
}

.tv-contact-card__hub {
  font-size: 12.5px;
  color: var(--text-primary);
  background: var(--bg-subtle);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
}

.tv-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.tv-contact-side {
  display: grid;
  gap: 16px;
}

.tv-contact-quicklinks {
  display: grid;
  gap: 8px;
}

.tv-contact-quicklinks a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  transition: border-color 0.2s, background-color 0.2s;
}

.tv-contact-quicklinks a:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.tv-contact-quicklinks b {
  font-size: 13.5px;
  color: var(--text-primary);
}

.tv-contact-quicklinks span {
  font-size: 12px;
  color: var(--text-muted);
}

.tv-contact-done {
  text-align: center;
  padding: 36px 24px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.tv-contact-done__badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
}

@media (max-width: 991px) {
  .tv-contact-hero,
  .tv-contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-contact-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tv-contact-hero {
    padding: 22px 18px;
  }
  .tv-contact-hero h1 {
    font-size: 24px;
  }
  .tv-contact-channels,
  .tv-contact-hero__badges {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Rebuilt Wishlist, Compare, 2-Column Cart & Home Perks ===== */

.tv-home-subcats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
  background: var(--bg-surface);
}

.tv-home-subcats a {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.tv-home-subcats a:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.tv-home-subcats b {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.tv-home-subcats span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* Wishlist / Compare / Cart Header & Empty States */
.tv-list-header {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}

.tv-list-header h1 {
  font-size: 26px;
  margin: 0 0 4px;
}

.tv-list-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.tv-list-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-list-empty {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xs);
}

.tv-list-empty[hidden] { display: none !important; }

.tv-list-empty__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.tv-list-empty h2 {
  font-size: 21px;
  margin: 0;
}

.tv-list-empty p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0;
}

.tv-list-empty__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Compare Table */
.tv-compare-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.tv-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.tv-compare-table th,
.tv-compare-table td {
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
}

.tv-compare-table th:last-child,
.tv-compare-table td:last-child {
  border-right: 0;
}

.tv-compare-label {
  width: 170px;
  background: var(--bg-primary);
  font-weight: 700;
  color: var(--text-primary);
}

.tv-compare-col {
  width: 240px;
  background: var(--bg-surface);
}

.tv-compare-col.is-best,
.tv-compare-table td.is-best {
  background: #f4fbf7;
}

.tv-compare-prod {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv-compare-remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.tv-compare-remove:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.tv-compare-bestbadge {
  align-self: flex-start;
}

.tv-compare-prod__img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-muted);
}

.tv-compare-prod__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-compare-prod__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.tv-compare-prod__title:hover { color: var(--brand-primary); }

.tv-compare-points {
  margin: 0;
  padding-left: 16px;
  list-style: disc;
  display: grid;
  gap: 4px;
  color: var(--text-secondary);
}

/* 2-Column Shopping Cart */
.tv-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 22px;
  align-items: start;
}

.tv-cart-layout[hidden] { display: none !important; }

.tv-cart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.tv-cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-cart-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-muted);
  flex: none;
}

.tv-cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-cart-item__info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.tv-cart-item__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.tv-cart-item__title:hover { color: var(--brand-primary); }

.tv-cart-item__variant {
  font-size: 12px;
  color: var(--text-muted);
}

.tv-cart-row__price,
.tv-cart-row__sub {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tv-cart-remove-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.tv-cart-remove-btn:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: #fef2f2;
}

.tv-cart-summary {
  position: sticky;
  top: 96px;
}

.tv-cart-summary__box {
  background: #f5f2ec;
  border: 0;
  border-radius: 0;
  padding: 20px;
  display: grid;
  gap: 14px;
  box-shadow: none;
}

.tv-cart-summary__box h2 {
  font-size: 19px;
  padding-bottom: 0;
  margin: 0;
  border: 0;
}

.tv-cart-promo {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 0;
  border: 0;
}

.tv-cart-promo label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.tv-cart-promo__note {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin: 0;
}

.tv-cart-promo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tv-cart-promo__chips .tv-chip {
  min-height: 24px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

.tv-cart-lines {
  display: grid;
  gap: 9px;
  background: #ffffff;
  padding: 14px;
  border-radius: 0;
}

.tv-cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.tv-cart-line strong {
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.tv-cart-line--discount {
  color: var(--success);
}

.tv-cart-line--discount strong {
  color: var(--success);
}

.tv-cart-line--total {
  border: 0;
  background: #faf8f5;
  border-radius: 0;
  padding: 10px 12px;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.tv-cart-line--total strong {
  font-size: 20px;
  color: var(--brand-accent);
}

.tv-btn.tv-btn--lg.tv-cart-checkout-btn,
.tv-cart-checkout-btn {
  width: 100%;
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  min-height: 48px !important;
  letter-spacing: 0.01em;
  box-shadow: none !important;
}

.tv-btn.tv-btn--lg.tv-cart-checkout-btn:hover,
.tv-cart-checkout-btn:hover {
  background: var(--brand-accent) !important;
  color: var(--on-accent, #1e2421) !important;
}

.tv-cart-guarantees {
  list-style: none;
  padding: 4px 2px 0;
  margin: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.tv-cart-guarantees li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tv-cart-guarantees svg {
  width: 16px !important;
  height: 16px !important;
  stroke: var(--brand-primary);
  fill: none;
  flex: none;
  margin-top: 1px;
}

@media (max-width: 991px) {
  .tv-home-subcats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv-cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-cart-summary {
    position: static;
  }
}

@media (max-width: 767px) {
  .tv-home-subcats {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-list-header {
    padding: 18px 16px;
  }
  .tv-list-header h1 {
    font-size: 22px;
  }
}

/* ===== SHOP & SEARCH REDESIGN UPGRADE ===== */
.tv-shop-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 22px 0 18px;
  margin-bottom: 20px;
  box-shadow: none;
}

.tv-shop-head__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  flex-wrap: wrap;
}

.tv-shop-head__text {
  min-width: 0;
  max-width: 100%;
}

.tv-shop-head h1,
.tv-shop-head__sub {
  overflow-wrap: anywhere;
}

.tv-shop-head h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tv-shop-head__sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.tv-shop-head__perks {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.tv-shop-head__perks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-primary);
  background: #f0f7f4;
  border: 1px solid #d2e8df;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  overflow-wrap: anywhere;
}

.tv-shop-head__perks svg {
  width: 15px;
  height: 15px;
  color: #168055;
  flex-shrink: 0;
}

/* Quick Department Filter Pills */
.tv-shop-quickbar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  border-top: 0;
  padding-top: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.tv-qpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border: none;
  border-radius: var(--radius);
  background: #f2ece49c;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tv-qpill span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.tv-qpill:hover {
  border-color: var(--brand-primary);
  background: var(--white);
  color: var(--brand-primary);
}

.tv-qpill.is-on {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
}

.tv-qpill.is-on span {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.tv-qpill--sale {
  color: #c93b2b;
  border-color: #f3c6c0;
  background: #fff6f5;
}

.tv-qpill--sale.is-on {
  background: #c93b2b;
  border-color: #c93b2b;
  color: var(--white);
}

/* Shop layout & sticky filter sidebar */
.tv-shop-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

@media (min-width: 992px) {
  .tv-filters {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 112px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }
}

/* Toolbar & View Switcher */
.tv-shop-toolbar {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.tv-viewbar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 0 11px;
  height: 38px;
}

.tv-viewbar button svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Desktop 3-Column Default inside Sidebar Layout, 4-Column Optional */
@media (min-width: 992px) {
  .tv-shop-layout .tv-product-grid.tv-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .tv-shop-layout .tv-product-grid.tv-shop-grid.tv-grid-4col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

/* List View refinements */
.tv-grid-list .tv-product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tv-grid-list .tv-product-card__actions .tv-wish,
.tv-grid-list .tv-product-card__actions .tv-compare,
.tv-grid-list .tv-product-card__actions .tv-ov {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 0;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.tv-grid-list .tv-product-card__actions .tv-ov--qv {
  width: auto;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.tv-grid-list .tv-product-card__actions .tv-wish:hover,
.tv-grid-list .tv-product-card__actions .tv-compare:hover,
.tv-grid-list .tv-product-card__actions .tv-ov:hover {
  color: var(--brand-primary);
  background: var(--bg-subtle);
}

@media (max-width: 991px) {
  .tv-viewbar__desktop-only {
    display: none !important;
  }
  .tv-shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-shop-layout .tv-product-grid.tv-shop-grid:not(.tv-grid-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .tv-shop-head {
    padding: 16px;
    gap: 12px;
  }
  .tv-shop-head h1 {
    font-size: 22px;
  }
  .tv-shop-head__perks {
    gap: 6px;
  }
  .tv-shop-head__perks span {
    font-size: 11.5px;
    padding: 4px 8px;
  }
}

/* ===== US DROPSHIPPING CHECKOUT REDESIGN ===== */
.tv-checkout-page {
  padding-top: 12px;
  padding-bottom: 48px;
}

.tv-checkout-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tv-checkout-topbar .tv-crumbs {
  margin: 0;
}

.tv-checkout-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #168055;
  background: #f0f7f4;
  border: 1px solid #cce3d8;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.tv-checkout-security-pill svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Urgency / Stock Reservation Banner */
.tv-checkout-reserve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff8eb;
  border: 1px solid #f2d8a7;
  border-radius: var(--radius);
  padding: 11px 16px;
  margin-bottom: 16px;
  color: #5c3d08;
  font-size: 13.5px;
}

.tv-checkout-reserve__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-checkout-reserve__left svg {
  width: 18px;
  height: 18px;
  color: #d97706;
  flex-shrink: 0;
}

.tv-checkout-reserve__left strong {
  color: #b45309;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.tv-checkout-reserve__right {
  font-size: 12.5px;
  font-weight: 600;
  color: #785212;
}

/* Checkout Progress Steps */
.tv-checksteps {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex-wrap: wrap;
}

.tv-checksteps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.tv-checksteps li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.tv-checksteps li b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.tv-checksteps li.is-done {
  border-color: #c7e2d5;
  background: #f4faf7;
  color: #166534;
}

.tv-checksteps li.is-done b {
  background: #168055;
  color: #fff;
}

.tv-checksteps li.is-on {
  border-color: var(--brand-primary);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.tv-checksteps li.is-on b {
  background: var(--brand-primary);
  color: var(--white);
}

/* Main 2-Column Checkout Grid */
.tv-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(340px, 0.92fr);
  gap: 26px;
  align-items: start;
}

.tv-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Express Checkout Box */
.tv-co-express {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px 20px;
  box-shadow: var(--shadow-sm);
}

.tv-co-express__head {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.tv-co-express__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tv-express-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.tv-express-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.tv-express-btn--shoppay {
  background: #5a31f4;
  color: #fff;
}

.tv-express-btn--paypal {
  background: #ffc439;
  color: #003087;
}

.tv-express-btn--apple {
  background: #111827;
  color: #fff;
}

.tv-express-btn--gpay {
  background: #ffffff;
  border-color: #d1d5db;
  color: #1f2937;
}

.tv-co-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tv-co-divider::before,
.tv-co-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

/* Checkout Sections */
.tv-co-section {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.tv-co-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.tv-co-section__head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.tv-co-step-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.tv-co-login-prompt {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.tv-co-login-prompt a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
}

.tv-co-usps-badge,
.tv-co-ssl-note {
  font-size: 12px;
  font-weight: 600;
  color: #168055;
  background: #f0f7f4;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
}

/* Fields & Rows */
.tv-co-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tv-co-row {
  display: grid;
  gap: 12px;
}

.tv-co-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tv-co-row--3 {
  grid-template-columns: 1.2fr 1.2fr 0.9fr;
}

.tv-co-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.tv-co-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.tv-co-field .req {
  color: #c93b2b;
}

.tv-co-field input,
.tv-co-field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tv-co-field input:focus,
.tv-co-field select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(31, 61, 51, 0.1);
}

.tv-co-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.tv-co-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  padding-top: 2px;
}

.tv-co-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

/* Shipping Method Radio Cards */
.tv-co-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-co-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.tv-co-radio-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.tv-co-radio-card.is-selected {
  border-color: var(--brand-primary);
  background: #f6faf8;
}

.tv-co-radio-card__body {
  flex: 1;
  min-width: 0;
}

.tv-co-radio-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.tv-co-radio-card__top strong {
  font-size: 14px;
  color: var(--ink);
}

.tv-co-radio-card__price {
  font-size: 14px;
  font-weight: 800;
  color: #168055;
}

.tv-co-radio-card__body p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Worry-Free Package Protection Box */
.tv-co-protection {
  margin-top: 14px;
  border: 1px solid #cce3d8;
  background: #f4faf7;
  border-radius: var(--radius);
  padding: 14px 16px;
}

.tv-co-protection__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.tv-co-protection__label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #168055;
  flex-shrink: 0;
}

.tv-co-protection__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #168055;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tv-co-protection__copy {
  flex: 1;
  min-width: 0;
}

.tv-co-protection__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.tv-co-protection__row strong {
  font-size: 14px;
  color: var(--ink);
}

.tv-co-protection__badge {
  font-size: 12px;
  font-weight: 700;
  color: #168055;
  background: #ffffff;
  border: 1px solid #b7dccb;
  padding: 2px 8px;
  border-radius: 4px;
}

.tv-co-protection__copy p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Payment Method Accordion */
.tv-co-pay-options {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.tv-co-pay-block {
  border-bottom: 1px solid var(--border-color);
  background: var(--white);
}

.tv-co-pay-block:last-child {
  border-bottom: 0;
}

.tv-co-pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--white);
}

.tv-co-pay-block.is-active .tv-co-pay-header {
  background: #f8faf9;
  border-bottom: 1px solid var(--border-color);
}

.tv-co-pay-header input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.tv-co-pay-title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.tv-co-pay-cards {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.tv-pay-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--ink);
  letter-spacing: 0.03em;
}

.tv-co-pay-panel {
  padding: 18px 16px;
  background: #fcfdfd;
}

.tv-co-card-input {
  position: relative;
}

.tv-co-card-input input {
  padding-right: 40px;
}

.tv-co-card-input svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.tv-co-pay-note {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.tv-co-billing-extra {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

/* In-Checkout 1-Click Order Bump */
.tv-co-bump {
  border: 2px dashed #e09f3e;
  background: #fffdf7;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.tv-co-bump__head {
  margin-bottom: 10px;
}

.tv-co-bump__check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}

.tv-co-bump__check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #d97706;
  flex-shrink: 0;
}

.tv-co-bump__check b {
  color: #c93b2b;
  font-weight: 800;
}

.tv-co-bump__check del {
  color: var(--muted);
  font-size: 12.5px;
}

.tv-co-bump__body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-co-bump__body img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.tv-co-bump__body p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Submit Button */
.tv-co-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-co-submit {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(31, 61, 51, 0.18);
}

.tv-co-terms-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.tv-co-terms-note a {
  color: var(--ink);
  text-decoration: underline;
}

/* RIGHT COLUMN: Sticky Order Summary */
@media (min-width: 992px) {
  .tv-checkout-sidebar {
    position: sticky;
    top: 96px;
  }
}

.tv-co-summary {
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tv-co-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.tv-co-summary__head h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.tv-co-summary__head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: underline;
}

.tv-co-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 16px;
}

.tv-co-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-co-item__media {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.tv-co-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.tv-co-item__qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.tv-co-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-co-item__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv-co-item__name:hover {
  color: var(--brand-primary);
}

.tv-co-item__meta {
  font-size: 12px;
  color: var(--muted);
}

.tv-co-item__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* Promo Code inside Checkout */
.tv-co-coupon {
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 14px;
}

.tv-co-coupon__form {
  display: flex;
  gap: 8px;
}

.tv-co-coupon__form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.tv-co-coupon__form .tv-btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.tv-co-coupon__chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.tv-co-coupon__chips button {
  border: 1px dashed var(--border-color);
  background: var(--bg-subtle);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.tv-co-coupon__chips button:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.tv-co-coupon__msg {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #168055;
}

/* Financial Totals */
.tv-co-totals {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.tv-co-totals__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
}

.tv-co-totals__row strong {
  color: var(--ink);
  font-weight: 600;
}

.tv-co-totals__row--discount {
  color: #168055;
}

.tv-co-totals__row--discount strong {
  color: #168055;
}

.tv-co-totals__row--grand {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border-color);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.tv-co-totals__row--grand strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-primary);
}

/* Guarantees in Sidebar */
.tv-co-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.tv-co-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tv-co-guarantee svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.tv-co-guarantee strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 2px;
}

.tv-co-guarantee p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Empty & Success Panels */
.tv-checkout-empty,
.tv-co-success {
  max-width: 640px;
  margin: 28px auto;
  padding: 40px 28px;
  text-align: center;
  border-radius: var(--radius-lg);
}

.tv-checkout-empty__icon,
.tv-co-success__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f0f7f4;
  color: #168055;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.tv-checkout-empty h1,
.tv-co-success h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tv-checkout-empty p,
.tv-co-success__lead {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 52ch;
  margin: 0 auto 20px;
}

.tv-checkout-empty__actions,
.tv-co-success__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-co-success__codebox {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.tv-co-success__codebox strong {
  font-size: 18px;
  font-family: var(--font-display);
  color: var(--brand-primary);
  letter-spacing: 0.04em;
}

.tv-co-success__meta {
  display: grid;
  gap: 6px;
  text-align: left;
  max-width: 460px;
  margin: 0 auto 22px;
  padding: 14px 16px;
  background: #f8faf9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 13.5px;
}

@media (max-width: 991px) {
  .tv-checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-checkout-sidebar {
    order: -1;
  }
}

@media (max-width: 767px) {
  .tv-co-express__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv-co-row--2,
  .tv-co-row--3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-co-section {
    padding: 16px;
  }
}

/* Ensure list-view action bar is strictly hidden in Grid (3-Col / 4-Col) view */
.tv-product-card__actions {
  display: none !important;
}
.tv-product-grid.tv-grid-list .tv-product-card__actions {
  display: flex !important;
}

/* === SHOP & CATEGORY CLEANUP: OVERFLOW FIX, FLAT OUTER WRAPPERS, 4-COL GRID & BOTTOM CONTENT === */
.tv-shop-layout > *,
.tv-shop-main {
  min-width: 0;
  max-width: 100%;
}

/* White background, zero border-radius, zero border/shadow on .tv-shop-head */
.tv-shop-head {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff !important;
  padding: 20px 22px !important;
  margin-bottom: 20px;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.tv-shop-head__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}
.tv-shop-head__text {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}
.tv-shop-head h1,
#tv-shop-title {
  font-family: var(--font-display);
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 !important;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.tv-shop-head__sub {
  display: none !important;
}

/* Single-line horizontal scroll for perk badge images (hidden when empty or on mobile) */
.tv-shop-head__perks {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tv-shop-head__perks[hidden],
.tv-shop-head__perks.is-empty {
  display: none !important;
}
.tv-shop-head__perks::-webkit-scrollbar {
  display: none;
}
.tv-shop-perk-img {
  display: block;
  height: 46px;
  width: auto;
  flex: 0 0 auto !important;
  user-select: none;
  -webkit-user-drag: none;
}

.tv-shop-quickbar {
  display: flex !important;
  border-top: 0 !important;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-x;
  scrollbar-width: none;
  padding-bottom: 2px;
  cursor: grab;
  user-select: none;
}
.tv-shop-quickbar.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.tv-shop-quickbar::-webkit-scrollbar {
  display: none;
}
.tv-shop-quickbar .tv-qpill {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* Remove border, box-shadow, and border-radius from outer block wrappers ONLY (keep product cards & inner items intact) */
.tv-panel,
.tv-panel__head,
.tv-filters,
.tv-filters__head,
.tv-filters__foot,
.tv-shop-toolbar,
.tv-shipbar,
.tv-shop-empty,
.tv-page-head,
.tv-box,
.tv-list-header,
.tv-list-empty,
.tv-shop-content,
.tv-seo-widget {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* === REDESIGNED FILTERS SIDEBAR & INTERACTIVE PRICE RANGE SLIDER === */
.tv-filters {
  background: #ffffff;
}
.tv-filters__head {
  padding: 16px 18px !important;
  background: #ffffff;
  border-bottom: 1px solid #ece7df !important;
}
.tv-filters__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary);
}
.tv-filters__title-wrap svg {
  width: 17px;
  height: 17px;
  color: var(--brand-primary);
}
.tv-filters__head h2 {
  font-family: var(--font-display);
  font-size: 16.5px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.tv-filters__body {
  padding: 6px 18px 10px !important;
}
.tv-filters__section {
  padding: 15px 0 !important;
  border-bottom: 1px solid #f0ece4 !important;
}
.tv-filters__section:last-child {
  border-bottom: 0 !important;
}
.tv-filters__section h3 {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 10px !important;
}

/* Dual-Thumb Price Range Slider */
.tv-price-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.tv-price-slider__head h3 {
  margin: 0 !important;
}
.tv-price-slider__val {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  padding: 3px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.tv-price-slider {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  margin: 2px 0 6px;
}
.tv-price-slider__track {
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 999px;
  background: #eae4dc;
  overflow: hidden;
}
.tv-price-slider__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0%;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  border-radius: 999px;
}
.tv-price-slider__input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.tv-price-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--brand-primary);
  box-shadow: 0 2px 6px rgba(24, 34, 31, 0.2);
  cursor: grab;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tv-price-slider__input::-webkit-slider-thumb:hover,
.tv-price-slider__input::-webkit-slider-thumb:active {
  transform: scale(1.12);
  border-color: var(--brand-accent);
  cursor: grabbing;
}
.tv-price-slider__input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--brand-primary);
  box-shadow: 0 2px 6px rgba(24, 34, 31, 0.2);
  cursor: grab;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tv-price-slider__input::-moz-range-thumb:hover,
.tv-price-slider__input::-moz-range-thumb:active {
  transform: scale(1.12);
  border-color: var(--brand-accent);
  cursor: grabbing;
}

.tv-price-slider__scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.tv-filters .tv-price-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.tv-filters .tv-price-chips .tv-chip {
  padding: 5px 6px;
  min-height: 30px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  justify-content: center;
  background: #faf8f5;
  border: 1px solid #e6e1da;
}
.tv-filters .tv-price-chips .tv-chip:hover,
.tv-filters .tv-price-chips .tv-chip.is-on {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* Refined Filter Selects & Rows */
.tv-filters .tv-filters__select select {
  height: 40px;
  border: 1px solid #e2ddd5;
  border-radius: 6px;
  background-color: #faf8f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e4638' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding: 0 30px 0 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.tv-filters .tv-filters__select select:hover,
.tv-filters .tv-filters__select select:focus {
  border-color: var(--brand-primary);
  background-color: #ffffff;
  outline: none;
}

.tv-filters .tv-filters__row {
  min-height: 36px !important;
  padding: 5px 8px !important;
  margin: 2px -8px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.15s ease;
}
.tv-filters .tv-filters__row:hover {
  background-color: #faf8f5;
}
.tv-filters .tv-filters__row input[type="radio"],
.tv-filters .tv-filters__row input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--brand-primary) !important;
}
.tv-filters__stars {
  color: var(--star-color);
  font-size: 13.5px;
  letter-spacing: 0.5px;
}
.tv-filters__stars em {
  font-style: normal;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  margin-left: 4px;
}

.tv-filters__foot {
  padding: 14px 18px 16px !important;
  background: #faf8f5 !important;
  border-top: 1px solid #ece7df !important;
}
.tv-filters__count {
  font-size: 12px !important;
  margin-bottom: 8px !important;
  text-align: center;
}

/* Polished View More Products Section */
.tv-shop-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.tv-shop-more__hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}
.tv-shop-more__btn {
  min-width: 220px;
  min-height: 44px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
  background: #1d4638 !important;
}

/* Enforce 1-column layout in List View across ALL breakpoints (Desktop, Tablet & Mobile) */
.tv-product-grid.tv-grid-list,
.tv-shop-layout .tv-product-grid.tv-shop-grid.tv-grid-list {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
}

/* Desktop sticky Filters sidebar + 4-column product grid */
@media (min-width: 992px) {
  .tv-shop-layout {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }
  .tv-shop-layout > .tv-filters {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    z-index: 12;
    background: #ffffff;
  }
  .tv-shop-layout .tv-product-grid.tv-shop-grid:not(.tv-grid-list),
  .tv-product-grid.tv-grid-4col:not(.tv-grid-list) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px;
  }
}

/* 2-Column Bottom Layout: Left Sidebar (Videos + Articles, 268px) + Right Description (matches product grid width 1fr) */
.tv-shop-bottom-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
}
.tv-shop-bottom-layout[hidden] {
  display: none !important;
}

.tv-shop-seo-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 992px) {
  .tv-shop-seo-aside {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.tv-seo-widget {
  background: #ffffff;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tv-seo-widget__head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.tv-seo-widget__head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.tv-seo-widget__videos,
.tv-seo-widget__posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tv-seo-vid {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.tv-seo-vid__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #141d1a;
  overflow: hidden;
  border-radius: 4px;
}
.tv-seo-vid__thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.tv-seo-vid:hover .tv-seo-vid__thumb > img {
  transform: scale(1.05);
}

.tv-seo-vid__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 18px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}
.tv-seo-vid__play .tv-yt-logo-img {
  width: 26px !important;
  height: auto !important;
  display: block;
}

.tv-seo-vid__dur {
  position: absolute;
  right: 4px;
  bottom: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.2;
}

.tv-seo-vid__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tv-seo-vid__body strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-seo-vid:hover .tv-seo-vid__body strong {
  color: var(--brand-accent);
}
.tv-seo-vid__body span {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-seo-post {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.tv-seo-post__thumb {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-muted);
}
.tv-seo-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.tv-seo-post:hover .tv-seo-post__thumb img {
  transform: scale(1.05);
}
.tv-seo-post__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tv-seo-post__body small {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand-primary);
}
.tv-seo-post__body strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-seo-post:hover .tv-seo-post__body strong {
  color: var(--brand-primary);
}

.tv-seo-widget__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--bg-muted);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.tv-seo-widget__more:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

/* Bottom SEO / Article Content on Shop & Category Pages (matches product display column width) */
.tv-shop-content {
  margin: 0;
  padding: 28px 32px;
  background: #ffffff;
  color: var(--tv-text);
  line-height: 1.75;
  font-size: 15px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.tv-shop-content__inner {
  max-width: 100%;
  overflow-wrap: break-word;
}
.tv-shop-content h2,
.tv-shop-content h3,
.tv-shop-content h4 {
  color: var(--text-primary);
  font-weight: 800;
  margin: 20px 0 10px;
  line-height: 1.35;
}
.tv-shop-content h2:first-child,
.tv-shop-content h3:first-child {
  margin-top: 0;
}
.tv-shop-content h2 {
  font-size: 22px;
}
.tv-shop-content h3 {
  font-size: 18px;
}
.tv-shop-content p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}
.tv-shop-content p:last-child {
  margin-bottom: 0;
}
.tv-shop-content ul,
.tv-shop-content ol {
  margin: 0 0 16px 20px;
  color: var(--text-secondary);
  list-style: disc;
}
.tv-shop-content ol {
  list-style: decimal;
}
.tv-shop-content li {
  margin-bottom: 6px;
}
.tv-shop-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
}

@media (max-width: 991.98px) {
  .tv-shop-bottom-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .tv-shop-seo-aside {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tv-shop-content {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  /* Remove horizontal padding on mobile so .tv-shop-head aligns flush with product grid */
  .tv-shop-head {
    padding: 12px 0 !important;
    margin-bottom: 14px !important;
    gap: 10px !important;
    background: #ffffff !important;
  }
  .tv-shop-head__top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .tv-shop-head h1,
  #tv-shop-title {
    font-size: 26px !important;
    line-height: 1.18 !important;
  }
  /* Strictly hide .tv-shop-head__perks on mobile */
  .tv-shop-head__perks {
    display: none !important;
  }
  .tv-shop-quickbar {
    padding-top: 10px;
    gap: 6px;
  }
  .tv-shop-quickbar .tv-qpill {
    height: 36px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  /* Ensure List View on Mobile is strictly 1 full-width horizontal row per product */
  .tv-product-grid.tv-grid-list,
  .tv-shop-layout .tv-product-grid.tv-shop-grid.tv-grid-list {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .tv-grid-list .tv-product-card {
    display: grid !important;
    grid-template-columns: 118px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    align-items: stretch;
  }
  .tv-grid-list .tv-product-card__figure {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    min-height: 148px !important;
  }
  .tv-grid-list .tv-product-card__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 10px 12px 0 !important;
  }
  .tv-grid-list .tv-product-card__title {
    min-height: 0 !important;
    font-size: 13.5px !important;
  }
  .tv-grid-list .tv-product-card__buy {
    grid-column: 2 !important;
    grid-row: 2 !important;
    padding: 0 12px 8px !important;
  }
  .tv-grid-list .tv-product-card__actions {
    grid-column: 2 !important;
    grid-row: 3 !important;
    padding: 0 12px 10px !important;
  }

  .tv-shop-seo-aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-shop-content {
    padding: 18px 14px;
  }
}

/* === MODERNIZED .tv-shop-sort & .tv-viewbar === */
.tv-shop-toolbar {
  padding: 10px 14px !important;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.tv-shop-toolbar__left,
.tv-shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.tv-shop-sort {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  height: 38px;
  background: #f5f2ec;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px;
  padding: 0 4px 0 11px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}
.tv-shop-sort:hover,
.tv-shop-sort:focus-within {
  border: 0 !important;
  box-shadow: none !important;
  background: #f5f2ec;
}
.tv-shop-sort__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  pointer-events: none;
  padding-right: 2px;
  flex-shrink: 0;
}
.tv-shop-sort__label svg {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.tv-shop-sort select {
  height: 38px !important;
  border: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2318221f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 9px center !important;
  padding: 0 26px 0 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  min-width: 140px;
  max-width: 100%;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  outline: none !important;
  text-overflow: ellipsis;
}

.tv-viewbar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f5f2ec;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px;
  padding: 3px;
  height: 38px;
  flex-shrink: 0;
  box-sizing: border-box;
}
.tv-viewbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: none !important;
}
.tv-viewbar button svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.tv-viewbar button:hover {
  background: transparent !important;
  color: var(--text-secondary) !important;
  box-shadow: none !important;
}
.tv-viewbar button.is-on,
.tv-viewbar button.is-on:hover {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.tv-filter-trigger {
  height: 38px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #f5f2ec !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 767.98px) {
  .tv-shop-toolbar {
    padding: 8px 0 !important;
    margin-bottom: 12px !important;
    gap: 8px !important;
    background: transparent !important;
  }
  .tv-shop-toolbar__left {
    flex: 1 1 100% !important;
    justify-content: space-between;
    width: 100%;
  }
  .tv-shop-toolbar__right {
    flex: 1 1 100% !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .tv-shop-sort {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 36px !important;
    padding: 0 2px 0 9px !important;
    overflow: hidden;
  }
  .tv-shop-sort__label {
    font-size: 12px;
    gap: 4px;
  }
  .tv-shop-sort select {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 36px !important;
    font-size: 12.5px !important;
    padding: 0 22px 0 4px !important;
    background-position: right 7px center !important;
  }
  .tv-viewbar {
    flex: 0 0 auto !important;
    height: 36px !important;
    padding: 2px !important;
    gap: 2px !important;
  }
  .tv-viewbar button {
    flex: 0 0 auto !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
    gap: 4px !important;
  }
  .tv-filter-trigger {
    height: 36px !important;
    padding: 0 11px !important;
    font-size: 12.5px !important;
  }
  .tv-shop-count {
    font-size: 12.5px !important;
  }
}

/* Flagship About page blocks moved to assets/css/about.css. */

/* ==========================================================================
   CART PAGE OVERRIDES (pages.css)
   - Enlarge "Your Shopping Cart" heading & hide subtitle
   - Remove border, border-radius & box-shadow on large Cart blocks
   - Synchronize .tv-qty stepper with PDP (.tv-qty--compact)
   - Clean, compact mobile cart item card layout & flush alignment
   - Keep .tv-mini-cart__panel compact on mobile (no stacked coupon box)
   ========================================================================== */
#cart-head-note {
  display: none !important;
}

.tv-list-header h1 {
  font-family: var(--font-display);
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
  margin: 0 !important;
}

.tv-cart-card,
.tv-cart-table,
.tv-cart-actions,
.tv-totals,
.tv-list-header,
.tv-list-empty {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.tv-cart-main > .tv-shipbar {
  border: 0 !important;
  border-radius: 0 !important;
  background: #f5f2ec !important;
  padding: 12px 16px !important;
  margin-bottom: 14px !important;
  box-shadow: none !important;
}

.tv-cart-summary__box {
  border: 0 !important;
  border-radius: 0 !important;
  background: #f5f2ec !important;
  padding: 20px !important;
  gap: 14px !important;
  box-shadow: none !important;
}

.tv-cart-item__thumb,
.tv-cart-remove-btn {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.tv-cart-actions__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Redesigned Promo / Coupon Code Section on Cart Page (.tv-cart-promo) — zero border-radius */
.tv-cart-promo {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.tv-cart-promo__label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.01em;
  margin: 0 !important;
}

.tv-cart-promo__label .kib-product-badge__icon--promotion {
  width: 15px !important;
  height: 15px !important;
  color: #bd2748 !important;
  fill: currentColor !important;
  flex-shrink: 0;
}

.tv-cart-promo .tv-couponbox,
.tv-cart-promo__form {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.tv-cart-promo .tv-couponbox input,
.tv-cart-promo__form input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 11px !important;
  border: 1px solid #d8d2c9 !important;
  border-radius: 0 !important;
  background: #faf8f5 !important;
  color: var(--text-primary) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.tv-cart-promo .tv-couponbox input::placeholder,
.tv-cart-promo__form input::placeholder {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
}

.tv-cart-promo .tv-couponbox input:focus,
.tv-cart-promo__form input:focus {
  outline: none !important;
  background: #ffffff !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 3px rgba(30, 70, 56, 0.1) !important;
}

.tv-cart-promo .tv-couponbox .tv-btn,
.tv-cart-promo__form .tv-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 0 !important;
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border: 0 !important;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.tv-cart-promo .tv-couponbox .tv-btn:hover,
.tv-cart-promo__form .tv-btn:hover {
  background: var(--brand-accent) !important;
  color: var(--on-accent, #1e2421) !important;
}

.tv-cart-promo__note {
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
}

.tv-cart-promo__note.is-applied {
  color: var(--success) !important;
  background: var(--success-soft) !important;
  padding: 5px 9px !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
}

/* Compact promo chips so many voucher codes fit neatly */
.tv-cart-promo__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-top: 2px !important;
}

.tv-cart-promo__chips .tv-promo-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-height: 24px !important;
  height: 24px !important;
  padding: 2px 7px !important;
  border-radius: 0 !important;
  border: 1px dashed #e29aa8 !important;
  background: #fff5f7 !important;
  color: #9e1c39 !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  text-align: left;
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.tv-cart-promo__chips .tv-promo-chip .kib-product-badge__icon--promotion {
  width: 11px !important;
  height: 11px !important;
  color: #bd2748 !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

.tv-cart-promo__chips .tv-promo-chip b {
  font-weight: 800 !important;
  color: #bd2748 !important;
  letter-spacing: 0.01em;
}

.tv-cart-promo__chips .tv-promo-chip em {
  font-style: normal !important;
  font-weight: 700 !important;
  color: #bd2748 !important;
}

.tv-cart-promo__chips .tv-promo-chip:hover {
  background: #ffe8ed !important;
  border-color: #bd2748 !important;
  border-style: solid !important;
}

.tv-cart-promo__chips .tv-promo-chip.is-on {
  background: #bd2748 !important;
  border-color: #bd2748 !important;
  border-style: solid !important;
  color: #ffffff !important;
}

.tv-cart-promo__chips .tv-promo-chip.is-on .kib-product-badge__icon--promotion,
.tv-cart-promo__chips .tv-promo-chip.is-on b,
.tv-cart-promo__chips .tv-promo-chip.is-on em {
  color: #ffffff !important;
}

/* We accept payment badges inside Cart Summary — single row, no wrapping, no border-radius */
.tv-cart-paymethods {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  border-radius: 0 !important;
}

.tv-cart-paymethods .tv-pdp__paymethods-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
}

.tv-cart-paymethods .tv-pdp__paymethods-list,
.tv-cart-paymethods .tv-pdp__paybadges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  width: 100% !important;
  overflow: hidden !important;
}

.tv-cart-paymethods .tv-paybadge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 34px !important;
  height: 22px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.tv-cart-paymethods .tv-paybadge svg {
  width: 100% !important;
  height: 100% !important;
  max-height: 22px !important;
  display: block !important;
}

/* Shop With Confidence FAQ Section on Cart Page — zero border-radius */
.tv-cart-confidence {
  margin-top: 32px;
  padding-top: 8px;
}

.tv-cart-confidence__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.tv-cart-confidence__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-cart-confidence__item {
  background: #faf8f5;
  border-radius: 0 !important;
  border: 0;
  overflow: hidden;
}

.tv-cart-confidence__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  user-select: none;
}

.tv-cart-confidence__summary::-webkit-details-marker {
  display: none;
}

.tv-cart-confidence__heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.tv-cart-confidence__icon {
  width: 22px;
  height: 22px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.tv-cart-confidence__chev {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tv-cart-confidence__item[open] .tv-cart-confidence__chev {
  transform: rotate(180deg);
}

.tv-cart-confidence__body {
  padding: 0 18px 16px 52px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.tv-cart-confidence__body p {
  margin: 0;
}

.tv-cart-confidence__body a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  /* Flush header & hide duplicate top Continue Shopping button on mobile */
  .tv-list-header {
    padding: 8px 0 12px !important;
    margin-bottom: 8px !important;
    background: transparent !important;
  }
  .tv-list-header h1 {
    font-size: 26px !important;
  }
  .tv-list-header__actions {
    display: none !important;
  }

  /* Compact Free Shipping progress bar on mobile without border-bottom */
  .tv-cart-main > .tv-shipbar {
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f5f2ec !important;
  }
  .tv-cart-main > .tv-shipbar .tv-shipbar__meta {
    font-size: 13px !important;
    gap: 4px !important;
  }
  .tv-cart-main > .tv-shipbar .tv-shipbar__meta > span:nth-child(2) {
    display: none !important;
  }

  /* Compact mobile cart item card modeled after .tv-mini-cart__panel (.tv-cartline) with a square 64x64 thumbnail and zero wasted space */
  .tv-cart-table {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    border-spacing: 0 !important;
  }
  .tv-cart-table thead {
    display: none !important;
  }
  .tv-cart-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .tv-cart-table tr.tv-cart-row {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) auto auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "thumb info info rm"
      "thumb price qty sub" !important;
    align-items: center !important;
    gap: 4px 10px !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    border: 0 !important;
    background: #faf8f5 !important;
    border-radius: 0 !important;
  }
  .tv-cart-table tbody tr.tv-cart-row td {
    background: transparent !important;
    border-radius: 0 !important;
  }
  .tv-cart-table td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .tv-cart-table td[data-label="Product"],
  .tv-cart-table .tv-cart-item {
    display: contents !important;
  }
  .tv-cart-item__thumb {
    grid-area: thumb !important;
    width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    aspect-ratio: 1 / 1 !important;
    align-self: center !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }
  .tv-cart-item__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .tv-cart-item__info {
    grid-area: info !important;
    align-self: start !important;
    padding-right: 26px !important;
    min-width: 0 !important;
    display: grid !important;
    gap: 2px !important;
  }
  .tv-cart-item__title {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .tv-cart-item__variant {
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
  }

  /* Bottom bar of the cart item aligned right next to the full-height thumbnail */
  .tv-cart-table td.tv-cart-row__price {
    grid-area: price !important;
    align-self: center !important;
    padding-left: 0 !important;
    font-size: 13px !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
  }
  .tv-cart-table td[data-label="Quantity"] {
    grid-area: qty !important;
    align-self: center !important;
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
  }
  .tv-cart-table td.tv-cart-row__sub {
    grid-area: sub !important;
    align-self: center !important;
    justify-self: end !important;
    font-size: 15px !important;
    color: #bd2748 !important;
  }
  .tv-cart-table td.tv-cart-row__sub strong {
    color: #bd2748 !important;
    font-weight: 800 !important;
  }

  /* Pin the trash remove button to the top-right corner of the item card */
  .tv-cart-table td.tv-cart-row__rm {
    grid-area: rm !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: auto !important;
    padding: 0 !important;
  }
  .tv-cart-remove-btn {
    width: 28px !important;
    height: 28px !important;
    background: transparent !important;
  }

  /* Clean, balanced Cart Actions on mobile */
  .tv-cart-actions {
    padding: 12px 0 4px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .tv-cart-actions__right {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .tv-cart-actions .tv-btn {
    width: 100% !important;
    min-height: 38px !important;
    height: 38px !important;
    font-size: 13px !important;
    padding: 0 12px !important;
  }
  .tv-cart-actions__right .tv-btn {
    background: #f5f2ec !important;
    color: var(--text-primary) !important;
  }
  .tv-cart-actions__right .tv-btn:hover {
    background: #ebe5dc !important;
    color: var(--text-primary) !important;
  }

  /* Soft card Order Summary & single-row Coupon input on mobile without border dividers */
  .tv-cart-layout {
    gap: 18px !important;
  }
  .tv-cart-summary__box {
    padding: 16px !important;
    gap: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f5f2ec !important;
  }
  .tv-cart-summary__box h2 {
    font-size: 20px !important;
    padding-bottom: 2px !important;
  }
  .tv-cart-promo .tv-couponbox,
  .tv-mini-cart__foot .tv-couponbox,
  .tv-couponbox--drawer {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .tv-cart-promo .tv-couponbox input,
  .tv-mini-cart__foot .tv-couponbox input,
  .tv-couponbox--drawer input {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    height: 38px !important;
  }
  .tv-cart-promo .tv-couponbox .tv-btn {
    width: auto !important;
    flex: 0 0 auto !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 16px !important;
  }

  .tv-cart-confidence {
    margin-top: 24px;
  }
  .tv-cart-confidence__title {
    font-size: 22px;
  }
  .tv-cart-confidence__summary {
    padding: 13px 14px;
  }
  .tv-cart-confidence__heading {
    font-size: 12.5px;
    gap: 10px;
  }
  .tv-cart-confidence__body {
    padding: 0 14px 14px 44px;
    font-size: 13px;
  }

  /* Flush Recommended Products Grid on Cart Page */
  #cart-also {
    padding: 12px 0 0 !important;
  }
}

/* ==========================================================================
   WESTERN STREAMLINED CHECKOUT OVERRIDES (Shopify / FunnyFuzzy Style)
   ========================================================================== */
.tv-checkout-page {
  padding-top: 24px !important;
  padding-bottom: 56px !important;
}

.tv-checkout-topbar,
.tv-checksteps,
.tv-checkout-reserve,
.tv-co-step-num {
  display: none !important;
}

.tv-checkout-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr) !important;
  gap: 44px !important;
  align-items: start !important;
}

.tv-checkout-layout > .woocommerce-NoticeGroup,
.tv-checkout-layout > .woocommerce-error,
.tv-checkout-layout > .woocommerce-message,
.tv-checkout-layout > .woocommerce-info {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 0 16px !important;
}

.tv-checkout-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 26px !important;
  min-width: 0 !important;
}

.tv-checkout-sidebar {
  min-width: 0 !important;
}

/* Top Shipping Protection Card (Competitor Style, zero border-radius) */
.tv-co-protection {
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.tv-co-protection__label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.tv-co-protection__label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: #111111 !important;
  flex-shrink: 0 !important;
}

.tv-co-protection__copy {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.tv-co-protection__row {
  margin-bottom: 2px !important;
}

.tv-co-protection__row strong {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

.tv-co-protection__copy p {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  color: #666666 !important;
  margin: 0 !important;
}

.tv-co-protection__icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 0 !important;
  background: #f4f6f8 !important;
  color: #1e4638 !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}

/* Flush Checkout Sections (No Heavy Boxes) */
.tv-co-section {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.tv-co-section__head {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
  border-bottom: 0 !important;
}

.tv-co-section__head--stack {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}

.tv-co-section__head h2 {
  font-family: var(--font-body) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
}

.tv-co-signin-link {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #111111 !important;
  text-decoration: underline !important;
}

.tv-co-ssl-note {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Streamlined Inputs & Selects */
.tv-checkout-page .tv-co-fields {
  gap: 12px !important;
}

.tv-checkout-page .tv-co-field {
  position: relative !important;
}

.tv-checkout-page .tv-co-field input,
.tv-checkout-page .tv-co-field select {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #d6d6d6 !important;
  border-radius: 0 !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.tv-checkout-page .tv-co-field select {
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-right: 36px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 14px 14px !important;
}

.tv-checkout-page #billing_country_field > label,
.tv-checkout-page .tv-co-field:has(> #co-country) > label {
  position: absolute !important;
  top: 6px !important;
  left: 14px !important;
  z-index: 2 !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  line-height: 1.2 !important;
  pointer-events: none !important;
  display: block !important;
}

.tv-checkout-page #billing_country_field select,
.tv-checkout-page #co-country {
  height: 52px !important;
  min-height: 52px !important;
  padding: 18px 36px 4px 14px !important;
  font-weight: 500 !important;
}

.tv-checkout-page .tv-co-field input::placeholder {
  color: #767676 !important;
  font-weight: 400 !important;
}

.tv-checkout-page .tv-co-field input:focus,
.tv-checkout-page .tv-co-field select:focus {
  border-color: #111111 !important;
  box-shadow: 0 0 0 1px #111111 !important;
}

.tv-checkout-page .tv-co-check {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  font-size: 13.5px !important;
  color: #222222 !important;
  padding-top: 2px !important;
}

.tv-checkout-page .tv-co-check input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: #111111 !important;
}

/* Shipping Method Single-Line Card */
.tv-checkout-page .tv-co-radio-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 15px 16px !important;
  border: 1px solid #d6d6d6 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.tv-checkout-page .tv-co-radio-card.is-selected {
  border-color: #111111 !important;
  background: #f9fafb !important;
}

.tv-checkout-page .tv-co-radio-card input[type="radio"] {
  margin: 0 !important;
  accent-color: #111111 !important;
}

.tv-checkout-page .tv-co-radio-card__top {
  margin: 0 !important;
}

.tv-checkout-page .tv-co-radio-card__price {
  color: #111111 !important;
  font-weight: 700 !important;
}

/* Payment Accordion */
.tv-checkout-page .tv-co-pay-options {
  border: 1px solid #d6d6d6 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.tv-checkout-page .tv-co-pay-block.is-active .tv-co-pay-header {
  background: #f9fafb !important;
}

.tv-checkout-page .tv-co-pay-header input[type="radio"] {
  accent-color: #111111 !important;
}

.tv-checkout-page .tv-co-pay-panel {
  background: #f5f5f5 !important;
  padding: 16px !important;
}

/* Pay now + Pay with PayPal Buttons */
.tv-checkout-page .tv-co-submit-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 4px !important;
}

.tv-checkout-page .tv-co-submit,
.tv-woo #place_order.tv-co-submit {
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  border-radius: 0 !important;
  background: #111111 !important;
  color: #ffffff !important;
  border: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease !important;
}

.tv-checkout-page .tv-co-submit:hover,
.tv-woo #place_order.tv-co-submit:hover {
  background: #2b2b2b !important;
  color: #ffffff !important;
}

.tv-btn-paypal-checkout {
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  border-radius: 0 !important;
  background: #ffc439 !important;
  color: #111111 !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 18px !important;
  box-shadow: none !important;
  transition: filter 0.15s ease, transform 0.12s ease !important;
}

.tv-btn-paypal-checkout:hover {
  background: #f4b728 !important;
}

.tv-btn-paypal-checkout img {
  height: 24px !important;
  width: auto !important;
  display: block !important;
  transform: translateY(1px);
}

.tv-co-policy-links {
  padding-top: 8px !important;
  border-top: 1px solid #e5e7eb !important;
  margin-top: 6px !important;
}

.tv-co-policy-links a {
  font-size: 13px !important;
  color: #4b5563 !important;
  text-decoration: underline !important;
}

/* Right Column Summary (Competitor Style, zero border-radius) */
.tv-checkout-page .tv-co-summary {
  background: #fafafa !important;
  border: 1px solid #eaeaea !important;
  border-radius: 0 !important;
  padding: 24px !important;
  box-shadow: none !important;
}

.tv-checkout-page .tv-co-coupon {
  padding: 16px 0 !important;
  margin: 0 0 16px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.tv-checkout-page .tv-co-coupon__form {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.tv-checkout-page .tv-co-coupon__form input {
  flex: 1 1 auto !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #d6d6d6 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  font-size: 14px !important;
  text-transform: none !important;
}

.tv-checkout-page .tv-co-coupon__btn,
.tv-checkout-page .tv-co-coupon__form .tv-btn {
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 0 !important;
  background: #ededed !important;
  color: #333333 !important;
  border: 1px solid #d6d6d6 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.tv-checkout-page .tv-co-coupon__btn:hover,
.tv-checkout-page .tv-co-coupon__form .tv-btn:hover {
  background: #e0e0e0 !important;
  color: #111111 !important;
}

.tv-checkout-page .tv-co-totals {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.tv-checkout-page .tv-co-totals__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 14px !important;
  color: #333333 !important;
}

.tv-checkout-page .tv-co-totals__row strong {
  font-weight: 600 !important;
  color: #111111 !important;
}

.tv-checkout-page .tv-co-totals__row--grand {
  padding-top: 12px !important;
  margin-top: 4px !important;
  border-top: 1px solid #e5e7eb !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

.tv-co-totals__grand-val {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
}

.tv-co-currency {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
}

.tv-checkout-page .tv-co-totals__row--grand strong {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #111111 !important;
}

@media (max-width: 991.98px) {
  .tv-checkout-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
}

@media (max-width: 767.98px) {
  .tv-checkout-page .tv-co-row--2,
  .tv-checkout-page .tv-co-row--3 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .tv-checkout-page .tv-co-summary {
    padding: 18px 16px !important;
  }
}



/* ==========================================================================
   CART PAYMETHODS, CONFIDENCE FAQ, CHECKOUT BACK LINK & ACCOUNT APP OVERRIDES
   ========================================================================== */

/* 1. Cart "We accept" 8 SVG Payment Badges — explicit 38x24 dimensions on 1 row */
.tv-cart-paymethods {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  border-radius: 0 !important;
}

.tv-cart-paymethods .tv-pdp__paymethods-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
}

.tv-cart-paymethods .tv-paybadge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 24px !important;
  min-height: 24px !important;
  border-radius: 3px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.tv-cart-paymethods .tv-paybadge svg {
  width: 38px !important;
  height: 24px !important;
  max-height: 24px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* 2. Cart "Shop With Confidence" FAQ — left icons removed, flush body alignment */
.tv-cart-confidence__icon {
  display: none !important;
}

.tv-cart-confidence__body {
  padding: 0 18px 16px 18px !important;
}

@media (max-width: 767.98px) {
  .tv-cart-confidence__body {
    padding: 0 14px 14px 14px !important;
  }
}

/* 3. Checkout Top-Left "Return to cart" Compact Link & Hidden Order Items */
.tv-checkout-page #order-lines,
.tv-checkout-page .tv-co-items {
  display: none !important;
}

.tv-co-back-top {
  margin: 0 0 18px !important;
  display: flex !important;
  align-items: center !important;
}

.tv-co-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px 6px 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  background: #f5f2ec !important;
  border: 1px solid #e5e0d5 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.tv-co-back-link:hover {
  background: #ebe5dc !important;
  color: #111111 !important;
}

/* 4. Western Pet Store App Account Dashboard (/account/ — Chewy Style) */
.tv-account-page {
  padding-top: 24px !important;
  padding-bottom: 56px !important;
}

.tv-acc-app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.tv-acc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tv-acc-nav {
  background: #ffffff;
  border: 1px solid #e6e2da;
  border-radius: 14px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.tv-acc-nav__item {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: #1f2937;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tv-acc-nav__item svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #374151;
}

.tv-acc-nav__item:hover {
  background: #f6f4ef;
  color: var(--brand-primary);
}

.tv-acc-nav__item.is-active {
  color: var(--brand-primary);
  font-weight: 700;
  background: #eef4f1;
  box-shadow: inset 3px 0 0 var(--brand-primary);
}

.tv-acc-nav__item.is-active svg {
  color: var(--brand-primary);
}

.tv-acc-nav__item--signout {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #f0ece3;
}

/* Gift Card & Rewards Balance Bottom Card */
.tv-acc-balance-card {
  appearance: none;
  border: 1px solid #dce6f7;
  background: #edf4ff;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.tv-acc-balance-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(28, 73, 194, 0.08);
}

.tv-acc-balance-card__amount {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
}

.tv-acc-balance-card__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Main Right Area & Panels */
.tv-acc-main {
  min-width: 0;
}

.tv-acc-panel {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.tv-acc-panel.is-active {
  display: flex;
}

.tv-acc-greeting {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.02em;
}

/* 5 Quick-Action App Tiles */
.tv-acc-tiles {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
}

.tv-acc-tile {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 104px;
  cursor: pointer;
  text-align: center;
}

.tv-acc-tile__icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.tv-acc-tile:hover .tv-acc-tile__icon {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 20px rgba(30, 70, 56, 0.12);
}

.tv-acc-tile__label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.25;
}

/* Action Cards (Add a mobile number / Add your pet) */
.tv-acc-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.tv-acc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.tv-acc-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.tv-acc-card__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}

.tv-acc-card__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.tv-acc-card__copy h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.tv-acc-card__copy p {
  font-size: 14px;
  line-height: 1.45;
  color: #4b5563;
  margin: 0;
}

.tv-acc-card__art {
  flex: 0 0 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-acc-card__drawer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.tv-acc-inline-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-acc-inline-field input {
  flex: 1 1 auto;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

/* Inner App Sub-Panels (Orders, Pet Portal, Rewards, Settings, Addresses) */
.tv-acc-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tv-acc-panel__head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.tv-acc-sublead {
  margin: -10px 0 0;
  font-size: 14px;
  color: #4b5563;
}

.tv-acc-empty {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
}

.tv-acc-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.tv-acc-empty p {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 6px;
  max-width: 54ch;
}

.tv-acc-form-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  max-width: 720px;
}

.tv-acc-form-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.tv-acc-fieldset {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  border-radius: 10px;
}

.tv-acc-order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.tv-acc-order-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tv-acc-order-card__head,
.tv-acc-order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tv-acc-order-card__head strong {
  display: block;
  font-size: 15px;
  color: #111827;
}

.tv-acc-order-card__head span {
  font-size: 13px;
  color: #6b7280;
}

.tv-acc-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4f1;
  color: var(--brand-primary) !important;
  font-size: 12px !important;
  font-weight: 700;
}

.tv-acc-order-card__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.tv-acc-order-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-acc-order-item img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8fafc;
}

.tv-acc-order-item__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-acc-order-item__meta strong {
  font-size: 14px;
  color: #111827;
}

.tv-acc-order-item__meta span {
  font-size: 12.5px;
  color: #6b7280;
}

.tv-acc-rewards-hero {
  background: #edf4ff;
  border: 1px solid #dce6f7;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 720px;
}

.tv-acc-rewards-hero__eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #3b5998;
  margin-bottom: 4px;
}

.tv-acc-rewards-hero__val {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}

.tv-acc-rewards-hero p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: #374151;
}

.tv-acc-review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.tv-acc-review-row {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-acc-review-row img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.tv-acc-review-row__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Extended Customer Account Portal Components (Profile Bar, KPIs, Order Alert, Address Book, Autoship, Pet Cards, Modals) */
.tv-acc-nav__count {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #374151;
}

.tv-acc-nav__item.is-active .tv-acc-nav__count {
  background: var(--brand-primary);
  color: #ffffff;
}

.tv-acc-profile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 22px;
  max-width: 760px;
}

.tv-acc-profile-bar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tv-acc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tv-acc-avatar--initials {
  background: var(--brand-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.tv-acc-profile-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #4b5563;
}

.tv-acc-tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff4e6;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 11.5px;
  font-weight: 700;
}

.tv-acc-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}

.tv-acc-kpi {
  appearance: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.14s ease;
}

.tv-acc-kpi:hover {
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.tv-acc-kpi strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.tv-acc-kpi span {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

.tv-acc-order-alert {
  background: #f4faf7;
  border: 1px solid #cce3d8;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 720px;
}

.tv-acc-order-alert__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 3px;
}

.tv-acc-order-alert strong {
  display: block;
  font-size: 16px;
  color: #111827;
}

.tv-acc-order-alert p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #4b5563;
}

.tv-acc-order-alert__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tv-acc-order-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tv-acc-status-badge--warn {
  background: #fff8eb !important;
  color: #b45309 !important;
}

.tv-acc-btn-danger {
  color: #b4453a !important;
  border-color: #f3c6c0 !important;
}

.tv-acc-btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #b4453a !important;
}

/* Autoship Cards & Controls */
.tv-acc-autoship-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.tv-acc-autoship-controls {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-acc-autoship-controls__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.tv-acc-autoship-controls__row label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

.tv-acc-autoship-controls__row select,
.tv-acc-autoship-controls__row input {
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13.5px;
}

/* Pet Portal Cards */
.tv-pets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.tv-pet-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-pet-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff3dc;
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}

.tv-pet-card__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e5e7eb;
}

.tv-pet-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-pet-card__body strong {
  font-size: 16px;
  color: #111827;
}

.tv-pet-card__body small {
  font-size: 13px;
  color: #6b7280;
}

.tv-pet-card__del {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.tv-pet-card__del:hover {
  color: #b4453a;
  border-color: #b4453a;
  background: #fef2f2;
}

/* Address Book Cards */
.tv-acc-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.tv-acc-address-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-acc-address-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.tv-acc-address-card__body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4b5563;
  flex: 1 1 auto;
}

.tv-acc-address-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.tv-acc-address-card__actions .tv-btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
}

/* Social Connections & Ledger Table */
.tv-acc-social-connections {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-acc-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafaf9;
}

.tv-acc-social-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-acc-social-row__info span {
  font-size: 13px;
  color: #6b7280;
}

.tv-acc-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 8px;
}

.tv-acc-ledger-table th,
.tv-acc-ledger-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

.tv-acc-ledger-table th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
}

/* Account Modals (Order Detail & Refund Request) */
.tv-acc-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tv-acc-modal[hidden] {
  display: none !important;
}

.tv-acc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  border: 0;
  cursor: pointer;
}

.tv-acc-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.tv-acc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #e5e7eb;
}

.tv-acc-modal__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.tv-acc-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.tv-acc-modal__body {
  padding: 20px 22px;
}

.tv-acc-od-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.tv-acc-od-meta small {
  display: block;
  color: #6b7280;
  font-size: 11.5px;
}

.tv-acc-od-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #4b5563;
}

.tv-acc-od-addresses h4 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #111827;
}

.tv-acc-od-totals {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
}

.tv-acc-od-totals > div {
  display: flex;
  justify-content: space-between;
}

.tv-acc-od-totals__grand {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-primary);
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 991.98px) {
  .tv-acc-app {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .tv-acc-sidebar {
    order: 2;
  }
  .tv-acc-main {
    order: 1;
  }
  .tv-acc-kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tv-acc-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .tv-acc-tile {
    width: 100%;
  }
  .tv-acc-card {
    padding: 16px;
  }
  .tv-acc-inline-field {
    flex-direction: column;
    align-items: stretch;
  }
  .tv-acc-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv-acc-address-grid,
  .tv-acc-autoship-controls__row,
  .tv-acc-od-meta,
  .tv-acc-od-addresses {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   MINIMALIST BORDER CLEANUP & MOBILE /ACCOUNT/ REDESIGN OVERHAUL
   ========================================================================== */

/* 1. Remove unnecessary decorative borders across page sections & account cards
   (Preserves input/select/textarea borders, focus states, status indicators & .tv-product-card__buy) */
.tv-product-grid .tv-product-card,
.tv-pdp,
.tv-pdp__media,
.tv-tab-panel,
.tv-story,
.tv-hero2,
.tv-stat,
.tv-value,
.tv-vet,
.tv-faq,
.tv-steps4 li,
.tv-contact-card,
.tv-home-subcats a,
.tv-acc-nav,
.tv-acc-nav__item--signout,
.tv-acc-balance-card,
.tv-acc-tile__icon,
.tv-acc-card,
.tv-acc-card__drawer,
.tv-acc-empty,
.tv-acc-form-box,
.tv-acc-order-card,
.tv-acc-order-card__items,
.tv-acc-rewards-hero,
.tv-acc-review-row,
.tv-acc-profile-bar,
.tv-acc-kpi,
.tv-acc-order-alert,
.tv-acc-autoship-controls,
.tv-pet-card,
.tv-acc-address-card,
.tv-acc-address-card__actions,
.tv-acc-social-row,
.tv-acc-ledger-table th,
.tv-acc-ledger-table td,
.tv-acc-modal__head,
.tv-acc-od-totals,
.tv-acc-od-totals__grand {
  border: 0 !important;
}

.tv-acc-nav,
.tv-acc-card,
.tv-acc-empty,
.tv-acc-form-box,
.tv-acc-order-card,
.tv-acc-profile-bar,
.tv-acc-kpi,
.tv-pet-card,
.tv-acc-address-card,
.tv-acc-review-row {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.05);
}

.tv-acc-order-card__items,
.tv-acc-card__drawer,
.tv-acc-address-card__actions,
.tv-acc-autoship-controls {
  background: #faf8f5;
  border-radius: 10px;
  padding: 12px 14px !important;
}

/* 2. Complete Mobile Redesign of /account/ (@media (max-width: 767.98px)) */
@media (max-width: 767.98px) {
  .tv-account-page {
    padding-top: 12px !important;
    padding-bottom: 40px !important;
  }

  .tv-acc-app {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Move Account Navigation to the very top of /account/ on mobile for instant access */
  .tv-acc-sidebar {
    order: -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
  }

  .tv-acc-main {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Horizontal scrollable app tab bar on mobile */
  .tv-acc-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    background: #f5f2ec !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tv-acc-nav::-webkit-scrollbar {
    display: none;
  }

  .tv-acc-nav__item {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 44px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    gap: 7px !important;
    margin: 0 !important;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05) !important;
  }

  .tv-acc-nav__item svg {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
  }

  .tv-acc-nav__item.is-active {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(30, 70, 56, 0.22) !important;
  }

  .tv-acc-nav__item.is-active svg {
    color: #ffffff !important;
  }

  .tv-acc-nav__item.is-active .tv-acc-nav__count {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
  }

  .tv-acc-nav__item--signout {
    background: #fff5f5 !important;
    color: #b4453a !important;
  }

  .tv-acc-nav__item--signout svg {
    color: #b4453a !important;
  }

  /* Compact horizontal Rewards balance bar on mobile */
  .tv-acc-balance-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
  }

  .tv-acc-balance-card__amount {
    font-size: 20px !important;
  }

  .tv-acc-balance-card__label {
    font-size: 13px !important;
  }

  /* Profile Bar & KPI Strip on mobile */
  .tv-acc-profile-bar {
    padding: 16px !important;
    border-radius: 12px !important;
    background: #faf8f5 !important;
    box-shadow: none !important;
    gap: 12px !important;
  }

  .tv-acc-profile-bar__left {
    gap: 12px !important;
    width: 100%;
  }

  .tv-acc-avatar {
    width: 48px !important;
    height: 48px !important;
    font-size: 17px !important;
  }

  .tv-acc-greeting {
    font-size: 21px !important;
    line-height: 1.22 !important;
  }

  .tv-acc-profile-bar > .tv-btn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
  }

  .tv-acc-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .tv-acc-kpi {
    padding: 12px 14px !important;
    background: #faf8f5 !important;
    box-shadow: none !important;
    min-height: 64px !important;
  }

  .tv-acc-kpi:last-child {
    grid-column: 1 / -1;
  }

  /* Quick Action Tiles on mobile: 3-column thumb-friendly grid */
  .tv-acc-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .tv-acc-tile {
    width: 100% !important;
    background: #faf8f5 !important;
    padding: 12px 8px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }

  .tv-acc-tile__icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  .tv-acc-tile__label {
    font-size: 12.5px !important;
  }

  /* Order Cards & Action Buttons on mobile */
  .tv-acc-order-card,
  .tv-acc-card,
  .tv-acc-form-box,
  .tv-acc-empty,
  .tv-acc-address-card,
  .tv-pet-card {
    padding: 16px !important;
    border-radius: 12px !important;
    background: #faf8f5 !important;
    box-shadow: none !important;
  }

  .tv-acc-order-card__items {
    background: #ffffff !important;
    padding: 10px 12px !important;
  }

  .tv-acc-order-card__foot {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .tv-acc-order-card__actions,
  .tv-acc-order-alert__actions,
  .tv-acc-address-card__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .tv-acc-order-card__actions .tv-btn,
  .tv-acc-order-alert__actions .tv-btn,
  .tv-acc-address-card__actions .tv-btn,
  .tv-acc-address-card__actions form,
  .tv-acc-address-card__actions form .tv-btn {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    justify-content: center !important;
  }

  /* Form inputs & buttons in /account/ sized for effortless mobile touch (16px prevents iOS zoom) */
  .tv-account-page .tv-form input,
  .tv-account-page .tv-form select,
  .tv-account-page .tv-form textarea,
  .tv-acc-inline-field input,
  .tv-acc-autoship-controls__row select,
  .tv-acc-autoship-controls__row input {
    min-height: 46px !important;
    font-size: 16px !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
  }

  .tv-account-page .tv-form .tv-btn,
  .tv-acc-inline-field .tv-btn,
  .tv-acc-panel__head .tv-btn {
    min-height: 46px !important;
    font-size: 14.5px !important;
    border-radius: 8px !important;
  }

  .tv-acc-social-row {
    flex-direction: column !important;
    align-items: stretch !important;
    background: #ffffff !important;
    padding: 14px !important;
  }

  .tv-acc-social-row .tv-btn {
    width: 100% !important;
    min-height: 44px !important;
  }

  /* Bottom-sheet style modal on mobile for Order Details & Refund Request */
  .tv-acc-modal {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  .tv-acc-modal__panel {
    max-width: 100% !important;
    max-height: 90dvh !important;
    border-radius: 18px 18px 0 0 !important;
  }
}

/* ==========================================================================
   WISHLIST, COMPARE, CONTACT & JOURNAL REFINEMENTS
   1. /wishlist/ & /compare/:
      - Enlarged header h1 & empty-state h2, sub-descriptions removed
      - Cute Dog & Cat illustration styling (.tv-list-empty__illustration)
      - 5-column desktop product grid (.tv-grid-5col, #wish-grid, #wish-suggested, #compare-suggested, #tv-new-rail)
   2. /contact/:
      - Zero border-radius across all cards, hero, badges, inputs & buttons
   3. /journal/ & /blog/:
      - Zero border and zero border-radius across all large layout sections
   ========================================================================== */

/* 1. Wishlist & Compare Header + Empty State + 5-Column Desktop Grid */
.tv-list-header h1 {
  font-family: var(--font-display);
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
  color: var(--text-primary) !important;
  margin: 0 !important;
}

.tv-list-header p,
#wish-note,
#compare-note {
  display: none !important;
}

.tv-list-empty {
  padding: 44px 24px !important;
  gap: 12px !important;
}

.tv-list-empty__illustration {
  width: 220px;
  max-width: 72vw;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-list-empty__illustration img {
  width: 100%;
  height: auto;
  max-height: 185px;
  object-fit: contain;
  display: block;
}

.tv-list-empty h2 {
  font-family: var(--font-display);
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  color: var(--text-primary) !important;
  margin: 4px 0 2px !important;
}

.tv-list-empty p {
  display: none !important;
}

.tv-compare-wrap,
.tv-compare-prod__img,
.tv-compare-remove {
  border-radius: 0px !important;
}

/* Unified Desktop & Mobile Side-by-Side Compare Table Layout (100% Fit Without Cutoff) */
.tv-compare-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tv-compare-wrap .tv-tablewrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tv-compare-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse;
}

.tv-compare-label {
  width: 170px;
  background: var(--bg-primary);
  font-weight: 700;
  color: var(--text-primary);
}

.tv-compare-col {
  width: auto !important;
  background: var(--bg-surface);
}

.tv-compare-price {
  font-size: 18px;
  font-weight: 800;
  color: #bd2748;
}

.tv-compare-was {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 13px;
}

.tv-compare-lowbadge {
  margin-top: 4px;
}

.tv-compare-stars {
  font-size: 14px;
}

.tv-compare-rating-meta {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.tv-compare-ship-main {
  display: block;
}

.tv-compare-ship-sub {
  display: block;
  color: var(--text-muted);
  margin-top: 2px;
}

.tv-compare-actions {
  display: grid;
  gap: 8px;
}

@media (min-width: 1100px) {
  .tv-product-grid.tv-grid-5col:not(.tv-grid-list),
  #wish-grid:not(.tv-grid-list),
  #wish-suggested:not(.tv-grid-list),
  #compare-suggested:not(.tv-grid-list),
  #tv-new-rail:not(.tv-grid-list) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 767.98px) {
  .tv-list-header h1 {
    font-size: 28px !important;
  }
  .tv-list-empty h2 {
    font-size: 21px !important;
  }
  .tv-list-empty__illustration {
    width: 180px;
  }

  /* Keep header action buttons (Load Sample / Clear All) visible on Wishlist & Compare pages on mobile */
  .tv-compare-page .tv-list-header__actions,
  .tv-wishlist-page .tv-list-header__actions {
    display: flex !important;
    width: 100%;
    gap: 8px;
  }
  .tv-compare-page .tv-list-header__actions .tv-btn,
  .tv-wishlist-page .tv-list-header__actions .tv-btn {
    flex: 1 1 auto;
    min-height: 38px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  /* Arrange /compare/ on mobile identically to the desktop side-by-side table so all columns are visible at a glance */
  .tv-compare-table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }
  .tv-compare-table thead {
    display: table-header-group !important;
  }
  .tv-compare-table tbody {
    display: table-row-group !important;
  }
  .tv-compare-table tr {
    display: table-row !important;
  }
  .tv-compare-table th,
  .tv-compare-table td {
    display: table-cell !important;
    padding: 8px 6px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    vertical-align: top !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .tv-compare-table th.tv-compare-label {
    width: 68px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    padding: 8px 5px !important;
  }
  .tv-compare-col {
    width: auto !important;
  }
  .tv-compare-prod {
    gap: 5px !important;
    align-items: flex-start;
  }
  .tv-compare-remove {
    width: 22px !important;
    height: 22px !important;
    font-size: 13px !important;
    top: -4px !important;
    right: -4px !important;
  }
  .tv-compare-bestbadge,
  .tv-compare-lowbadge {
    font-size: 9px !important;
    padding: 2px 5px !important;
  }
  .tv-compare-prod__img {
    width: 100% !important;
    max-width: 72px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
  .tv-compare-prod__title {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tv-compare-price {
    font-size: 13.5px !important;
    display: block;
  }
  .tv-compare-was {
    font-size: 10.5px !important;
    display: block;
  }
  .tv-compare-stars {
    gap: 1px !important;
  }
  .tv-compare-stars .kib-product-rating__svg {
    width: 11px !important;
    height: 11px !important;
  }
  .tv-compare-rating-meta {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
  .tv-compare-rating-meta span {
    display: block;
  }
  .tv-compare-points {
    padding-left: 11px !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    gap: 3px !important;
  }
  .tv-compare-ship-sub {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
  .tv-compare-sku {
    font-size: 10px !important;
  }
  .tv-compare-actions {
    gap: 5px !important;
  }
  .tv-compare-actions .tv-btn {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 5px !important;
    font-size: 10.5px !important;
    width: 100% !important;
    border-radius: 0 !important;
  }
}

/* 2. Contact Page (/contact/): Zero Border-Radius Across All Elements */
.tv-contact-status {
  display: none !important;
}

.tv-contact-hero,
.tv-contact-hero__badges > div,
.tv-contact-card,
.tv-contact-card__icon,
.tv-contact-card__hub,
.tv-contact-quicklinks a,
.tv-contact-layout .tv-box,
.tv-contact-layout input,
.tv-contact-layout select,
.tv-contact-layout textarea,
.tv-contact-layout .tv-btn,
.tv-contact-done__badge {
  border-radius: 0px !important;
}

/* 3. Journal & Blog Pages (/journal/, /blog/): Zero Border & Zero Border-Radius on Large Sections */
.tv-pagehero--dark,
.tv-topicgrid,
.tv-topicgrid .tv-cat-tile,
.tv-yt-header,
.tv-blog-side,
.tv-sidebox,
.tv-bcard,
.tv-bcard__media,
.tv-story,
.tv-article,
.tv-values3 .tv-value,
.tv-value__icon,
.tv-steps4 li,
.tv-steps4 li > b {
  border: 0 !important;
  border-radius: 0px !important;
}



/* Payment Methods page list. */
.tv-paylist { margin: 0 0 12px; padding-left: 20px; }
.tv-paylist li { margin: 0 0 6px; }

/* ===== Owner tweaks: colour and type on all screens, spacing on phones only ===== */
.tv-shop-more__btn { font-size: 14px; font-weight: 700; background: #1d4638 !important; color: #fff; }
.tv-shop-content ul, .tv-shop-content ol { color: var(--text-secondary); list-style: disc; }
@media (max-width: 767.98px) {
  .tv-shop-more__btn { min-width: 220px; min-height: 44px; padding: 0 28px; }
  .tv-shop-content { padding: 18px 0; }
  .tv-shop-content ul, .tv-shop-content ol { margin: 10px 0 16px 15px; }
}
@media (max-width: 767px) {
  .tv-prose { padding: 10px 10px 22px !important; }
  .tv-scroller, #row-related { padding: 12px 0 !important; }
}
