/*
 * TryyCart connected journey visual layer.
 *
 * Loaded after clarity.css. This release only changes presentation: the
 * application bundle, calculators, form fields, routes and WooCommerce data
 * flow are deliberately untouched.
 */

:root {
  --tc-page: #e8edf4;
  --tc-surface: #f5f7fa;
  --tc-sky-soft: #e4edf7;
  --tc-blue-soft: #dfe9f5;
  --tc-orange-soft: #f7e4d8;
  --tc-mint-soft: #dceee9;
  --tc-yellow-soft: #f5efd4;
  --tc-lavender-soft: #e8e4f3;
  --tc-line: #c7d2df;
  --tc-shadow-sm: 0 8px 22px rgba(22, 42, 70, 0.1);
  --tc-shadow-md: 0 17px 42px rgba(22, 42, 70, 0.14);
}

html,
body.tryycart-global-theme,
body.tryycart-global-theme .site-root {
  background: var(--tc-page);
}

body .tc-site-chrome.tc-site-chrome .tc-main-header {
  background: rgba(245, 248, 252, 0.98);
  border-bottom-color: #c9d4e2;
}

body .tc-site-chrome.tc-site-chrome .tc-desktop-nav {
  background: #e9eef5;
  border-color: #c8d3e1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body .tc-site-chrome.tc-site-chrome .tc-desktop-nav a:hover,
body .tc-site-chrome.tc-site-chrome .tc-desktop-nav a:focus-visible {
  background: #f6f8fb;
}

/* Mid-tone hero treatment: calm and readable without returning to navy. */
body.tryycart-global-theme .hero {
  background: radial-gradient(
      circle at 8% 13%,
      rgba(240, 157, 97, 0.27),
      transparent 28%
    ),
    radial-gradient(
      circle at 87% 14%,
      rgba(88, 139, 205, 0.29),
      transparent 31%
    ),
    linear-gradient(135deg, #e9e7e5 0%, #e3e9f1 52%, #dbe6f1 100%);
}

body.tryycart-global-theme .hero::before {
  opacity: 0.48;
}

body.tryycart-global-theme .hero-metrics span,
body.tryycart-global-theme .hero-showcase,
body.tryycart-global-theme .map-card {
  background: rgba(246, 248, 251, 0.9);
  border-color: #bdcbdc;
}

body.tryycart-global-theme .showcase-stage {
  background: #dde7f2;
}

body.tryycart-global-theme
  :is(
    .order-hero,
    .courier-hero,
    .shop-hero,
    .hiw-hero,
    .checkout-hero,
    .content-hero,
    .placeholder-hero
  ) {
  background: radial-gradient(
      circle at 86% 12%,
      rgba(80, 128, 196, 0.24),
      transparent 30%
    ),
    linear-gradient(135deg, #e7e8ec, #dfe7f0 58%, #e5e8ed) !important;
}

/* Headline hierarchy: important messages lead; labels and card titles recede. */
body.tryycart-global-theme .section-title h2,
body.tryycart-global-theme .services-section .section-title h2,
body.tryycart-global-theme .steps-section .section-title h2,
body.tryycart-global-theme .problem-section .section-title h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.15rem);
  line-height: 1.06;
}

body.tryycart-global-theme .section-intro {
  color: #43546b;
  font-size: 1.02rem !important;
  line-height: 1.58 !important;
}

body.tryycart-global-theme
  :is(.eyebrow, .card-kicker, .combine-kicker, .service-art > small) {
  font-size: 0.58rem !important;
  letter-spacing: 0.1em;
}

/*
 * Connected homepage journey. Each section is a separate, scannable window,
 * while the connector marker makes the order of the customer journey obvious.
 */
body.tryycart-global-theme
  :is(.services-section, .shipping-story, .steps-section, .problem-section) {
  background: #e5eaf1 !important;
  border: 0;
}

body.tryycart-global-theme .services-section {
  padding: 42px 0 12px;
}

body.tryycart-global-theme .shipping-story,
body.tryycart-global-theme .steps-section {
  padding: 0 0 12px;
}

body.tryycart-global-theme .problem-section {
  padding: 0 0 42px;
}

body.tryycart-global-theme
  :is(.services-section, .shipping-story, .steps-section, .problem-section)
  > .shell {
  position: relative;
  width: min(1180px, calc(100% - 34px));
  border: 1px solid #bdcad9;
  border-radius: 24px;
  padding: 50px 24px 22px;
  background: linear-gradient(145deg, #f4f6f9 0%, #edf2f7 100%);
  box-shadow:
    0 14px 34px rgba(25, 48, 78, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.tryycart-global-theme
  :is(.services-section, .shipping-story, .steps-section, .problem-section)
  > .shell::before {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  height: 34px;
  border-bottom: 1px solid #c6d1de;
  border-radius: 23px 23px 0 0;
  padding-left: 67px;
  background: radial-gradient(
      circle at 18px 50%,
      #df6b37 0 4px,
      transparent 5px
    ),
    radial-gradient(circle at 35px 50%, #d5a834 0 4px, transparent 5px),
    radial-gradient(circle at 52px 50%, #4b9b85 0 4px, transparent 5px),
    linear-gradient(90deg, #dde4ec, #e8edf3);
  color: #536278;
  content: "TRYYCART CUSTOMER JOURNEY";
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.tryycart-global-theme .services-section > .shell::before {
  content: "01  ·  CHOOSE YOUR TRYYCART SERVICE";
}

body.tryycart-global-theme .shipping-story > .shell::before {
  content: "02  ·  PREPARE, DELIVER & CHECK YOUR RATE";
}

body.tryycart-global-theme .steps-section > .shell::before {
  content: "03  ·  ONE INDIA HUB TO YOUR DOOR";
}

body.tryycart-global-theme .problem-section > .shell::before {
  content: "04  ·  WHY CUSTOMERS CHOOSE TRYYCART";
}

body.tryycart-global-theme
  :is(.services-section, .shipping-story, .steps-section)
  > .shell::after {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: -24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 4px solid #e5eaf1;
  border-radius: 50%;
  background: linear-gradient(145deg, #315fae, #c85620);
  color: #fff;
  content: "↓";
  font-size: 0.86rem;
  box-shadow: 0 6px 14px rgba(31, 54, 85, 0.2);
  transform: translateX(-50%);
}

/* Service window: shorter cards with the choice and action kept prominent. */
body.tryycart-global-theme .services-section .section-title {
  margin-bottom: 8px;
}

body.tryycart-global-theme .services-section .section-intro {
  max-width: 760px;
  margin-bottom: 18px;
}

body.tryycart-global-theme .service-network {
  max-width: 680px;
  margin-bottom: 13px;
}

body.tryycart-global-theme .service-grid {
  gap: 13px;
}

body.tryycart-global-theme .service-card {
  overflow: hidden;
  border-color: #c4d0dd;
  border-radius: 16px;
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(24, 48, 79, 0.09);
}

body.tryycart-global-theme .service-art {
  height: 142px;
}

body.tryycart-global-theme .service-primary-image,
body.tryycart-global-theme .shipping-story img {
  filter: saturate(1.08) contrast(1.03) brightness(0.96);
}

body.tryycart-global-theme .service-inset {
  width: 66px;
  height: 43px;
}

body.tryycart-global-theme .service-body {
  padding: 14px 16px 15px;
}

body.tryycart-global-theme .service-body h3 {
  margin: 3px 0 5px;
  font-size: 1.04rem;
}

body.tryycart-global-theme .service-body p {
  min-height: 45px;
  margin: 0;
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
}

body.tryycart-global-theme .service-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0;
  padding: 0;
}

body.tryycart-global-theme .service-body li {
  border: 1px solid #d1dbe6;
  border-radius: 999px;
  padding: 3px 7px;
  background: #e9eef4;
  color: #42536a;
  font-size: 0.61rem;
}

body.tryycart-global-theme .service-body .text-link {
  font-size: 0.72rem;
}

body.tryycart-global-theme .combine-banner {
  gap: 16px;
  margin-top: 12px;
  border-color: #c5d1de;
  padding: 13px 16px;
  background: linear-gradient(130deg, #ece5df, #e4ebf4 55%, #e0eee9);
}

body.tryycart-global-theme .combine-banner h3 {
  margin: 2px 0;
  font-size: 1rem;
}

body.tryycart-global-theme .combine-banner p {
  margin: 0;
  font-size: 0.65rem;
}

body.tryycart-global-theme .combine-flow > span {
  width: 57px;
  height: 44px;
  background: rgba(248, 250, 252, 0.85);
}

/* Two proof images and the live rate calculator share one compact window. */
body.tryycart-global-theme .shipping-story > .shell {
  display: grid;
  grid-template-columns: 0.72fr 0.72fr 1.56fr;
  align-items: stretch;
  gap: 12px;
  padding: 48px 16px 16px;
}

body.tryycart-global-theme .shipping-story .shipping-story-photo,
body.tryycart-global-theme .shipping-story .shipping-story-photo img {
  min-height: 184px;
  height: 184px;
}

body.tryycart-global-theme .shipping-story .shipping-story-photo,
body.tryycart-global-theme .shipping-story .shipping-rate-card {
  border-color: #c3cfdd;
  border-radius: 15px;
}

body.tryycart-global-theme .shipping-story .shipping-story-photo > div {
  left: 14px;
  right: 14px;
  bottom: 12px;
}

body.tryycart-global-theme .shipping-story .shipping-story-photo h3 {
  margin: 2px 0;
  font-size: 0.93rem;
}

body.tryycart-global-theme .shipping-story .shipping-story-photo p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.57rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.tryycart-global-theme .shipping-story .shipping-rate-card {
  min-height: 184px;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(145deg, #f7f8fa, #eceff5 58%, #f1e9e3);
}

body.tryycart-global-theme .rate-card-heading > span {
  width: 34px;
  height: 34px;
}

body.tryycart-global-theme .rate-card-heading h3 {
  font-size: 0.94rem;
}

body.tryycart-global-theme .rate-card-heading p {
  font-size: 0.54rem;
}

body.tryycart-global-theme .home-rate-fields input,
body.tryycart-global-theme .home-rate-fields select {
  height: 33px;
  border-color: #bac8d8;
  background: #f9fafb;
}

body.tryycart-global-theme .home-rate-result {
  min-height: 42px;
  padding-block: 6px;
}

/* How it works: preserve the interactive story while removing empty height. */
body.tryycart-global-theme .steps-section .section-title {
  margin-bottom: 7px;
}

body.tryycart-global-theme .steps-section .section-intro {
  max-width: 760px;
  margin-bottom: 10px;
}

body.tryycart-global-theme .customer-flow {
  margin-top: 10px;
  border-color: #c2cfdd;
  border-radius: 16px;
  box-shadow: 0 9px 24px rgba(25, 48, 78, 0.1);
}

body.tryycart-global-theme .flow-canvas {
  min-height: 270px;
  gap: 7px;
  padding: 14px;
  background: radial-gradient(
      circle at 12% 20%,
      rgba(231, 170, 122, 0.35),
      transparent 23%
    ),
    radial-gradient(
      circle at 86% 25%,
      rgba(126, 164, 211, 0.35),
      transparent 25%
    ),
    linear-gradient(180deg, #edf1f6, #e6edf4);
}

body.tryycart-global-theme .flow-customer,
body.tryycart-global-theme .flow-doorstep,
body.tryycart-global-theme .flow-hub,
body.tryycart-global-theme .service-lanes button {
  background: rgba(247, 249, 251, 0.92);
}

body.tryycart-global-theme .flow-customer,
body.tryycart-global-theme .flow-doorstep {
  padding: 11px;
}

body.tryycart-global-theme .customer-figure {
  width: 76px;
  height: 82px;
  margin-bottom: 7px;
}

body.tryycart-global-theme .customer-figure > span {
  left: 15px;
  font-size: 2.65rem;
}

body.tryycart-global-theme .customer-figure > i {
  height: 31px;
}

body.tryycart-global-theme .service-lanes {
  gap: 6px;
}

body.tryycart-global-theme .service-lanes button {
  min-height: 55px;
  padding: 6px 9px;
}

body.tryycart-global-theme .service-lanes button > i {
  width: 32px;
  height: 32px;
}

body.tryycart-global-theme .flow-hub {
  padding: 12px 10px 9px;
}

body.tryycart-global-theme .hub-mark {
  min-height: 73px;
}

body.tryycart-global-theme .flow-hub h3 {
  margin: 7px 0 4px;
}

body.tryycart-global-theme .doorstep-scene {
  height: 89px;
  margin-bottom: 5px;
}

body.tryycart-global-theme .flow-summary {
  gap: 10px;
  padding: 8px 12px;
  background: #eef2f6;
}

body.tryycart-global-theme .flow-summary > p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Why TryyCart becomes a concise proof strip rather than another tall page. */
body.tryycart-global-theme .problem-section > .why-layout {
  display: block;
  padding: 50px 24px 20px;
}

body.tryycart-global-theme .why-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  grid-template-rows: auto auto;
  align-items: end;
  gap: 5px 28px;
}

body.tryycart-global-theme .why-intro .section-title {
  grid-row: 1 / 3;
  margin: 0;
}

body.tryycart-global-theme .why-intro > p {
  align-self: end;
  max-width: none;
  margin: 0;
  color: #43556d;
  font-size: 0.82rem;
  line-height: 1.55;
}

body.tryycart-global-theme .why-proof {
  margin-top: 4px;
  color: #586a81;
}

body.tryycart-global-theme .problem-section .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}

body.tryycart-global-theme .problem-section .benefit-grid article {
  position: relative;
  min-height: 105px;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  border: 1px solid #c5d1de;
  padding: 13px 14px;
  background: #f7f9fb;
  box-shadow: 0 7px 18px rgba(25, 48, 78, 0.08);
}

body.tryycart-global-theme .problem-section .benefit-grid article > span {
  width: 36px;
  height: 36px;
}

body.tryycart-global-theme .problem-section .benefit-grid h3 {
  padding-right: 54px;
  font-size: 0.81rem;
}

body.tryycart-global-theme .problem-section .benefit-grid p {
  font-size: 0.64rem;
  line-height: 1.42;
}

body.tryycart-global-theme .problem-section .benefit-grid article > b {
  position: absolute;
  top: 11px;
  right: 11px;
  background: #e7e3f2;
  color: #594b86;
}

/* The remaining homepage and content pages continue the same medium canvas. */
body.tryycart-global-theme
  :is(.trending-section, .testimonials, .faq-section, .courier-faq) {
  background: #edf1f6;
}

body.tryycart-global-theme
  :is(.category-window, .product-card, .accordion article, .faq-shell article) {
  background: #f7f9fb;
  border-color: #c5d1df;
}

@media (max-width: 980px) {
  body.tryycart-global-theme .shipping-story > .shell {
    grid-template-columns: 1fr 1fr;
  }

  body.tryycart-global-theme .shipping-story .shipping-rate-card {
    grid-column: 1 / -1;
  }

  body.tryycart-global-theme .flow-canvas {
    min-height: 255px;
  }
}

@media (max-width: 760px) {
  body.tryycart-global-theme .section-title h2,
  body.tryycart-global-theme .services-section .section-title h2,
  body.tryycart-global-theme .steps-section .section-title h2,
  body.tryycart-global-theme .problem-section .section-title h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.45rem);
  }

  body.tryycart-global-theme .section-intro {
    font-size: 0.92rem !important;
  }

  body.tryycart-global-theme
    :is(.services-section, .shipping-story, .steps-section, .problem-section)
    > .shell {
    width: min(1180px, calc(100% - 24px));
    border-radius: 19px;
    padding: 46px 14px 15px;
  }

  body.tryycart-global-theme
    :is(.services-section, .shipping-story, .steps-section, .problem-section)
    > .shell::before {
    height: 32px;
    border-radius: 18px 18px 0 0;
    padding-left: 60px;
    background: radial-gradient(
        circle at 16px 50%,
        #df6b37 0 3px,
        transparent 4px
      ),
      radial-gradient(circle at 30px 50%, #d5a834 0 3px, transparent 4px),
      radial-gradient(circle at 44px 50%, #4b9b85 0 3px, transparent 4px),
      linear-gradient(90deg, #dbe2ea, #e7ecf2);
    font-size: 0.45rem;
  }

  body.tryycart-global-theme .services-section {
    padding-top: 28px;
  }

  body.tryycart-global-theme .service-grid {
    grid-template-columns: 1fr;
  }

  body.tryycart-global-theme .service-card {
    display: grid;
    max-width: none;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  body.tryycart-global-theme .service-art {
    height: 100%;
    min-height: 148px;
  }

  body.tryycart-global-theme .service-art > small,
  body.tryycart-global-theme .service-art > b,
  body.tryycart-global-theme .service-inset {
    display: none;
  }

  body.tryycart-global-theme .service-body p {
    min-height: 0;
  }

  body.tryycart-global-theme .service-body ul {
    margin: 6px 0;
  }

  body.tryycart-global-theme .combine-banner {
    gap: 10px;
    padding: 12px;
  }

  body.tryycart-global-theme .shipping-story > .shell {
    grid-template-columns: 1fr 1fr;
    padding: 46px 12px 13px;
  }

  body.tryycart-global-theme .shipping-story .shipping-story-photo,
  body.tryycart-global-theme .shipping-story .shipping-story-photo img {
    min-height: 145px;
    height: 145px;
  }

  body.tryycart-global-theme .shipping-story .shipping-story-photo p {
    display: none;
  }

  body.tryycart-global-theme .shipping-story .shipping-rate-card {
    min-height: 0;
    grid-column: 1 / -1;
  }

  body.tryycart-global-theme .home-rate-fields {
    grid-template-columns: 1fr 1fr;
  }

  body.tryycart-global-theme .home-rate-fields label:first-child {
    grid-column: 1 / -1;
  }

  body.tryycart-global-theme .flow-canvas {
    gap: 5px;
    padding: 9px;
  }

  body.tryycart-global-theme .flow-customer {
    min-height: 88px;
    grid-template-columns: 66px 1fr;
    padding: 8px;
  }

  body.tryycart-global-theme .customer-figure {
    width: 58px;
    height: 66px;
  }

  body.tryycart-global-theme .customer-figure > span {
    left: 9px;
    font-size: 2.1rem;
  }

  body.tryycart-global-theme .flow-customer p,
  body.tryycart-global-theme .flow-doorstep p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  body.tryycart-global-theme .flow-arrow {
    height: 20px;
    min-height: 20px;
  }

  body.tryycart-global-theme .flow-arrow > i {
    width: 20px;
    height: 20px;
  }

  body.tryycart-global-theme .flow-arrow > small,
  body.tryycart-global-theme .flow-arrow > span {
    display: none;
  }

  body.tryycart-global-theme .service-lanes button {
    min-height: 65px;
  }

  body.tryycart-global-theme .flow-hub {
    grid-template-columns: 90px 1fr;
    padding: 9px;
  }

  body.tryycart-global-theme .hub-mark {
    min-height: 78px;
  }

  body.tryycart-global-theme .flow-hub li:nth-child(n + 3) {
    display: none;
  }

  body.tryycart-global-theme .flow-doorstep {
    min-height: 100px;
    grid-template-columns: 100px 1fr;
    padding: 8px;
  }

  body.tryycart-global-theme .doorstep-scene {
    height: 82px;
  }

  body.tryycart-global-theme .flow-summary {
    gap: 6px;
    padding: 8px;
  }

  body.tryycart-global-theme .flow-summary > p {
    display: none;
  }

  body.tryycart-global-theme .problem-section > .why-layout {
    padding: 46px 14px 14px;
  }

  body.tryycart-global-theme .why-intro {
    display: block;
  }

  body.tryycart-global-theme .why-intro > p {
    margin-top: 8px;
  }

  body.tryycart-global-theme .why-proof {
    margin-top: 8px;
  }

  body.tryycart-global-theme .problem-section .benefit-grid {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 12px;
  }

  body.tryycart-global-theme .problem-section .benefit-grid article {
    min-height: 0;
    padding: 10px 11px;
  }
}

@media (max-width: 500px) {
  body.tryycart-global-theme .service-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  body.tryycart-global-theme .service-art {
    min-height: 156px;
  }

  body.tryycart-global-theme .service-body {
    padding: 12px;
  }

  body.tryycart-global-theme .service-body ul {
    display: none;
  }

  body.tryycart-global-theme .combine-flow > span {
    width: 48px;
  }

  body.tryycart-global-theme .shipping-story .shipping-story-photo,
  body.tryycart-global-theme .shipping-story .shipping-story-photo img {
    min-height: 132px;
    height: 132px;
  }

  body.tryycart-global-theme .shipping-story .shipping-story-photo h3 {
    font-size: 0.78rem;
  }

  body.tryycart-global-theme .rate-card-heading p {
    display: none;
  }

  body.tryycart-global-theme .problem-section .benefit-grid p {
    font-size: 0.61rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tryycart-global-theme
    :is(.services-section, .shipping-story, .steps-section)
    > .shell::after {
    animation: none;
  }
}
