/*
 * TryyCart visual clarity layer.
 *
 * This stylesheet is deliberately loaded after the approved application,
 * WordPress integration and shared chrome styles. It changes presentation only:
 * no form names, selectors, routes, prices or JavaScript behaviour are altered.
 */

:root {
  --tc-orange: #ff6514;
  --tc-orange-dark: #d94a00;
  --tc-orange-soft: #fff1e8;
  --tc-blue: #2367e8;
  --tc-blue-dark: #1748a8;
  --tc-blue-soft: #eaf3ff;
  --tc-sky-soft: #f2f9ff;
  --tc-mint: #0b8f7a;
  --tc-mint-soft: #e9fbf6;
  --tc-yellow-soft: #fff9df;
  --tc-lavender-soft: #f4f1ff;
  --tc-navy: #0b1b39;
  --tc-ink: #13243e;
  --tc-muted: #53657e;
  --tc-line: #d7e3f1;
  --tc-page: #f6f9fd;
  --tc-surface: #ffffff;
  --tc-shadow-sm: 0 8px 24px rgba(19, 42, 79, 0.08);
  --tc-shadow-md: 0 18px 48px rgba(19, 42, 79, 0.12);
  --tc-radius: 20px;
  --orange: var(--tc-orange);
  --orange-dark: var(--tc-orange-dark);
  --orange-light: var(--tc-orange-soft);
  --purple: var(--tc-blue);
  --purple-dark: var(--tc-blue-dark);
  --purple-light: var(--tc-blue-soft);
  --teal: var(--tc-mint);
  --dark: var(--tc-navy);
  --navy: #153765;
  --warm: #fffdfa;
  --text: var(--tc-ink);
  --muted: var(--tc-muted);
  --line: var(--tc-line);
}

html {
  background: var(--tc-page);
}

body.tryycart-global-theme,
body.tryycart-global-theme .site-root {
  background: var(--tc-page);
  color: var(--tc-ink);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.tryycart-global-theme :is(h1, h2, h3, h4, h5, h6, .logo-word) {
  color: var(--tc-ink);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

body.tryycart-global-theme :is(p, li, label, small) {
  text-wrap: pretty;
}

body.tryycart-global-theme
  :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(35, 103, 232, 0.28);
  outline-offset: 3px;
}

body.tryycart-global-theme :is(input, select, textarea) {
  color: var(--tc-ink);
}

/* Shared header: clean, consistent and easier to scan. */
body .tc-site-chrome.tc-site-chrome .tc-utility-bar {
  background: linear-gradient(100deg, #2d6eea 0%, #6e78d8 48%, #ff721b 100%);
  min-height: 38px;
}

body .tc-site-chrome.tc-site-chrome .tc-main-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(200, 216, 236, 0.78);
  box-shadow: 0 7px 22px rgba(21, 55, 101, 0.07);
  position: sticky;
  top: 0;
}

body.admin-bar .tc-site-chrome.tc-site-chrome .tc-main-header {
  top: 32px;
}

body .tc-site-chrome.tc-site-chrome .tc-desktop-nav {
  background: #f7faff;
  border-color: #d8e4f2;
  box-shadow: inset 0 1px 0 #fff;
}

body .tc-site-chrome.tc-site-chrome .tc-desktop-nav a {
  color: #40516a;
  font-size: 13px;
  min-height: 38px;
  padding-inline: 12px;
}

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: #fff;
  color: var(--tc-blue);
  box-shadow: var(--tc-shadow-sm);
}

body .tc-site-chrome.tc-site-chrome .tc-desktop-nav a.active {
  background: linear-gradient(120deg, #c94a0a, #355fc0);
  box-shadow: 0 8px 20px rgba(72, 91, 177, 0.22);
}

body .tc-site-chrome.tc-site-chrome .icon-action {
  background: var(--tc-sky-soft);
  border: 1px solid #e2ebf6;
}

body .tc-site-chrome.tc-site-chrome .login-link {
  color: #344762;
  font-size: 13px;
}

body .tc-site-chrome.tc-site-chrome .menu-button {
  background: var(--tc-blue-soft);
  color: var(--tc-blue-dark);
}

/* The wallet remains prominent without covering too much content. */
body .tc-wallet-toggle {
  background: linear-gradient(155deg, #2f62c4 0%, #6655aa 48%, #c74c06 100%);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 35px rgba(31, 61, 109, 0.2);
}

body .tc-wallet-panel {
  border-color: #cfdded;
  box-shadow: 0 24px 70px rgba(17, 42, 81, 0.22);
}

/* Buttons are visually consistent across React, shortcodes and WooCommerce. */
body.tryycart-global-theme .btn,
body.tryycart-global-theme
  :is(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit
  ) {
  border-radius: 12px !important;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 46px;
}

body.tryycart-global-theme .btn-primary,
body.tryycart-global-theme
  :is(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit
  ) {
  background: linear-gradient(135deg, #d04500, #c83f00) !important;
  box-shadow: 0 10px 22px rgba(237, 82, 6, 0.2) !important;
  color: #fff !important;
}

body.tryycart-global-theme .btn-primary:hover,
body.tryycart-global-theme
  :is(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit
  ):hover {
  background: linear-gradient(135deg, #c83f00, #a93200) !important;
  box-shadow: 0 13px 28px rgba(217, 71, 0, 0.26) !important;
  transform: translateY(-1px);
}

/* Homepage hero: bright service-led introduction instead of a dark dashboard. */
body.tryycart-global-theme .hero {
  background: radial-gradient(
      circle at 7% 15%,
      rgba(255, 191, 143, 0.46),
      transparent 29%
    ),
    radial-gradient(
      circle at 86% 14%,
      rgba(158, 202, 255, 0.55),
      transparent 32%
    ),
    linear-gradient(135deg, #fffaf5 0%, #f3f8ff 53%, #eef7ff 100%);
  color: var(--tc-ink);
  min-height: 590px;
}

body.tryycart-global-theme .hero::before {
  background-image: radial-gradient(
    circle,
    rgba(35, 103, 232, 0.28) 1px,
    transparent 1px
  );
  opacity: 0.36;
}

body.tryycart-global-theme .hero-grid {
  min-height: 590px;
  padding-block: 56px;
}

body.tryycart-global-theme .hero h1 {
  color: var(--tc-ink);
  font-size: clamp(2.7rem, 5vw, 4.35rem);
}

body.tryycart-global-theme .hero-copy > p {
  color: #445872 !important;
  font-size: 1.03rem !important;
  line-height: 1.72 !important;
}

body.tryycart-global-theme .hero-metrics span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d4e3f4;
  color: #566880;
  box-shadow: 0 6px 16px rgba(30, 73, 130, 0.06);
}

body.tryycart-global-theme .hero-metrics b,
body.tryycart-global-theme .trust-line b {
  color: var(--tc-ink);
}

body.tryycart-global-theme .trust-line small {
  color: #65758c;
}

body.tryycart-global-theme .avatars i {
  border-color: #fff;
}

body.tryycart-global-theme .hero-showcase,
body.tryycart-global-theme .map-card {
  background: #fff;
  border: 1px solid #ccdaeb;
  box-shadow: 0 22px 54px rgba(26, 61, 112, 0.16);
}

body.tryycart-global-theme .map-topline,
body.tryycart-global-theme .map-caption span,
body.tryycart-global-theme .map-stats small {
  color: #64748b;
}

body.tryycart-global-theme .map-caption b,
body.tryycart-global-theme .map-stats b {
  color: var(--tc-ink);
}

body.tryycart-global-theme .map-stats > span {
  background: var(--tc-sky-soft);
  border-color: #d8e6f5;
}

body.tryycart-global-theme .continent {
  fill: #dceafb;
  stroke: #b8cce5;
}

body.tryycart-global-theme .map-card text {
  fill: #435773;
}

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

body.tryycart-global-theme .showcase-stage > img,
body.tryycart-global-theme .service-primary-image,
body.tryycart-global-theme .shipping-story img {
  filter: saturate(1.13) contrast(1.01) brightness(1.06);
}

body.tryycart-global-theme .showcase-shade {
  background: linear-gradient(
    180deg,
    transparent 34%,
    rgba(10, 31, 65, 0.76) 100%
  );
}

body.tryycart-global-theme .showcase-controls {
  background: #f8fbff;
  border-color: #dbe7f4;
}

body.tryycart-global-theme .showcase-controls button {
  background: #fff;
  border-right: 1px solid #e0e9f4;
  color: #60718a;
}

body.tryycart-global-theme .showcase-controls button:last-child {
  border-right: 0;
}

body.tryycart-global-theme .showcase-controls button.active {
  background: #fff;
  color: var(--tc-blue);
}

/* Every homepage block has a clear beginning, end and purpose. */
body.tryycart-global-theme .section {
  padding-block: 68px;
  position: relative;
}

body.tryycart-global-theme .section-title {
  margin-bottom: 14px;
}

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 {
  color: var(--tc-ink);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  margin-top: 14px;
}

body.tryycart-global-theme .section-intro {
  color: var(--tc-muted);
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 34px;
  max-width: 760px;
}

body.tryycart-global-theme .services-section {
  background: #fff;
  border-top: 1px solid #e8eef6;
}

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

body.tryycart-global-theme .service-card {
  background: #fff;
  border: 1px solid #d6e3f1;
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme .service-card:nth-child(1) {
  border-top: 4px solid #ff7828;
}

body.tryycart-global-theme .service-card:nth-child(2) {
  border-top: 4px solid #1da99b;
}

body.tryycart-global-theme .service-card:nth-child(3) {
  border-top: 4px solid #6577df;
}

body.tryycart-global-theme .service-card:hover {
  box-shadow: var(--tc-shadow-md);
  transform: translateY(-4px);
}

body.tryycart-global-theme .service-art::before {
  background: linear-gradient(
    180deg,
    rgba(6, 24, 54, 0.02),
    rgba(6, 24, 54, 0.54)
  );
  opacity: 1;
}

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

body.tryycart-global-theme .service-body h3 {
  color: var(--tc-ink);
  font-size: 1.28rem;
}

body.tryycart-global-theme .service-body p {
  color: var(--tc-muted);
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
}

body.tryycart-global-theme .service-body li {
  color: #43566f;
  font-size: 0.78rem;
}

body.tryycart-global-theme .combine-banner {
  background: radial-gradient(
      circle at 92% 0%,
      rgba(119, 101, 213, 0.2),
      transparent 28%
    ),
    linear-gradient(135deg, #fff4e9, #eef5ff 58%, #ecfbf8);
  border: 1px solid #d5e2f0;
  color: var(--tc-ink);
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme .combine-banner h3 {
  color: var(--tc-ink);
}

body.tryycart-global-theme .combine-banner p {
  color: #53657e;
  font-size: 0.8rem;
}

body.tryycart-global-theme .combine-flow > span {
  background: rgba(255, 255, 255, 0.88);
  border-color: #cddbea;
  color: var(--tc-ink);
  box-shadow: 0 5px 15px rgba(19, 42, 79, 0.07);
}

body.tryycart-global-theme .combine-flow small {
  color: #596b83;
}

body.tryycart-global-theme .shipping-story {
  background: var(--tc-sky-soft);
  border-block: 1px solid #dfebf7;
  padding-block: 34px;
}

body.tryycart-global-theme .shipping-story article,
body.tryycart-global-theme .shipping-story .shipping-rate-card {
  border: 1px solid #d4e2f0;
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme .shipping-story .shipping-rate-card {
  background: linear-gradient(145deg, #fff 0%, #f4f7ff 55%, #fff4eb 100%);
}

body.tryycart-global-theme .steps-section {
  background: linear-gradient(180deg, #fffdf9 0%, #fff8ee 100%);
  border-bottom: 1px solid #f2e4d4;
}

body.tryycart-global-theme .process-experience {
  background: #fff;
  border-color: #d5e2ef;
  box-shadow: var(--tc-shadow-md);
}

/* Why TryyCart and comparison areas are light, calm and readable. */
body.tryycart-global-theme .problem-section,
body.tryycart-global-theme .comparison {
  background: radial-gradient(
      circle at 10% 12%,
      rgba(255, 179, 122, 0.26),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(137, 190, 255, 0.36),
      transparent 31%
    ),
    linear-gradient(135deg, #f7fbff, #eef7ff 58%, #f4fbf8);
  color: var(--tc-ink);
}

body.tryycart-global-theme .problem-section::before {
  background-image: radial-gradient(
    circle,
    rgba(35, 103, 232, 0.22) 1px,
    transparent 1px
  );
  opacity: 0.2;
}

body.tryycart-global-theme
  :is(.problem-section, .comparison)
  .section-title.light
  h2,
body.tryycart-global-theme :is(.problem-section, .comparison) h3 {
  color: var(--tc-ink);
}

body.tryycart-global-theme .why-intro > p {
  color: #4b5e78;
  font-size: 0.95rem;
}

body.tryycart-global-theme .why-proof {
  color: #61728a;
}

body.tryycart-global-theme .why-proof strong {
  color: var(--tc-blue-dark);
}

body.tryycart-global-theme .problem-section .benefit-grid article,
body.tryycart-global-theme .compare-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d4e2ef;
  color: var(--tc-ink);
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme .problem-section .benefit-grid p,
body.tryycart-global-theme .compare-grid p {
  color: #52647d;
  font-size: 0.78rem;
  line-height: 1.6;
}

body.tryycart-global-theme .compare-grid article > span {
  color: #6b7d94;
}

body.tryycart-global-theme .compare-grid .recommended {
  border: 2px solid var(--tc-orange);
  box-shadow: 0 16px 38px rgba(255, 101, 20, 0.16);
}

body.tryycart-global-theme .trending-section,
body.tryycart-global-theme .testimonials {
  background: #fff;
}

body.tryycart-global-theme .category-window,
body.tryycart-global-theme .product-card {
  border-color: #d7e3f0;
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme .category-feature,
body.tryycart-global-theme .product-visual {
  filter: saturate(1.08) brightness(1.03);
}

body.tryycart-global-theme .faq-section,
body.tryycart-global-theme .courier-faq {
  background: linear-gradient(180deg, #f1f8ff, #eaf4ff);
  border-top: 1px solid #dbe9f7;
}

body.tryycart-global-theme .accordion article,
body.tryycart-global-theme .faq-shell article,
body.tryycart-global-theme .faq-library article {
  background: #fff;
  border: 1px solid #d5e2ef;
  box-shadow: 0 6px 18px rgba(18, 55, 103, 0.06);
}

/* All page heroes share the same bright courier/ecommerce language. */
body.tryycart-global-theme
  :is(
    .order-hero,
    .courier-hero,
    .shop-hero,
    .hiw-hero,
    .checkout-hero,
    .content-hero,
    .placeholder-hero
  ) {
  background: radial-gradient(
      circle at 8% 12%,
      rgba(255, 181, 125, 0.38),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 16%,
      rgba(143, 197, 255, 0.44),
      transparent 31%
    ),
    linear-gradient(135deg, #fffaf5, #f1f7ff 56%, #ebf6ff);
  color: var(--tc-ink);
}

body.tryycart-global-theme
  :is(
    .order-hero,
    .courier-hero,
    .shop-hero,
    .hiw-hero,
    .checkout-hero,
    .content-hero,
    .placeholder-hero
  )::after {
  background-image: radial-gradient(
    circle,
    rgba(35, 103, 232, 0.28) 1px,
    transparent 1px
  );
  opacity: 0.24;
}

body.tryycart-global-theme
  :is(
    .order-hero,
    .courier-hero,
    .shop-hero,
    .hiw-hero,
    .checkout-hero,
    .content-hero,
    .placeholder-hero
  )
  h1 {
  color: var(--tc-ink);
  font-size: clamp(2.45rem, 4.6vw, 3.9rem);
}

body.tryycart-global-theme
  :is(
    .order-hero p,
    .courier-hero > div > div:first-child > p,
    .shop-hero p,
    .hiw-hero p,
    .checkout-hero p,
    .content-hero p
  ) {
  color: #445872;
  font-size: 1rem;
  line-height: 1.7;
}

body.tryycart-global-theme .marketplace-row span {
  background: #fff;
  border-color: #cddced;
  color: #2d4565;
  box-shadow: 0 5px 14px rgba(20, 54, 100, 0.06);
}

body.tryycart-global-theme .order-hero-art > span {
  background: rgba(255, 255, 255, 0.9);
  border-color: #cbdced;
  color: var(--tc-blue-dark);
  box-shadow: var(--tc-shadow-md);
}

body.tryycart-global-theme .order-hero-art .hub-card {
  background: linear-gradient(145deg, #fff0e5, #edf3ff);
  border-color: #ff9a5c;
  color: var(--tc-orange-dark);
}

body.tryycart-global-theme .order-hero-art b {
  color: var(--tc-ink);
}

body.tryycart-global-theme .order-hero-art small {
  color: #61728a;
}

body.tryycart-global-theme .courier-features > small {
  color: var(--tc-blue);
}

body.tryycart-global-theme .courier-features article {
  background: rgba(255, 255, 255, 0.9);
  border-color: #d0dfef;
  box-shadow: 0 8px 22px rgba(20, 54, 100, 0.08);
}

body.tryycart-global-theme .courier-features article b {
  color: var(--tc-ink);
  font-size: 0.86rem;
}

body.tryycart-global-theme .courier-features article p {
  color: #566880;
  font-size: 0.72rem;
}

body.tryycart-global-theme .courier-trust {
  border-top: 0;
  border-bottom: 1px solid #dce7f3;
  box-shadow: 0 8px 22px rgba(22, 56, 101, 0.06);
}

body.tryycart-global-theme .courier-trust span {
  color: #304765;
  font-size: 0.76rem;
}

body.tryycart-global-theme .shop-hero-card,
body.tryycart-global-theme .content-hero-icon {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccdaeb;
  color: var(--tc-blue-dark);
  box-shadow: var(--tc-shadow-md);
}

body.tryycart-global-theme .shop-hero-card > span {
  color: var(--tc-orange-dark);
}

body.tryycart-global-theme .shop-hero-card strong,
body.tryycart-global-theme .shop-hero-card b {
  color: var(--tc-ink);
}

body.tryycart-global-theme .shop-hero-card small {
  color: #60718a;
  font-size: 0.72rem;
}

body.tryycart-global-theme .content-hero-grid > div:first-child > span {
  background: #fff;
  border-color: #d1dfef;
  color: var(--tc-orange-dark);
}

body.tryycart-global-theme .content-hero h1 em {
  color: var(--tc-blue);
}

body.tryycart-global-theme .content-hero-icon i {
  border-color: #fff;
}

body.tryycart-global-theme .final-cta,
body.tryycart-global-theme .content-cta {
  background: radial-gradient(
      circle at 15% 15%,
      rgba(255, 255, 255, 0.22),
      transparent 28%
    ),
    linear-gradient(120deg, #255fc7 0%, #5a66bd 52%, #c74800 100%);
  color: #fff;
}

body.tryycart-global-theme .final-cta h2,
body.tryycart-global-theme .content-cta h2 {
  color: #fff;
}

body.tryycart-global-theme .final-cta p,
body.tryycart-global-theme .content-cta p {
  color: #edf5ff;
}

/* Forms: larger text, stronger grouping and a clearer next action. */
body.tryycart-global-theme
  :is(
    .order-india-page,
    .courier-page,
    .shop-page,
    .checkout-page,
    .content-page,
    .tc-wp-main
  ) {
  background: var(--tc-page);
}

body.tryycart-global-theme :is(.order-builder, .booking-area) {
  background: var(--tc-page);
  padding-block: 62px 78px;
}

body.tryycart-global-theme
  :is(
    .import-card,
    .product-entry,
    .order-items,
    .booking-form,
    .courier-sidebar > section,
    .order-sidebar > section,
    .checkout-card,
    .filter-panel
  ) {
  background: #fff;
  border: 1px solid #d2e0ef;
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme .form-accent {
  background: linear-gradient(90deg, #ff7422, #4d79dd, #17a491);
  height: 6px;
}

body.tryycart-global-theme :is(.import-card-head, .form-intro, .entry-head) {
  background: linear-gradient(135deg, #fff9f3, #f5f8ff);
}

body.tryycart-global-theme
  :is(.import-card-head h2, .entry-head h2, .form-intro h2) {
  color: var(--tc-ink);
  font-size: 1.55rem;
}

body.tryycart-global-theme
  :is(.import-card-head p, .form-intro p, .dimension-heading p) {
  color: var(--tc-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

body.tryycart-global-theme
  :is(
    .import-controls label,
    .product-entry label,
    .field-grid label,
    .rate-card label,
    .woocommerce form .form-row label
  ) {
  color: #354b69;
  font-size: 0.74rem;
  font-weight: 800;
}

body.tryycart-global-theme
  :is(
    .import-controls input,
    .import-controls select,
    .product-entry input,
    .product-entry select,
    .product-entry textarea,
    .field-grid input,
    .field-grid select,
    .field-grid textarea,
    .rate-card input,
    .rate-card select,
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select
  ) {
  background: #fff;
  border: 1px solid #bfcfe1;
  border-radius: 10px;
  color: var(--tc-ink);
  font-size: 0.86rem;
  min-height: 47px;
  padding: 11px 12px;
}

body.tryycart-global-theme
  :is(
    .import-controls input,
    .import-controls select,
    .product-entry input,
    .product-entry select
  ) {
  height: 47px;
}

body.tryycart-global-theme
  :is(
    .import-controls input,
    .import-controls select,
    .product-entry input,
    .product-entry select,
    .product-entry textarea,
    .field-grid input,
    .field-grid select,
    .field-grid textarea,
    .rate-card input,
    .rate-card select
  ):focus {
  border-color: var(--tc-blue);
  box-shadow: 0 0 0 4px rgba(35, 103, 232, 0.12);
}

body.tryycart-global-theme .import-controls {
  gap: 16px;
}

body.tryycart-global-theme .import-trust span,
body.tryycart-global-theme .order-flow-bar span {
  color: #43566f;
  font-size: 0.7rem;
}

body.tryycart-global-theme .product-entry-grid {
  gap: 28px;
}

body.tryycart-global-theme .dimension-card,
body.tryycart-global-theme .dimensions {
  background: linear-gradient(135deg, #f8f5ff, #f1f7ff);
  border-color: #cfd8f5;
}

body.tryycart-global-theme .dimension-heading > span,
body.tryycart-global-theme .form-section legend > span {
  background: var(--tc-orange-soft);
  color: var(--tc-orange-dark);
}

body.tryycart-global-theme .weight-results span,
body.tryycart-global-theme .package-row {
  background: #fff;
  border-color: #d4e1ef;
}

body.tryycart-global-theme .weight-results .billable {
  background: var(--tc-orange-soft);
  border-color: #ffc59f;
}

body.tryycart-global-theme .form-section + .form-section {
  border-top: 8px solid var(--tc-page);
  padding-top: 32px;
}

body.tryycart-global-theme .form-section legend > div {
  color: var(--tc-ink);
  font-size: 1rem;
}

body.tryycart-global-theme .form-steps {
  background: #f3f7fc;
  border: 1px solid #dce7f3;
}

body.tryycart-global-theme .form-steps span {
  color: #667890;
  font-size: 0.7rem;
}

body.tryycart-global-theme .form-steps span.active {
  color: var(--tc-orange-dark);
}

body.tryycart-global-theme .summary-cards > span {
  box-shadow: 0 7px 18px rgba(29, 63, 112, 0.12);
}

body.tryycart-global-theme .summary-cards > span:nth-child(1) {
  background: linear-gradient(135deg, #d04500, #c83f00);
}

body.tryycart-global-theme .summary-cards > span:nth-child(2) {
  background: linear-gradient(135deg, #3979ed, #2357c8);
}

body.tryycart-global-theme .summary-cards > span:nth-child(3) {
  background: linear-gradient(135deg, #087a69, #056456);
}

body.tryycart-global-theme .restricted {
  background: linear-gradient(135deg, #fff9df, #fff3dc);
  border-left-color: #f59e0b;
}

body.tryycart-global-theme .restricted article {
  background: rgba(255, 255, 255, 0.86);
  border-color: #f3d98a;
}

body.tryycart-global-theme .courier-safety-card {
  background: linear-gradient(145deg, #fff9e5, #fff1ea);
  border-color: #f0ce83;
}

/* Shop and product discovery feel like ecommerce, not a dashboard. */
body.tryycart-global-theme .shop-main,
body.tryycart-global-theme .catalog {
  background: var(--tc-page);
}

body.tryycart-global-theme .shop-toolbar,
body.tryycart-global-theme .filter-panel {
  background: #fff;
  border-color: #d5e2ef;
}

body.tryycart-global-theme .product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

body.tryycart-global-theme .product-card:hover {
  box-shadow: var(--tc-shadow-md);
  transform: translateY(-3px);
}

body.tryycart-global-theme .product-copy h3 {
  color: var(--tc-ink);
  font-size: 1rem;
  line-height: 1.35;
}

body.tryycart-global-theme .category-label {
  color: var(--tc-blue-dark);
  font-weight: 800;
}

body.tryycart-global-theme .price-row b {
  color: var(--tc-ink);
}

/* Content and policy pages: readable documents with visible sections. */
body.tryycart-global-theme .content-page {
  background: var(--tc-page);
}

body.tryycart-global-theme
  :is(
    .about-origin,
    .about-way-grid,
    .policy-layout,
    .faq-library,
    .simple-legal,
    .prohibited-grid
  ) {
  color: var(--tc-ink);
}

body.tryycart-global-theme
  :is(
    .policy-content > section,
    .faq-library > section,
    .about-way-grid article,
    .value-pillars article,
    .commitments article,
    .prohibited-grid article,
    .simple-legal > section
  ) {
  background: #fff;
  border: 1px solid #d5e2ef;
  border-radius: 18px;
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme .policy-layout > aside {
  background: linear-gradient(160deg, #eef6ff, #fff6ee);
  border: 1px solid #d4e2ef;
  box-shadow: var(--tc-shadow-sm);
}

body.tryycart-global-theme
  :is(.policy-content h2, .faq-library h2, .simple-legal h2) {
  color: var(--tc-ink);
}

body.tryycart-global-theme
  :is(
    .policy-content p,
    .policy-content li,
    .faq-library p,
    .simple-legal p,
    .simple-legal li
  ) {
  color: #4c5f79;
  font-size: 0.94rem;
  line-height: 1.75;
}

body.tryycart-global-theme .faq-search {
  background: linear-gradient(180deg, #eef7ff, #f7fbff);
}

body.tryycart-global-theme .faq-search input {
  background: #fff;
  border-color: #bfd1e6;
  box-shadow: var(--tc-shadow-sm);
}

/* WooCommerce, cart, checkout and My Account use the same visual hierarchy. */
body.tryycart-global-theme .tc-wp-main {
  background: var(--tc-page);
}

body.tryycart-global-theme .tc-wp-content {
  padding-block: 52px 76px;
}

body.tryycart-global-theme .tc-wp-content .woocommerce {
  background: #fff;
  border: 1px solid #d2e0ef;
  border-radius: 22px;
  box-shadow: var(--tc-shadow-md);
  padding: clamp(20px, 3vw, 36px);
}

body.tryycart-global-theme .woocommerce :is(h1, h2, h3, h4) {
  color: var(--tc-ink);
}

body.tryycart-global-theme .woocommerce :is(p, li, td, th, label) {
  color: #42556f;
}

body.tryycart-global-theme .woocommerce table.shop_table {
  border-color: #d4e1ef;
  border-radius: 14px;
  overflow: hidden;
}

body.tryycart-global-theme .woocommerce table.shop_table th {
  background: #eef5ff;
  color: #24476f;
}

body.tryycart-global-theme
  .woocommerce-account
  .woocommerce-MyAccount-navigation {
  background: linear-gradient(160deg, #eef6ff, #fff7ef);
  border: 1px solid #d5e2ef;
  border-radius: 16px;
  padding: 12px;
}

body.tryycart-global-theme
  .woocommerce-account
  .woocommerce-MyAccount-navigation
  li {
  border-bottom: 1px solid #dce7f3;
  list-style: none;
}

body.tryycart-global-theme
  .woocommerce-account
  .woocommerce-MyAccount-navigation
  li
  a {
  color: #34506f;
  display: block;
  font-weight: 750;
  padding: 11px 10px;
}

body.tryycart-global-theme
  .woocommerce-account
  .woocommerce-MyAccount-navigation
  li.is-active
  a {
  background: #fff;
  border-radius: 9px;
  color: var(--tc-blue);
  box-shadow: 0 5px 15px rgba(19, 55, 104, 0.08);
}

/* The footer is the only strong dark anchor, with improved contrast. */
body .tc-site-footer {
  background: linear-gradient(145deg, #0b1b39, #10294f);
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, #ff6b16, #3978ec, #19a28f) 1;
}

body .tc-site-footer :is(p, small) {
  color: #b9c9dc;
}

body .tc-site-footer a {
  color: #c8d7e9;
  font-size: 0.78rem;
}

body .tc-site-footer a:hover,
body .tc-site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tablet: forms stop competing with a narrow sticky sidebar. */
@media (max-width: 1100px) {
  body.tryycart-global-theme .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .courier-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: static;
  }

  body.tryycart-global-theme .courier-sidebar > section {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  body.tryycart-global-theme .hero-grid,
  body.tryycart-global-theme .order-hero-grid,
  body.tryycart-global-theme .courier-hero-grid,
  body.tryycart-global-theme .shop-hero-inner,
  body.tryycart-global-theme .content-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  body.tryycart-global-theme .hero,
  body.tryycart-global-theme .hero-grid {
    min-height: 0;
  }

  body.tryycart-global-theme .order-hero,
  body.tryycart-global-theme .courier-hero,
  body.tryycart-global-theme .shop-hero,
  body.tryycart-global-theme .content-hero {
    padding-block: 56px;
  }

  body.tryycart-global-theme .order-hero-art {
    justify-content: flex-start;
  }

  body.tryycart-global-theme .courier-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.tryycart-global-theme .dimension-inputs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.tryycart-global-theme .policy-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 782px) {
  body.admin-bar .tc-site-chrome.tc-site-chrome .tc-main-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  body.tryycart-global-theme,
  body.tryycart-global-theme .site-root {
    font-size: 16px;
  }

  body.tryycart-global-theme .shell,
  body .tc-site-chrome .shell,
  body .tc-site-footer .shell {
    width: min(1180px, calc(100% - 28px));
    padding-inline: 0;
  }

  body.tryycart-global-theme .section {
    padding-block: 48px;
  }

  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.75rem, 8vw, 2.25rem);
  }

  body.tryycart-global-theme .section-intro {
    font-size: 0.94rem !important;
    margin-bottom: 24px;
  }

  body.tryycart-global-theme .hero-grid {
    padding-block: 42px;
  }

  body.tryycart-global-theme .hero h1,
  body.tryycart-global-theme
    :is(
      .order-hero,
      .courier-hero,
      .shop-hero,
      .hiw-hero,
      .checkout-hero,
      .content-hero,
      .placeholder-hero
    )
    h1 {
    font-size: clamp(2.08rem, 10vw, 2.7rem);
  }

  body.tryycart-global-theme .hero-copy > p,
  body.tryycart-global-theme
    :is(
      .order-hero p,
      .courier-hero > div > div:first-child > p,
      .shop-hero p,
      .content-hero p
    ) {
    font-size: 0.95rem !important;
  }

  body.tryycart-global-theme .service-grid,
  body.tryycart-global-theme .benefit-grid,
  body.tryycart-global-theme .compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .service-card {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  body.tryycart-global-theme .combine-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .order-flow-bar > .shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.tryycart-global-theme .import-controls,
  body.tryycart-global-theme .product-entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .import-controls {
    padding: 20px;
  }

  body.tryycart-global-theme .product-entry-grid {
    padding: 20px;
  }

  body.tryycart-global-theme .import-card-head,
  body.tryycart-global-theme .entry-head,
  body.tryycart-global-theme .form-intro {
    padding-inline: 20px;
  }

  body.tryycart-global-theme .dimension-card {
    margin-inline: 20px;
  }

  body.tryycart-global-theme .dimension-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.tryycart-global-theme .field-grid.three,
  body.tryycart-global-theme .field-grid.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.tryycart-global-theme .form-section,
  body.tryycart-global-theme .form-section + .form-section {
    padding-inline: 20px;
  }

  body.tryycart-global-theme .courier-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .restricted > .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .summary-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.tryycart-global-theme
    .woocommerce-account
    .woocommerce-MyAccount-navigation,
  body.tryycart-global-theme
    .woocommerce-account
    .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  body.tryycart-global-theme
    .woocommerce-account
    .woocommerce-MyAccount-content {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  body .tc-site-chrome.tc-site-chrome .tc-header-search {
    max-width: none;
  }

  body .tc-site-chrome.tc-site-chrome .tc-utility-actions {
    display: none;
  }

  body.tryycart-global-theme .order-hero-art > span {
    border-radius: 16px;
    height: 118px;
    width: 100px;
  }

  body.tryycart-global-theme .order-hero-art .hub-card {
    height: 136px;
  }

  body.tryycart-global-theme .order-hero-art > i {
    font-size: 1.1rem;
  }

  body.tryycart-global-theme .field-grid.two,
  body.tryycart-global-theme .field-grid.three,
  body.tryycart-global-theme .field-grid.five,
  body.tryycart-global-theme .dimension-inputs,
  body.tryycart-global-theme .weight-results,
  body.tryycart-global-theme .summary-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .form-steps {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  body.tryycart-global-theme .form-steps i {
    display: none;
  }

  body.tryycart-global-theme .order-flow-bar > .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tryycart-global-theme .combine-flow {
    justify-content: center;
  }

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

  body.tryycart-global-theme .tc-wp-content .woocommerce {
    border-radius: 16px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tryycart-global-theme *,
  body.tryycart-global-theme *::before,
  body.tryycart-global-theme *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
