

:root {
  --rentcar-radius: 10px;
  --rentcar-border: #e6e8eb;
  --rentcar-muted: #6b7280;
  --rentcar-accent: var(--ast-global-color-0, #0170b9);
  --rentcar-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --rentcar-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.rentcar-archive-header {
  margin-bottom: 1.5rem;
}

.rentcar-archive-title {
  margin: 0 0 0.5rem;
}

.rentcar-archive-desc {
  color: var(--rentcar-muted);
}

.rentcar-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.rentcar-filter__item {
  padding: 0.45rem 1rem;
  border: 1px solid var(--rentcar-border);
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.rentcar-filter__item:hover {
  border-color: var(--rentcar-accent);
}

.rentcar-filter__item.is-active {
  background: var(--rentcar-accent);
  border-color: var(--rentcar-accent);
  color: #fff;
}

.rentcar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rentcar-card {
  display: contents;
  border: 1px solid var(--rentcar-border);
  border-radius: var(--rentcar-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--rentcar-shadow);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.rentcar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rentcar-shadow-hover);
}

.rentcar-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rentcar-card__media {
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}

.rentcar-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rentcar-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
  color: var(--rentcar-muted);
  font-size: 0.9rem;
  background: #f3f4f6;
}

.rentcar-card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.rentcar-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  line-height: 1.35;
}

.rentcar-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.rentcar-card__specs li {
  padding: 0.2rem 0.6rem;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--rentcar-muted);
}

.rentcar-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rentcar-card__price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--rentcar-accent);
}

.rentcar-card__price small {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--rentcar-muted);
}

.rentcar-card__price--ask {
  font-size: 1rem;
}

.rentcar-card__cta {
  font-size: 0.85rem;
  color: var(--rentcar-muted);
  text-decoration: underline;
}

.rentcar-empty {
  padding: 2rem 0;
  color: var(--rentcar-muted);
}

.rentcar-single__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .rentcar-single__top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.rentcar-single__media img {
  width: 100%;
  height: auto;
  border-radius: var(--rentcar-radius);
  display: block;
}

.rentcar-single__title {
  margin: 0 0 0.5rem;
}

.rentcar-single__type {
  margin: 0 0 1rem;
  color: var(--rentcar-muted);
  font-size: 0.9rem;
}

.rentcar-single__type a {
  color: inherit;
}

.rentcar-single__price {
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
  color: var(--rentcar-accent);
}

.rentcar-single__price small {
  font-size: 0.9rem;
  color: var(--rentcar-muted);
}

.rentcar-specs {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

.rentcar-specs th,
.rentcar-specs td {
  padding: 0.6rem 0.25rem;
  border-bottom: 1px solid var(--rentcar-border);
  text-align: left;
  font-size: 0.95rem;
}

.rentcar-specs th {
  width: 45%;
  font-weight: 500;
  color: var(--rentcar-muted);
}

.rentcar-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rentcar-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.15s ease;
}

.rentcar-btn:hover {
  opacity: 0.88;
  color: #fff;
}

.rentcar-btn.is-phone {
  background: #16a34a;
}

.rentcar-btn.is-zalo {
  background: #0068ff;
}

.rentcar-btn.is-messenger {
  background: #0084ff;
}

.rentcar-notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid #f59e0b;
  background: #fffbeb;
  font-size: 0.9rem;
}

.rentcar-single__content {
  margin-bottom: 2.5rem;
}

.rentcar-related {
  padding-top: 2rem;
  border-top: 1px solid var(--rentcar-border);
}

.rentcar-related__title {
  margin: 0 0 1.25rem;
  font-size: 1.4rem;
}

.site-header {
  --rc-header-bg: #0c335d;
  --rc-header-bg-hover: #0f4278;
}

.site-header .ast-primary-header-bar,
.site-header .ast-mobile-header-wrap .ast-primary-header-bar,
.site-header .ast-mobile-header-content {
  background: var(--rc-header-bg);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.site-header .site-title,
.site-header .site-title a,
.site-header .site-title a:hover,
.site-header .site-title a:focus {
  color: #fff;
  font-weight: 700;
}

.site-header .site-description {
  color: rgba(255, 255, 255, 0.8);
}

.site-header .main-header-menu .menu-link,
.site-header .main-header-menu > .menu-item > .menu-link {
  color: #fff;
  font-weight: 700;
}

.site-header .main-header-menu .menu-item:hover > .menu-link,
.site-header .main-header-menu .menu-item.current-menu-item > .menu-link,
.site-header .main-header-menu .menu-link:focus-visible {
  color: #fff;
  background-color: var(--rc-header-bg-hover);
}

.site-header .main-header-menu .sub-menu {
  background: var(--rc-header-bg);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-header .main-header-menu .sub-menu .menu-link {
  color: #fff;
  font-weight: 600;
}

.site-header .ast-icon svg,
.site-header .ast-arrow-svg,
.site-header .ast-menu-toggle,
.site-header .menu-toggle,
.site-header .mobile-menu-toggle-icon svg {
  color: #fff;
  fill: currentColor;
}

.site-header .menu-toggle.main-header-menu-toggle {
  background: transparent;
  color: #fff;
}

/* Menu trượt trên điện thoại.
   Astra nhắm chọn menu này bằng selector rất cụ thể
   (.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link
   — 5 class), nên selector ngắn ở trên không đè được. Phải viết dài ngang cấp
   rồi thêm .site-header để vượt lên. Không phải thừa, bỏ đi là menu mobile trắng lại. */
.site-header .ast-builder-menu-mobile .main-navigation .main-header-menu,
.site-header .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
  background-color: var(--rc-header-bg);
}

/* Astra đặt nền trắng lên chính thẻ link (không chỉ lên khối menu), nên bắt buộc
   phải đặt lại nền ở đây — thiếu dòng background-color là chữ trắng nằm trên
   nền trắng, mất hút. */
.site-header .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
  color: #fff;
  font-weight: 700;
  background-color: transparent;
}

/* Trạng thái hover và mục đang xem: Astra dùng 6 class, nên phải đủ 7 mới đè được. */
.site-header .ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item:hover > .menu-link,
.site-header .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item > .menu-link,
.site-header .ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item:hover > .ast-menu-toggle {
  color: #fff;
  background-color: var(--rc-header-bg-hover);
}

.rc-footer {
  --rc-footer-bg: #06203c;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25)), linear-gradient(135deg, var(--rentcar-accent), #06203c);
}

.rc-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

@media (max-width: 880px) {
  .rc-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .rc-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .rc-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.rc-footer__title {
  margin: 0 0 1.5rem;
  padding-bottom: 0.9rem;
  position: relative;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.rc-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: #fff;
}

.rc-footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-footer__contact li + li {
  margin-top: 1rem;
}

.rc-footer__contact a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;

  overflow-wrap: anywhere;
}

.rc-footer__contact a:hover,
.rc-footer__contact a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.rc-footer__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--rc-footer-bg);
}

.rc-footer__ico .rc-ico {
  width: 18px;
  height: 18px;
}

.rc-footer__address {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.rc-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-footer__links li + li {
  margin-top: 0.85rem;
}

.rc-footer__links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.rc-footer__links a:hover,
.rc-footer__links a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.rc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.rc-footer__bottom p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}

.rentcar-floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rentcar-floating__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.rentcar-floating__btn:hover {
  transform: scale(1.04);
  color: #fff;
}

.rentcar-floating__btn.is-phone {
  background: #16a34a;
}

.rentcar-floating__btn.is-zalo {
  background: #0068ff;
}

.rentcar-floating__btn.is-messenger {
  background: #a334fa;
}

@media (max-width: 600px) {
  .rentcar-floating {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
  }

  .rentcar-floating__btn {
    flex: 1;
    padding: 0.7rem 0.5rem;
  }
}

/* Nút cuộn lên đầu trang của Astra.
   Vị trí phải ăn khớp với .rentcar-floating ở trên: PC nút nổi xếp dọc bên phải
   nên đẩy nút cuộn vào 130px cho khỏi chồng; dưới 600px nút nổi trải ngang đáy
   nên nút cuộn lùi về phải 30px và nâng lên 60px để nằm phía trên hàng nút đó.
   Đổi mốc 600px ở đây thì phải đổi cả mốc của .rentcar-floating, và ngược lại. */
#ast-scroll-top.ast-scroll-to-top-right {
  right: 130px;
  bottom: 30px;
}

@media (max-width: 600px) {
  #ast-scroll-top.ast-scroll-to-top-right {
    right: 30px;
    bottom: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rentcar-card,
  .rentcar-floating__btn {
    transition: none;
  }

  .rentcar-card:hover,
  .rentcar-floating__btn:hover {
    transform: none;
  }
}
