/* VmShell Global Frontend Refresh - Visual Layer Only */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #0f766e;
  --primary-d: #115e59;
  --secondary: #0ea5e9;
  --accent: #ea580c;
  --dark: #112033;
  --text: #1f2a37;
  --muted: #64748b;
  --light-bg: #f6f9fc;
  --surface: #ffffff;
  --surface-2: #fff7ed;
  --border: #dce7f1;
  --shadow: 0 16px 45px rgba(17, 32, 51, .09);
  --shadow-soft: 0 8px 28px rgba(17, 32, 51, .07);
  --radius: 8px;
  --transition: .22s ease;
}

html {
  background: var(--light-bg);
  scroll-padding-top: 96px;
}

body.vmshell-frontend {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--light-bg);
  font-family: "Inter", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body.vms-titlecase :where(.topbar, .main-header, .site-footer, .hero-content, .section-title, .search-bar, .filter-bar, .cards-grid, .features-grid, .poi-grid, .news-grid, .page-hero, .breadcrumb, .product-detail, .auth-card, .contact-container, .btn) {
  text-transform: capitalize;
}

body.vms-titlecase :where(input, textarea, select, option, code, pre, .notranslate, .footer-signature, .price, .product-price, [href^="mailto:"], [href^="tel:"]) {
  text-transform: none;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-d);
}

img {
  border-radius: inherit;
}

.container {
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1240px);
  }
}

/* Header */
.topbar {
  background: #102033 !important;
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar a {
  color: rgba(255,255,255,.9) !important;
  text-decoration: none;
}

.topbar a:hover {
  color: #fff !important;
}

.topbar-whatsapp {
  color: #bbf7d0 !important;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(220,231,241,.92);
  box-shadow: 0 10px 30px rgba(15, 32, 51, .06);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo a {
  color: var(--dark) !important;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
}

.logo-sub {
  color: var(--muted) !important;
  font-size: .78rem;
  margin-top: 3px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.main-nav > ul > li > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: #334155 !important;
  padding: 10px 12px;
  font-weight: 700;
  font-size: .91rem;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  background: #ecfeff;
  color: var(--primary) !important;
}

.nav-arrow {
  display: inline-flex !important;
  align-items: center;
  transition: transform .2s ease;
}

.has-dropdown.active > a .nav-arrow,
.has-dropdown:hover > a .nav-arrow {
  transform: rotate(180deg);
}

.dropdown {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden;
}

.dropdown a {
  color: #334155 !important;
  font-weight: 600;
}

.dropdown a:hover,
.dropdown a.nav-sub-active {
  background: #ecfeff !important;
  color: var(--primary) !important;
}

.nav-toggle {
  width: 46px !important;
  height: 46px !important;
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;
  background: #fff !important;
  font-size: 1.45rem !important;
}

.nav-toggle:hover,
.nav-toggle.open {
  background: var(--primary) !important;
  color: #fff !important;
}

/* Language Switcher */
.vms-language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.vms-language-current {
  min-height: 32px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.vms-language-current:hover,
.vms-language-current[aria-expanded="true"] {
  background: rgba(255,255,255,.22);
}

.vms-language-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 164px;
  max-height: min(70vh, 360px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 10050;
}

html[dir="rtl"] .vms-language-menu {
  left: 0;
  right: auto;
}

.vms-language-switcher.open .vms-language-menu {
  display: grid;
}

.vms-language-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.vms-language-menu button:hover,
.vms-language-menu button.active {
  background: #ecfeff;
  color: var(--primary);
}

#google_translate_element,
.goog-te-gadget,
.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Hero And Section Rhythm */
.hero {
  min-height: 650px;
  height: clamp(560px, 72vh, 760px) !important;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(246,249,252,0), var(--light-bg));
  z-index: 2;
  pointer-events: none;
}

.hero-slide {
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(16,32,51,.84), rgba(16,32,51,.46), rgba(16,32,51,.22)) !important;
}

.hero-content {
  max-width: 760px !important;
  margin-right: auto;
  text-align: left !important;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6.8vw, 5.9rem) !important;
  line-height: .98 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 12px 40px rgba(0,0,0,.35) !important;
  text-wrap: auto;
}

.hero-content p {
  max-width: 680px;
  font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
  color: rgba(255,255,255,.9);
}

.section {
  padding: clamp(58px, 7vw, 94px) 0;
}

.section-alt {
  background: #eef7f7;
}

.section-title {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title h2,
.page-hero h1 {
  color: var(--dark);
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: auto;
}

.section-title p,
.page-hero p {
  color: var(--muted);
  line-height: 1.75;
}

.section-title .line {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  margin: 18px auto 0;
  background: var(--accent);
}

/* Buttons And Forms */
.btn,
button.btn,
a.btn {
  min-height: 44px;
  border-radius: 8px !important;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 14px 32px rgba(234,88,12,.22);
}

.btn-primary:hover {
  background: #c2410c !important;
}

.btn-outline {
  background: #fff !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-outline:hover {
  background: #ecfeff !important;
}

input,
select,
textarea {
  border-radius: 8px !important;
  border-color: #cbd8e4 !important;
  min-height: 44px;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(14,165,233,.24) !important;
  outline-offset: 2px;
  border-color: var(--secondary) !important;
}

.search-bar,
.filter-bar {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(220,231,241,.9);
  border-radius: 8px !important;
  padding: 18px !important;
  box-shadow: var(--shadow);
}

.search-bar form,
.filter-bar form {
  display: grid !important;
  grid-template-columns: minmax(160px,.8fr) minmax(220px,1.2fr) minmax(150px,.7fr) auto;
  gap: 12px !important;
  align-items: center;
}

.filter-bar form {
  grid-template-columns: minmax(160px,.8fr) minmax(220px,1.1fr) auto auto 1fr;
}

/* Cards And Grids */
.cards-grid,
.features-grid,
.poi-grid,
.news-grid,
.testimonials-grid {
  gap: 20px !important;
}

.card,
.feature-item,
.poi-card,
.news-card,
.testimonial,
.sidebar-widget,
.user-main,
.user-card,
.auth-card,
.contact-card,
.info-item {
  border-radius: 8px !important;
  border: 1px solid rgba(220,231,241,.9) !important;
  background: var(--surface) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden;
}

.card:hover,
.feature-item:hover,
.poi-card:hover,
.news-card:hover,
.info-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow) !important;
}

.card-img,
.card > img,
.poi-card > img,
.news-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
}

.card-body,
.poi-card-body,
.news-card-body {
  padding: 20px !important;
}

.card-category {
  color: var(--primary) !important;
  font-weight: 800;
  letter-spacing: .03em;
  white-space: nowrap;
}

.card-title,
.poi-card-title,
.news-card-title {
  color: var(--dark) !important;
  font-size: 1.18rem !important;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
}

.card-text,
.poi-card-desc,
.news-card-body p {
  color: var(--muted) !important;
}

.card-footer {
  border-top: 1px solid #edf2f7 !important;
  padding: 16px 20px !important;
}

.price,
.product-price {
  color: var(--accent) !important;
  font-weight: 800;
  white-space: nowrap;
}

.feature-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 8px;
  background: #ecfeff;
  color: var(--primary);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem !important;
}

.stats-bar {
  background: #102033 !important;
  color: #fff;
}

.stat-item h3 {
  color: #fff;
  font-weight: 800;
}

.stat-item p {
  color: rgba(255,255,255,.78);
}

/* Page Hero And Detail Pages */
.page-hero {
  padding: clamp(88px, 12vw, 150px) 0 !important;
  text-align: left !important;
  background: #102033 !important;
}

.page-hero-bg {
  filter: brightness(.58) saturate(1.08) !important;
}

.page-hero .container {
  max-width: 1040px;
}

.page-hero h1 {
  color: #fff !important;
  font-size: clamp(2.3rem, 5vw, 4.6rem) !important;
  line-height: 1.05;
}

.page-hero p {
  color: rgba(255,255,255,.86) !important;
  max-width: 700px;
}

.breadcrumb {
  color: var(--muted) !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  overflow-wrap: break-word;
  word-break: normal;
}

.breadcrumb a {
  color: var(--primary) !important;
  font-weight: 700;
  white-space: nowrap;
}

.breadcrumb span {
  white-space: nowrap;
}

.product-detail {
  grid-template-columns: minmax(0,1fr) minmax(330px,390px) !important;
}

.product-gallery img {
  border-radius: 8px !important;
  box-shadow: var(--shadow-soft);
}

.product-tabs {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow: visible;
  border-bottom: 1px solid #edf2f7 !important;
}

.tab-nav a {
  flex: 0 1 auto;
  border-radius: 8px 8px 0 0;
  font-weight: 800;
  white-space: nowrap;
}

.tab-nav a.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}

.product-detail > div:nth-child(2) > div {
  border: 1px solid var(--border);
  border-radius: 8px !important;
  box-shadow: var(--shadow) !important;
}

/* Footer */
.site-footer {
  background: #102033 !important;
  color: rgba(255,255,255,.78) !important;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, .85fr));
  gap: 28px !important;
}

.footer-col h3 {
  color: #fff !important;
  font-weight: 800;
}

.footer-col p,
.footer-col li,
.footer-bottom p {
  color: rgba(255,255,255,.7) !important;
}

.footer-col a {
  color: rgba(255,255,255,.78) !important;
}

.footer-col a:hover {
  color: #fff !important;
}

.footer-contact-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}

/* Auth And Contact */
.auth-wrap {
  background:
    linear-gradient(90deg, rgba(16,32,51,.88), rgba(16,32,51,.48)),
    url('/assets/image/banners/products.jpg') center/cover no-repeat !important;
}

.auth-card {
  backdrop-filter: blur(10px);
}

.contact-container {
  background: var(--light-bg) !important;
}

.info-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ecfeff;
  color: var(--primary);
  font-size: 1.7rem !important;
}

.service-section,
.fac-section,
.forum-card,
.post-card,
.faq-card,
.faq-footer-cta {
  border-radius: 8px !important;
  border: 1px solid rgba(220,231,241,.9) !important;
  box-shadow: var(--shadow-soft) !important;
}

.service-section,
.fac-section,
.forum-card,
.post-card {
  background: #fff !important;
}

.service-item,
.fac-item {
  border-radius: 8px !important;
}

.service-item-icon,
.fac-item-icon,
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ecfeff !important;
  color: var(--primary) !important;
  font-size: 1.55rem !important;
}

.news-date,
.poi-card-meta,
article [style*="color:#999"] {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  word-break: normal;
}

.news-date i,
.poi-card-meta i,
article [style*="color:#999"] i {
  flex: 0 0 auto;
}

.badge,
summary,
label,
.stat-item p,
.view-detail-btn,
.card-footer .btn,
.filter-bar button,
.search-bar button {
  white-space: nowrap;
}

.auth-logo h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Mobile */
@media (max-width: 992px) {
  .topbar-inner,
  .topbar-left,
  .topbar-right {
    justify-content: center;
  }

  .main-nav {
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .main-nav > ul > li > a {
    width: 100%;
    border-radius: 0;
  }

  .search-bar form,
  .filter-bar form,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .hero {
    min-height: 520px;
    height: auto !important;
    padding: 86px 0 90px;
  }

  .hero-content {
    text-align: left !important;
  }

  .product-detail,
  .content-sidebar,
  .form-row,
  .user-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .topbar-left {
    display: none;
  }

  .topbar-right {
    gap: 8px;
    font-size: .78rem;
  }

  .header-inner {
    min-height: 68px;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 14vw, 4rem) !important;
  }

  .card-footer {
    gap: 12px;
    align-items: stretch;
    flex-direction: column;
  }

  .card-footer .btn {
    width: 100%;
  }

  .page-hero {
    padding: 76px 0 96px !important;
  }
}

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