/* Chỉ bo góc: không thay đổi kích thước, bố cục, màu sắc hoặc phông chữ. */
:root {
  --round-control: 14px;
  --round-card: 24px;
  --round-image: 24px;
  --round-frame: 28px;
}

body :is(button, [role="button"], input, textarea, select, summary),
a { border-radius: var(--round-control); }

body :is(main, header, footer, aside, form, fieldset, dialog, table),
.site-shell, .login-layout, .admin-layout {
  border-radius: var(--round-frame);
}

body :is(article, figure, details),
.navigation, .project, .project-image, .dialog-image-container,
.service-card, .addon-table,
.addon-row, .price-notes, .empty-state, .contact-social-card,
.about-care-image, .contact-faq-list,
.dashboard-welcome, .dashboard-stats article, .page-card,
.page-card-img, .footer-dashboard-card, .editor-card,
.image-field, .service-editor, .save-toolbar, .asset-choice {
  border-radius: var(--round-card);
}

.service-search, .hero-price-tag, .recommendation,
.visit-photo figcaption, .form-message.is-error {
  border-radius: var(--round-control);
}

body img { border-radius: var(--round-image); }
.brand img { border-radius: 10px; }
.project-image img, .about-care-image img, .page-card-img img,
.login-story > img, .login-story::after {
  border-radius: inherit;
}

/* Khung vòm và hình tròn giữ nguyên border-radius ban đầu. */
.hero-arch img, .about-intro-arch img,
.contact-photo-arch img, .about-space-image img {
  border-radius: inherit;
}

/* Nền section vẫn phủ toàn chiều rộng, bo theo khung hiện tại. */
.spa-site :is(.about, .process, .services-closing, .visit-ket,
  .about-story, .about-space, .ket-footer)::before {
  border-radius: inherit;
}

@media (min-width: 701px) and (max-width: 1100px) {
  .process-note { border-radius: var(--round-card); }
}

/* Section và các thành phần được yêu cầu giữ góc vuông. */
body section, body section[class],
.about-care-card, .about-story-link, .hero-service-link,
.copy-contact, .contact-faq details {
  border-radius: 0;
}

/* Chỉ khung nền footer giữ góc vuông, không tác động nội dung bên trong. */
.spa-site .ket-footer,
.spa-site .ket-footer::before {
  border: 0;
  border-radius: 0;
}
