176 lines
3.1 KiB
CSS
176 lines
3.1 KiB
CSS
.section {
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 71, 166, 0.28);
|
|
border-radius: 28px;
|
|
background: #ffe2f0;
|
|
box-shadow: 0 18px 45px rgba(255, 71, 166, 0.22);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.summary {
|
|
position: relative;
|
|
padding: 18px 18px 22px;
|
|
background:
|
|
linear-gradient(135deg, #ff9bd1 0%, #ff61ad 56%, #f657a0 100%),
|
|
#ff61ad;
|
|
}
|
|
|
|
.title {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
margin: 0;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.titleText {
|
|
color: #181014;
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.renewText {
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 8px 0 0;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.notch {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: -12px;
|
|
width: 24px;
|
|
height: 24px;
|
|
background: #ff61ad;
|
|
transform: translateX(-50%) rotate(45deg);
|
|
}
|
|
|
|
.planGrid {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 9px;
|
|
padding: 18px 10px 12px;
|
|
}
|
|
|
|
.planCard {
|
|
position: relative;
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 128px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px 6px 11px;
|
|
border: 1px solid rgba(246, 87, 160, 0.08);
|
|
border-radius: 20px;
|
|
background: #ffffff;
|
|
color: #181014;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
text-align: center;
|
|
box-shadow: 0 8px 22px rgba(26, 16, 20, 0.05);
|
|
transition: background-color 0.18s ease, border-color 0.18s ease,
|
|
box-shadow 0.18s ease, color 0.18s ease, transform 0.12s ease;
|
|
}
|
|
|
|
.planCard:focus-visible {
|
|
outline: 2px solid #f657a0;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.planCard:active {
|
|
transform: translateY(1px) scale(0.985);
|
|
}
|
|
|
|
.selected {
|
|
border: 3px solid #f657a0;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #ffeaf4 100%),
|
|
#ffffff;
|
|
box-shadow: 0 16px 34px rgba(246, 87, 160, 0.34);
|
|
color: #111111;
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.offerBadge {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 50%;
|
|
max-width: calc(100% - 12px);
|
|
padding: 4px 8px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(135deg, #ff5fae 0%, #ff8a34 100%);
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
box-shadow: 0 7px 16px rgba(255, 95, 174, 0.28);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.planTitle {
|
|
margin-top: 20px;
|
|
font-size: 19px;
|
|
font-weight: 800;
|
|
line-height: 1.15;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.priceLine {
|
|
display: inline-flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
margin-top: 4px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.price {
|
|
font-size: 30px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.8px;
|
|
}
|
|
|
|
.currency {
|
|
margin-bottom: 3px;
|
|
color: #8b717a;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.originalPrice {
|
|
margin-top: 10px;
|
|
color: #9c8b91;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.planGrid {
|
|
gap: 7px;
|
|
padding-right: 8px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.planTitle {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.price {
|
|
font-size: 27px;
|
|
}
|
|
}
|