/* TryyCart 1.10.21 — final Tryy Shop wireframe.
   Scope: visual and responsive catalogue presentation only. Product, wishlist,
   cart, WooCommerce, filter and checkout behaviour remains owned by the app. */

body.tryycart-global-theme #tc-page-shop {
  --tc-shop-ink: #0f2038;
  --tc-shop-copy: #53657d;
  --tc-shop-line: #d7e1eb;
  --tc-shop-soft: #f4f7fa;
  --tc-shop-orange: #e95d0f;
  --tc-shop-blue: #0b72a8;
  overflow: clip;
  background: var(--tc-shop-soft) !important;
}

/* --------------------------------------------------------------------------
 * Hero — one purposeful visual frame, matching the homepage composition.
 * ----------------------------------------------------------------------- */
body.tryycart-global-theme #tc-page-shop .shop-hero {
  min-height: 408px !important;
  margin: 0 !important;
  padding: 34px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background:
    radial-gradient(circle at 12% 75%, rgba(233, 93, 15, 0.18), transparent 29%),
    radial-gradient(circle at 87% 18%, rgba(15, 112, 168, 0.22), transparent 34%),
    linear-gradient(128deg, #08111f 0%, #0d1c34 55%, #142b57 100%) !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-inner {
  width: min(calc(100% - 40px), 1320px) !important;
  min-height: 340px !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(470px, 1.05fr) !important;
  gap: clamp(34px, 4vw, 66px) !important;
  align-items: center !important;
  padding: 0 !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero h1 {
  max-width: 670px !important;
  margin: 12px 0 13px !important;
  font-size: clamp(2.7rem, 4.6vw, 4.25rem) !important;
  line-height: 0.99 !important;
  letter-spacing: -0.06em !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero p {
  max-width: 620px !important;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem) !important;
  line-height: 1.62 !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-actions .btn {
  min-height: 44px;
  min-width: 156px;
  border-radius: 11px !important;
  padding: 0 20px !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-actions .btn-glass {
  border-color: rgba(255, 255, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 17px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.72rem;
  font-weight: 750;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

body.tryycart-global-theme #tc-page-shop .shop-hero-card,
body.tryycart-global-theme #tc-page-shop .shop-hero-visual {
  display: block !important;
  min-height: 302px !important;
  height: 302px !important;
  padding: 0 !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 8px solid #dfe8f1 !important;
  border-radius: 19px !important;
  background: #0a1427 !important;
  box-shadow: 0 18px 44px rgba(2, 10, 26, 0.26) !important;
  backdrop-filter: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-card:not(.shop-hero-visual) > *,
body.tryycart-global-theme #tc-page-shop .shop-hero-visual > :not(img):not(.shop-hero-visual-copy) {
  display: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 34, 0.08), rgba(6, 16, 34, 0.02)),
    url("../images/service-tryy-shop.webp") center 48% / cover no-repeat;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-card::after {
  content: "CURATED IN INDIA  ·  PROTECTED CHECKOUT  ·  WORLDWIDE DELIVERY";
  position: absolute;
  inset: auto 0 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #eaf2fb;
  background: linear-gradient(90deg, rgba(4, 12, 27, 0.93), rgba(10, 30, 61, 0.82));
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.095em;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-visual::before,
body.tryycart-global-theme #tc-page-shop .shop-hero-visual::after {
  display: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-visual-copy {
  position: absolute;
  inset: auto 0 0;
  min-height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  color: #eaf2fb;
  background: linear-gradient(90deg, rgba(4, 12, 27, 0.94), rgba(10, 30, 61, 0.83));
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

body.tryycart-global-theme #tc-page-shop .shop-hero-visual-copy b,
body.tryycart-global-theme #tc-page-shop .shop-hero-visual-copy small {
  display: block !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-visual-copy b {
  font-size: 0.74rem;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-visual-copy small {
  color: #aebfd4 !important;
  font-size: 0.62rem;
}

/* --------------------------------------------------------------------------
 * Catalogue controls — one flat control band rather than stacked containers.
 * ----------------------------------------------------------------------- */
body.tryycart-global-theme #tc-page-shop .shop-toolbar,
body.tryycart-global-theme #tc-page-shop .shop-categories {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-toolbar {
  position: sticky !important;
  z-index: 90 !important;
  top: var(--tc-header-offset, 76px) !important;
  padding: 16px 0 11px !important;
  border-top: 1px solid rgba(15, 32, 56, 0.06) !important;
}

body.tryycart-global-theme #tc-page-shop .shop-toolbar > .shell {
  width: min(calc(100% - 40px), 1280px) !important;
  display: grid !important;
  grid-template-columns: minmax(320px, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-search {
  width: 100% !important;
  max-width: 650px !important;
  min-height: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid #cbd7e4 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  color: #60718a;
}

body.tryycart-global-theme #tc-page-shop .shop-search:focus-within {
  border-color: rgba(233, 93, 15, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(233, 93, 15, 0.09) !important;
  background: #fff !important;
}

body.tryycart-global-theme #tc-page-shop .shop-search input {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #17243a !important;
  font-size: 0.83rem !important;
  font-weight: 650 !important;
}

body.tryycart-global-theme #tc-page-shop .shop-search input:focus {
  border: 0 !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .toolbar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-width: 0;
  overflow: visible !important;
}

body.tryycart-global-theme #tc-page-shop .toolbar-actions > span {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  white-space: nowrap;
  color: #6b7c91 !important;
  font-size: 0.72rem !important;
}

body.tryycart-global-theme #tc-page-shop .toolbar-actions > span b {
  color: var(--tc-shop-ink);
}

body.tryycart-global-theme #tc-page-shop .toolbar-actions select,
body.tryycart-global-theme #tc-page-shop .admin-button {
  min-height: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  border: 1px solid #cbd7e4 !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
}

body.tryycart-global-theme #tc-page-shop .admin-button {
  color: #b94a0b !important;
  border-color: #fed2b6 !important;
  background: #fff8f3 !important;
}

body.tryycart-global-theme #tc-page-shop .shop-categories {
  padding: 0 0 14px !important;
  border-bottom: 1px solid #dbe4ed !important;
}

body.tryycart-global-theme #tc-page-shop .shop-categories > .shell {
  width: min(calc(100% - 40px), 1280px) !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-categories button {
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #53657d !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-categories button::after {
  content: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-categories button:hover {
  background: #f2f6fa !important;
  border-color: #d7e1eb !important;
}

body.tryycart-global-theme #tc-page-shop .shop-categories button.active {
  color: #fff !important;
  border-color: var(--tc-shop-orange) !important;
  background: var(--tc-shop-orange) !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
 * Catalogue workspace — flat reading plane, restrained product cards only.
 * ----------------------------------------------------------------------- */
body.tryycart-global-theme #tc-page-shop .shop-main {
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(38px, 4.5vw, 58px) 0 clamp(46px, 5vw, 68px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--tc-shop-soft) !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-main > .shell,
body.tryycart-global-theme #tc-page-shop .shop-layout {
  width: min(calc(100% - 40px), 1280px) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-layout {
  grid-template-columns: minmax(210px, 245px) minmax(0, 1fr) !important;
  gap: clamp(24px, 3vw, 38px) !important;
}

body.tryycart-global-theme #tc-page-shop .filter-panel {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 27px 0 0 !important;
  position: sticky !important;
  top: 166px !important;
  border: 0 !important;
  border-right: 1px solid var(--tc-shop-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .filter-panel::before,
body.tryycart-global-theme #tc-page-shop .catalog::before {
  display: none !important;
}

body.tryycart-global-theme #tc-page-shop .filter-heading {
  align-items: flex-start !important;
  gap: 12px;
  margin: 0 0 13px !important;
  padding: 0 0 15px !important;
  border-bottom: 1px solid var(--tc-shop-line) !important;
}

body.tryycart-global-theme #tc-page-shop .filter-heading small {
  display: block;
  margin-bottom: 3px;
  color: var(--tc-shop-orange) !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.12em !important;
}

body.tryycart-global-theme #tc-page-shop .filter-heading h2 {
  margin: 0 !important;
  color: var(--tc-shop-ink) !important;
  font-size: 1.12rem !important;
  line-height: 1.2 !important;
}

body.tryycart-global-theme #tc-page-shop .filter-heading button {
  padding: 4px 0 !important;
  color: #b94a0b !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 0.65rem !important;
}

body.tryycart-global-theme #tc-page-shop .filter-panel fieldset {
  margin: 0 !important;
  padding: 15px 0 11px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--tc-shop-line) !important;
}

body.tryycart-global-theme #tc-page-shop .filter-panel legend {
  margin-bottom: 9px !important;
  color: #27384f !important;
  font-size: 0.64rem !important;
}

body.tryycart-global-theme #tc-page-shop .filter-panel fieldset > label {
  min-height: 24px;
  margin: 4px 0 !important;
  color: #53657d !important;
  font-size: 0.71rem !important;
}

body.tryycart-global-theme #tc-page-shop .filter-panel select,
body.tryycart-global-theme #tc-page-shop .price-inputs input {
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 9px !important;
  border: 1px solid #cbd7e4 !important;
  border-radius: 9px !important;
  background: #fff !important;
  font-size: 0.7rem !important;
}

body.tryycart-global-theme #tc-page-shop .filter-note {
  margin: 18px 0 0 !important;
  padding: 1px 0 1px 14px !important;
  border: 0 !important;
  border-left: 3px solid var(--tc-shop-orange) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .filter-note b {
  color: var(--tc-shop-ink) !important;
  font-size: 0.72rem !important;
}

body.tryycart-global-theme #tc-page-shop .filter-note p {
  margin: 4px 0 7px !important;
  color: var(--tc-shop-copy) !important;
  font-size: 0.66rem !important;
  line-height: 1.5 !important;
}

body.tryycart-global-theme #tc-page-shop .filter-note button {
  color: #b94a0b !important;
  font-size: 0.66rem !important;
}

body.tryycart-global-theme #tc-page-shop .catalog {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .catalog-top {
  position: static !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 22px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--tc-shop-line) !important;
}

body.tryycart-global-theme #tc-page-shop .catalog-top > div:first-child {
  flex: 1 1 520px;
  min-width: 0;
}

body.tryycart-global-theme #tc-page-shop .catalog-top > div > span {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 0 8px !important;
  padding: 5px 10px !important;
  border: 1px solid #fdba8c !important;
  border-radius: 999px !important;
  background: #fff8f3 !important;
  color: #c44c09 !important;
  font-size: 0.6rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
}

body.tryycart-global-theme #tc-page-shop .catalog-top h2 {
  max-width: 760px;
  margin: 0 !important;
  color: var(--tc-shop-ink) !important;
  font-size: clamp(1.72rem, 2.65vw, 2.45rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
}

body.tryycart-global-theme #tc-page-shop .catalog-top p {
  max-width: 680px;
  margin: 8px 0 0 !important;
  color: var(--tc-shop-copy) !important;
  font-size: 0.82rem !important;
  line-height: 1.58 !important;
}

body.tryycart-global-theme #tc-page-shop .view-toggle {
  position: static !important;
  flex: 0 0 auto;
  align-self: flex-end !important;
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid #cbd7e4 !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .view-toggle button {
  min-width: 72px;
  height: 38px !important;
  padding: 0 10px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 0.67rem !important;
}

body.tryycart-global-theme #tc-page-shop .view-toggle button.active {
  background: var(--tc-shop-ink) !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.tryycart-global-theme #tc-page-shop .product-card {
  min-width: 0 !important;
  border: 1px solid #d5e0ea !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

body.tryycart-global-theme #tc-page-shop .product-card:hover {
  border-color: #f4a16e !important;
  box-shadow: 0 10px 24px rgba(15, 32, 56, 0.08) !important;
  transform: translateY(-2px) !important;
}

body.tryycart-global-theme #tc-page-shop .product-visual {
  min-height: 185px !important;
  height: 185px !important;
  border-bottom: 1px solid #e2e9f0 !important;
  background: #eef3f7 !important;
}

body.tryycart-global-theme #tc-page-shop .product-visual::after {
  opacity: 0.2 !important;
}

body.tryycart-global-theme #tc-page-shop .product-emoji img {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 135px;
  object-fit: contain;
}

body.tryycart-global-theme #tc-page-shop .wish-button {
  box-shadow: none !important;
  border: 1px solid rgba(15, 32, 56, 0.12) !important;
}

body.tryycart-global-theme #tc-page-shop .product-copy {
  padding: 15px !important;
}

body.tryycart-global-theme #tc-page-shop .product-copy h3 {
  min-height: 40px;
  height: auto !important;
  margin: 7px 0 8px !important;
  color: var(--tc-shop-ink) !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
}

body.tryycart-global-theme #tc-page-shop .product-add {
  min-height: 40px !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.list .product-card {
  grid-template-columns: minmax(150px, 195px) minmax(0, 1fr) !important;
  border-radius: 14px !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.list .product-visual {
  height: 100% !important;
  min-height: 190px !important;
  border-right: 1px solid #e2e9f0 !important;
  border-bottom: 0 !important;
}

body.tryycart-global-theme #tc-page-shop .no-results {
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  margin: 0 !important;
  padding: 48px 20px !important;
  border: 1px solid #d5e0ea !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .no-results > span {
  color: #8ca0b8;
  font-size: 2rem !important;
}

body.tryycart-global-theme #tc-page-shop .no-results h3 {
  color: var(--tc-shop-ink) !important;
  font-size: 1.2rem !important;
}

body.tryycart-global-theme #tc-page-shop .mobile-filter-button {
  display: none !important;
  width: fit-content !important;
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #f4b58d !important;
  border-radius: 9px !important;
  background: #fff8f3 !important;
  color: #bd4a0b !important;
  box-shadow: none !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
}

/* --------------------------------------------------------------------------
 * Cross-service navigation — one band with separators, not three cards.
 * ----------------------------------------------------------------------- */
body.tryycart-global-theme #tc-page-shop .shop-crosssell {
  width: 100% !important;
  margin: 0 !important;
  padding: 34px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(120deg, #0b172a, #142c52) !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell > .shell {
  width: min(calc(100% - 40px), 1280px) !important;
  display: grid !important;
  grid-template-columns: minmax(245px, 1.15fr) repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell > .shell > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 28px;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell > div > div > span {
  color: #fb923c !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell h2 {
  margin: 5px 0 0 !important;
  color: #fff !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell button {
  min-width: 0;
  min-height: 86px;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 18px !important;
  grid-template-rows: auto auto !important;
  align-content: center;
  gap: 2px 10px !important;
  margin: 0 !important;
  padding: 14px 20px !important;
  border: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell button:hover {
  background: rgba(255, 255, 255, 0.055) !important;
  transform: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell button i {
  grid-row: 1 / 3 !important;
  display: grid;
  place-items: center;
  color: #fb923c !important;
  font-size: 1rem !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell button b {
  color: #fff !important;
  font-size: 0.75rem !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell button small {
  color: #9fb0c7 !important;
  font-size: 0.62rem !important;
}

body.tryycart-global-theme #tc-page-shop .shop-crosssell button em {
  color: #fb923c !important;
}

/* --------------------------------------------------------------------------
 * Responsive wireframe.
 * ----------------------------------------------------------------------- */
@media (max-width: 1180px) {
  body.tryycart-global-theme #tc-page-shop .shop-hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr) !important;
    gap: 34px !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  body.tryycart-global-theme #tc-page-shop .shop-hero {
    min-height: 0 !important;
    padding: 32px 0 34px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-inner {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-card,
  body.tryycart-global-theme #tc-page-shop .shop-hero-visual {
    min-height: 270px !important;
    height: 270px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-layout {
    grid-template-columns: 1fr !important;
  }

  body.tryycart-global-theme #tc-page-shop .mobile-filter-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    order: 2;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top > div:first-child {
    order: 1;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top .view-toggle {
    order: 3;
  }

  body.tryycart-global-theme #tc-page-shop .filter-panel {
    display: none !important;
    position: fixed !important;
    z-index: 5200 !important;
    inset: 0 0 0 auto !important;
    width: min(390px, 100%) !important;
    max-width: 100% !important;
    height: 100dvh !important;
    padding: 72px 24px 30px !important;
    border: 0 !important;
    border-left: 1px solid #d5e0ea !important;
    background: #fff !important;
    box-shadow: -18px 0 50px rgba(15, 32, 56, 0.18) !important;
    overflow-y: auto !important;
  }

  body.tryycart-global-theme #tc-page-shop .filter-panel.mobile-open {
    display: block !important;
  }

  body.tryycart-global-theme #tc-page-shop .filter-close {
    display: grid !important;
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid #d5e0ea !important;
    border-radius: 50% !important;
    background: #f5f7fa !important;
  }
}

@media (max-width: 780px) {
  body.tryycart-global-theme #tc-page-shop .shop-hero-inner,
  body.tryycart-global-theme #tc-page-shop .shop-toolbar > .shell,
  body.tryycart-global-theme #tc-page-shop .shop-categories > .shell,
  body.tryycart-global-theme #tc-page-shop .shop-main > .shell,
  body.tryycart-global-theme #tc-page-shop .shop-layout,
  body.tryycart-global-theme #tc-page-shop .shop-crosssell > .shell {
    width: calc(100% - 24px) !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero h1 {
    font-size: clamp(2.25rem, 8.6vw, 3rem) !important;
    letter-spacing: -0.052em !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-toolbar {
    position: relative !important;
    top: auto !important;
    padding: 14px 0 10px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-toolbar > .shell {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-search {
    max-width: none !important;
  }

  body.tryycart-global-theme #tc-page-shop .toolbar-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    justify-content: stretch !important;
  }

  body.tryycart-global-theme #tc-page-shop .toolbar-actions > span {
    justify-self: start;
  }

  body.tryycart-global-theme #tc-page-shop .toolbar-actions select {
    min-width: 150px;
  }

  body.tryycart-global-theme #tc-page-shop .admin-button {
    grid-column: 1 / -1;
    width: fit-content;
  }

  body.tryycart-global-theme #tc-page-shop .shop-categories > .shell {
    scroll-padding-inline: 12px;
    padding-right: 10px !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top {
    align-items: flex-start !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top > div:first-child {
    flex: 1 0 100%;
    flex-basis: 100%;
  }

  body.tryycart-global-theme #tc-page-shop .mobile-filter-button,
  body.tryycart-global-theme #tc-page-shop .view-toggle {
    margin-top: 1px !important;
  }

  body.tryycart-global-theme #tc-page-shop .view-toggle {
    align-self: flex-start !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-crosssell > .shell {
    grid-template-columns: 1fr 1fr !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-crosssell > .shell > div:first-child {
    grid-column: 1 / -1;
    padding: 0 0 18px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-crosssell button {
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-crosssell button:nth-of-type(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
}

body.tryycart-global-theme #tc-page-shop .product-grid.grid .product-card {
  display: flex !important;
  flex-direction: column !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.grid .product-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.grid .product-add {
  margin-top: auto !important;
}

@media (min-width: 561px) and (max-width: 980px) {
  body.tryycart-global-theme #tc-page-shop .product-grid.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px 20px !important;
  }
}

@media (max-width: 560px) {
  body.tryycart-global-theme #tc-page-shop .shop-hero {
    padding: 26px 0 28px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-inner {
    gap: 20px !important;
  }

  body.tryycart-global-theme #tc-page-shop .hero-pill {
    margin-bottom: 11px !important;
    padding: 6px 10px !important;
    font-size: 0.6rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero h1 {
    margin: 0 0 11px !important;
    font-size: clamp(2.05rem, 11.1vw, 2.72rem) !important;
    line-height: 1.02 !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-actions .btn {
    width: 100% !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-trust {
    gap: 6px 14px;
    margin-top: 14px;
    font-size: 0.66rem;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-card,
  body.tryycart-global-theme #tc-page-shop .shop-hero-visual {
    display: block !important;
    min-height: 212px !important;
    height: 212px !important;
    border-width: 6px !important;
    border-radius: 15px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-card::after {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.5rem;
    letter-spacing: 0.055em;
  }

  body.tryycart-global-theme #tc-page-shop .shop-main {
    padding: 32px 0 44px !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top {
    gap: 13px !important;
    margin-bottom: 18px !important;
    padding-bottom: 16px !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top h2 {
    font-size: 1.72rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top p {
    font-size: 0.76rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .mobile-filter-button {
    min-width: 126px !important;
  }

  body.tryycart-global-theme #tc-page-shop .view-toggle {
    width: fit-content !important;
    margin-left: auto !important;
  }

  body.tryycart-global-theme #tc-page-shop .view-toggle button {
    min-width: 68px;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-card {
    grid-template-columns: 112px minmax(0, 1fr) !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-visual {
    min-height: 170px !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.list .wish-button {
    left: 74px !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-copy {
    display: block !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-crosssell {
    padding: 28px 0 !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-crosssell > .shell {
    grid-template-columns: 1fr !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-crosssell button,
  body.tryycart-global-theme #tc-page-shop .shop-crosssell button:nth-of-type(n) {
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding-inline: 8px !important;
  }
}

/* 1.10.21 finishing pass: product photography. */
body.tryycart-global-theme #tc-page-shop .product-visual .product-emoji:has(img) {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
  transform: none !important;
}

body.tryycart-global-theme #tc-page-shop .product-visual .product-emoji img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 12px 14px 34px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.tryycart-global-theme #tc-page-shop .product-visual:hover .product-emoji:has(img) {
  transform: none !important;
}

@media (max-width: 560px) {
  body.tryycart-global-theme #tc-page-shop .product-visual .product-emoji img {
    padding: 12px 12px 34px !important;
  }
}

/* --------------------------------------------------------------------------
 * Finishing pass — exact Home-page rhythm and a box-free editorial catalogue.
 * ----------------------------------------------------------------------- */
@media (min-width: 981px) {
  body.tryycart-global-theme #tc-page-shop .shop-hero {
    display: flex !important;
    align-items: center !important;
    height: 408px !important;
    min-height: 408px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-inner {
    width: min(calc(100% - 40px), 1480px) !important;
    max-width: 1480px !important;
    height: 408px !important;
    min-height: 408px !important;
    padding: 30px 0 !important;
    box-sizing: border-box !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-card,
  body.tryycart-global-theme #tc-page-shop .shop-hero-visual {
    height: 340px !important;
    min-height: 340px !important;
  }
}

body.tryycart-global-theme #tc-page-shop .shop-hero h1 {
  max-width: 680px !important;
  margin: 14px 0 11px !important;
  font-size: clamp(2.45rem, 4vw, 3.75rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -0.052em !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero p {
  max-width: 620px !important;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem) !important;
  line-height: 1.62 !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-actions {
  margin-top: 16px !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-card,
body.tryycart-global-theme #tc-page-shop .shop-hero-visual {
  border: 1px solid rgba(146, 176, 214, 0.38) !important;
  border-radius: 20px !important;
  box-shadow: 0 22px 48px rgba(2, 10, 26, 0.30) !important;
}

body.tryycart-global-theme #tc-page-shop .shop-hero-card::after,
body.tryycart-global-theme #tc-page-shop .shop-hero-visual-copy {
  min-height: 40px !important;
}

/* Discovery is one quiet control band, not a collection of boxes. */
body.tryycart-global-theme #tc-page-shop .shop-toolbar,
body.tryycart-global-theme #tc-page-shop .shop-categories {
  background: #fff !important;
}

body.tryycart-global-theme #tc-page-shop .shop-search {
  border-color: #cfdbe7 !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-shop .shop-search > .tc-line-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #71839a;
}

body.tryycart-global-theme #tc-page-shop .toolbar-actions {
  gap: 13px !important;
}

body.tryycart-global-theme #tc-page-shop .toolbar-actions > span {
  display: inline-flex !important;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

body.tryycart-global-theme #tc-page-shop .admin-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.tryycart-global-theme #tc-page-shop .admin-button .tc-line-icon,
body.tryycart-global-theme #tc-page-shop .mobile-filter-button .tc-line-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

/* Open editorial reading plane. */
body.tryycart-global-theme #tc-page-shop .shop-main {
  background: #fff !important;
  padding-top: clamp(36px, 4vw, 54px) !important;
}

body.tryycart-global-theme #tc-page-shop .catalog-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  column-gap: 24px !important;
  row-gap: 14px !important;
}

body.tryycart-global-theme #tc-page-shop .catalog-top > div:first-child {
  min-width: 0;
}

body.tryycart-global-theme #tc-page-shop .catalog-top h2 .gradient-text {
  display: inline !important;
  background: linear-gradient(92deg, #df5c12 0%, #7f8fa2 50%, #0ea5e9 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Product tiles keep structure but lose the unnecessary outer card shell. */
body.tryycart-global-theme #tc-page-shop .product-grid.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px 22px !important;
}

body.tryycart-global-theme #tc-page-shop .product-card,
body.tryycart-global-theme #tc-page-shop .product-card:hover {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body.tryycart-global-theme #tc-page-shop .product-visual {
  overflow: hidden !important;
  min-height: 205px !important;
  height: 205px !important;
  border: 1px solid #d9e3ec !important;
  border-radius: 12px !important;
  background: #f1f5f8 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

body.tryycart-global-theme #tc-page-shop .product-card:hover .product-visual,
body.tryycart-global-theme #tc-page-shop .product-card:focus-within .product-visual {
  border-color: #efa77d !important;
  background: #f7f9fb !important;
}

body.tryycart-global-theme #tc-page-shop .product-emoji {
  filter: none !important;
}

body.tryycart-global-theme #tc-page-shop .product-emoji img {
  max-width: 82% !important;
  max-height: 76% !important;
}

body.tryycart-global-theme #tc-page-shop .product-copy {
  padding: 14px 2px 0 !important;
}

body.tryycart-global-theme #tc-page-shop .product-copy h3 {
  min-height: 0 !important;
  margin: 7px 0 8px !important;
  font-size: 0.94rem !important;
  line-height: 1.38 !important;
}

body.tryycart-global-theme #tc-page-shop .product-add {
  width: fit-content !important;
  min-width: 132px !important;
  min-height: 38px !important;
  margin-top: 2px !important;
  padding-inline: 15px !important;
}

body.tryycart-global-theme #tc-page-shop .wish-button {
  top: 10px !important;
  right: 10px !important;
  border-color: rgba(15, 32, 56, 0.14) !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

/* List mode is a professional content row rather than another large card. */
body.tryycart-global-theme #tc-page-shop .product-grid.list {
  gap: 0 !important;
  border-top: 1px solid var(--tc-shop-line) !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.list .product-card {
  grid-template-columns: 176px minmax(0, 1fr) !important;
  gap: 22px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid var(--tc-shop-line) !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.list .product-visual {
  min-height: 172px !important;
  height: 172px !important;
  border-right: 1px solid #d9e3ec !important;
  border-bottom: 1px solid #d9e3ec !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.list .product-copy {
  padding: 8px 0 !important;
}

body.tryycart-global-theme #tc-page-shop .product-grid.list .product-add {
  width: 150px !important;
}

body.tryycart-global-theme #tc-page-shop .no-results {
  border: 0 !important;
  border-top: 1px solid var(--tc-shop-line) !important;
  border-bottom: 1px solid var(--tc-shop-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.tryycart-global-theme #tc-page-shop .no-results > span .tc-line-icon {
  width: 36px;
  height: 36px;
}

@media (max-width: 1180px) and (min-width: 781px) {
  body.tryycart-global-theme #tc-page-shop .product-grid.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  body.tryycart-global-theme #tc-page-shop .shop-hero {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 0 24px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-inner {
    width: min(calc(100% - 24px), 760px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-card,
  body.tryycart-global-theme #tc-page-shop .shop-hero-visual {
    height: clamp(230px, 35vw, 278px) !important;
    min-height: 0 !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

@media (max-width: 780px) {
  body.tryycart-global-theme #tc-page-shop .catalog-top {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top > div:first-child {
    grid-column: 1 / -1 !important;
  }

  body.tryycart-global-theme #tc-page-shop .mobile-filter-button {
    display: inline-flex !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-items: center !important;
    gap: 6px;
  }

  body.tryycart-global-theme #tc-page-shop .view-toggle {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 560px) {
  body.tryycart-global-theme #tc-page-shop .shop-hero {
    padding: 22px 0 18px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-inner {
    gap: 14px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero h1 {
    margin: 11px 0 9px !important;
    font-size: clamp(2rem, 10vw, 2.62rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.047em !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero p {
    font-size: 0.9rem !important;
    line-height: 1.54 !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-actions {
    margin-top: 13px !important;
    gap: 8px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-actions .btn {
    min-height: 42px !important;
    padding-inline: 10px !important;
    font-size: 0.72rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-trust {
    margin-top: 11px !important;
    gap: 5px 12px !important;
    font-size: 0.62rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-hero-card,
  body.tryycart-global-theme #tc-page-shop .shop-hero-visual {
    height: 205px !important;
    min-height: 205px !important;
    border-width: 1px !important;
    border-radius: 15px !important;
  }

  body.tryycart-global-theme #tc-page-shop .shop-main {
    padding: 28px 0 38px !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top h2 {
    font-size: clamp(1.65rem, 8.2vw, 2rem) !important;
  }

  /* Compact horizontal product rows substantially reduce phone scrolling. */
  body.tryycart-global-theme #tc-page-shop .product-grid.grid,
  body.tryycart-global-theme #tc-page-shop .product-grid.list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    border-top: 1px solid var(--tc-shop-line) !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.grid .product-card,
  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-card {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--tc-shop-line) !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.grid .product-visual,
  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-visual {
    width: 112px !important;
    min-width: 112px !important;
    height: 138px !important;
    min-height: 138px !important;
    border: 1px solid #d9e3ec !important;
    border-radius: 10px !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.grid .product-visual small,
  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-visual small {
    display: none !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-grid.grid .product-copy,
  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-copy {
    display: block !important;
    min-width: 0 !important;
    padding: 1px 0 0 !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-copy h3 {
    margin: 5px 0 6px !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  body.tryycart-global-theme #tc-page-shop .category-label {
    font-size: 0.49rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .rating {
    gap: 5px !important;
  }

  body.tryycart-global-theme #tc-page-shop .rating small {
    font-size: 0.49rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .price-row {
    margin: 7px 0 !important;
  }

  body.tryycart-global-theme #tc-page-shop .price-row b {
    font-size: 0.9rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-add,
  body.tryycart-global-theme #tc-page-shop .product-grid.list .product-add {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    height: 34px !important;
    padding-inline: 9px !important;
    font-size: 0.66rem !important;
  }

  body.tryycart-global-theme #tc-page-shop .wish-button,
  body.tryycart-global-theme #tc-page-shop .product-grid.list .wish-button {
    top: 23px !important;
    right: auto !important;
    left: 76px !important;
  }

  body.tryycart-global-theme #tc-page-shop .sale-chip {
    top: 23px !important;
    left: 6px !important;
  }

  body.tryycart-global-theme #tc-page-shop .product-emoji img {
    max-width: 88% !important;
    max-height: 78% !important;
  }
}


/* Laptop/tablet catalogue safety: the filter rail becomes a drawer before it can
   squeeze the product area. The 408px hero remains unchanged at 1024px. */
@media (max-width: 1024px) {
  body.tryycart-global-theme #tc-page-shop .shop-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.tryycart-global-theme #tc-page-shop .mobile-filter-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  body.tryycart-global-theme #tc-page-shop .filter-panel {
    display: none !important;
    position: fixed !important;
    z-index: 5200 !important;
    inset: 0 0 0 auto !important;
    width: min(390px, 100%) !important;
    max-width: 100% !important;
    height: 100dvh !important;
    padding: 72px 24px 30px !important;
    border: 0 !important;
    border-left: 1px solid #d5e0ea !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: -18px 0 50px rgba(15, 32, 56, 0.18) !important;
    overflow-y: auto !important;
  }

  body.tryycart-global-theme #tc-page-shop .filter-panel.mobile-open {
    display: block !important;
  }

  body.tryycart-global-theme #tc-page-shop .filter-close {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid #d5e0ea !important;
    border-radius: 50% !important;
    background: #f5f7fa !important;
  }
}

@media (max-width: 980px) and (min-width: 561px) {
  body.tryycart-global-theme #tc-page-shop .product-grid.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 780px) {
  body.tryycart-global-theme #tc-page-shop .catalog-top {
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top > div:first-child {
    grid-column: 1 / -1 !important;
  }

  body.tryycart-global-theme #tc-page-shop .mobile-filter-button {
    grid-column: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  body.tryycart-global-theme #tc-page-shop .view-toggle {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
  }
}

@media (min-width: 781px) and (max-width: 1024px) {
  body.tryycart-global-theme #tc-page-shop .catalog-top {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: end !important;
  }

  body.tryycart-global-theme #tc-page-shop .catalog-top > div:first-child {
    grid-column: 1 !important;
  }

  body.tryycart-global-theme #tc-page-shop .mobile-filter-button {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: end !important;
    margin: 0 !important;
  }

  body.tryycart-global-theme #tc-page-shop .view-toggle {
    grid-column: 3 !important;
    justify-self: end !important;
    align-self: end !important;
    width: auto !important;
  }
}
