@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Color Palette */
  --primary: #1E3A8A; /* Deep Navy Blue */
  --primary-hover: #1e40af;
  --primary-dark: #0F172A; /* Slate 900 for text/headings */
  --primary-light: #F1F5F9; /* Slate 100 for background */
  --primary-soft: #E2E8F0; /* Slate 200 for borders */
  
  --accent-orange: #FF6B00; /* Inquire button accent */
  --accent-orange-hover: #E56000;
  
  --whatsapp-green: #25D366; /* WhatsApp integration */
  --whatsapp-hover: #20BA56;
  
  --text-dark: #1E293B; /* Slate 800 */
  --text-muted: #64748B; /* Slate 500 */
  --text-light: #F8FAFC; /* Slate 50 */
  
  --card-bg: #FFFFFF;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --hover-shadow: 0 12px 30px -4px rgba(30, 58, 138, 0.15);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 0;
  --border-radius-md: 0;
  --border-radius-lg: 0;
}

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Square design — no rounded corners site-wide */
*,
*::before,
*::after {
  border-radius: 0 !important;
}

/* Header & Navigation */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--primary-soft);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: visible;
}

.site-nav {
  position: relative;
  overflow: visible;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-orange);
}

.nav-links {
  display: flex;
  gap: 6rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover, .nav-links li.active a {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links li.active > .nav-link-parent::after, .nav-links li.active > a:not(.nav-link-parent)::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-item {
  position: relative;
}

.nav-item_has-sub:hover,
.nav-item_has-sub:focus-within {
  z-index: 1001;
}

.nav-item_has-sub .nav-link-parent::after {
  display: none;
}

.nav-item_has-sub .nav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item_has-sub .nav-link-parent::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.nav-item_has-sub:hover .nav-link-parent::before,
.nav-item_has-sub.is-open .nav-link-parent::before {
  transform: rotate(180deg);
}

.nav-sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 180px;
  list-style: none;
  background: white;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--hover-shadow);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  z-index: 1002;
}

.nav-item_has-sub:hover .nav-sub-menu,
.nav-item_has-sub.is-open .nav-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-sub-menu li a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-sub-menu li a::after {
  display: none;
}

.nav-sub-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.btn_nav_toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.btn_nav_toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
}

/* Subpage Layout */
.page-sub {
  background: var(--primary-light);
}

.subpage-content {
  position: relative;
  z-index: 0;
  padding: 3rem 2rem 5rem;
}

.subpage-container {
  max-width: 1100px;
  margin: 0 auto;
}

.subpage-section {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.subpage-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.subpage-lead {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.subpage-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.subpage-card {
  background: var(--primary-light);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
}

.subpage-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* About Us — image slots (upload JPGs to /front/assets/img/about/) */
.about-section {
  padding: 0;
  overflow: hidden;
}

.about-intro {
  padding: 2.5rem 2.5rem 0;
}

.about-hero_media {
  margin: 2rem 2.5rem 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: var(--primary-soft);
  border: 1px dashed var(--primary-soft);
}

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

.about-card-grid {
  padding: 2rem 2.5rem 2.5rem;
}

.about-card {
  padding: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--primary-soft);
  box-shadow: var(--card-shadow);
}

.about-card_media {
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--primary-light);
  border-bottom: 1px solid var(--primary-soft);
}

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

.about-card_body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.about-card_body h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.about-card_body p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* How To Buy — brand: #FFFFFF / #002147 / #FF6F00 */
.how-to-buy-page {
  --htb-white: #FFFFFF;
  --htb-navy: #002147;
  --htb-navy-soft: #003366;
  --htb-orange: #FF6F00;
  --htb-orange-hover: #E56400;
  --htb-muted: #5A6B7D;
  --htb-section-x: 2.5rem;
  --htb-section-y: 2.75rem;
  padding: 0;
  overflow: visible;
  background: var(--htb-white);
}

.page-sub:has(.how-to-buy-page) .subpage-content {
  padding: 2rem 1.5rem 2.5rem;
}

.page-sub:has(.how-to-buy-page) .subpage-section {
  padding: 0;
  box-shadow: 0 4px 24px rgba(0, 33, 71, 0.06);
}

.how-to-buy_hero {
  background: linear-gradient(135deg, var(--htb-navy) 0%, var(--htb-navy-soft) 100%);
  color: var(--htb-white);
  padding: 2.5rem var(--htb-section-x);
  text-align: center;
}

.how-to-buy_badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 111, 0, 0.15);
  border: 1px solid rgba(255, 111, 0, 0.35);
  color: #FFD4B0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.how-to-buy_title {
  color: var(--htb-white);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin-bottom: 1rem;
}

.how-to-buy_lead {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  font-size: 1.02rem;
}

.how-to-buy_reasons {
  padding: var(--htb-section-y) var(--htb-section-x) 2.25rem;
  background: var(--htb-white);
  border-bottom: 1px solid #E8EDF2;
}

.how-to-buy_reasons-title {
  text-align: center;
  color: var(--htb-navy);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 2rem;
  line-height: 1.35;
}

.how-to-buy_reasons-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.how-to-buy_reason-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #FAFBFD;
  border: 1px solid #E8EDF2;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.how-to-buy_reason-card:hover {
  border-color: rgba(255, 111, 0, 0.25);
  box-shadow: 0 8px 24px rgba(0, 33, 71, 0.08);
  transform: translateY(-2px);
}

.how-to-buy_reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: rgba(255, 111, 0, 0.1);
  border: 2px solid rgba(255, 111, 0, 0.25);
  color: var(--htb-orange);
}

.how-to-buy_reason-icon svg {
  display: block;
}

.how-to-buy_reason-title {
  color: var(--htb-orange);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.how-to-buy_reason-desc {
  color: var(--htb-navy);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.how-to-buy_detail {
  padding: var(--htb-section-y) var(--htb-section-x);
  background: #FAFBFD;
  border-bottom: 1px solid #E8EDF2;
}

.how-to-buy_detail-title {
  color: var(--htb-navy);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.4;
}

.how-to-buy_detail-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.how-to-buy_detail-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.how-to-buy_detail-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--htb-orange);
  line-height: 1;
}

.how-to-buy_detail-body p {
  margin: 0;
  color: var(--htb-navy);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.how-to-buy_detail-body strong {
  font-weight: 700;
  color: var(--htb-navy);
}

.how-to-buy_process {
  padding: var(--htb-section-y) var(--htb-section-x);
  background: var(--htb-white);
  border-bottom: 1px solid #E8EDF2;
}

.how-to-buy_process-title {
  text-align: center;
  color: var(--htb-navy);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 2.5rem;
  line-height: 1.35;
}

.how-to-buy_timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
}

.how-to-buy_timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.75rem;
}

.how-to-buy_timeline-item:not(.how-to-buy_timeline-item_last) .how-to-buy_timeline-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 52px;
  bottom: -2.75rem;
  width: 2px;
  transform: translateX(-50%);
  background: var(--htb-navy);
}

.how-to-buy_timeline-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.how-to-buy_timeline-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--htb-orange);
  color: var(--htb-white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(255, 111, 0, 0.35);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.how-to-buy_timeline-content {
  padding-top: 0.35rem;
}

.how-to-buy_timeline-step {
  color: var(--htb-orange);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.how-to-buy_timeline-content p {
  color: var(--htb-navy);
  font-size: 0.98rem;
  line-height: 1.85;
  margin: 0 0 0.75rem;
}

.how-to-buy_timeline-content p:last-child {
  margin-bottom: 0;
}

.how-to-buy_timeline-content a {
  color: var(--htb-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.how-to-buy_timeline-content a:hover {
  color: var(--htb-orange-hover);
}

.how-to-buy_tracking-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.btn_tracking-carrier {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  background: var(--htb-white);
  border: 1px solid var(--htb-navy);
  color: var(--htb-navy);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  transition: var(--transition-smooth);
}

.btn_tracking-carrier:hover {
  background: var(--htb-navy);
  border-color: var(--htb-navy);
  color: var(--htb-white);
  box-shadow: 0 4px 12px rgba(0, 33, 71, 0.15);
}

.how-to-buy_step-link {
  display: inline-block;
  color: var(--htb-orange);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.how-to-buy_step-link:hover {
  color: var(--htb-orange-hover);
  text-decoration: underline;
}

.how-to-buy_info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: var(--htb-section-y) var(--htb-section-x);
  background: #FAFBFD;
  border-bottom: 1px solid #E8EDF2;
}

.how-to-buy_info-card {
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  border-top: 3px solid var(--htb-orange);
}

.how-to-buy_info-card h4 {
  color: var(--htb-navy);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.how-to-buy_list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.how-to-buy_list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--htb-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.how-to-buy_list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--htb-orange);
}

.how-to-buy_list li span {
  color: var(--htb-navy);
  font-weight: 600;
}

.how-to-buy_guide {
  padding: var(--htb-section-y) var(--htb-section-x);
  background: var(--htb-white);
  border-bottom: 1px solid #E8EDF2;
}

.how-to-buy_guide-title {
  text-align: center;
  color: var(--htb-navy);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.how-to-buy_guide-lead {
  text-align: center;
  color: var(--htb-muted);
  font-size: 0.95rem;
  margin: 0 auto 2rem;
  max-width: 560px;
  line-height: 1.65;
}

.how-to-buy_guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.guide-accordion {
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius-md);
  background: #FAFBFD;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.guide-accordion[open] {
  border-color: rgba(255, 111, 0, 0.35);
  box-shadow: 0 4px 16px rgba(0, 33, 71, 0.06);
}

.guide-accordion_summary {
  display: block;
  padding: 1.15rem 2.5rem 1.15rem 1.25rem;
  border-left: 4px solid var(--htb-orange);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--htb-navy);
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: var(--transition-smooth);
}

.guide-accordion_summary::-webkit-details-marker {
  display: none;
}

.guide-accordion_summary::after {
  content: '+';
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--htb-orange);
  line-height: 1;
}

.guide-accordion[open] .guide-accordion_summary::after {
  content: '−';
}

.guide-accordion_summary:hover {
  color: var(--htb-orange);
}

.guide-accordion_body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid #E8EDF2;
}

.guide-accordion_body p {
  margin: 1rem 0 0;
  color: var(--htb-navy);
  font-size: 0.93rem;
  line-height: 1.85;
}

.guide-accordion_body p:first-child {
  margin-top: 1rem;
}

.how-to-buy_guaranteed-heading {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--htb-orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.how-to-buy_guaranteed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.how-to-buy_guaranteed-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--htb-navy);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.how-to-buy_guaranteed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 111, 0, 0.12);
  color: var(--htb-orange);
}

.how-to-buy_guaranteed-icon svg {
  display: block;
}

.how-to-buy_cta {
  background: var(--htb-navy);
  color: var(--htb-white);
  text-align: center;
  padding: 2.25rem var(--htb-section-x);
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

.how-to-buy_cta-text {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}

.how-to-buy_cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn_how-to-buy-primary {
  background-color: var(--htb-orange);
  color: var(--htb-white);
  border: none;
}

.btn_how-to-buy-primary:hover {
  background-color: var(--htb-orange-hover);
}

.btn_how-to-buy-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--htb-white);
  background: transparent;
}

.btn_how-to-buy-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--htb-white);
  color: var(--htb-white);
}

.subpage-table {
  width: 100%;
  border-collapse: collapse;
}

.subpage-table th,
.subpage-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--primary-soft);
  text-align: left;
}

.subpage-table th {
  background: var(--primary-light);
  font-weight: 600;
}

.subpage-table a:hover {
  color: var(--primary);
}

.subpage-directions {
  margin-top: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  background: var(--primary-light);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
}

.faq-item p {
	margin-top: 0.75rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.faq-item_content {
	margin-top: 0.75rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.faq-item_content p {
	margin-bottom: 0.75rem;
}

.faq-item_content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius-sm);
}

.board-empty,
.review-empty {
	color: var(--text-muted);
	text-align: center;
	padding: 3rem 1rem;
}

.board-badge_notice {
	display: inline-block;
	padding: 0.15rem 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	color: white;
	background: var(--accent-orange);
	border-radius: 3px;
}

.board-table_notice td:first-child {
	width: 5.5rem;
	text-align: center;
	white-space: nowrap;
}

.board-pagination,
.review-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2.5rem;
}

.board-pagination_info,
.review-pagination_info {
	font-size: 0.9rem;
	color: var(--text-muted);
}

.btn_board-page,
.btn_review-page {
	min-width: 5rem;
}

.post-detail_back,
.review-detail_back {
	margin-bottom: 1.25rem;
}

.post-detail_back a,
.review-detail_back a {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary);
	text-decoration: none;
}

.post-detail_back a:hover,
.review-detail_back a:hover {
	text-decoration: underline;
}

.post-detail_header,
.review-detail_header {
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--primary-soft);
}

.post-detail_title,
.review-detail_title {
	font-size: 1.75rem;
	line-height: 1.35;
	margin-bottom: 0.85rem;
}

.post-detail_meta,
.review-detail_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.post-detail_author::before,
.review-detail_author::before {
	content: '·';
	margin-right: 0.75rem;
}

.post-detail_meta .post-detail_views::before,
.post-detail_meta .review-detail_views::before {
	content: none;
}

.post-detail_content,
.review-detail_content {
	line-height: 1.85;
	color: var(--text-dark);
}

.post-detail_content img,
.review-detail_content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius-sm);
	margin: 1rem 0;
}

.post-detail_content p,
.review-detail_content p {
	margin-bottom: 1rem;
}

.post-detail_attachments,
.review-detail_attachments {
	list-style: none;
	margin: 2rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--primary-soft);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.post-detail_attachments .btn_download,
.review-detail_attachments .btn_download {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
	background: var(--primary-light);
	border: 1px solid var(--primary-soft);
	border-radius: var(--border-radius-sm);
	color: var(--primary);
	text-decoration: none;
}

.post-detail_attachments .btn_download:hover,
.review-detail_attachments .btn_download:hover {
	background: white;
	border-color: var(--primary);
}

/* Review (webzine) */
.review-section {
	padding: 2rem 2.5rem 2.5rem;
}

.review-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.review-card {
	margin: 0;
}

.review-card_link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--primary-light);
	border-radius: var(--border-radius-md);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	border: 1px solid transparent;
	transition: var(--transition-smooth);
}

.review-card_link:hover {
	border-color: var(--primary-soft);
	box-shadow: var(--hover-shadow);
	transform: translateY(-3px);
}

.review-card_thumb {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--primary-soft) 0%, #e8eef5 100%);
	overflow: hidden;
}

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

.review-card_thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.review-card_body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.35rem 1.5rem;
	gap: 0.5rem;
}

.review-card_date {
	font-size: 0.8rem;
	color: var(--text-muted);
}

.review-card_title {
	font-size: 1.05rem;
	line-height: 1.45;
	margin: 0;
	color: var(--text-dark);
}

.review-card_excerpt {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.65;
	color: var(--text-muted);
	flex: 1;
}

.review-card_more {
	margin-top: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--primary);
}

/* Legal Pages */
.legal-content h3 {
	font-size: 1.1rem;
	margin: 1.75rem 0 0.75rem;
	color: var(--primary-dark);
}

.legal-content h3:first-of-type {
	margin-top: 0;
}

.legal-content p {
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 0.75rem;
}

.legal-list {
	margin: 0.5rem 0 1rem 1.25rem;
	color: var(--text-muted);
	line-height: 1.8;
}

.legal-list li {
	margin-bottom: 0.35rem;
}

.legal-list li span {
	font-weight: 600;
	color: var(--primary);
}

.legal-list_ordered {
	list-style: decimal;
}

.legal-table {
	margin: 1rem 0;
}

.footer-about-text {
	margin-top: 1rem;
	font-size: 0.9rem;
	line-height: 1.6;
}

.footer-contact-text {
	font-size: 0.85rem;
	line-height: 1.7;
}

.footer-contact-text a {
	color: var(--primary-soft);
	text-decoration: underline;
}

.footer-contact-text a:hover {
	color: white;
}

.footer-social-links {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
	transition: var(--transition-smooth);
}

.footer-social-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-2px);
}

.footer-social-link_instagram:hover {
	color: #e1306c;
}

.footer-social-link_facebook:hover {
	color: #1877f2;
}

.footer-social-link_youtube:hover {
	color: #ff0000;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 640px;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Register Form */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 720px;
}

.register-fieldset {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0;
  border: 0;
  margin: 0;
}

.register-fieldset-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-soft);
}

.form-required {
  color: var(--accent-orange);
  font-weight: 700;
}

.form-inline-group {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.form-inline-group input {
  flex: 1;
  min-width: 0;
}

.form-help {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-feedback {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-feedback.is-success {
  color: #15803d;
}

.form-feedback.is-error {
  color: #b91c1c;
}

.form-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.form-email-row input[type="text"]:first-child {
  flex: 1 1 140px;
  min-width: 120px;
}

.form-email-at {
  font-weight: 700;
  color: var(--text-muted);
}

.form-email-row select {
  flex: 1 1 160px;
  min-width: 140px;
  padding: 0.75rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-email-domain-custom,
.form-country-custom {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-label-block {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.form-radio-label,
.form-checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.form-captcha-question {
  font-weight: 700;
  color: var(--primary-dark);
  min-width: 90px;
  padding: 0.65rem 0.85rem;
  background: var(--primary-light);
  border-radius: var(--border-radius-sm);
}

.form-captcha-row input {
  width: 100px;
  padding: 0.75rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
}

.register-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.register-login-link {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.register-login-link a {
  color: var(--primary);
  font-weight: 600;
  margin-left: 0.35rem;
}

@media (max-width: 640px) {
  .form-inline-group {
    flex-direction: column;
  }
}

/* Vehicles Listing Page */
.page-vehicles {
  background: var(--primary-light);
}

.vehicles-page-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.vehicles-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: 90px;
}

.filter-sidebar-inner {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--primary-soft);
}

.filter-sidebar-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}

.filter-sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-sidebar .filter-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.filter-sidebar .filter-group input,
.filter-sidebar .filter-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  background: white;
}

.filter-sidebar .filter-group input:focus,
.filter-sidebar .filter-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-year-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.filter-sidebar-tags {
  min-height: 0;
}

.filter-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.filter-sidebar-actions .btn {
  width: 100%;
}

.vehicles-main {
  min-width: 0;
}

.vehicles-page-header {
  margin-bottom: 1.5rem;
}

.vehicles-page-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.vehicles-page-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-vehicles .inventory-header {
  margin-bottom: 1.5rem;
}

.page-vehicles .main-content {
  padding: 0;
}

/* Home Inventory CTA */
.home-inventory-cta {
  padding: 5rem 2rem;
  text-align: center;
  background: white;
}

.home-inventory-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.home-inventory-cta .section-title {
  margin-bottom: 1rem;
}

.home-inventory-cta .section-subtitle {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.home-inventory-more {
  text-align: center;
  margin-top: 2.5rem;
}

.filter-card-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.filter-label-hidden {
  opacity: 0;
}

.filter-action-buttons {
  display: flex;
  gap: 1rem;
}

/* Vehicle Detail Page */
.page-vehicle-detail {
  background: var(--primary-light);
}

.vehicle-detail-page {
  padding: 2rem;
}

.vehicle-detail-section {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.btn_detail-back {
  margin-bottom: 0;
}

.detail-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.detail-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.detail-inquiry-count {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.detail-inquiry-count-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-inquiry-count-value {
  min-width: 1ch;
  text-align: center;
}

.detail-favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--primary-dark);
  background: var(--primary-light);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.detail-favorite-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-favorite-btn-label {
  line-height: 1;
}

.detail-favorite-btn:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.12);
  transform: translateY(-1px);
}

.detail-favorite-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.detail-favorite-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.detail-favorite-btn.active {
  background: #fef2f2;
  border-color: #f87171;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

.detail-favorite-btn.active:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #b91c1c;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
}

.vehicle-detail-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--primary-soft);
}

.vehicle-detail-summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vehicle-detail-title {
  font-size: 2rem;
  margin: 0;
  line-height: 1.25;
  color: var(--primary-dark);
}

.vehicle-detail-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1.1;
  margin-top: 0.35rem;
}

.vehicle-detail-body {
  margin-top: 0;
}

.vehicle-detail-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 1rem 0;
}

.detail-inquiry-cta {
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border: 1px solid var(--primary-soft);
  text-align: center;
}

.detail-inquiry-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.detail-inquiry-cta-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.detail-inquiry-cta-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}

.btn_detail-inquiry {
  min-width: 180px;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
}

.modal-wrapper_inquiry {
  max-width: 560px;
  width: 92%;
}

.inquiry-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.inquiry-modal-lead {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.modal-wrapper_inquiry .modal-body {
  padding: 2rem 1.75rem 1.75rem;
}

.inquiry-fieldset {
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1rem 0.5rem;
  margin: 0 0 1rem;
}

.inquiry-fieldset legend {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0 0.35rem;
}

.form-row_2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.inquiry-modal-form .inquiry-fieldset .form-row_2col + .form-group {
  margin-top: 1.25rem;
}

.inquiry-modal-form .inquiry-fieldset .form-group + .form-row_2col {
  margin-top: 1.25rem;
}

.form-required {
  color: var(--accent-orange);
}

.inquiry-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.inquiry-cooldown-notice {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--accent-orange);
}

.inquiry-modal-form input[readonly] {
  background: var(--primary-light);
  color: var(--text-dark);
  cursor: default;
}

#vehicle-inquiry-modal[hidden] {
  display: none !important;
}

#vehicle-inquiry-modal:not([hidden]) {
  display: flex;
}

.inquiry-form-card {
  margin-top: 0.5rem;
  background: #fff;
  border-style: dashed;
}

.inquiry-form-card h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.inquiry-form-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inquiry-form-inline input {
  padding: 0.6rem;
  border: 1px solid var(--primary-soft);
  border-radius: 4px;
  font-size: 0.85rem;
}

.vehicle-detail-notfound {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-actions select.nav-select_header {
  min-height: 36px;
  box-sizing: border-box;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.selector-group {
  display: flex;
  gap: 0.5rem;
}

select.nav-select {
  background-color: white;
  border: 1px solid var(--primary-soft);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

select.nav-select:hover {
  border-color: var(--primary);
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-orange {
  background-color: var(--accent-orange);
  color: white;
}

.btn-orange:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: white;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-soft);
  color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--text-muted);
}

/* Hero banner — FadeInUp stagger (Animate.css equivalent) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-banner-animate {
  opacity: 0;
  animation: fadeInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, transform;
}

.hero-banner-animate--delay-0 {
  animation-delay: 0s;
}

.hero-banner-animate--delay-1 {
  animation-delay: 0.1s;
}

.hero-banner-animate--delay-2 {
  animation-delay: 0.2s;
}

.hero-banner-animate--delay-3 {
  animation-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Hero Section */
.hero-section {
  background-color: rgba(15, 23, 42, 0.72);
  background-image: url('hero_car_bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: white;
  padding: 8rem 2rem 10rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 50px !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #ffa360;
}

.hero-content h2 {
  font-size: 3rem;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.5),
    0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Interactive Filter Bar */
.filter-container {
  max-width: 1200px;
  margin: -4rem auto 3rem;
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
}

.filter-card {
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06),
    0 24px 64px rgba(15, 23, 42, 0.1);
  padding: 2rem;
  border: 1px solid var(--primary-soft);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select, .filter-group input {
  padding: 0.75rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  outline: none;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-smooth);
  background-color: #FAFAFA;
}

.filter-group select:focus, .filter-group input:focus {
  border-color: var(--primary);
  background-color: white;
}

.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--primary-soft);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.active-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-badge {
  background-color: var(--primary-light);
  border: 1px solid var(--primary-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-badge button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.filter-badge button:hover {
  color: var(--accent-orange);
}

/* Vehicle Grid Section */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.results-count {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.results-count span {
  color: var(--primary);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Sena Auto Grid style */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1200px) {
  .vehicle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vehicle-grid {
    grid-template-columns: 1fr;
  }
}

/* Vehicle List Pagination */
.pagination-nav {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--primary-soft);
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  background: white;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-num {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-sm);
  background: white;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pagination-num:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-num.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pagination-info {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 600px) {
  .pagination-wrap {
    gap: 0.5rem;
  }

  .pagination-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .pagination-num {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: 0.85rem;
  }
}

.vehicle-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--primary-soft);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(30, 58, 138, 0.2);
}

.vehicle-card-img-wrapper {
  position: relative;
  padding-top: 66.67%; /* 3:2 Aspect Ratio */
  background-color: #E2E8F0;
  overflow: hidden;
}

.vehicle-card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card:hover .vehicle-card-img-wrapper img {
  transform: scale(1.06);
}

.badge-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.card-badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  border: none;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  cursor: default;
  appearance: none;
  -webkit-appearance: none;
}

.card-badge:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 1px;
}

.badge-inspected {
  background-color: var(--primary);
}

.badge-hot {
  background-color: var(--accent-orange);
}

.badge-new {
  background-color: #10B981;
}

.badge-md {
  background-color: #f59e0b;
}

/* 홈 메인 노출 브랜드 탭 */
.home-brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.home-brand-tab {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.home-brand-tab:hover {
  background: #f3f4f6;
}
.home-brand-tab.is-active {
  background: var(--primary, #2563eb);
  color: #fff;
  border-color: var(--primary, #2563eb);
}

.card-favorite-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: var(--text-muted);
  transition: var(--transition-smooth);
  z-index: 2;
}

.card-favorite-btn:hover {
  color: #EF4444;
  background-color: white;
  transform: scale(1.1);
}

.card-favorite-btn.active {
  color: #EF4444;
}

/* Favorites quick panel (right sticky — shopping mall style) */
.favorites-quick {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 180;
  display: flex;
  align-items: stretch;
  pointer-events: none;
}

.favorites-quick.is-open {
  pointer-events: auto;
}

.favorites-quick-tab {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 3rem;
  min-height: 7.5rem;
  padding: 0.75rem 0.35rem;
  border: none;
  border-radius: 0.5rem 0 0 0.5rem;
  background: var(--primary-dark);
  color: #fff;
  box-shadow: -4px 0 16px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.favorites-quick-tab:hover,
.favorites-quick.is-open .favorites-quick-tab {
  background: var(--accent-orange);
}

.favorites-quick-tab-icon {
  display: flex;
  color: #fca5a5;
}

.favorites-quick-tab-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.favorites-quick-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.favorites-quick-count.is-zero {
  opacity: 0.55;
}

.favorites-quick-panel {
  pointer-events: auto;
  width: max-content;
  max-width: 24rem;
  max-height: min(70vh, 32rem);
  background: #fff;
  border: 1px solid var(--primary-soft);
  border-right: none;
  border-radius: 0.5rem 0 0 0.5rem;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.favorites-quick.is-open .favorites-quick-panel {
  transform: translateX(0);
  opacity: 1;
}

.favorites-quick-panel[hidden] {
  display: none;
}

.favorites-quick.is-open .favorites-quick-panel[hidden] {
  display: flex;
}

.favorites-quick-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.25rem 0.3rem;
  border-bottom: 1px solid var(--primary-soft);
  background: var(--primary-light);
  flex-shrink: 0;
}

.favorites-quick-close {
  border: none;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 0.15rem;
}

.favorites-quick-close:hover {
  color: var(--accent-orange);
}

.favorites-quick-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  min-height: 0;
}

.favorites-quick-list--preview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.35rem 0.25rem;
  overflow-y: visible;
}

.favorites-quick-list--preview .favorites-quick-item {
  flex: 0 0 auto;
  padding: 0;
  border-bottom: none;
}

.favorites-quick-item {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.favorites-quick-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.favorites-quick-list--preview .favorites-quick-thumb-wrap {
  width: 7.5rem;
  margin: 0;
}

.favorites-quick-thumb-wrap {
  width: 30%;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.35rem;
  border: 1px solid var(--primary-soft);
  background: var(--primary-light);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.favorites-quick-item-link:hover .favorites-quick-thumb-wrap {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.favorites-quick-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.favorites-quick-info {
  flex: 1;
  min-width: 0;
}

.favorites-quick-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorites-quick-meta {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.favorites-quick-price {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-top: 0.15rem;
}

.favorites-quick-remove {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.favorites-quick-remove:hover {
  color: #ef4444;
  background: #fef2f2;
}

.favorites-quick-empty {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.favorites-quick-manage {
  display: block;
  text-align: center;
  padding: 0.4rem 0.25rem;
  white-space: pre-line;
  line-height: 1.25;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--primary-soft);
  background: #fff;
  flex-shrink: 0;
}

.favorites-quick-manage:hover {
  background: var(--primary-light);
  color: var(--accent-orange);
}

.detail-inquiry-blocked {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.4rem;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 600;
}

.favorites-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.favorites-page-title {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  color: var(--primary-dark);
}

.favorites-page-desc {
  margin: 0;
  color: var(--text-muted);
}

.favorites-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.favorites-page-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-md);
  background: #fff;
  overflow: hidden;
}

.favorites-page-card-link {
  text-decoration: none;
  color: inherit;
}

.favorites-page-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--primary-light);
}

.favorites-page-card-body {
  padding: 0 0.85rem 0.25rem;
}

.favorites-page-card-title {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
}

.favorites-page-card-meta {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn_favorites-remove {
  margin: 0 0.85rem 0.85rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.favorites-page-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.favorites-page-empty .btn {
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .favorites-quick {
    top: auto;
    bottom: 5.5rem;
    transform: none;
  }

  .favorites-quick-tab {
    min-height: 6rem;
    width: 2.75rem;
  }

  .favorites-quick-panel {
    width: max-content;
    max-width: min(24rem, calc(100vw - 3rem));
    max-height: min(55vh, 24rem);
  }
}

@media (max-width: 576px) {
  .favorites-quick-tab-text {
    display: none;
  }
}

.vehicle-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-year-mileage {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-specs-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--primary-soft);
  padding-bottom: 0.75rem;
}

.card-spec-item {
  font-size: 0.8rem;
  color: var(--text-muted);
  background-color: var(--primary-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.card-price-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: auto;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

/* Main page — admin popup layer */
.site-popup-root {
  position: fixed;
  inset: 0;
  z-index: 350;
  pointer-events: none;
}

.site-popup-root:not([hidden]) {
  pointer-events: auto;
}

.site-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.site-popup-overlay.is-active {
  opacity: 1;
}

.site-popup-box {
  position: relative;
  background: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-popup-overlay.is-active .site-popup-box {
  transform: scale(1);
}

.site-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.site-popup-close:hover {
  background: #fff;
  color: var(--accent-orange);
}

.site-popup-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.site-popup-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.site-popup-link {
  display: block;
  line-height: 0;
}

.site-popup-content {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--primary-dark);
}

.site-popup-content img {
  max-width: 100%;
  height: auto;
}

.site-popup-empty {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.site-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--primary-soft);
  background: var(--primary-light);
  flex-shrink: 0;
}

.site-popup-noshow-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.site-popup-noshow-input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent-orange);
  cursor: pointer;
}

.site-popup-btn-close {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Detail Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-wrapper {
  background: white;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-wrapper {
  transform: scale(1);
}

.modal-wrapper.modal-wrapper_inquiry {
  max-width: 560px;
  width: 92%;
}

.modal-wrapper_inquiry .modal-body {
  padding: 2rem 1.75rem 1.75rem;
}

.inquiry-modal-form {
  max-width: none;
  width: 100%;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-dark);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: var(--primary-soft);
  color: var(--accent-orange);
}

.modal-body {
  padding: 3rem;
}

.modal-header-section {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--primary-soft);
  padding-bottom: 1.5rem;
}

.modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-title-row h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.modal-specs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.detail-options-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-section-box {
  margin: 0;
}

.option-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--primary-soft);
}

.detail-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .detail-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .modal-body {
    padding: 2rem;
  }
}

/* Image Gallery System */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main {
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-soft);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  font-size: 1.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-nav-btn:hover {
  background: #fff;
  color: var(--accent-orange);
}

.gallery-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-nav-btn_prev {
  left: 0.75rem;
}

.gallery-nav-btn_next {
  right: 0.75rem;
}

.gallery-main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-main img[hidden] {
  display: none;
}

.gallery-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.gallery-video-wrap[hidden] {
  display: none;
}

.gallery-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-thumb-btn_video .gallery-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  pointer-events: none;
}

.gallery-thumb-btn_video img {
  opacity: 0.92;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.gallery-thumb-btn {
  padding-top: 66.67%;
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: var(--primary-light);
}

.gallery-thumb-btn img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-thumb-btn:hover img {
  transform: scale(1.05);
}

.gallery-thumb-btn.active {
  border-color: var(--primary);
}

/* Detail page — sales contact (left column bottom) */
.detail-contact-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--primary-soft);
}

.detail-contact-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.detail-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-contact-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
}

.detail-contact-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-soft);
  background: var(--primary-light);
}

.detail-contact-avatar_placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.detail-contact-wa {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.detail-contact-wa:hover {
  background: #1ebe57;
  transform: scale(1.05);
}

.detail-contact-wa svg {
  width: 1rem;
  height: 1rem;
}

.detail-contact-info {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.detail-contact-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.detail-contact-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}

.detail-contact-lang {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-orange);
}

.detail-contact-lang::before {
  content: "✓ ";
}

.detail-contact-phone {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.detail-contact-phone strong {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Specs Table styling */
.specs-table-card {
  background: var(--primary-light);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--primary-soft);
  margin-bottom: 2rem;
}

.specs-table-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 0.75rem;
  column-gap: 1.5rem;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.option-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  line-height: 1.3;
}

.option-chip.is-active {
  color: var(--primary-dark);
  background-color: #fff;
  border-color: rgba(37, 99, 235, 0.35);
  font-weight: 600;
}

.option-chip.is-inactive {
  color: var(--text-muted);
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  opacity: 0.72;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  padding-bottom: 0.5rem;
}

.specs-row:last-child {
  border-bottom: none;
}

.spec-name {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.spec-val {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

/* B2B Action Buttons */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  border-radius: var(--border-radius-sm);
}

/* Directions Section styling */
.directions-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--primary-soft);
  padding: 5rem 2rem;
}

.directions-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 3rem auto 0;
}

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

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--primary-soft);
  box-shadow: var(--card-shadow);
  height: 450px;
  background-color: var(--primary-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.directions-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.direction-item-box {
  background-color: var(--primary-light);
  border: 1px solid var(--primary-soft);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.direction-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-sm);
  background-color: white;
  border: 1px solid var(--primary-soft);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
}

.direction-item-icon_building {
  color: var(--primary);
  background-color: rgba(30, 58, 138, 0.06);
}

.direction-item-icon_subway {
  color: var(--primary);
  background-color: rgba(30, 58, 138, 0.06);
}

.direction-item-icon_ship {
  color: var(--accent-orange);
  background-color: rgba(255, 107, 0, 0.08);
  border-color: rgba(255, 107, 0, 0.15);
}

.direction-item-icon svg {
  display: block;
}

.direction-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.direction-item-box h4 {
  font-size: 1.1rem;
  color: var(--primary);
  display: block;
  border-bottom: 1px solid var(--primary-soft);
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
}

.direction-item-box p {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

/* Footer Section */
footer {
  background-color: var(--primary-dark);
  color: #94A3B8;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid #334155;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .header-actions {
    margin-left: auto;
    margin-right: 0.35rem;
  }

  .btn_nav_toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--primary-soft);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .header-container {
    position: relative;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
  }

  .form-row_2col {
    grid-template-columns: 1fr;
  }

  .detail-inquiry-cta {
    padding: 1.25rem 1rem;
  }

  .nav-item_has-sub .nav-sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary-soft);
    margin: 0.25rem 0 0.5rem 0.75rem;
    padding: 0;
    display: none;
  }

  .nav-item_has-sub.is-open .nav-sub-menu {
    display: block;
  }

  .subpage-card-grid {
    grid-template-columns: 1fr;
  }

  .about-intro,
  .about-hero_media,
  .about-card-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .about-hero_media {
    margin-top: 1.5rem;
  }

  .about-card-grid {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .how-to-buy_hero,
  .how-to-buy_reasons,
  .how-to-buy_detail,
  .how-to-buy_process,
  .how-to-buy_info-grid,
  .how-to-buy_guide,
  .how-to-buy_cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .page-sub:has(.how-to-buy-page) .subpage-content {
    padding: 1.25rem 1rem 2rem;
  }

  .how-to-buy_guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-accordion_summary {
    font-size: 0.9rem;
    padding: 1rem 2.25rem 1rem 1rem;
  }

  .guide-accordion_body {
    padding: 0 1rem 1rem 1rem;
  }

  .how-to-buy_process {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .how-to-buy_timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding-bottom: 2.25rem;
  }

  .how-to-buy_timeline-item:not(.how-to-buy_timeline-item_last) .how-to-buy_timeline-marker::after {
    top: 44px;
    bottom: -2.25rem;
  }

  .how-to-buy_timeline-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .how-to-buy_timeline-step {
    font-size: 0.95rem;
  }

  .how-to-buy_timeline-content p {
    font-size: 0.93rem;
    line-height: 1.8;
  }

  .how-to-buy_tracking-grid {
    grid-template-columns: 1fr;
  }

  .how-to-buy_detail {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .how-to-buy_detail-list {
    gap: 1.5rem;
  }

  .how-to-buy_detail-item {
    grid-template-columns: 36px 1fr;
    gap: 0.85rem;
  }

  .how-to-buy_detail-num {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .how-to-buy_detail-body p {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .how-to-buy_reasons {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .how-to-buy_reasons-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .how-to-buy_reason-card {
    padding: 1.5rem 1.25rem;
  }

  .how-to-buy_info-grid {
    grid-template-columns: 1fr;
    padding-bottom: 1.5rem;
  }

  .how-to-buy_cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .how-to-buy_cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .vehicles-page-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-about h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #334155;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
