86 lines
1.8 KiB
CSS
86 lines
1.8 KiB
CSS
.card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-height: clamp(136px, 28.519vw, 154px);
|
|
padding:
|
|
clamp(7px, 1.481vw, 8px)
|
|
clamp(4px, 0.926vw, 5px)
|
|
0;
|
|
background: #ffffff;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--responsive-card-radius-sm, 20px);
|
|
border-style: solid;
|
|
box-shadow: 0 5px 7px 0 rgba(247, 89, 168, 0.1);
|
|
cursor: pointer;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease,
|
|
transform 0.05s ease;
|
|
width: 100%;
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
.card:focus-visible {
|
|
outline: 2px solid var(--color-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.card:not(:disabled):active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.selected {
|
|
border-color: #f657a0;
|
|
border-width: 3px;
|
|
border-radius: var(--responsive-card-radius-sm, 20px);
|
|
}
|
|
|
|
.name {
|
|
margin-top: var(--spacing-lg);
|
|
font-size: var(--responsive-body, var(--font-size-lg));
|
|
font-weight: 500;
|
|
color: var(--color-auth-text-primary);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.priceBlock {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: center;
|
|
margin-top: var(--spacing-md);
|
|
gap: 2px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.currency {
|
|
font-size: var(--responsive-body, var(--font-size-lg));
|
|
}
|
|
|
|
.price {
|
|
font-size: clamp(32px, 7.407vw, var(--font-size-40));
|
|
line-height: 1;
|
|
}
|
|
|
|
.originalPrice {
|
|
margin: 4px 0 var(--spacing-sm);
|
|
font-size: var(--responsive-body, var(--font-size-lg));
|
|
color: #999999;
|
|
text-decoration: line-through;
|
|
line-height: 1;
|
|
}
|
|
|
|
.perDayBar {
|
|
align-self: stretch;
|
|
margin: auto calc(-1 * var(--spacing-xs)) 0;
|
|
padding: clamp(5px, 1.111vw, 6px) 0;
|
|
border-radius: 0;
|
|
color: #ffffff;
|
|
font-size: var(--responsive-caption, var(--font-size-md));
|
|
font-weight: 600;
|
|
text-align: center;
|
|
line-height: 1.2;
|
|
}
|