.tc-shop-live-catalog {
  --tc-shop-ink: var(--tc-ch-ink,#172B42);
  --tc-shop-muted: var(--tc-ch-muted,#526071);
  --tc-shop-border: var(--tc-ch-line,#DCE2E8);
  --tc-shop-accent: var(--tc-ch-orange,#B94712);
  color: var(--tc-shop-ink);
  max-width: 1240px;
  margin: 24px auto 32px;
}

/* 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 the supported Amazon and Flipkart listings. */
/* Imported catalog cards: one sizing system for archive and homepage mounts. */
.tc-shop-live-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.tc-shop-live-grid .tc-shop-live-card { display:flex; flex-direction:column; min-width:0; min-height:0; gap:8px; padding:12px; overflow:hidden; border:1px solid var(--tc-shop-border,var(--tc-ch-line,#DCE2E8)); border-radius:var(--tc-bp-panel-radius,14px); background:var(--tc-ch-white,#FFFFFF); box-shadow:var(--tc-ch-card-shadow,0 2px 4px rgba(23,43,66,.06),0 7px 18px rgba(23,43,66,.08)); transition:border-color .18s ease,box-shadow .18s ease; }
.tc-shop-live-grid .tc-shop-live-card:hover { border-color:var(--tc-ch-control,#7C8797); }
.tc-shop-live-card .tc-shop-live-image { position:relative; display:flex; flex-direction:column; align-items:stretch; flex:none; width:100%; min-width:0; height:auto; aspect-ratio:auto; margin:0; padding:0; overflow:hidden; border:0; border-radius:9px; background:var(--tc-ch-white,#FFFFFF); text-decoration:none; }
.tc-shop-live-card .tc-shop-live-image img { display:block; width:100%; height:clamp(170px,18vw,240px); aspect-ratio:auto; min-height:0; max-height:none; object-fit:contain; object-position:center; margin:0; padding:0; background:var(--tc-ch-white,#FFFFFF); }
.tc-shop-live-card .tc-shop-live-source-badge { position:static; display:block; align-self:flex-start; min-height:0; margin:6px 0 0; padding:0; border:0; background:transparent; color:var(--tc-ch-muted,#465364); font-size:12px; font-weight:650; line-height:1.4; text-decoration:none; }
.tc-shop-live-card .tc-shop-live-image > span:not(.tc-shop-live-source-badge):not(.tc-shop-live-badge) { display:grid; place-items:center; min-height:170px; padding:12px; font-size:13px; color:var(--tc-ch-muted,#465364); }
.tc-shop-live-card .tc-shop-live-badge { position:absolute; top:4px; right:4px; max-width:calc(100% - 8px); padding:4px 7px; border-radius:8px; background:var(--tc-ch-pale,#EEF4FC); color:var(--tc-ch-ink,#172B42); font-size:11px; font-weight:700; line-height:1.3; }
.tc-shop-live-card .tc-shop-live-card-body { display:flex; flex:1; flex-direction:column; min-width:0; min-height:0; gap:8px; padding:0; }
.tc-shop-live-card .tc-shop-live-card-body h3 { display:block; min-height:4.2em; margin:0; padding:0; overflow:hidden; color:var(--tc-shop-ink,var(--tc-ch-ink,#172B42)); font-size:14px; font-weight:650; line-height:1.4; }
.tc-shop-live-card .tc-shop-live-title-button { display:-webkit-box; width:100%; margin:0; padding:0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; text-decoration:none; overflow:hidden; overflow-wrap:anywhere; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.tc-shop-live-card .tc-shop-live-title-button:hover { color:var(--tc-ch-orange,#B94712); }
.tc-shop-live-card .tc-shop-live-card-footer { display:flex; flex-direction:column; align-items:stretch; gap:8px; min-height:0; margin-top:auto; }
.tc-shop-live-card .tc-shop-live-card-footer > strong { display:block; color:var(--tc-shop-accent,var(--tc-ch-orange,#B94712)); font-size:15px; font-weight:800; line-height:1.4; overflow-wrap:anywhere; }
.tc-shop-live-card .tc-shop-live-buy { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; margin:0; padding:8px; box-sizing:border-box; border:1px solid var(--tc-ch-control,#7C8797); border-radius:8px; background:var(--tc-ch-white,#FFFFFF); color:var(--tc-ch-ink,#172B42); font-size:13px; font-weight:750; line-height:1.3; text-align:center; text-decoration:none; cursor:pointer; }
.tc-shop-live-card .tc-shop-live-buy:hover { background:var(--tc-ch-pale,#EEF4FC); border-color:var(--tc-ch-blue,#2157A5); }
.tc-shop-live-card a:focus-visible { outline:2px solid var(--tc-ch-blue,#2157A5); outline-offset:2px; }
@media(max-width:1024px) { .tc-shop-live-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; } }
@media(max-width:700px) {
 .tc-shop-live-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .tc-shop-live-grid .tc-shop-live-card { padding:8px; gap:6px; border-radius:8px; }
 .tc-shop-live-card .tc-shop-live-image img { height:clamp(130px,38vw,210px); }
 .tc-shop-live-card .tc-shop-live-card-body h3 { font-size:13px; }
 .tc-shop-live-card .tc-shop-live-card-footer > strong { font-size:14px; }
 .tc-shop-live-card .tc-shop-live-badge { font-size:10px; padding:3px 5px; }
}

.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: var(--tc-ch-link,#006673);
  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 var(--tc-ch-line,#DCE2E8);
  border-radius: 13px;
  background: var(--tc-ch-white,#FFFFFF);
  padding: 12px 15px;
}
.tc-shop-live-departments > strong { flex: 0 0 auto; color: var(--tc-ch-link,#006673); font-size: 13px; }
.tc-shop-live-group { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tc-shop-live-group > span { color: var(--tc-ch-muted,#526071); font-size: 13px; }
.tc-shop-live-group button { min-height: 36px; border: 1px solid var(--tc-ch-control,#7C8797); border-radius: 999px; background: var(--tc-ch-pale,#EEF4FC); color: var(--tc-ch-link,#006673); 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 #007D8D; outline: 2px solid var(--tc-ch-blue,#2157A5); }
.tc-shop-live-group button.is-active { border-color: #087f70; background: var(--tc-ch-orange,#B94712); color: var(--tc-ch-white,#FFFFFF); }

.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: var(--tc-ch-pale,#EEF4FC);
  color: var(--tc-ch-link,#006673);
  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 #007D8D;
  outline: 2px solid var(--tc-ch-blue,#2157A5);
}

.tc-shop-live-tabs button.is-active {
  border-color: #087f70;
  background: var(--tc-ch-blue,#2157A5);
  color: var(--tc-ch-white,#FFFFFF);
}

.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: var(--tc-ch-white,#FFFFFF);
  padding: 17px;
}

.tc-shop-live-filters label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  color: var(--tc-ch-body,#293342);
  font-size: 14px;
  font-weight: 700;
}

.tc-shop-live-filters label > input,
.tc-shop-live-filters label > select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--tc-ch-control,#7C8797);
  border-radius: 8px;
  background: var(--tc-ch-white,#FFFFFF);
  color: var(--tc-shop-ink);
  padding: 0 11px;
  font: inherit;
  font-size: 14px;
}

.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: var(--tc-ch-orange,#B94712);
  color: var(--tc-ch-white,#FFFFFF);
  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: var(--tc-ch-link,#006673); padding-inline: 8px; }
.tc-shop-live-actions [data-tc-shop-clear]:hover { background: var(--tc-ch-pale,#EEF4FC); }

.tc-shop-live-status {
  min-height: 22px;
  margin: 12px 0 15px;
  color: var(--tc-shop-muted);
  font-size: 13px;
}

.tc-shop-live-more {
  display: block;
  min-height: 44px;
  margin: 22px auto 0;
  border: 1px solid #087f70;
  border-radius: 8px;
  background: var(--tc-ch-white,#FFFFFF);
  color: #087f70;
  padding: 0 22px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.tc-shop-live-more:hover { background: var(--tc-ch-pale,#EEF4FC); }

@media (max-width: 1024px) {
  .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-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-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: var(--tc-ch-ink,#172B42); }
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: var(--tc-ch-pale,#EEF4FC); color: var(--tc-ch-link,#006673); 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: var(--tc-ch-pale,#EEF4FC); color: var(--tc-ch-link,#006673); box-shadow: 0 0 0 3px #007D8D; outline: 2px solid var(--tc-ch-blue,#2157A5); }
body.tc-unified-shop-catalog .tc-shop-live-nav-row > [data-tc-shop-tab].is-active { background: var(--tc-ch-blue,#2157A5); box-shadow: none; color: var(--tc-ch-white,#FFFFFF); }
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 var(--tc-ch-line,#DCE2E8); border-radius: 999px; background: var(--tc-ch-white,#FFFFFF); }
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: var(--tc-ch-ink,#172B42); background: var(--tc-ch-white,#FFFFFF); 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: var(--tc-ch-white,#FFFFFF); color: var(--tc-ch-ink,#172B42); 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 var(--tc-ch-line,#DCE2E8); border-radius: 0 0 16px 16px; background: var(--tc-ch-white,#FFFFFF); box-shadow: none; color: var(--tc-ch-ink,#172B42); }
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 var(--tc-ch-line,#DCE2E8); }
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: var(--tc-ch-orange,#B94712); 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: var(--tc-ch-body,#334155); 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: var(--tc-ch-ink,#172B42); font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.tc-shop-live-title-row > span { color: var(--tc-ch-ink,#172B42); font-size: 12px; font-weight: 650; }
.tc-shop-live-status { min-height: 20px; margin: 0 0 14px; color: var(--tc-ch-muted,#526071); font-size: 13px; }
.tc-shop-live-grid.product-grid > .product-card:not(.tc-shop-live-card)[hidden] { display: none !important; }
.tc-shop-live-grid.product-grid > .product-card:not(.tc-shop-live-card) .product-image,
.tc-shop-live-grid.product-grid > .product-card:not(.tc-shop-live-card) .product-thumbnail { 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:not(.tc-shop-live-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:not(.tc-shop-live-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: var(--tc-ch-pale,#EEF4FC) !important; }
.tc-shop-live-grid.product-grid > .product-card:not(.tc-shop-live-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: var(--tc-ch-pale,#EEF4FC) !important; }
/* Meesho fashion listings use portrait product photography. Keep the full frame visible. */

/* 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. */

/* 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) {
  body.tc-unified-shop-catalog .tc-shop-live-mega { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 681px) and (max-width: 1100px) {
  body.tc-unified-shop-catalog .tc-shop-live-nav-row > .tc-shop-live-search {
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
  }
  body.tc-unified-shop-catalog .tc-shop-live-search:focus-within {
    outline: 2px solid #006673;
    outline-offset: 2px;
  }
}
@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; }
}
@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: 44px !important;
  max-width: 100%;
  white-space: normal;
  padding: 7px 12px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: var(--tc-ch-pale,#EEF4FC) !important;
  box-shadow: none !important;
  color: var(--tc-ch-link,#006673) !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: var(--tc-ch-pale,#EEF4FC) !important;
  color: var(--tc-ch-link,#006673) !important;
  outline: 2px solid var(--tc-ch-blue,#2157A5) !important;
}
body.tc-unified-shop-catalog .tc-shop-live-nav .tc-shop-live-nav-row > button[data-tc-shop-tab].is-active {
  background: var(--tc-ch-blue,#2157A5) !important;
  box-shadow: none !important;
  color: var(--tc-ch-white,#FFFFFF) !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:not(.tc-shop-live-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: var(--tc-ch-pale,#EEF4FC) !important;
}
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card:not(.tc-shop-live-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:not(.tc-shop-live-card) > a.product-visual.has-image > .product-emoji > img,
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card:not(.tc-shop-live-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:not(.tc-shop-live-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 .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:not(.tc-shop-live-card) .add_to_cart_button,
body.tc-unified-shop-catalog .tc-shop-live-grid.product-grid > .product-card:not(.tc-shop-live-card) .select-options { display: none !important; }
.tc-shop-local-view { display: flex; min-height: 40px; align-items: center; justify-content: center; margin: auto 12px 12px; border: 1px solid var(--tc-ch-line,#DCE2E8); border-radius: 9px; background: var(--tc-ch-white,#FFFFFF); color: var(--tc-ch-link,#006673); 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: var(--tc-ch-blue,#2157A5); background: var(--tc-ch-pale,#EEF4FC); color: var(--tc-ch-orange,#B94712); }

/* 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; }
/* Collection labels reflect the selected menu or the shopper's own query. */
body.woocommerce-shop .tc-shop-collection-heading { margin: 16px 0 4px; color: #1B2430; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; overflow-wrap: anywhere; }
body.woocommerce-shop .tc-shop-collection-heading[hidden] { display: none; }

/* Genuine Tryy Shop processing only. Settled warnings never use this class. */
body:is(.woocommerce-shop,.page-slug-shop) :is(
  .tc-shop-live-status.is-processing,
  .tc-shop-pdp-status.is-processing,
  .tc-shop-pdp-loading:not([hidden]),
  [data-tc-shop-search].is-local-loading,
  [data-tc-shop-more].is-local-loading,
  [data-tc-pdp-add].is-local-loading
) {
  /* Deliberate, narrow exception to the theme's important solid status rule. */
  color: #000 !important;
  /* One pale-blue sweep behind stable black text. Background animation
     leaves existing spinner pseudo-elements and request handlers untouched. */
  background-color: #EAF4FF !important;
  background-image: linear-gradient(90deg,transparent,#B8DEFA 50%,transparent) !important;
  background-size: 65% 100% !important;
  background-repeat: no-repeat !important;
  border: 1px solid #70B4BD;
  border-radius: 9px;
  overflow-wrap: anywhere;
  opacity: 1 !important;
  animation: tc-shop-processing-turquoise-sweep 2s ease-in-out infinite alternate;
}
/* Reserve the same status spacing before, during and after requests. */
body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-live-status {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  line-height: 1.5;
}
body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-live-status.is-processing { border-color: #70B4BD; position: relative; overflow: hidden; }
@media (max-width: 680px) {
  body.woocommerce-shop .tc-shop-live-catalog > [data-tc-shop-status]:not([hidden]) {
    box-sizing: border-box;
    min-block-size: calc(2lh + 18px);
  }
}
body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-live-status.is-processing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #08B3CA 38%, #007D8D 50%, #08B3CA 62%, transparent 100%);
  background-size: 200% 100%;
  animation: tc-shop-loading-underline 1.8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes tc-shop-loading-underline {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-pdp-status { border: 1px solid transparent; }
body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-pdp-status.is-processing { border-color: #70B4BD; }
body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-pdp-loading { padding: 8px 10px; }
body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-more-status { margin: 8px 0 0; }
@keyframes tc-shop-processing-turquoise-sweep {
  from { background-position: -200% 0%; }
  to { background-position: 290% 0%; }
}
@media (prefers-reduced-motion: reduce) {
  body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-live-status.is-processing::after { animation: none; background: #007D8D; }
  body:is(.woocommerce-shop,.page-slug-shop) :is(.tc-shop-live-status.is-processing,.tc-shop-pdp-status.is-processing,.tc-shop-pdp-loading:not([hidden]),[data-tc-shop-search].is-local-loading,[data-tc-shop-more].is-local-loading,[data-tc-pdp-add].is-local-loading) {
    animation: none !important;
    background-image: none !important;
    background-position: 50% 0% !important;
  }
  body:is(.woocommerce-shop,.page-slug-shop) .tc-shop-pdp-spinner,
  body:is(.woocommerce-shop,.page-slug-shop) .is-local-loading::before { animation: none !important; }
}
