:root {
  --tc-orange: #f97316;
  --tc-blue: #2563eb;
  --tc-navy: #071a36;
  --tc-line: #e2e8f0;
  --tc-muted: #64748b;
}
body.admin-bar .main-nav {
  top: 32px;
}
body.admin-bar .mobile-menu {
  top: 32px;
}
.logo-lockup img,
.logo-button img {
  display: block;
  width: 124px;
  height: auto;
}
.footer-grid .logo-lockup img {
  filter: none;
  width: 126px;
}
.utility-inner a {
  color: #fff;
  text-decoration: none;
}
.desktop-nav a {
  border-radius: 9px;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 10px 13px;
  text-decoration: none;
}
.desktop-nav a:hover {
  background: #fff7ed;
  color: #ea580c;
}
.tc-wp-main {
  min-height: 60vh;
  background: #f8fafc;
}
.tc-wp-content {
  padding: 54px 0 80px;
}
.placeholder-hero {
  position: relative;
  padding: 58px 0;
  color: #fff;
  background: linear-gradient(135deg, #071a36, #172554);
}
.placeholder-hero span {
  color: #60a5fa;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.placeholder-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  margin: 0.25rem 0;
}
.tc-wp-content > .tc-service-form,
.tc-wp-content > .tryycart-rate,
.tc-wp-content > .tcp-portal {
  margin-inline: auto;
  max-width: 1100px;
}
.tc-wp-content .woocommerce {
  background: #fff;
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}
.tc-pickup-address {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
}
.tc-form-section-title small {
  color: #ea580c;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.tc-form-section-title h3 {
  margin: 4px 0;
}
.tc-form-section-title p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.8rem;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  color: #fff !important;
  padding: 0.9em 1.2em !important;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 12px;
  background: #fff;
}
.product-emoji img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-visual .product-emoji:has(img) {
  inset: 0;
  position: absolute;
  transform: none;
}
.product-visual .product-emoji img {
  border-radius: 14px;
}
.modal-visual span:has(img) {
  inset: 0;
  position: absolute;
}
.modal-visual span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs button img {
  width: 100%;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}
.tc-wallet-shell {
  position: fixed;
  right: 0;
  top: 35%;
  z-index: 1700;
}
.tc-wallet-toggle {
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px 0 0 18px;
  padding: 12px;
  color: #fff;
  background: linear-gradient(145deg, #7c3aed, #f97316);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}
.tc-wallet-box {
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  color: #f97316;
}
.tc-wallet-box i {
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}
.tc-wallet-toggle strong {
  font-size: 0.72rem;
}
.tc-wallet-toggle small {
  font-size: 0.52rem;
}
.tc-wallet-panel {
  position: absolute;
  right: 12px;
  top: 0;
  width: min(360px, calc(100vw - 24px));
  visibility: hidden;
  opacity: 0;
  transform: translateX(18px);
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  color: #172033;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.24);
  transition: 0.24s;
}
.tc-wallet-shell.is-open .tc-wallet-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.tc-wallet-panel header {
  display: flex;
  justify-content: space-between;
}
.tc-wallet-panel header button {
  border: 0;
  background: #f1f5f9;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
.tc-wallet-panel h3 {
  margin: 3px 0;
}
.tc-wallet-note {
  color: #64748b;
  font-size: 0.75rem;
}
.tc-wallet-rows > div,
.tc-wallet-total {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 0.78rem;
}
.tc-wallet-total {
  margin-top: 8px;
  color: #0f766e;
  font-weight: 900;
}
.tc-wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}
.tc-wallet-actions a {
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
}
.tc-wallet-actions a.is-primary {
  border-color: #f97316;
  background: #f97316;
  color: #fff;
}
footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.72rem;
  margin: 7px 0;
}
@media (max-width: 782px) {
  body.admin-bar .main-nav {
    top: 46px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .tc-wp-content {
    padding: 30px 0 55px;
  }
  .tc-wallet-shell {
    top: auto;
    bottom: 18px;
  }
  .tc-wallet-toggle {
    min-width: 76px;
    min-height: 82px;
  }
  .tc-wallet-panel {
    top: auto;
    bottom: 0;
  }
  .woocommerce .cart_item {
    font-size: 0.82rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
