.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;
}

/* 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; }
}

/* Product details: generous product gallery, compact information, visible options. */
.tc-shop-modal-gallery { display: grid; grid-template-rows: minmax(300px, 1fr) auto; gap: 10px; min-width: 0; }
.tc-shop-modal-image { min-height: 340px; }
.tc-shop-modal-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 5px; scrollbar-width: thin; }
.tc-shop-modal-thumbnails[hidden] { display: none !important; }
.tc-shop-modal-thumbnail { flex: 0 0 64px; width: 64px; height: 72px; overflow: hidden; border: 1px solid #d5dfeb; border-radius: 9px; background: #fff; padding: 3px; cursor: pointer; }
.tc-shop-modal-thumbnail[aria-pressed="true"] { border: 2px solid #c44808; box-shadow: 0 0 0 2px rgb(196 72 8 / 12%); }
.tc-shop-modal-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tc-shop-modal-variant-wrap { min-width: 0; margin: 13px 0 0; border: 1px solid #d4dfed; border-radius: 13px; background: #fff; padding: 10px 12px 12px; }
.tc-shop-modal-variant-wrap legend { padding: 0 5px; color: #243b55; font-size: 13px; font-weight: 750; }
.tc-shop-modal-variant-options { display: flex; flex-wrap: wrap; gap: 8px; max-height: 180px; overflow: auto; }
.tc-shop-modal-variant-chip { min-height: 38px; border: 1px solid #b9c9dc; border-radius: 9px; background: #fff; color: #243b55; padding: 7px 11px; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.tc-shop-modal-variant-chip:hover, .tc-shop-modal-variant-chip:focus-visible { border-color: #c44808; outline: 0; }
.tc-shop-modal-variant-chip[aria-pressed="true"] { border-color: #c44808; background: #fff3eb; color: #a83c06; box-shadow: inset 0 0 0 1px #c44808; }
.tc-shop-modal-copy { padding-top: 21px; }
.tc-shop-modal-description { max-height: 190px; }
@media (max-width: 700px) {
  .tc-shop-modal-gallery { grid-template-rows: minmax(200px, 34vh) auto; gap: 7px; }
  .tc-shop-modal-image { min-height: 200px; max-height: 34vh; }
  .tc-shop-modal-variant-options { max-height: 150px; }
}

/* Amazon quick view: TryyCart product-detail treatment, aligned with the PDP. */
.tc-shop-product-dialog {
  width: min(1080px, calc(100% - 28px));
  max-width: 1080px;
  max-height: min(92dvh, 860px);
  overflow: auto;
  border: 1px solid #d4dfed;
  border-radius: 22px;
  background: #f4f7fc;
  color: #172b45;
  box-shadow: 0 28px 90px rgb(12 28 51 / 34%);
}
.tc-shop-product-dialog::backdrop { background: rgb(13 27 47 / 76%); }
.tc-shop-product-dialog-inner { position: relative; padding: 18px; }
.tc-shop-modal-close {
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-color: #d8e1ec;
  background: #fff;
  color: #172b45;
  box-shadow: 0 4px 14px rgb(23 43 69 / 10%);
  font-size: 24px;
}
.tc-shop-modal-close:hover { background: #fff4ed; border-color: #e3a37f; color: #b9430b; }
.tc-shop-modal-product { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; align-items: stretch; }
.tc-shop-modal-visual-column { min-width: 0; }
.tc-shop-modal-image {
  min-height: 390px;
  max-height: 58vh;
  aspect-ratio: 1 / 1;
  border: 1px solid #e1e8f1;
  border-radius: 17px;
  background: #fff;
}
.tc-shop-modal-image img { width: 100%; height: 100%; max-height: 58vh; object-fit: contain; object-position: center; }
.tc-shop-modal-shipping-card {
  margin-top: 12px;
  border: 1px solid #c5d3e5;
  border-radius: 15px;
  background: #e8eef8;
  padding: 15px 16px;
}
.tc-shop-modal-shipping-card > strong { display: block; color: #172b45; font-size: 14px; }
.tc-shop-modal-shipping-card > p { margin: 6px 0 11px; color: #526780; font-size: 12px; line-height: 1.5; }
.tc-shop-modal-shipping-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.tc-shop-modal-shipping-badges span { border: 1px solid #d4dfed; border-radius: 999px; background: #fff; color: #35536f; padding: 5px 9px; font-size: 10px; font-weight: 700; }
.tc-shop-modal-copy {
  min-width: 0;
  border: 1px solid #d9e2ee;
  border-radius: 17px;
  background: linear-gradient(155deg, #fff 0%, #f8faff 100%);
  padding: 25px 24px 22px;
}
.tc-shop-modal-source { display: inline-flex; align-items: center; gap: 7px; color: #ad420f; font-size: 10px; letter-spacing: .12em; }
.tc-shop-modal-source > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: #c34a0a; box-shadow: 0 0 0 3px #fce8dc; }
.tc-shop-modal-copy h2 { margin: 12px 40px 14px 0; color: #172b45; font-size: clamp(23px, 3vw, 32px); font-weight: 750; line-height: 1.18; letter-spacing: -.025em; }
.tc-shop-modal-price { display: block; border: 1px solid #f0cbb8; border-radius: 13px; background: #fff6f0; color: #b9430b; padding: 13px 15px; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.2; }
.tc-shop-modal-variant-wrap { display: grid; gap: 7px; margin-top: 12px; color: #243b55; font-size: 13px; font-weight: 700; }
.tc-shop-modal-variant-wrap select { width: 100%; min-height: 44px; border: 1px solid #c6d4e5; border-radius: 10px; background: #fff; color: #243b55; padding: 8px 11px; font: inherit; }
.tc-shop-modal-rating { margin: 11px 0 0; color: #526780; font-size: 13px; }
.tc-shop-modal-description { max-height: 150px; overflow: auto; margin: 14px 0 0; border-left: 3px solid #d5e0ee; border-radius: 0 8px 8px 0; background: #eef3fa; color: #354a63; padding: 10px 12px; font-size: 13px; line-height: 1.55; white-space: pre-line; }
.tc-shop-modal-information { margin-top: 15px; border: 1px solid #d6e0ed; border-radius: 14px; background: #f2f6fb; padding: 13px 14px; }
.tc-shop-modal-information h3 { margin: 0 0 10px; color: #243b55; font-size: 13px; }
.tc-shop-modal-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; border: 0; padding: 0; }
.tc-shop-modal-specs dt, .tc-shop-modal-specs dd { min-width: 0; border-radius: 8px; background: #fff; padding: 9px 10px; font-size: 11px; overflow-wrap: anywhere; }
.tc-shop-modal-specs dt { color: #65778c; }
.tc-shop-modal-specs dd { color: #213b57; font-weight: 700; }
.tc-shop-modal-status { min-height: 0; margin: 13px 0; border-radius: 9px; background: #edf2f8; color: #5b6e83; padding: 9px 11px; font-size: 11px; line-height: 1.45; }
.tc-shop-modal-status.is-loading { color: #53677e; }
.tc-shop-modal-status.is-ready { border: 1px solid #cfe2dc; background: #eff8f5; color: #286652; }
.tc-shop-modal-status.is-warning { border: 1px solid #f1d5c1; background: #fff7f1; color: #8c461f; }
.tc-shop-modal-actions { align-items: stretch; gap: 12px; }
.tc-shop-modal-actions button { min-height: 49px; border: 0; border-radius: 11px; background: #c44808; color: #fff; padding: 0 23px; box-shadow: 0 5px 14px rgb(196 72 8 / 18%); }
.tc-shop-modal-actions button:hover { background: #a83c06; }
.tc-shop-modal-actions button:focus-visible, .tc-shop-modal-actions a:focus-visible, .tc-shop-modal-close:focus-visible { outline: 3px solid #3976c5; outline-offset: 3px; }
.tc-shop-modal-actions a { display: inline-flex; min-height: 44px; align-items: center; color: #245d9a; text-underline-offset: 3px; }
.tc-shop-modal-note { display: block; margin-top: 11px; color: #77869a; font-size: 10px; line-height: 1.45; }

@media (max-width: 700px) {
  .tc-shop-product-dialog { width: min(560px, calc(100% - 16px)); max-height: 94dvh; border-radius: 17px; }
  .tc-shop-product-dialog-inner { padding: 9px; }
  .tc-shop-modal-product { grid-template-columns: 1fr; gap: 10px; }
  .tc-shop-modal-image { min-height: 210px; max-height: 34vh; aspect-ratio: 1.25 / 1; }
  .tc-shop-modal-image img { max-height: 34vh; }
  .tc-shop-modal-shipping-card { margin-top: 8px; padding: 11px 12px; }
  .tc-shop-modal-copy { padding: 17px 15px 15px; }
  .tc-shop-modal-close { top: 17px; right: 17px; width: 36px; height: 36px; }
  .tc-shop-modal-copy h2 { margin-top: 10px; font-size: clamp(21px, 6vw, 27px); }
  .tc-shop-modal-price { padding: 11px 13px; }
  .tc-shop-modal-status { margin: 10px 0; }
}

@media (max-width: 390px) {
  .tc-shop-modal-specs { grid-template-columns: 1fr; }
  .tc-shop-modal-actions { align-items: stretch; flex-direction: column; }
  .tc-shop-modal-actions button { width: 100%; }
  .tc-shop-modal-actions a { justify-content: center; }
}

/* 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; }
.tc-shop-product-dialog.is-meesho .tc-shop-modal-image { aspect-ratio: 4 / 5; min-height: 320px; max-height: 62vh; background: #f7f8fb; }
.tc-shop-product-dialog.is-meesho .tc-shop-modal-image img { width: 100%; height: 100%; max-height: 62vh; object-fit: contain; object-position: center; }

@media (max-width: 700px) {
  .tc-shop-product-dialog.is-meesho .tc-shop-modal-image { aspect-ratio: 4 / 5; min-height: 210px; max-height: 42vh; }
  .tc-shop-product-dialog.is-meesho .tc-shop-modal-image img { max-height: 42vh; }
}

/* 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;
}
body.tc-unified-shop-catalog .tc-shop-product-dialog.is-meesho .tc-shop-modal-image {
  display: flex !important;
  min-height: 0 !important;
  max-height: 62vh !important;
  aspect-ratio: auto !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
body.tc-unified-shop-catalog .tc-shop-product-dialog.is-meesho .tc-shop-modal-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 62vh !important;
  object-fit: contain !important;
  object-position: center !important;
}
@media (max-width: 700px) {
  body.tc-unified-shop-catalog .tc-shop-product-dialog.is-meesho .tc-shop-modal-image { max-height: 42vh !important; }
  body.tc-unified-shop-catalog .tc-shop-product-dialog.is-meesho .tc-shop-modal-image img { max-height: 42vh !important; }
}
.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 button { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.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;
  }
  body.tc-unified-shop-catalog #tryycart-app #tc-page-shop .product-grid.grid.tc-shop-live-grid .product-card .product-quick-view {
    display: flex !important;
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
  }
}
