.tc-shop-live-catalog {
  --tc-shop-ink: #172b45;
  --tc-shop-muted: #718096;
  --tc-shop-border: #d8e1ec;
  --tc-shop-accent: #b9430b;
  color: var(--tc-shop-ink);
  margin: 26px 0 38px;
}

/* The archive's legacy page introduction duplicates the catalog heading. */
body.woocommerce-shop .tc-woocommerce-main > .tc-wp-content > .page-title,
body.woocommerce-shop .tc-woocommerce-main > .tc-wp-content > .page-description {
  display: none !important;
}

/* Catalog source badge: distinguish TryyCart Amazon and Meesho listings. */
body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .tc-shop-live-card .tc-shop-live-image > .tc-shop-live-source-badge {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 999px;
  background: #17375e;
  box-shadow: 0 2px 8px rgb(13 34 62 / 22%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  pointer-events: none;
}

body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .tc-shop-live-card.is-meesho .tc-shop-live-image > .tc-shop-live-source-badge {
  background: #b9430b;
}

.tc-shop-live-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
}

.tc-shop-live-head > div > span {
  color: #138a78;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.tc-shop-live-head h2 {
  margin: 6px 0;
  color: var(--tc-shop-ink);
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.2;
}

.tc-shop-live-head p {
  max-width: 700px;
  margin: 0;
  color: var(--tc-shop-muted);
  font-size: 14px;
}

.tc-shop-live-note {
  flex: 0 0 auto;
  border: 1px solid var(--tc-shop-border);
  border-radius: 999px;
  padding: 8px 12px;
  color: #465a70;
  font-size: 12px;
  font-weight: 700;
}

.tc-shop-live-departments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 18px;
  border: 1px solid #e1e8f0;
  border-radius: 13px;
  background: #f8fafc;
  padding: 12px 15px;
}
.tc-shop-live-departments > strong { flex: 0 0 auto; color: #34475d; font-size: 13px; }
.tc-shop-live-group { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tc-shop-live-group > span { color: #55677c; font-size: 13px; }
.tc-shop-live-group button { min-height: 36px; border: 1px solid #cbd6e3; border-radius: 999px; background: #fff; color: var(--tc-shop-ink); padding: 0 13px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.tc-shop-live-group button:hover,
.tc-shop-live-group button:focus-visible { border-color: #078a79; box-shadow: 0 0 0 3px rgb(7 138 121 / 12%); outline: 0; }
.tc-shop-live-group button.is-active { border-color: #087f70; background: #087f70; color: #fff; }

.tc-shop-live-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 2px 0 7px;
  scrollbar-width: thin;
}

.tc-shop-live-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--tc-shop-border);
  border-radius: 999px;
  background: #fff;
  color: var(--tc-shop-ink);
  padding: 0 19px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.tc-shop-live-tabs button:hover,
.tc-shop-live-tabs button:focus-visible {
  border-color: #00a98f;
  box-shadow: 0 0 0 3px rgb(0 169 143 / 12%);
  outline: 0;
}

.tc-shop-live-tabs button.is-active {
  border-color: #087f70;
  background: #087f70;
  color: #fff;
}

.tc-shop-live-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 0 0 15px;
  border: 1px solid var(--tc-shop-border);
  border-radius: 14px;
  background: #f8fafc;
  padding: 17px;
}

.tc-shop-live-filters label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  color: #43566c;
  font-size: 12px;
  font-weight: 700;
}

.tc-shop-live-filters label > input,
.tc-shop-live-filters label > select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ccd6e2;
  border-radius: 8px;
  background: #fff;
  color: var(--tc-shop-ink);
  padding: 0 11px;
  font: inherit;
  font-size: 13px;
}

.tc-shop-live-filters label > input:focus,
.tc-shop-live-filters label > select:focus {
  border-color: #078a79;
  outline: 3px solid rgb(7 138 121 / 13%);
}

.tc-shop-live-filters .tc-shop-live-query {
  grid-column: span 2;
}

.tc-shop-live-filters .tc-shop-live-check {
  flex-direction: row;
  align-items: center;
  align-self: end;
  min-height: 42px;
  gap: 9px;
}

.tc-shop-live-filters label.tc-shop-live-check > input {
  width: 17px;
  min-width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  padding: 0;
  accent-color: #087f70;
}

.tc-shop-live-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  grid-column: span 2;
}

.tc-shop-live-actions button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #087f70;
  color: #fff;
  padding: 0 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.tc-shop-live-actions button:hover { background: #066c60; }
.tc-shop-live-actions button:disabled { cursor: wait; opacity: .65; }
.tc-shop-live-actions [data-tc-shop-clear] { background: transparent; color: #465a70; padding-inline: 8px; }
.tc-shop-live-actions [data-tc-shop-clear]:hover { background: #edf2f7; }

.tc-shop-live-status {
  min-height: 22px;
  margin: 12px 0 15px;
  color: var(--tc-shop-muted);
  font-size: 13px;
}

.tc-shop-live-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tc-shop-live-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tc-shop-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(23 43 69 / 3%);
  padding: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tc-shop-live-card:hover {
  transform: translateY(-2px);
  border-color: #c4d2e1;
  box-shadow: 0 9px 24px rgb(23 43 69 / 9%);
}

.tc-shop-live-image {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: #f2f4f7;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.tc-shop-live-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tc-shop-live-image > span:not(.tc-shop-live-badge) {
  padding: 16px;
  color: #718096;
  text-align: center;
  font-size: 13px;
}

.tc-shop-live-badge {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  border-radius: 0 10px 0 10px;
  background: #b9430b;
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
}

.tc-shop-live-card-body {
  display: flex;
  min-height: 156px;
  flex: 1;
  flex-direction: column;
  padding: 13px 0 0;
}

.tc-shop-live-card-body h3 {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  margin: 0 0 9px;
  color: var(--tc-shop-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tc-shop-live-title-button { display: -webkit-box; width: 100%; overflow: hidden; border: 0; background: transparent; color: inherit; padding: 0; font: inherit; text-align: left; cursor: pointer; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tc-shop-live-title-button:hover { color: #087f70; }

.tc-shop-live-card-footer {
  display: flex;
  min-height: 56px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.tc-shop-live-card-footer > strong {
  color: var(--tc-shop-accent);
  font-size: 15px;
  font-weight: 800;
}

.tc-shop-live-buy {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tc-shop-ink) !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease;
}

.tc-shop-live-buy:hover,
.tc-shop-live-buy:focus-visible {
  background: #eef6f4;
  color: #087f70 !important;
  outline: 0;
}

.tc-shop-live-more {
  display: block;
  min-height: 44px;
  margin: 22px auto 0;
  border: 1px solid #087f70;
  border-radius: 8px;
  background: #fff;
  color: #087f70;
  padding: 0 22px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.tc-shop-live-more:hover { background: #eef6f4; }

@media (max-width: 1024px) {
  .tc-shop-live-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tc-shop-live-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .tc-shop-live-head { align-items: flex-start; flex-direction: column; gap: 11px; }
  .tc-shop-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tc-shop-live-card { border-radius: 13px; padding: 10px; }
  .tc-shop-live-card-body { min-height: 146px; padding-top: 10px; }
  .tc-shop-live-card-body h3 { font-size: 13px; }
  .tc-shop-live-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .tc-shop-live-filters .tc-shop-live-query { grid-column: 1 / -1; }
  .tc-shop-live-actions { grid-column: 1 / -1; }
  .tc-shop-live-departments { align-items: flex-start; flex-direction: column; gap: 9px; padding: 12px; }
  .tc-shop-live-group { width: 100%; }
}

@media (max-width: 390px) {
  .tc-shop-live-grid { grid-template-columns: 1fr; }
  .tc-shop-live-image { aspect-ratio: 1.15 / 1; }
  .tc-shop-live-filters { grid-template-columns: 1fr; }
  .tc-shop-live-actions { align-items: stretch; flex-direction: column; }
}

/* Tryy Shop unified Amazon + existing products category experience (1.14.0). */
body.tc-unified-shop-catalog .shop-toolbar,
body.tc-unified-shop-catalog .shop-layout[hidden],
body.tc-unified-shop-catalog #tc-shop-filters[hidden],
body.tc-unified-shop-catalog .shop-categories[hidden],
body.tc-unified-shop-catalog #tc-shop-showcase-reels[hidden],
body.tc-unified-shop-catalog [hidden] { display: none !important; }
body.tc-unified-shop-catalog .shop-categories { display: none !important; }
body.tc-unified-shop-catalog .tc-shop-live-nav { position: relative; width: 100%; color: #172b45; }
body.tc-unified-shop-catalog .tc-shop-live-nav-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 56px; padding: 7px 0; }
body.tc-unified-shop-catalog .tc-shop-live-nav-row > [data-tc-shop-tab] { position: relative; min-height: 38px; padding: 0 11px; border: 0; border-radius: 10px; background: transparent; color: #475569; font-family: inherit; font-size: 14px; font-weight: 760; line-height: 1.2; cursor: pointer; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
body.tc-unified-shop-catalog .tc-shop-live-nav-row > [data-tc-shop-tab]:hover,
body.tc-unified-shop-catalog .tc-shop-live-nav-row > [data-tc-shop-tab]:focus-visible { background: #fff; color: #a94308; box-shadow: 0 0 0 3px rgb(245 106 22 / 12%); outline: 0; }
body.tc-unified-shop-catalog .tc-shop-live-nav-row > [data-tc-shop-tab].is-active { background: linear-gradient(135deg,#f97316,#2563eb); box-shadow: 0 6px 16px rgb(37 99 235 / 18%); color: #fff; }
body.tc-unified-shop-catalog .tc-shop-live-search { display: flex; align-items: center; width: min(380px, 38vw); height: 42px; margin: 0 0 0 auto; overflow: hidden; border: 1px solid #b8c5d3; border-radius: 999px; background: #fff; }
body.tc-unified-shop-catalog .tc-shop-live-search input { width: 100%; min-width: 0; height: 44px; padding: 0 16px; border: 0; outline: 0; color: #172b45; background: #fff; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; }
body.tc-unified-shop-catalog .tc-shop-live-search button { width: 48px; min-width: 48px; height: 44px; border: 0; background: #fff; color: #172b45; font-size: 25px; cursor: pointer; }
body.tc-unified-shop-catalog .tc-shop-live-mega { position: absolute; z-index: 70; top: 100%; left: 50%; display: grid; width: min(1240px, calc(100vw - 48px)); max-height: min(68vh, 620px); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; overflow: auto; padding: 26px 30px; transform: translateX(-50%); border: 1px solid #e4eaf0; border-radius: 0 0 16px 16px; background: #fff; box-shadow: 0 20px 48px rgb(15 29 46 / 20%); color: #172b45; }
body.tc-unified-shop-catalog .tc-shop-live-mega[hidden] { display: none; }
body.tc-unified-shop-catalog .tc-shop-live-mega-column { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 15px; border-right: 1px solid #e7edf2; }
body.tc-unified-shop-catalog .tc-shop-live-mega-column:last-child { border-right: 0; }
body.tc-unified-shop-catalog .tc-shop-live-mega-column strong { margin: 0 0 8px; color: #b94335; font-size: 14px; font-weight: 800; }
body.tc-unified-shop-catalog .tc-shop-live-mega-column button { width: 100%; padding: 7px 0; border: 0; background: transparent; color: #394b5e; text-align: left; font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.35; cursor: pointer; }
body.tc-unified-shop-catalog .tc-shop-live-mega-column button:hover,
body.tc-unified-shop-catalog .tc-shop-live-mega-column button:focus-visible { color: #087f70; text-decoration: underline; outline: 0; }
.tc-shop-live-catalog { margin: 24px auto 36px; }
.tc-shop-live-head { display: block; margin: 0 0 5px; color: #087f70; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.tc-shop-live-head > span { color: #087f70; }
.tc-shop-live-head h2 { margin: 0; color: inherit; font: inherit; }
.tc-shop-live-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0 0 8px; }
.tc-shop-live-title-row h2 { margin: 0; color: #172b45; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.tc-shop-live-title-row > span { color: #718096; font-size: 12px; font-weight: 650; }
.tc-shop-live-status { min-height: 20px; margin: 0 0 14px; color: #66768a; font-size: 13px; }
.tc-shop-live-grid.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tc-shop-live-grid.product-grid > .product-card[hidden] { display: none !important; }
.tc-shop-live-grid.product-grid > .product-card .product-image,
.tc-shop-live-grid.product-grid > .product-card .product-thumbnail,
.tc-shop-live-grid.product-grid > .product-card .tc-shop-live-image { display: block !important; width: 100% !important; max-width: none !important; height: auto !important; aspect-ratio: 4 / 3 !important; overflow: hidden !important; padding: 0 !important; background: transparent !important; }
.tc-shop-live-grid.product-grid > .product-card > a:first-child { position: relative !important; display: block !important; width: 100% !important; max-width: none !important; height: auto !important; aspect-ratio: 5 / 3 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
.tc-shop-live-grid.product-grid > .product-card > a:first-child img { display: block !important; width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; object-position: center !important; margin: 0 !important; padding: 0 !important; background: #f1f4f7 !important; }
.tc-shop-live-grid.product-grid > .product-card img { display: block !important; width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; object-fit: contain !important; object-position: center !important; margin: 0 !important; padding: 0 !important; background: #f1f4f7 !important; }
.tc-shop-live-grid.product-grid > .tc-shop-live-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #d7e1ec; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgb(25 45 69 / 7%); }
.tc-shop-live-card .tc-shop-live-image { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden; padding: 0; border: 0; background: #f1f4f7; cursor: pointer; }
.tc-shop-live-card .tc-shop-live-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f1f4f7; }
/* Meesho fashion listings use portrait product photography. Keep the full frame visible. */
.tc-shop-live-card.is-meesho.is-apparel .tc-shop-live-image { aspect-ratio: 4 / 5 !important; background: #f7f8fb; }
.tc-shop-live-card.is-meesho .tc-shop-live-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: center center !important; background: #f7f8fb !important; }

@media (max-width: 700px) {
}

/* Meesho search images can be wide collages. Preserve their native ratio so the
   whole supplied image stays visible, and beat the theme's product-grid rules. */
@media (min-width: 681px) {
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid > .tc-shop-live-card.is-meesho.is-apparel {
  display: flex !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid > .tc-shop-live-card.is-meesho.is-apparel > .tc-shop-live-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #f7f8fb !important;
}
body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid > .tc-shop-live-card.is-meesho.is-apparel > .tc-shop-live-image > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f7f8fb !important;
}
body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid > .tc-shop-live-card.is-meesho.is-apparel > .tc-shop-live-card-body {
  display: flex !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 14px !important;
}
body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid > .tc-shop-live-card.is-meesho.is-apparel .tc-shop-live-card-footer {
  display: flex !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: auto !important;
}
body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid > .tc-shop-live-card.is-meesho.is-apparel .tc-shop-live-buy {
  display: inline-flex !important;
  min-height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
}
.tc-shop-live-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 14px; }
.tc-shop-live-card-body h3 { display: -webkit-box; min-height: 40px; margin: 0; overflow: hidden; color: #172b45; font-size: 14px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tc-shop-live-card-body h3 a { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; text-decoration: none; }
.tc-shop-live-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.tc-shop-live-card-footer strong { color: #b9430b; font-size: 16px; }
.tc-shop-live-buy { padding: 9px 12px; border: 1px solid #087f70; border-radius: 8px; background: #fff; color: #087f70; font-size: 12px; font-weight: 750; cursor: pointer; }
.tc-shop-live-buy:hover { background: #087f70; color: #fff; }

/* Keep catalog activity on its own control instead of covering the page. */
.tc-shop-live-grid [aria-busy="true"] { cursor: progress; opacity: .78; }
.tc-shop-live-grid .tc-shop-live-buy.is-local-loading::before,
.tc-shop-live-grid .tc-shop-live-title-button.is-local-loading::before,
[data-tc-shop-search].is-local-loading::before,
[data-tc-shop-more].is-local-loading::before,
[data-tc-shop-add-to-cart].is-local-loading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: tc-shop-local-spin .7s linear infinite;
}
[data-tc-shop-search].is-local-loading,
[data-tc-shop-more].is-local-loading,
[data-tc-shop-add-to-cart].is-local-loading { pointer-events: none; }
@keyframes tc-shop-local-spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .tc-shop-live-grid.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.tc-unified-shop-catalog .tc-shop-live-mega { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body.tc-unified-shop-catalog .tc-shop-live-nav-row { min-height: 56px; gap: 7px; }
  body.tc-unified-shop-catalog .tc-shop-live-nav-row > [data-tc-shop-tab] { min-height: 40px; padding: 0 12px; font-size: 13px; }
  body.tc-unified-shop-catalog .tc-shop-live-search { width: 100%; min-width: 0; height: 38px; margin: 2px 0 0; }
  body.tc-unified-shop-catalog .tc-shop-live-search input,
  body.tc-unified-shop-catalog .tc-shop-live-search button { height: 38px; }
  body.tc-unified-shop-catalog .tc-shop-live-search input { padding: 0 10px; font-size: 12px; }
  body.tc-unified-shop-catalog .tc-shop-live-mega { width: calc(100vw - 20px); max-height: 66vh; gap: 8px; padding: 16px 12px; }
  body.tc-unified-shop-catalog .tc-shop-live-mega-column { padding: 0 8px; }
  body.tc-unified-shop-catalog .tc-shop-live-mega-column strong { font-size: 12px; }
  body.tc-unified-shop-catalog .tc-shop-live-mega-column button { font-size: 12px; }
  .tc-shop-live-catalog { margin: 18px 0 28px; }
  .tc-shop-live-title-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .tc-shop-live-grid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tc-shop-live-card-body { gap: 8px; padding: 10px; }
  .tc-shop-live-card-body h3 { min-height: 36px; font-size: 12px; }
  .tc-shop-live-card-footer { align-items: flex-start; flex-direction: column; }
  .tc-shop-live-buy { width: 100%; }
}
@media (max-width: 380px) {
  body.tc-unified-shop-catalog .tc-shop-live-nav-row > [data-tc-shop-tab] { padding: 0 8px; font-size: 12px; }
}

/* 1.14.6: match the My Account header button treatment. */
body.tc-unified-shop-catalog .tc-shop-live-nav .tc-shop-live-nav-row > button[data-tc-shop-tab] {
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(108deg, #b63a08 0%, #7a51b4 54%, #3158d8 100%) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}
body.tc-unified-shop-catalog .tc-shop-live-nav .tc-shop-live-nav-row > button[data-tc-shop-tab]:hover,
body.tc-unified-shop-catalog .tc-shop-live-nav .tc-shop-live-nav-row > button[data-tc-shop-tab]:focus-visible {
  background: linear-gradient(108deg, #a93207 0%, #7047a9 54%, #2850c7 100%) !important;
  color: #fff !important;
  outline: 0 !important;
}
body.tc-unified-shop-catalog .tc-shop-live-nav .tc-shop-live-nav-row > button[data-tc-shop-tab].is-active {
  background: linear-gradient(108deg, #b63a08 0%, #7a51b4 54%, #3158d8 100%) !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* Hide the gallery wrapper too; it retains a fixed height after the reel stops. */
body.tc-unified-shop-catalog .tc-shop-showcase-grid { display: block !important; height: auto !important; min-height: 0 !important; padding-block: 0 !important; }
body.tc-unified-shop-catalog .tc-shop-showcase-gallery[hidden] { display: none !important; }
body.tc-unified-shop-catalog .tc-shop-showcase { min-height: 0 !important; padding-block: 18px !important; }

/* Local WooCommerce cards wrap photos in .product-emoji; make every layer fill the frame. */
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card > a.product-visual.has-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  aspect-ratio: 5 / 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #eef1f4 !important;
}
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card > a.product-visual.has-image > .product-emoji {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card > a.product-visual.has-image > .product-emoji > img,
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card > a.product-visual.has-image > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  transform: none !important;
}

/* Keep hidden WooCommerce cards hidden even when theme grid rules set display. */
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card[hidden],
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .tc-shop-live-card[hidden] {
  display: none !important;
}


/* Beat the theme product-grid display rule for filtered WooCommerce cards. */
body.tc-unified-shop-catalog #tc-page-shop .product-grid.grid > .product-card[hidden],
body.tc-unified-shop-catalog #tc-page-shop .product-grid.grid > .tc-shop-live-card[hidden] {
  display: none !important;
}


/* Responsive review 1.15.7: keep the unified Tryy Shop catalog usable on phones. */
@media (max-width: 599px) {
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid .product-card {
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    grid-template-rows: 132px auto !important;
  }
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid .product-card > a.product-visual.has-image {
    width: 100% !important;
    height: 132px !important;
    min-height: 132px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid .product-card > a.product-visual.has-image > .product-emoji,
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid .product-card > a.product-visual.has-image > .product-emoji > img,
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid .product-card > a.product-visual.has-image > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

/* Product detail cards replace catalog purchase controls with a clear page link. */
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card .add_to_cart_button,
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card .select-options { display: none !important; }
.tc-shop-live-title-button { display: -webkit-box; color: inherit; text-decoration: none; }
.tc-shop-live-title-button:hover { color: #a94308; text-decoration: none; }
.tc-shop-live-image { display: block; }
.tc-shop-live-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; text-align: center; text-decoration: none; }
.tc-shop-local-view { display: flex; min-height: 40px; align-items: center; justify-content: center; margin: auto 12px 12px; border: 1px solid #b8c8dc; border-radius: 9px; background: #fff; color: #24496f; padding: 8px 12px; font-size: 12px; font-weight: 750; text-decoration: none; }
.tc-shop-local-view:hover, .tc-shop-local-view:focus-visible { border-color: #b9430b; background: #fff5ef; color: #a33b09; }
body.tc-unified-shop-catalog .tc-shop-live-card-body h3 a { color: inherit; text-decoration: none; }
body.tc-unified-shop-catalog .tc-shop-live-card-body h3 a:hover { color: #a94308; }

/* The theme archive needs the same hidden-state contract as the homepage mount. */
body.tc-unified-shop-catalog [hidden] { display: none !important; }
.tc-shop-live-more[hidden] { display: none !important; }
