:root {
  --radius-xs: 2px;
  --radius-xl: 10px;
}

html,
body,
#page,
.site,
.site-content {
  background: var(--page-bg);
  color: var(--page-text);
}

body {
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.dag-h1,
.dag-title,
.section-title,
.coast-h1,
.coast-h2 {
  letter-spacing: 0.01em;
}

.btn,
.contact-btn,
.dag-btn,
.inventory-btn,
.inventory-reset,
.thankyou-btn,
.cyp-btn,
.vehicle-card__cta,
.wpforms-submit,
button,
input[type="submit"],
input[type="button"] {
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-outline,
.contact-btn--outline,
.dag-btn--ghost,
.inventory-reset,
.thankyou-btn--outline {
  background: var(--surface) !important;
  color: var(--surface-deep) !important;
  border: 1px solid var(--border) !important;
}

.btn-primary,
.contact-btn--primary,
.inventory-btn,
.dag-btn--primary,
.vehicle-card__cta,
.wpforms-submit,
button,
input[type="submit"] {
  background: var(--button-bg) !important;
  color: var(--button-text) !important;
  border: 1px solid var(--button-border) !important;
}

.btn-primary:hover,
.contact-btn--primary:hover,
.inventory-btn:hover,
.dag-btn--primary:hover,
.vehicle-card__cta:hover,
.wpforms-submit:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--button-bg-hover) !important;
  border-color: var(--button-bg-hover) !important;
}

.btn:hover,
.contact-btn:hover,
.dag-btn:hover,
.inventory-btn:hover,
.inventory-reset:hover,
.thankyou-btn:hover,
.cyp-btn:hover,
.vehicle-card__cta:hover,
.wpforms-submit:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.contact-form__wrapper,
.contact-banner__content,
.contact-info__item,
.contact-notice,
.dag-lead,
.dag-section,
.dag-pricebox,
.dag-inv-card,
.vehicle-card,
.home-featured__card,
.home-contact__inner,
.shipping-step,
.faq-item,
.testimonial-card,
.team-card,
.thankyou-card,
.cyp-inv__sidebar-card,
.cyp-inv__card,
.cyp-inv__sidebar-note,
.vehicle-details,
.vehicle-description__content {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea,
.contact-form__wrapper input[type="email"],
.contact-form__wrapper input[type="number"],
.contact-form__wrapper input[type="tel"],
.contact-form__wrapper input[type="text"],
.contact-form__wrapper select,
.contact-form__wrapper textarea,
.dag-filter-form input,
.dag-filter-form select,
.dag-form input,
.dag-form select,
.dag-form textarea,
.home-contact__field input,
.home-contact__field select,
.home-contact__field textarea,
.cyp-input,
.cyp-select {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus,
.contact-form__wrapper input:focus,
.contact-form__wrapper select:focus,
.contact-form__wrapper textarea:focus,
.dag-filter-form input:focus,
.dag-filter-form select:focus,
.dag-form input:focus,
.dag-form select:focus,
.dag-form textarea:focus,
.home-contact__field input:focus,
.home-contact__field select:focus,
.home-contact__field textarea:focus,
.cyp-input:focus,
.cyp-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--ring) !important;
  outline: none !important;
}

.dag-phone-prefix,
form.contact-page-form .dag-phone-prefix,
form.dag-form .dag-phone-prefix {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

.dag-phone-wrap input,
form.contact-page-form .dag-phone-wrap input,
form.dag-form .dag-phone-wrap input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

.dag-stage,
.dag-thumb,
.vehicle-thumb,
.home-featured__media,
.home-about .section-image img,
.section-image img,
.shipping-type-card .team-card__image img {
  border-radius: var(--radius) !important;
}

.dag-thumb,
.vehicle-thumb {
  border: 1px solid transparent !important;
}

.dag-thumb.is-active,
.vehicle-thumb.is-active {
  border-color: var(--surface-deep) !important;
}

.dag-nav,
.vehicle-nav,
.gallery-nav,
.lightbox-close,
.lightbox-next,
.lightbox-prev {
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

.dag-counter,
.home-featured__badge,
.cyp-badge,
.dag-badge,
.dag-sold,
.cyp-inv__sold,
.cyp-inv__price-sold {
  border-radius: 2px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crwda-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

@media (max-width: 782px) {
  .admin-bar .crwda-header {
    top: 46px;
  }
}

.crwda-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.crwda-brand,
.crwda-brand a,
.crwda-brand--text {
  color: var(--surface-deep) !important;
}

.crwda-brand--text {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crwda-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.crwda-nav__list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crwda-nav__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 3px !important;
  color: var(--surface-deep) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  background: transparent !important;
  box-shadow: none !important;
}

.crwda-nav__list a:hover,
.crwda-nav__list .current-menu-item > a,
.crwda-nav__list .current_page_item > a {
  background: var(--surface-2) !important;
  color: var(--surface-deep) !important;
}

.crwda-nav__inventory {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 3px !important;
  background: var(--surface-deep) !important;
  border: 1px solid var(--surface-deep) !important;
  color: var(--color-white) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  box-shadow: none !important;
}

.crwda-nav-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 3px !important;
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.crwda-nav-btn span {
  width: 18px;
  height: 2px;
  background: var(--surface-deep);
  display: block;
}

.crwda-nav-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .crwda-nav-btn {
    display: inline-flex;
  }

  .crwda-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(360px, 92vw);
    background: var(--surface) !important;
    border-left: 1px solid var(--border) !important;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.12);
    padding: 84px 16px 18px;
    transform: translateX(104%);
    transition: transform var(--anim-med) ease;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    z-index: 10002;
  }

  .crwda-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .crwda-nav__list a,
  .crwda-nav__inventory {
    width: 100%;
    justify-content: flex-start;
    border-radius: 3px !important;
  }

  .crwda-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--anim-med) ease;
    z-index: 10001;
  }

  #crwda-nav-toggle:checked ~ .crwda-nav {
    transform: translateX(0);
  }

  #crwda-nav-toggle:checked ~ .crwda-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

.crwda-footer {
  background: var(--surface-deep) !important;
  color: #f2efe8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.crwda-footer__top,
.crwda-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.crwda-footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.crwda-footer__brand,
.crwda-footer__nav,
.crwda-footer__legal {
  min-width: 0;
}

.crwda-footer__logoText {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crwda-footer__menu,
.crwda-footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.crwda-footer a {
  color: inherit;
  text-decoration: none;
}

.crwda-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crwda-footer__copy {
  font-size: 13px;
  color: rgba(242, 239, 232, 0.78);
}

@media (max-width: 900px) {
  .crwda-footer__top,
  .crwda-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.single-car #contact-form {
  scroll-margin-top: 110px;
}

body.single-car .dag-single-car__grid {
  gap: 24px !important;
}

body.single-car .dag-pricebox,
body.single-car .dag-lead,
body.single-car .dag-section,
body.single-car .dag-stage,
body.single-car .dag-thumb,
body.single-car .dag-nav {
  border-radius: var(--radius) !important;
}

body.single-car .dag-price {
  font-size: 32px;
  line-height: 1;
}

body.single-car .dag-lead__title,
body.single-car .dag-section__title {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.single-car .dag-form__grid {
  gap: 12px !important;
}

body.single-car .dag-monthly__value,
body.single-car .dag-price,
.vehicle-card__price,
.home-featured__price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

body.post-type-archive-car .cyp-inv__layout,
body.single-car .dag-single-car__grid,
.contact-banner__grid,
.shipping-steps__grid,
.team-grid,
.vehicle-grid,
.home-featured__grid {
  gap: 18px;
}

body.post-type-archive-car .cyp-inv__hero,
.contact-banner,
.about-page .about-hero,
.shipping-hero,
.contact-hero {
  background: var(--page-bg) !important;
}

body.post-type-archive-car .cyp-inv__hero-inner,
.contact-banner__content,
.about-page .about-hero__media-frame,
.shipping-step,
.contact-info__item,
.contact-notice {
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important;
  border-radius: var(--radius) !important;
}

.home-contact {
  background: var(--surface-deep) !important;
}

.home-contact__inner {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.home-contact__title,
.home-news__title,
.about-hero__title,
.contact-hero__title,
.shipping-hero__title {
  letter-spacing: 0.04em;
}

.wpdevart-top-header,
.wpdevart-main-header-bg,
.site-header,
#masthead,
#colophon,
.site-footer {
  display: none !important;
}