:root {
  --te-canvas: var(--wp--preset--color--canvas, #f5f7fa);
  --te-surface: var(--wp--preset--color--surface, #fff);
  --te-ink: var(--wp--preset--color--ink, #17202a);
  --te-muted: var(--wp--preset--color--muted, #667085);
  --te-orange: var(--wp--preset--color--road-orange, #f97316);
  --te-orange-dark: var(--wp--preset--color--road-orange-dark, #c2410c);
  --te-online: var(--wp--preset--color--online, #16a34a);
  --te-sos: var(--wp--preset--color--sos, #dc2626);
  --te-warning: var(--wp--preset--color--warning, #facc15);
  --te-offline: var(--wp--preset--color--offline, #6b7280);
  --te-border: var(--wp--preset--color--border, #dfe4ea);
  --te-night: var(--wp--preset--color--night, #111827);
  --te-radius-sm: 10px;
  --te-radius: 16px;
  --te-radius-lg: 24px;
  --te-shadow: 0 12px 35px rgb(17 24 39 / 8%);
  --te-shadow-strong: 0 20px 60px rgb(17 24 39 / 16%);
  --te-content: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--te-canvas);
  color: var(--te-ink);
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .te-mobile-nav,
body.admin-bar .te-call-bar {
  bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgb(249 115 22 / 42%);
  outline-offset: 3px;
}

.te-main {
  min-height: 60vh;
}

.te-main--with-bottom-nav {
  padding-bottom: 5.75rem;
}

.te-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.te-section--tight {
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.te-section--white {
  background: var(--te-surface);
}

.te-section--night {
  background: var(--te-night);
  color: #fff;
}

.te-section--night h1,
.te-section--night h2,
.te-section--night h3 {
  color: #fff;
}

.te-section__head {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.te-section__head > :first-child,
.te-section-card > :first-child,
.te-notice > :first-child {
  margin-top: 0;
}

.te-section__head > :last-child,
.te-section-card > :last-child,
.te-notice > :last-child {
  margin-bottom: 0;
}

.te-center {
  margin-top: 1.75rem;
  text-align: center;
}

.te-muted {
  color: var(--te-muted);
}

.te-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--te-orange-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgb(223 228 234 / 80%);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(18px);
}

.te-header--sticky {
  position: sticky;
  top: 0;
}

.admin-bar .te-header--sticky {
  top: 32px;
}

.te-header .wp-block-site-title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.te-header .wp-block-site-title a {
  text-decoration: none;
}

.te-header .wp-block-site-logo img {
  max-height: 44px;
  width: auto;
}

.te-header__inner {
  min-height: 68px;
  gap: 0.75rem;
}

.te-header__desktop-nav {
  display: none;
}

.te-header__mobile-menu {
  display: flex;
}

.te-location-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--te-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.te-header-cta {
  display: none !important;
}

.te-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 85% 20%, rgb(249 115 22 / 18%), transparent 34%),
    linear-gradient(145deg, #fff 0%, #f7f9fc 62%, #fff7ed 100%);
}

.te-hero::after {
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -11rem;
  width: 35rem;
  height: 22rem;
  border: 3rem solid rgb(249 115 22 / 5%);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.te-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.1rem, 8vw, 4rem);
  letter-spacing: -0.045em;
}

.te-hero__lead {
  max-width: 650px;
  margin: 1rem 0 1.5rem;
  color: var(--te-muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.te-search-card,
.te-section-card,
.te-notice,
.te-filters,
.te-wizard {
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius-lg);
  background: var(--te-surface);
  box-shadow: var(--te-shadow);
}

.te-search-card {
  display: grid;
  max-width: 860px;
  gap: 0.85rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.te-field {
  display: grid;
  gap: 0.45rem;
  color: var(--te-ink);
  font-weight: 750;
}

.te-field > span,
.te-field > label,
.te-field--wide > label {
  font-size: 0.925rem;
}

.te-field input,
.te-field select,
.te-field textarea,
.te-address-row input,
.te-search-card input[type="search"],
.te-search-card input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  border: 1px solid #cbd2da;
  border-radius: 12px;
  background: #fff;
  color: var(--te-ink);
  font-weight: 500;
}

.te-field input:focus,
.te-field select:focus,
.te-field textarea:focus,
.te-address-row input:focus {
  border-color: var(--te-orange);
  box-shadow: 0 0 0 4px rgb(249 115 22 / 12%);
  outline: 0;
}

.te-address-row {
  position: relative;
  display: flex;
}

.te-address-row input {
  padding-right: 3.4rem;
}

.te-icon-button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #fff7ed;
  color: var(--te-orange-dark);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
}

.te-search-actions,
.te-button-row,
.te-provider-card__actions,
.te-wizard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.te-search-actions .te-button {
  flex: 1 1 220px;
}

.te-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.te-button:hover {
  transform: translateY(-1px);
}

.te-button:active {
  transform: translateY(0);
}

.te-button--primary {
  background: var(--te-orange);
  color: #fff;
}

.te-button--primary:hover {
  background: var(--te-orange-dark);
  color: #fff;
}

.te-button--soft {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.te-button--ghost {
  border-color: var(--te-border);
  background: #fff;
  color: var(--te-ink);
}

.te-button--call {
  background: var(--te-online);
  color: #fff;
}

.te-button--call:hover {
  background: #117c38;
  color: #fff;
}

.te-button--sos {
  background: var(--te-sos);
  color: #fff;
}

.te-button--xl {
  min-height: 56px;
  padding-inline: 1.3rem;
  font-size: 1.05rem;
}

.te-search-card > .te-button--xl {
  width: 100%;
}

.te-text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--te-orange-dark);
  cursor: pointer;
  font-weight: 750;
}

.te-form-message,
.te-wizard__message {
  min-height: 0;
  color: var(--te-muted);
  font-size: 0.9rem;
}

.te-form-message:not(:empty),
.te-wizard__message:not(:empty) {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #f1f5f9;
}

.te-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.te-service-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  background: var(--te-surface);
  box-shadow: 0 6px 20px rgb(17 24 39 / 5%);
  font-weight: 800;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.te-service-card:hover {
  border-color: #fdba74;
  box-shadow: var(--te-shadow);
  transform: translateY(-2px);
}

.te-service-card__icon {
  font-size: 1.65rem;
}

.te-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.te-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 0.45rem;
  padding: 0.8rem;
  border: 1px solid var(--te-border);
  border-radius: 14px;
  background: var(--te-surface);
}

.te-stat__label {
  color: var(--te-muted);
  font-size: 0.78rem;
}

.te-stat strong {
  grid-column: 2;
  font-size: 1rem;
}

.te-city-heading {
  padding-block: 1.75rem 1rem;
}

.te-city-heading h1 {
  max-width: 900px;
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 6vw, 3.25rem);
}

.te-catalog-layout {
  display: grid;
  gap: 1rem;
}

.te-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.te-filters {
  padding: 1rem;
}

.te-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.te-accordion {
  border-top: 1px solid var(--te-border);
}

.te-accordion summary,
.te-faq summary {
  padding: 0.9rem 0;
  cursor: pointer;
  font-weight: 850;
}

.te-checkbox-list {
  display: grid;
  gap: 0.55rem;
  padding-bottom: 1rem;
}

.te-checkbox-list label,
.te-switch-list label {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.te-checkbox-list input {
  width: 20px;
  height: 20px;
  accent-color: var(--te-orange);
}

.te-provider-list {
  display: grid;
  gap: 1rem;
}

.te-provider-card {
  overflow: hidden;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius-lg);
  background: var(--te-surface);
  box-shadow: var(--te-shadow);
}

.te-provider-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.te-provider-card__placeholder,
.te-provider-profile__photo-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e9edf2, #f8fafc);
  font-size: 3.25rem;
}

.te-provider-card__body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.te-provider-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.te-provider-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.te-badge-row,
.te-provider-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.te-provider-card__facts {
  color: var(--te-muted);
  font-size: 0.9rem;
}

.te-badge,
.te-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.1;
}

.te-badge--verified {
  background: #eff6ff;
  color: #1d4ed8;
}

.te-status {
  background: #eef1f4;
  color: var(--te-offline);
  white-space: nowrap;
}

.te-status--online,
.te-status--free {
  background: #ecfdf3;
  color: var(--te-online);
}

.te-status--busy {
  background: #fef2f2;
  color: var(--te-sos);
}

.te-status--finishing {
  background: #fefce8;
  color: #854d0e;
}

.te-provider-card__price {
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 900;
}

.te-provider-card__actions .te-button {
  flex: 1 1 135px;
}

.te-empty-state {
  padding: clamp(1.5rem, 6vw, 3.5rem);
  border: 1px dashed #cbd2da;
  border-radius: var(--te-radius-lg);
  background: #fff;
  text-align: center;
}

.te-empty-state h1,
.te-empty-state h2 {
  margin-bottom: 0.6rem;
}

.te-empty-state p {
  max-width: 590px;
  margin: 0 auto 1.25rem;
  color: var(--te-muted);
}

.te-empty-state .te-button-row {
  justify-content: center;
}

.te-empty-state__icon {
  font-size: 3rem;
}

.te-map-shell {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius-lg);
  background: #e7ecef;
  box-shadow: var(--te-shadow);
}

.te-map-shell__placeholder {
  display: grid;
  min-height: 380px;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  padding: 2rem;
  background:
    linear-gradient(45deg, transparent 48%, rgb(148 163 184 / 13%) 49%, rgb(148 163 184 / 13%) 51%, transparent 52%) 0 0 / 52px 52px,
    linear-gradient(-45deg, transparent 48%, rgb(148 163 184 / 10%) 49%, rgb(148 163 184 / 10%) 51%, transparent 52%) 0 0 / 68px 68px,
    #eff3f6;
  text-align: center;
}

.te-map-shell__placeholder h2,
.te-map-shell__placeholder p {
  margin: 0;
}

.te-map-shell__placeholder p {
  max-width: 520px;
  color: var(--te-muted);
}

.te-map-shell__icon {
  font-size: 2.5rem;
}

.te-map-shell__canvas {
  width: 100%;
  min-height: 440px;
}

.te-map-shell__canvas[hidden] {
  display: none;
}

.te-provider-profile {
  display: grid;
  gap: 1rem;
}

.te-provider-profile__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  overflow: hidden;
  border-radius: var(--te-radius-lg);
  background: #e8edf2;
}

.te-provider-profile__gallery > :first-child {
  grid-column: 1 / -1;
}

.te-provider-profile__gallery img,
.te-provider-profile__photo-placeholder {
  width: 100%;
  min-height: 160px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.te-provider-profile__main {
  align-self: start;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius-lg);
  background: #fff;
  box-shadow: var(--te-shadow);
}

.te-provider-profile__main h1 {
  margin: 0.8rem 0 0.3rem;
  font-size: clamp(1.8rem, 5vw, 2.75rem);
}

.te-provider-profile__phone {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--te-online);
  font-size: clamp(1.55rem, 6vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.te-provider-profile__description {
  margin-block: 1rem;
}

.te-specs,
.te-price-list,
.te-summary-list {
  display: grid;
  margin: 1rem 0;
}

.te-specs > div,
.te-price-list > div,
.te-summary-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--te-border);
}

.te-specs dt,
.te-price-list dt,
.te-summary-list dt {
  color: var(--te-muted);
}

.te-specs dd,
.te-price-list dd,
.te-summary-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.te-section-card,
.te-notice {
  padding: clamp(1rem, 4vw, 2rem);
}

.te-price-request {
  font-size: 1.6rem;
  font-weight: 900;
}

.te-progress {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--te-muted);
  font-size: 0.875rem;
  font-weight: 750;
}

.te-progress progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: #edf0f3;
  appearance: none;
}

.te-progress progress::-webkit-progress-bar {
  background: #edf0f3;
}

.te-progress progress::-webkit-progress-value {
  background: var(--te-orange);
}

.te-progress progress::-moz-progress-bar {
  background: var(--te-orange);
}

.te-wizard {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1rem, 4vw, 2rem);
}

.te-wizard__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.te-wizard__step[hidden] {
  display: none;
}

.te-wizard__step legend {
  width: 100%;
  margin-bottom: 1.25rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 900;
}

.te-form-grid {
  display: grid;
  gap: 1rem;
}

.te-choice-grid,
.te-mode-grid {
  display: grid;
  gap: 0.75rem;
}

.te-choice-grid label,
.te-mode-grid label {
  position: relative;
  cursor: pointer;
}

.te-choice-grid input,
.te-mode-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.te-choice-grid label > span,
.te-mode-grid label > span {
  display: flex;
  min-height: 58px;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 1rem;
  border: 2px solid var(--te-border);
  border-radius: 14px;
  background: #fff;
}

.te-choice-grid input:checked + span,
.te-mode-grid input:checked + span {
  border-color: var(--te-orange);
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgb(249 115 22 / 10%);
}

.te-mode-grid small {
  margin-top: 0.25rem;
  color: var(--te-muted);
}

.te-upload {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 1rem;
  border: 2px dashed #cbd2da;
  border-radius: var(--te-radius);
  background: #f8fafc;
  cursor: pointer;
  text-align: center;
}

.te-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.te-upload span {
  font-weight: 800;
}

.te-upload__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: var(--te-muted);
  font-size: 0.85rem;
}

.te-wizard__actions {
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--te-border);
}

.te-wizard__actions [data-te-prev] {
  margin-right: auto;
}

.te-offers {
  display: grid;
  gap: 0.85rem;
}

.te-offer {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  background: #fff;
  box-shadow: var(--te-shadow);
}

.te-offer h3,
.te-offer p {
  margin: 0;
}

.te-offer p {
  color: var(--te-muted);
}

.te-offer__price {
  font-size: 1.55rem;
}

.te-tracking__metrics {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.te-order-timeline {
  display: flex;
  margin: 0 0 1rem;
  padding: 0 0 0.5rem;
  gap: 0.75rem;
  overflow-x: auto;
  list-style: none;
}

.te-order-timeline li {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 0.4rem;
  color: var(--te-muted);
  font-size: 0.82rem;
}

.te-order-timeline li > span {
  width: 11px;
  height: 11px;
  border: 2px solid #aab3bd;
  border-radius: 50%;
}

.te-order-timeline .is-complete,
.te-order-timeline .is-current {
  color: var(--te-ink);
}

.te-order-timeline .is-complete > span {
  border-color: var(--te-online);
  background: var(--te-online);
}

.te-order-timeline .is-current > span {
  border-color: var(--te-orange);
  box-shadow: 0 0 0 4px rgb(249 115 22 / 14%);
}

.te-driver-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  background: #fff;
}

.te-driver-card h2,
.te-driver-card p {
  margin: 0;
}

.te-order-photos {
  margin-block: 1.5rem;
}

.te-order-photos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.te-order-photos__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
}

.te-review-form {
  margin-top: 1.5rem;
}

.te-alert {
  margin-block: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
}

.te-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--te-border);
  border-radius: 13px;
  background: #eef1f4;
}

.te-tabs [role="tab"] {
  min-height: 42px;
  flex: 1;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.te-tabs [role="tab"][aria-selected="true"] {
  background: #fff;
  box-shadow: 0 4px 14px rgb(17 24 39 / 9%);
}

.te-bottom-sheet,
.te-modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom));
  border: 0;
  background: rgb(17 24 39 / 58%);
}

.te-bottom-sheet[hidden],
.te-modal[hidden] {
  display: none;
}

.te-bottom-sheet__panel,
.te-modal__panel {
  width: min(620px, 100%);
  max-height: min(82vh, 760px);
  margin-inline: auto;
  padding: 1rem;
  overflow-y: auto;
  border-radius: 24px 24px 16px 16px;
  background: #fff;
  box-shadow: var(--te-shadow-strong);
}

.te-toast-stack {
  position: fixed;
  z-index: 180;
  right: 1rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  display: grid;
  width: min(360px, calc(100vw - 2rem));
  gap: 0.5rem;
}

.te-toast {
  padding: 0.85rem 1rem;
  border: 1px solid var(--te-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--te-shadow-strong);
  font-weight: 700;
}

.te-map-marker {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--te-online);
  color: #fff;
  box-shadow: 0 4px 12px rgb(17 24 39 / 28%);
}

.te-map-marker--busy { background: var(--te-sos); }
.te-map-marker--finishing { background: #ca8a04; }

.te-alert--warning,
.te-notice--warning {
  border-color: #fde68a;
  background: #fffbeb;
}

.te-notice--info {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.te-switch-list {
  display: grid;
  gap: 0.2rem;
  margin-block: 1rem 1.5rem;
}

.te-switch-list label {
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--te-border);
}

.te-switch-list input[role="switch"] {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 99px;
  background: #cbd2da;
  cursor: pointer;
  appearance: none;
  transition: background 150ms ease;
}

.te-switch-list input[role="switch"]::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgb(0 0 0 / 22%);
  content: "";
  transition: transform 150ms ease;
}

.te-switch-list input[role="switch"]:checked {
  background: var(--te-orange);
}

.te-switch-list input[role="switch"]:checked::after {
  transform: translateX(20px);
}

.te-feature-grid {
  display: grid;
  gap: 0.9rem;
}

.te-feature-grid article {
  padding: 1.1rem;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  background: #fff;
}

.te-feature-grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 11px;
  background: #fff7ed;
  color: var(--te-orange-dark);
  font-weight: 900;
}

.te-feature-grid h3 {
  margin: 0 0 0.4rem;
}

.te-feature-grid p {
  margin: 0;
  color: var(--te-muted);
}

.te-dashboard__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  background: #fff;
}

.te-dashboard__status > span {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 900;
}

.te-dashboard__status--online > span {
  color: var(--te-online);
}

.te-dashboard,
.te-dashboard__stats,
.te-fleet-list {
  display: grid;
  gap: 1rem;
}

.te-dashboard__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.te-dashboard__stats .te-stat {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.te-dashboard__stats .te-stat strong {
  font-size: 1.35rem;
}

.te-order-card {
  padding: clamp(1rem, 4vw, 2rem);
  border: 2px solid #fdba74;
  border-radius: var(--te-radius-lg);
  background: #fff7ed;
  box-shadow: var(--te-shadow);
}

.te-order-card h2 {
  margin-top: 0;
}

.te-fleet-list > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--te-border);
}

.te-faq {
  overflow: hidden;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius-lg);
  background: #fff;
}

.te-faq details {
  padding-inline: 1rem;
  border-bottom: 1px solid var(--te-border);
}

.te-faq details:last-child {
  border-bottom: 0;
}

.te-faq summary {
  padding-block: 1rem;
  list-style: none;
}

.te-faq summary::-webkit-details-marker {
  display: none;
}

.te-faq summary::after {
  float: right;
  content: "+";
  color: var(--te-orange-dark);
  font-size: 1.3rem;
}

.te-faq details[open] summary::after {
  content: "−";
}

.te-faq p {
  margin-top: 0;
  color: var(--te-muted);
}

.te-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.te-city-links a {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--te-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.te-review-grid {
  display: grid;
  gap: 0.85rem;
}

.te-review-grid article {
  padding: 1rem;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  background: #fff;
}

.te-breadcrumbs {
  padding-block: 0.8rem;
  color: var(--te-muted);
  font-size: 0.84rem;
  overflow-x: auto;
}

.te-breadcrumbs ol {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.te-breadcrumbs li:not(:last-child)::after {
  margin-inline: 0.5rem;
  content: "→";
}

.te-breadcrumbs a {
  color: inherit;
}

.te-mobile-nav,
.te-call-bar {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 0.5rem max(0.5rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
  border-top: 1px solid var(--te-border);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 -10px 30px rgb(17 24 39 / 12%);
  backdrop-filter: blur(16px);
}

.te-mobile-nav {
  grid-template-columns: repeat(4, 1fr);
}

.te-mobile-nav a {
  display: grid;
  min-height: 52px;
  place-items: center;
  align-content: center;
  gap: 0.1rem;
  border-radius: 10px;
  color: var(--te-muted);
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

.te-mobile-nav a span:first-child {
  font-size: 1.15rem;
}

.te-mobile-nav a[aria-current="page"],
.te-mobile-nav a:hover {
  background: #fff7ed;
  color: var(--te-orange-dark);
}

.te-call-bar {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.te-call-bar .te-button {
  min-height: 54px;
}

.te-skeleton-list {
  display: grid;
  gap: 0.4rem;
  width: min(320px, 100%);
  margin: 0 auto 1.25rem;
}

.te-skeleton-list i {
  display: block;
  height: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, #edf0f3 25%, #f8fafc 50%, #edf0f3 75%) 0 0 / 200% 100%;
  animation: te-skeleton 1.4s infinite linear;
}

.te-skeleton-list i:nth-child(2) {
  width: 80%;
}

.te-skeleton-list i:nth-child(3) {
  width: 60%;
}

@keyframes te-skeleton {
  to { background-position: -200% 0; }
}

.te-footer {
  padding-block: 3rem 6.5rem;
  background: var(--te-night);
  color: #d7dde7;
}

.te-footer a,
.te-footer .wp-block-site-title a {
  color: #fff;
}

.te-footer .wp-block-navigation-item__content {
  color: #d7dde7;
}

.te-footer__legal {
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #9ca3af;
  font-size: 0.85rem;
}

.te-404 {
  display: grid;
  min-height: 62vh;
  place-items: center;
  padding-block: 3rem;
  text-align: center;
}

.te-404__code {
  margin: 0;
  color: var(--te-orange);
  font-size: clamp(5rem, 22vw, 11rem);
  font-weight: 950;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.te-post-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  background: #fff;
}

.te-post-card__body {
  padding: 1rem;
}

.te-content-surface {
  padding: clamp(1rem, 5vw, 3rem);
  border-radius: var(--te-radius-lg);
  background: #fff;
}

@media (min-width: 560px) {
  .te-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .te-form-grid,
  .te-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .te-mode-grid,
  .te-feature-grid,
  .te-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .te-offer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (min-width: 782px) {
  .te-header__desktop-nav {
    display: flex;
  }

  .te-header__mobile-menu {
    display: none;
  }

  .te-header-cta {
    display: inline-flex !important;
  }

  .te-mobile-nav {
    display: none;
  }

  .te-main--with-bottom-nav {
    padding-bottom: 0;
  }

  .te-footer {
    padding-bottom: 3rem;
  }

  .te-modal {
    align-items: center;
  }

  .te-modal__panel {
    border-radius: 24px;
  }

  .te-search-card {
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: end;
  }

  .te-search-actions,
  .te-search-card .te-form-message {
    grid-column: 1 / -1;
  }

  .te-search-card > .te-button--xl {
    width: auto;
  }

  .te-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .te-dashboard__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .te-provider-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .te-provider-card__image {
    height: 100%;
    aspect-ratio: auto;
  }

  .te-provider-profile {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  }

  .te-provider-profile__main {
    position: sticky;
    top: 92px;
  }

  .te-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .te-catalog-toolbar {
    display: none;
  }

  .te-catalog-layout {
    grid-template-columns: 280px minmax(0, 1fr) minmax(380px, 0.85fr);
    align-items: start;
  }

  .te-catalog-layout .te-filters,
  .te-catalog-layout .te-map-shell {
    position: sticky;
    top: 88px;
  }

  .te-service-card {
    min-height: 126px;
    padding: 1.2rem;
  }

  .te-mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 781px) {
  .admin-bar .te-header--sticky {
    top: 46px;
  }

  .te-provider-profile + .te-slot-call-bar,
  .single-evacuator .te-footer {
    padding-bottom: 6rem;
  }

  .te-catalog-layout .te-filters {
    display: none;
  }

  .te-catalog-layout .te-filters[data-te-open="true"] {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    max-height: 82vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    box-shadow: var(--te-shadow-strong);
  }

  .te-catalog-layout[data-te-view="list"] .te-slot-map,
  .te-catalog-layout[data-te-view="map"] .te-slot-provider-results {
    display: none;
  }
}

@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;
  }
}

@media (prefers-contrast: more) {
  :root {
    --te-border: #7b8794;
  }

  .te-button,
  input,
  select {
    border-width: 2px;
  }
}
