/*
 * TryyCart 1.10.17 — worldwide destination + confidence marquee.
 * This final layer replaces the marketplace-name ticker and removes the
 * duplicated proof panel from the hero window. It changes presentation only.
 */

/* The reference proof block now lives once in the moving rail below the hero. */
body.tryycart-global-theme #tc-page-home .hero-map > .hero-support,
body.tryycart-global-theme #tc-page-home > .stats-bar {
  display: none !important;
}

body.tryycart-global-theme .brand-marquee.tc-proof-marquee {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: auto !important;
  min-height: 66px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 176, 92, 0.42);
  border-bottom: 1px solid rgba(96, 148, 222, 0.34);
  background:
    radial-gradient(circle at 18% -80%, rgba(255, 133, 51, 0.26), transparent 32%),
    radial-gradient(circle at 86% 160%, rgba(72, 111, 224, 0.31), transparent 38%),
    linear-gradient(100deg, #07152d 0%, #0b2045 48%, #102b61 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 138, 54, 0.72),
    inset 0 -1px 0 rgba(120, 171, 241, 0.18),
    0 12px 28px rgba(8, 28, 61, 0.12);
  color: #f7fbff;
  overflow: hidden;
}

body.tryycart-global-theme .brand-marquee.tc-proof-marquee::before,
body.tryycart-global-theme .brand-marquee.tc-proof-marquee::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: clamp(22px, 4vw, 72px);
  pointer-events: none;
  content: "";
}

body.tryycart-global-theme .brand-marquee.tc-proof-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #07152d 8%, rgba(7, 21, 45, 0));
}

body.tryycart-global-theme .brand-marquee.tc-proof-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #102b61 8%, rgba(16, 43, 97, 0));
}

body.tryycart-global-theme .brand-marquee.tc-proof-marquee > .brand-marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  width: max-content;
  min-width: max-content;
  font-size: inherit;
  letter-spacing: 0;
  animation: tcProofMarquee 44s linear infinite;
  will-change: transform;
}

body.tryycart-global-theme .brand-marquee.tc-proof-marquee:hover > .brand-marquee-track,
body.tryycart-global-theme .brand-marquee.tc-proof-marquee:focus-within > .brand-marquee-track {
  animation-play-state: paused;
}

body.tryycart-global-theme .tc-proof-marquee-group {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 14px;
  padding-right: 18px;
}

body.tryycart-global-theme .tc-worldwide-block,
body.tryycart-global-theme .tc-proof-block {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
}

body.tryycart-global-theme .tc-marquee-lead,
body.tryycart-global-theme .tc-country-chip,
body.tryycart-global-theme .tc-proof-chip,
body.tryycart-global-theme .tc-marquee-trust {
  box-sizing: border-box;
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(160, 193, 238, 0.29);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.115), rgba(77, 121, 193, 0.085));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 5px 15px rgba(1, 13, 34, 0.12);
  color: #f8fbff;
}

body.tryycart-global-theme .tc-marquee-lead {
  gap: 9px;
  min-width: 166px;
  padding: 6px 13px 6px 9px;
  border-color: rgba(255, 169, 93, 0.42);
  box-shadow:
    inset 3px 0 0 #ff7a24,
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 5px 15px rgba(1, 13, 34, 0.13);
}

body.tryycart-global-theme .tc-country-chip {
  gap: 7px;
  min-width: 82px;
  padding: 6px 10px;
}

body.tryycart-global-theme .tc-country-chip b {
  color: #f8fbff;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body.tryycart-global-theme .tc-country-flag {
  display: grid;
  place-items: center;
  width: 25px;
  min-width: 25px;
  height: 20px;
  border-radius: 4px;
  font-family: "Twemoji Mozilla", "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 1.32rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

body.tryycart-global-theme .tc-country-more {
  gap: 8px;
  min-width: 82px;
  padding-inline: 8px 10px;
  border-color: rgba(255, 171, 87, 0.36);
}

body.tryycart-global-theme .tc-marquee-divider {
  display: block;
  flex: none;
  width: 1px;
  height: 34px;
  margin-inline: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 151, 70, 0.88) 28%,
    rgba(91, 158, 246, 0.78) 72%,
    transparent
  );
  box-shadow: 0 0 10px rgba(255, 143, 55, 0.32);
}

body.tryycart-global-theme .tc-proof-chip {
  gap: 7px;
  min-width: 91px;
  padding: 5px 9px 5px 7px;
}

body.tryycart-global-theme .tc-proof-chip:nth-child(4) {
  min-width: 113px;
}

body.tryycart-global-theme .tc-proof-saving {
  border-color: rgba(255, 167, 82, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 119, 35, 0.16), rgba(75, 107, 196, 0.1));
}

body.tryycart-global-theme .tc-marquee-lead > .tc-line-icon,
body.tryycart-global-theme .tc-country-more > .tc-line-icon,
body.tryycart-global-theme .tc-proof-chip > .tc-line-icon,
body.tryycart-global-theme .tc-proof-symbol {
  box-sizing: border-box;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 27px;
  min-width: 27px;
  height: 27px;
  min-height: 27px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7624 0%, #694fd3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 4px 10px rgba(1, 15, 38, 0.2);
  color: #fff;
}

body.tryycart-global-theme .tc-proof-saving > .tc-line-icon {
  background: linear-gradient(135deg, #f59e0b, #e2532f);
}

body.tryycart-global-theme .tc-marquee-lead .tc-line-icon svg,
body.tryycart-global-theme .tc-country-more .tc-line-icon svg,
body.tryycart-global-theme .tc-proof-chip .tc-line-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

body.tryycart-global-theme .tc-proof-symbol {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

body.tryycart-global-theme .tc-marquee-copy {
  display: inline-flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  white-space: nowrap;
}

body.tryycart-global-theme .tc-marquee-copy b {
  color: #f8fbff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: -0.015em;
  line-height: 1;
}

body.tryycart-global-theme .tc-marquee-copy small {
  color: #a9c3e8;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  text-transform: none;
}

body.tryycart-global-theme .tc-marquee-lead .tc-marquee-copy b {
  font-size: 0.74rem;
}

body.tryycart-global-theme .tc-marquee-lead .tc-marquee-copy small {
  color: #ffd0ae;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

body.tryycart-global-theme .tc-country-more .tc-marquee-copy b {
  font-size: 0.72rem;
}

body.tryycart-global-theme .tc-marquee-trust {
  position: relative;
  isolation: isolate;
  gap: 9px;
  min-width: 246px;
  padding: 5px 14px 5px 10px;
  overflow: hidden;
  border-color: rgba(146, 183, 239, 0.42);
  background:
    linear-gradient(105deg, rgba(255, 112, 32, 0.15), rgba(43, 89, 171, 0.28) 48%, rgba(72, 72, 185, 0.2));
  box-shadow:
    inset 3px 0 0 #ff7020,
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 5px 15px rgba(1, 13, 34, 0.14);
}

body.tryycart-global-theme .tc-marquee-trust::after {
  position: absolute;
  z-index: -1;
  top: -27px;
  right: -18px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 157, 255, 0.2), transparent 68%);
  content: "";
}

body.tryycart-global-theme .tc-marquee-avatars {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding-left: 3px;
}

body.tryycart-global-theme .tc-marquee-avatars i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin: 0 0 0 -5px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a36, #4e69c9);
  box-shadow: 0 3px 8px rgba(1, 15, 38, 0.22);
  color: #fff;
  font-size: 0.49rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

body.tryycart-global-theme .tc-marquee-avatars i:first-child {
  margin-left: 0;
}

body.tryycart-global-theme .tc-marquee-avatars i:nth-child(2) {
  background: linear-gradient(135deg, #4e69c9, #7a53bb);
}

body.tryycart-global-theme .tc-marquee-avatars i:nth-child(3) {
  background: linear-gradient(135deg, #d76645, #ff9a4d);
}

body.tryycart-global-theme .tc-marquee-trust .tc-marquee-copy b {
  font-size: 0.7rem;
}

body.tryycart-global-theme .tc-marquee-trust .tc-marquee-copy small {
  font-size: 0.51rem;
}

@keyframes tcProofMarquee {
  to {
    transform: translate3d(-33.333333%, 0, 0);
  }
}

@media (max-width: 760px) {
  body.tryycart-global-theme .brand-marquee.tc-proof-marquee {
    min-height: 58px;
    padding-block: 6px;
  }

  body.tryycart-global-theme .brand-marquee.tc-proof-marquee > .brand-marquee-track {
    animation-duration: 38s;
  }

  body.tryycart-global-theme .tc-proof-marquee-group {
    gap: 10px;
    padding-right: 14px;
  }

  body.tryycart-global-theme .tc-worldwide-block,
  body.tryycart-global-theme .tc-proof-block {
    gap: 5px;
  }

  body.tryycart-global-theme .tc-marquee-lead,
  body.tryycart-global-theme .tc-country-chip,
  body.tryycart-global-theme .tc-proof-chip,
  body.tryycart-global-theme .tc-marquee-trust {
    min-height: 38px;
    border-radius: 9px;
  }

  body.tryycart-global-theme .tc-marquee-lead {
    min-width: 151px;
    padding: 5px 10px 5px 7px;
  }

  body.tryycart-global-theme .tc-country-chip {
    min-width: 75px;
    padding: 5px 8px;
  }

  body.tryycart-global-theme .tc-country-flag {
    width: 22px;
    min-width: 22px;
    height: 18px;
    font-size: 1.18rem;
  }

  body.tryycart-global-theme .tc-country-chip b {
    font-size: 0.68rem;
  }

  body.tryycart-global-theme .tc-proof-chip {
    min-width: 84px;
    padding: 4px 7px 4px 6px;
  }

  body.tryycart-global-theme .tc-proof-chip:nth-child(4) {
    min-width: 105px;
  }

  body.tryycart-global-theme .tc-marquee-lead > .tc-line-icon,
  body.tryycart-global-theme .tc-country-more > .tc-line-icon,
  body.tryycart-global-theme .tc-proof-chip > .tc-line-icon,
  body.tryycart-global-theme .tc-proof-symbol {
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    border-radius: 7px;
  }

  body.tryycart-global-theme .tc-marquee-lead .tc-line-icon svg,
  body.tryycart-global-theme .tc-country-more .tc-line-icon svg,
  body.tryycart-global-theme .tc-proof-chip .tc-line-icon svg {
    width: 13px;
    height: 13px;
  }

  body.tryycart-global-theme .tc-marquee-copy b,
  body.tryycart-global-theme .tc-marquee-lead .tc-marquee-copy b {
    font-size: 0.67rem;
  }

  body.tryycart-global-theme .tc-marquee-copy small,
  body.tryycart-global-theme .tc-marquee-lead .tc-marquee-copy small {
    font-size: 0.48rem;
  }

  body.tryycart-global-theme .tc-marquee-trust {
    min-width: 224px;
    padding-inline: 8px 12px;
  }

  body.tryycart-global-theme .tc-marquee-avatars i {
    width: 21px;
    height: 21px;
    font-size: 0.45rem;
  }

  body.tryycart-global-theme .tc-marquee-trust .tc-marquee-copy b {
    font-size: 0.65rem;
  }

  body.tryycart-global-theme .tc-marquee-trust .tc-marquee-copy small {
    font-size: 0.47rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tryycart-global-theme .brand-marquee.tc-proof-marquee {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  body.tryycart-global-theme .brand-marquee.tc-proof-marquee > .brand-marquee-track {
    animation: none;
    transform: none;
  }

  body.tryycart-global-theme .brand-marquee.tc-proof-marquee .tc-proof-marquee-group:nth-child(n + 2) {
    display: none;
  }
}
