/* Tỷ lệ chữ và khoảng thở thống nhất cho CV WHEELS. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 16px;
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.button,
.section-index,
.eyebrow {
  font-synthesis: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.hero h1 {
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.fitment h2,
.installations h2,
.category-hero h1,
.category-empty h2 {
  line-height: 1.06;
}

.catalogue-intro h2,
.shelf-head h3,
.section-head h2 {
  line-height: 1.08;
}

.eyebrow,
.section-index {
  line-height: 1.65;
}

.button {
  min-height: 52px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-copy,
.catalogue-intro > p:last-child,
.fitment-intro > p,
.installations-head > p,
.category-hero p,
.category-empty p {
  font-size: 1rem;
}

.service-list p,
.installation-copy p {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav {
    gap: 18px;
  }

  .menu {
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .nav.open nav {
    gap: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ffffff24;
  }

  .nav.open nav a {
    padding: 14px 0;
    border-bottom: 1px solid #ffffff12;
    font-size: 1rem;
    line-height: 1.4;
  }

  .nav.open nav a:last-child {
    border-bottom: 0;
  }

  .hero-content {
    top: 50%;
    transform: translateY(-50%);
  }

  .hero h1 {
    margin: 22px 0;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .service-list article {
    align-items: start;
  }

  .service-list h3 {
    line-height: 1.2;
  }

  .service-list p {
    line-height: 1.7;
  }

  .installations-head > p {
    line-height: 1.75;
  }

  .category-hero h1 {
    letter-spacing: -0.02em;
  }
}

@media (max-width: 520px) {
  .nav {
    height: 70px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-header {
    width: min(160px, 52vw);
    height: 44px;
  }

  .hero {
    min-height: 700px;
    height: 100svh;
  }

  .hero-content {
    left: 20px;
    right: 20px;
  }

  .eyebrow,
  .section-index {
    font-size: 0.75rem;
    letter-spacing: 0.13em;
  }

  .eyebrow span {
    width: 26px;
    margin-right: 8px;
  }

  .hero h1 {
    margin: 18px 0 20px;
    font-size: clamp(2.85rem, 14vw, 3.55rem);
    line-height: 1.07;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .button {
    padding: 15px 18px;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
  }

  .scroll {
    display: none;
  }

  .catalogue-intro,
  .fitment,
  .services,
  .installations {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .catalogue-intro h2 {
    margin-top: 12px;
    font-size: clamp(2.4rem, 11vw, 3.15rem);
    line-height: 1.1;
  }

  .catalogue-intro > p:last-child {
    font-size: 1rem;
    line-height: 1.7;
  }

  .product-shelf {
    padding-top: 52px;
    padding-bottom: 62px;
  }

  .shelf-head {
    gap: 16px;
    margin-bottom: 24px;
  }

  .shelf-head h3 {
    margin: 6px 0 10px;
    font-size: clamp(2.15rem, 10.5vw, 2.8rem);
    line-height: 1.08;
  }

  .shelf-head p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .wheel-slot small {
    padding: 0 18px;
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .wheel-info {
    padding: 20px 20px 24px;
  }

  .wheel-info p {
    margin-bottom: 7px;
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .wheel-info span {
    display: block;
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .wheel-info a {
    margin-top: 16px;
    font-size: 0.78rem;
    line-height: 1.65;
  }

  .more-card {
    padding: 26px;
  }

  .more-card span,
  .swipe-hint {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .more-card strong {
    font-size: 2.15rem;
    line-height: 1.12;
  }

  .fitment h2,
  .installations h2 {
    font-size: clamp(2.65rem, 12vw, 3.45rem);
    line-height: 1.09;
  }

  .fitment-intro > p,
  .installations-head > p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .fitment-panel {
    padding: 24px 20px;
  }

  .fitment-grid span {
    padding: 12px 4px;
    font-size: 0.75rem;
  }

  .fitment-panel h3 {
    margin: 28px 0;
    font-size: 1.65rem;
    line-height: 1.3;
  }

  .fitment-panel li {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-list {
    margin-top: 28px;
  }

  .service-list article {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .service-list article > span {
    padding-top: 4px;
    font-size: 0.75rem;
  }

  .service-list h3 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .service-list p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .installations-head {
    margin-bottom: 38px;
  }

  .installation-copy {
    padding: 30px 0 42px;
  }

  .installation-copy > span,
  .installation-copy a {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .installation-copy h3 {
    margin: 10px 0 14px;
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .installation-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .installation-placeholder small {
    padding: 0 18px;
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .social-dock {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    gap: 6px;
    padding: 7px;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }

  .social-dock + footer {
    padding-bottom: calc(102px + env(safe-area-inset-bottom));
  }

  footer {
    gap: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }

  footer p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  footer > span {
    font-size: 0.75rem;
  }

  .category-hero {
    padding: 110px 20px 52px;
  }

  .category-hero a {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .category-hero h1 {
    margin: 22px 0 16px;
    font-size: clamp(3.15rem, 16vw, 4.5rem);
    line-height: 1.04;
  }

  .category-hero p,
  .category-empty p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .category-empty {
    padding: 54px 20px 84px;
  }

  .category-empty h2 {
    font-size: 2.25rem;
    line-height: 1.12;
  }
}

/* Trang hồ sơ điện tử quét từ mã QR. */
.profile-page {
  font-size: 16px;
}

.profile-page .record-heading h1 {
  line-height: 0.9;
}

.profile-page .section-title h2,
.profile-page .care-card h2 {
  line-height: 1.1;
}

.profile-page .dealer-body p,
.profile-page .care-list p {
  font-size: 0.875rem;
  line-height: 1.65;
}

@media (max-width: 520px) {
  .profile-page {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .profile-page .profile-nav {
    height: 70px;
    gap: 12px;
    padding: 0 16px;
  }

  .profile-page .profile-brand {
    flex: 0 1 170px;
    min-width: 0;
    height: 44px;
  }

  .profile-page .secure-label {
    flex: 0 0 auto;
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }

  .profile-page .record-hero {
    padding: 44px 20px 52px;
  }

  .profile-page .kicker,
  .profile-page .section-title p,
  .profile-page .care-card > p {
    font-size: 0.75rem;
    line-height: 1.55;
    letter-spacing: 0.12em;
  }

  .profile-page .verified-pill {
    width: 100%;
    margin-top: 24px;
    padding: 11px;
  }

  .profile-page .verified-pill b {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .profile-page .verified-pill small {
    margin-top: 3px;
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .profile-page .record-heading h1 {
    margin: 38px 0 22px;
    font-size: clamp(4.1rem, 22vw, 5.1rem);
    line-height: 0.92;
  }

  .profile-page .series {
    font-size: 0.78rem;
    line-height: 1.55;
    letter-spacing: 0.12em;
  }

  .profile-page .wheel-visual {
    min-height: 320px;
  }

  .profile-page .tech-note b {
    font-size: 1rem;
    line-height: 1.3;
  }

  .profile-page .tech-note span {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .profile-page .record-id > span,
  .profile-page .record-id small {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .profile-page .record-id button {
    max-width: 100%;
    font-size: 1.35rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .profile-page .quick-status small,
  .profile-page .spec-grid small,
  .profile-page .warranty-meta small,
  .profile-page .dealer-body small,
  .profile-page .warranty-timeline small {
    font-size: 0.72rem;
    line-height: 1.45;
    letter-spacing: 0.08em;
  }

  .profile-page .quick-status strong {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .profile-page .content-shell {
    gap: 14px;
    padding: 48px 14px;
  }

  .profile-page .spec-card,
  .profile-page .warranty-card,
  .profile-page .dealer-card,
  .profile-page .care-card {
    padding: 24px 18px;
  }

  .profile-page .section-title {
    padding-bottom: 22px;
  }

  .profile-page .section-title h2,
  .profile-page .care-card h2 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
    line-height: 1.13;
  }

  .profile-page .section-title > span {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .profile-page .spec-grid {
    margin-top: 26px;
  }

  .profile-page .spec-grid > div {
    min-height: 96px;
    padding: 15px 12px;
  }

  .profile-page .spec-grid b {
    margin-top: 9px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .profile-page summary,
  .profile-page .serial-list li,
  .profile-page .warranty-meta b,
  .profile-page .text-action,
  .profile-page .dealer-actions a,
  .profile-page .dealer-actions button {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .profile-page .serial-list li {
    align-items: start;
  }

  .profile-page .serial-list li b {
    text-align: right;
    overflow-wrap: anywhere;
  }

  .profile-page .warranty-timeline b {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .profile-page .dealer-body h3 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .profile-page .dealer-body p,
  .profile-page .care-list p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .profile-page .care-list h3 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .profile-page .sticky-actions {
    height: auto;
    min-height: 76px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    padding-left: 10px;
  }

  .profile-page .sticky-actions a {
    padding: 10px 8px;
    font-size: 0.7rem;
    line-height: 1.35;
    letter-spacing: 0.05em;
    text-align: center;
  }

  .profile-page .profile-footer {
    padding: 34px 20px calc(110px + env(safe-area-inset-bottom));
  }

  .profile-page .profile-footer b {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .profile-page .profile-footer small {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .profile-page .secure-label {
    display: none;
  }

  .profile-page .profile-brand {
    flex-basis: 164px;
  }

  .profile-page .sticky-actions {
    grid-template-columns: 0.72fr 1.28fr;
  }
}

/* Nhịp dọc gọn hơn: giảm thao tác cuộn nhưng vẫn giữ ranh giới rõ giữa các mục. */
.catalogue-intro {
  padding-top: 64px;
  padding-bottom: 42px;
}

.product-shelf {
  padding-top: 52px;
  padding-bottom: 64px;
}

.shelf-head {
  margin-bottom: 24px;
}

.fitment,
.services,
.installations {
  padding-top: 84px;
  padding-bottom: 84px;
}

.service-list {
  margin-top: 28px;
}

.service-list article {
  padding-top: 26px;
  padding-bottom: 26px;
}

.installations-head {
  margin-bottom: 36px;
}

.installation-card {
  min-height: 224px;
}

.installation-placeholder {
  min-height: 224px;
}

.installation-copy {
  padding-top: 28px;
  padding-bottom: 28px;
}

footer {
  padding-top: 28px;
  padding-bottom: 28px;
}

.category-hero {
  padding-top: 116px;
  padding-bottom: 52px;
}

.category-empty {
  padding-top: 48px;
  padding-bottom: 72px;
}

.profile-page .record-hero {
  min-height: 590px;
  padding-top: 56px;
  padding-bottom: 52px;
}

.profile-page .record-heading h1 {
  margin-top: 34px;
  margin-bottom: 20px;
}

.profile-page .wheel-visual {
  min-height: 350px;
}

.profile-page .quick-status article {
  padding-top: 22px;
  padding-bottom: 22px;
}

.profile-page .content-shell {
  padding-top: 72px;
  padding-bottom: 72px;
}

.profile-page .section-title {
  padding-bottom: 22px;
}

.profile-page .spec-grid {
  margin-top: 28px;
}

.profile-page .warranty-timeline {
  margin-top: 34px;
  margin-bottom: 34px;
}

.profile-page .dealer-body {
  padding-top: 24px;
  padding-bottom: 24px;
}

.profile-page .care-list {
  margin-top: 26px;
}

@media (max-width: 900px) {
  .catalogue-intro {
    padding-top: 54px;
    padding-bottom: 34px;
  }

  .product-shelf {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .fitment,
  .services,
  .installations {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .installations-head {
    margin-bottom: 30px;
  }

  .category-hero {
    padding-top: 104px;
    padding-bottom: 46px;
  }

  .category-empty {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .profile-page .record-hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .profile-page .content-shell {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}

@media (max-width: 520px) {
  .hero {
    height: min(760px, 100svh);
    min-height: 640px;
  }

  .catalogue-intro {
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .product-shelf {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .shelf-head {
    margin-bottom: 20px;
  }

  .fitment,
  .services,
  .installations {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .fitment-panel h3 {
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .fitment-panel ul {
    margin-bottom: 24px;
  }

  .service-list {
    margin-top: 22px;
  }

  .service-list article {
    padding-top: 21px;
    padding-bottom: 21px;
  }

  .installations-head {
    gap: 18px;
    margin-bottom: 26px;
  }

  .installation-placeholder {
    min-height: max(170px, 46vw);
  }

  .installation-copy {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .installation-copy a {
    margin-top: 17px;
  }

  .category-hero {
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .category-empty {
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .profile-page .record-hero {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .profile-page .verified-pill {
    margin-top: 18px;
  }

  .profile-page .record-heading h1 {
    margin-top: 28px;
    margin-bottom: 18px;
  }

  .profile-page .wheel-visual {
    min-height: 276px;
  }

  .profile-page .quick-status article {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .profile-page .content-shell {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .profile-page .spec-card,
  .profile-page .warranty-card,
  .profile-page .dealer-card,
  .profile-page .care-card {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .profile-page .section-title {
    padding-bottom: 18px;
  }

  .profile-page .section-title > span {
    margin-top: 13px;
  }

  .profile-page .spec-grid {
    margin-top: 20px;
  }

  .profile-page .warranty-timeline {
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .profile-page .dealer-body {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .profile-page .care-list {
    margin-top: 20px;
  }

  .profile-page .care-list article {
    padding: 20px;
  }
}

/* Fitment trang chủ: giữ thông tin cốt lõi trong một khung ngắn. */
.fitment-check-note {
  color: #b7b8ba;
  line-height: 1.55;
  margin: 0 0 20px;
  font-size: 0.94rem;
}

@media (max-width: 520px) {
  .fitment {
    gap: 18px;
  }

  .fitment h2 {
    margin: 10px 0 14px;
    font-size: clamp(2.65rem, 11vw, 3.15rem);
  }

  .fitment-intro > p {
    margin: 0;
    line-height: 1.5;
  }

  .fitment-panel {
    padding: 18px;
  }

  .fitment-grid span {
    padding: 8px 4px;
  }

  .fitment-panel h3 {
    margin: 16px 0 8px;
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .fitment-check-note {
    margin-bottom: 16px;
  }
}
