44 lines
678 B
CSS
44 lines
678 B
CSS
.card {
|
|
font-size: 14px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
background-color: #fff;
|
|
border-radius: var(--Corner-radius-Small);
|
|
border: 1px solid rgba(77, 0, 27, 0.1);
|
|
}
|
|
|
|
input[type="radio"]:checked + .card {
|
|
border: 3px solid var(--Scandic-Brand-Scandic-Red);
|
|
}
|
|
|
|
.cardBody {
|
|
padding: var(--Spacing-x2);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x1);
|
|
}
|
|
|
|
.name {
|
|
display: inline-block;
|
|
}
|
|
.nameInfo {
|
|
float: right;
|
|
}
|
|
|
|
.price {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.card .button {
|
|
display: inline;
|
|
}
|
|
|
|
.card img {
|
|
max-width: 100%;
|
|
aspect-ratio: 2.45;
|
|
object-fit: cover;
|
|
}
|