.hcd {
--hcd-accent: var(--secondaryColor, #870064);
--hcd-accent-dark: #6c0050;
--hcd-tint: #f8eef5;
--hcd-line: #ece6ea;
--hcd-text: var(--titleColor, #423f3f);
--hcd-muted: #7c7c80;
}
.hcd-back {
display: inline-flex;
align-items: center;
gap: 6px;
margin-bottom: 20px;
font-size: 15px;
font-weight: 500;
color: var(--hcd-accent);
transition: gap .2s ease;
}
.hcd-back:hover,
.hcd-back:focus-visible {
gap: 10px;
color: var(--hcd-accent-dark);
} .hcd-panel {
background: #fff;
border: 1px solid var(--hcd-line);
border-radius: 20px;
overflow: hidden;
box-shadow: 0 18px 40px -28px rgba(135, 0, 100, .3);
}
.hcd-error {
display: flex;
align-items: center;
gap: 12px;
padding: 24px;
color: var(--hcd-text);
}
.hcd-error i {
font-size: 24px;
color: var(--hcd-accent);
}
.hcd-hero {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 20px;
padding: clamp(22px, 3vw, 36px);
background:
radial-gradient(circle at 100% 0, rgba(135, 0, 100, .10), transparent 55%),
linear-gradient(160deg, var(--hcd-tint) 0%, #fff 100%);
border-bottom: 1px solid var(--hcd-line);
}
.hcd-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 14px;
}
.hcd-tag {
padding: 4px 12px;
font-size: 12px;
font-weight: 600;
letter-spacing: .02em;
color: var(--hcd-accent);
background: #fff;
border: 1px solid #ecd3e4;
border-radius: 50px;
}
.hcd-title {
margin: 0 0 12px;
font-size: clamp(24px, 3vw, 32px);
font-weight: 700;
line-height: 1.2;
color: var(--hcd-text);
text-wrap: balance;
}
.hcd-price {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 12px;
}
.hcd-price__amount {
font-family: var(--secondaryFont);
font-size: clamp(32px, 4vw, 42px);
font-weight: 700;
line-height: 1;
color: var(--hcd-accent);
font-variant-numeric: tabular-nums;
}
.hcd-price__currency {
margin-right: 2px;
font-size: .6em;
vertical-align: .4em;
}
.hcd-price__was {
font-size: 16px;
color: #9a9a9a;
}
.hcd-price__save {
padding: 2px 8px;
font-size: 12px;
font-weight: 600;
color: #17734a;
background: #e6f5ed;
border-radius: 6px;
}
.hcd-hero__icon {
display: grid;
place-items: center;
flex: 0 0 auto;
width: 72px;
height: 72px;
background: #fff;
border-radius: 20px;
box-shadow: 0 10px 24px -10px rgba(135, 0, 100, .35);
}
.hcd-hero__icon img {
width: 40px;
height: 40px;
object-fit: contain;
}
.hcd-facts {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
margin: 0;
padding: 0;
list-style: none;
border-bottom: 1px solid var(--hcd-line);
}
.hcd-facts li {
display: flex;
align-items: center;
gap: 12px;
padding: 18px clamp(22px, 3vw, 36px);
font-size: 15px;
font-weight: 500;
color: var(--hcd-text);
}
.hcd-facts li + li {
border-left: 1px solid var(--hcd-line);
}
.hcd-facts small {
display: block;
margin-bottom: 2px;
font-size: 12px;
font-weight: 500;
letter-spacing: .04em;
text-transform: uppercase;
color: var(--hcd-muted);
}
.hcd-facts a {
color: var(--hcd-text);
}
.hcd-facts a:hover {
color: var(--hcd-accent);
}
.hcd-facts__icon {
display: grid;
place-items: center;
flex: 0 0 40px;
height: 40px;
font-size: 19px;
color: var(--hcd-accent);
background: var(--hcd-tint);
border-radius: 12px;
}
.hcd-section {
padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px);
}
.hcd-section + .hcd-section {
border-top: 1px solid var(--hcd-line);
}
.hcd-section__title {
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 18px;
font-size: 19px;
font-weight: 600;
color: var(--hcd-text);
}
.hcd-count {
display: inline-grid;
place-items: center;
min-width: 26px;
height: 26px;
padding: 0 8px;
font-size: 13px;
font-weight: 600;
color: #fff;
background: var(--hcd-accent);
border-radius: 50px;
}
.hcd-description {
max-width: 68ch;
font-size: 15px;
line-height: 1.7;
color: var(--paraColor, #555);
}
.hcd-description p:last-child {
margin-bottom: 0;
}
.hcd-tests {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 10px;
margin: 0;
padding: 0;
list-style: none;
}
.hcd-tests li {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
font-size: 15px;
font-weight: 500;
color: var(--hcd-text);
background: #fcfafb;
border: 1px solid var(--hcd-line);
border-radius: 12px;
}
.hcd-tests li i {
display: grid;
place-items: center;
flex: 0 0 22px;
height: 22px;
font-size: 14px;
color: #fff;
background: var(--hcd-accent);
border-radius: 50%;
} .health-checkup-booking {
background: #fff;
border: 1px solid var(--hcd-line, #ece6ea);
border-radius: 20px;
overflow: hidden;
box-shadow: 0 18px 40px -24px rgba(135, 0, 100, .35);
} .hcd-how {
margin-top: 24px;
padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px);
background: var(--hcd-tint);
border-radius: 20px;
}
.hcd-how__title {
margin: 0 0 18px;
font-size: 19px;
font-weight: 600;
color: var(--hcd-text);
}
.hcd-how ol {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
margin: 0;
padding: 0;
list-style: none;
counter-reset: hcd-how;
}
.hcd-how li {
position: relative;
padding: 18px;
background: #fff;
border-radius: 14px;
counter-increment: hcd-how;
}
.hcd-how li i {
display: grid;
place-items: center;
width: 42px;
height: 42px;
margin-bottom: 12px;
font-size: 20px;
color: #fff;
background: var(--hcd-accent);
border-radius: 12px;
}
.hcd-how li::after {
content: counter(hcd-how, decimal-leading-zero);
position: absolute;
top: 14px;
right: 16px;
font-size: 22px;
font-weight: 700;
color: #eadbe5;
}
.hcd-how strong {
display: block;
margin-bottom: 4px;
font-size: 15px;
color: var(--hcd-text);
}
.hcd-how p {
margin: 0;
font-size: 14px;
line-height: 1.5;
color: var(--hcd-muted);
}
.hcd-book__head {
padding: 24px 26px 20px;
color: #fff;
background: linear-gradient(135deg, var(--hcd-accent) 0%, #5a0043 100%);
}
.hcd-book__title {
margin: 0;
font-size: 21px;
font-weight: 600;
color: #fff;
}
.hcd-book__sub {
margin: 6px 0 0;
font-size: 14px;
line-height: 1.5;
color: rgba(255, 255, 255, .82);
}
.hcd-book__body {
padding: 22px 26px 26px;
}
.hcd-step {
margin: 0 0 20px;
padding: 0 0 20px;
border: 0;
border-bottom: 1px dashed var(--hcd-line);
}
.hcd-step legend {
display: flex;
align-items: center;
gap: 10px;
float: none;
width: auto;
margin-bottom: 14px;
font-size: 13px;
font-weight: 600;
letter-spacing: .05em;
text-transform: uppercase;
color: var(--hcd-text);
}
.hcd-step__num {
display: grid;
place-items: center;
width: 24px;
height: 24px;
font-size: 12px;
color: var(--hcd-accent);
background: var(--hcd-tint);
border-radius: 50%;
}
.health-checkup-booking label {
display: block;
margin-bottom: 6px;
font-size: 14px;
font-weight: 500;
color: #414b5c;
}
.hcd-req {
color: var(--hcd-accent);
}
.health-checkup-booking .form-control,
.health-checkup-booking .form-select {
min-height: 46px;
font-size: 15px;
color: var(--hcd-text);
background-color: #fbfafb;
border: 1px solid #ddd6db;
border-radius: 10px;
transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.health-checkup-booking .form-control::placeholder {
color: #a3a0a3;
}
.health-checkup-booking .form-control:focus,
.health-checkup-booking .form-select:focus {
background-color: #fff;
border-color: var(--hcd-accent);
box-shadow: 0 0 0 4px rgba(135, 0, 100, .12);
}
.hcd-help {
display: block;
margin-top: 6px;
font-size: 13px;
color: var(--hcd-muted);
}
.hcd-date {
display: flex;
gap: 8px;
}
.hcd-date .form-control {
flex: 1 1 auto;
min-width: 0;
}
.hcd-check {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
margin-top: 10px;
min-height: 46px;
padding: 0 16px;
font-size: 14px;
font-weight: 600;
color: var(--hcd-accent);
background: var(--hcd-tint);
border: 1px solid #ecd3e4;
border-radius: 10px;
cursor: pointer;
transition: background-color .2s ease, color .2s ease;
}
.hcd-check:hover,
.hcd-check:focus-visible {
color: #fff;
background: var(--hcd-accent);
}
.hcd-avail {
display: flex;
align-items: center;
gap: 6px;
margin: 8px 0 0;
padding: 8px 12px;
font-size: 13px;
font-weight: 500;
border-radius: 8px;
}
.hcd-avail--good { color: #17734a; background: #e6f5ed; }
.hcd-avail--bad { color: #b42318; background: #fdecea; }
.hcd-avail--neutral { color: #5b5b60; background: #f2f2f4; }
.hcd-gate {
display: flex;
align-items: flex-start;
gap: 8px;
margin: 0;
padding: 12px 14px;
font-size: 14px;
line-height: 1.5;
text-align: left;
color: #5b5b60;
background: #f6f4f6;
border: 1px dashed #ddd6db;
border-radius: 12px;
}
.hcd-gate[hidden],
.hcd-confirm[hidden],
.hcd-avail[hidden] {
display: none;
}
.hcd-gate i {
font-size: 18px;
line-height: 1.3;
color: var(--hcd-accent);
}
.hcd-total {
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 14px;
font-size: 14px;
color: var(--hcd-muted);
}
.hcd-total strong {
font-size: 22px;
color: var(--hcd-text);
font-variant-numeric: tabular-nums;
}
.health-checkup-booking .btn { position: relative;
isolation: isolate;
min-height: 50px;
white-space: normal;
border-radius: 12px;
}
.hcd-submit {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 16px;
font-weight: 600;
}
.health-checkup-booking .btn:disabled {
opacity: .65;
}
.hcd-note {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
margin: 12px 0 0;
font-size: 13px;
color: var(--hcd-muted);
text-align: center;
}
.hcd-note i {
color: #17734a;
}
.hcd-back:focus-visible,
.hcd-check:focus-visible,
.hcd-facts a:focus-visible {
outline: 2px solid var(--hcd-accent);
outline-offset: 3px;
}
@media (max-width: 575.98px) {
.hcd-hero__icon {
width: 56px;
height: 56px;
border-radius: 16px;
}
.hcd-hero__icon img {
width: 32px;
height: 32px;
}
.hcd-facts li + li {
border-left: 0;
border-top: 1px solid var(--hcd-line);
}
.hcd-book__head,
.hcd-book__body {
padding-left: 20px;
padding-right: 20px;
}
}
@media (prefers-reduced-motion: reduce) {
.hcd-back,
.hcd-check,
.health-checkup-booking .form-control,
.health-checkup-booking .form-select {
transition: none;
}
}