.dental-premium-final {
width: 100%;
max-width: 420px;
margin: 0 auto;
padding: 28px;
border-radius: 24px;
/* ✅ СТЕКЛО ВМЕСТО ГРАДИЕНТА | GLASS INSTEAD OF GRADIENT */
background: rgba(255,255,255,0.06);
backdrop-filter: blur(20px);
box-shadow: 0 40px 120px rgba(0,0,0,0.7);
border: 1px solid rgba(255,255,255,0.08);
color: #fff;
font-family: Inter, sans-serif;
}
/* ВСЁ НИЖЕ — ТВОЁ БЕЗ ИЗМЕНЕНИЙ | EVERYTHING BELOW — UNCHANGED */
.title {
font-size: 22px;
margin-bottom: 20px;
background: linear-gradient(90deg,#ffffff,#cfd8e3);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.services {
display: flex;
flex-direction: column;
gap: 10px;
}
.service {
display: flex;
align-items: center;
gap: 12px;
padding: 14px;
border-radius: 18px;
background: rgba(255,255,255,0.05);
backdrop-filter: blur(12px);
border: 1px solid transparent;
cursor: pointer;
transition: 0.3s;
position: relative;
overflow: hidden;
}
.service::after {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
transition: 0.6s;
}
.service:hover::after {
left: 100%;
}
.service.active {
border: 1px solid rgba(255,255,255,0.3);
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.icon {
width: 36px;
height: 36px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.08);
}
.icon svg {
width: 20px;
height: 20px;
stroke: white;
fill: none;
opacity: 0.9;
}
.name {
font-size: 14px;
}
.price {
font-size: 13px;
opacity: 0.6;
}
.range-block {
margin: 20px 0;
}
.range-block label {
font-size: 12px;
opacity: 0.6;
}
input[type=range] {
-webkit-appearance: none;
width: 100%;
height: 6px;
border-radius: 10px;
background: linear-gradient(90deg,#4da3ff 0%, #1a2a3a 0%);
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
background: #fff;
box-shadow: 0 0 10px rgba(120,200,255,0.8);
cursor: pointer;
}
.range-num {
margin-top: 8px;
}
.total {
display: flex;
justify-content: space-between;
padding: 16px;
border-radius: 18px;
background: rgba(255,255,255,0.05);
}
.total b {
font-size: 18px;
}
.btn {
width: 100%;
margin-top: 20px;
padding: 16px;
border-radius: 20px;
border: none;
background: linear-gradient(135deg,#ffffff,#dcdcdc);
color: #111;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}
/* БАЗА | BASE */
.dental-premium-final {
width: 100% !important;
max-width: 420px !important; /* ПК | DESKTOP */
margin: 0 auto;
}
/* НОУТ | LAPTOP */
@media (max-width: 1400px) {
.dental-premium-final {
max-width: 380px !important;
}
}
/* ПЛАНШЕТ | TABLET */
@media (max-width: 1024px) {
.dental-premium-final {
max-width: 340px !important;
}
}
/* ТЕЛЕФОН | MOBILE */
@media (max-width: 480px) {
.dental-premium-final {
max-width: 100% !important;
padding: 20px;
}
}
/* ===== НАСТРОЙКИ | SETTINGS ===== */
:root {
--icon-bg: #FFF; /* фон квадрата | square background */
--icon-bg-opacity: 0.2; /* прозрачность фона | background opacity */
--icon-color: #ffffff; /* цвет зуба | icon color */
}
/* ФОН (через слой чтобы не ломать иконку) | BACKGROUND LAYER (to not break icon) */
.icon {
position: relative;
background: none !important;
}
.icon::before {
content: "";
position: absolute;
inset: 0;
background: var(--icon-bg);
opacity: var(--icon-bg-opacity);
border-radius: 10px;
}
/* САМ ЗУБ | ICON */
.icon svg {
position: relative;
z-index: 1;
stroke: var(--icon-color) !important;
fill: none !important;
}
/* ===== НАСТРОЙКА СТЕКЛА | GLASS SETTINGS ===== */
:root {
--glass-color: #016976; /* ЦВЕТ | COLOR */
--glass-opacity: 0.0; /* ПРОЦЕНТ (0.1–1) | OPACITY */
}
/* стекло | glass */
.dental-premium-final::before {
content: "";
position: absolute;
inset: 0;
background: var(--glass-color);
opacity: var(--glass-opacity); /* вот твой процент | opacity */
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-radius: 20px;
z-index: 0;
}
/* контент сверху | content above */
.dental-premium-final > * {
position: relative;
z-index: 1;
}
/* ===== НАСТРОЙКА СЛАЙДЕРА | SLIDER SETTINGS ===== */
/* линия с мягким градиентом | gradient track */
input[type=range] {
-webkit-appearance: none;
width: 100%;
height: 6px;
border-radius: 10px;
background: linear-gradient(
90deg,
rgba(255,255,255,0.9) 0%,
rgba(255,255,255,0.4) 100%
) !important;
}
/* track */
input[type=range]::-webkit-slider-runnable-track {
height: 6px;
border-radius: 10px;
background: transparent;
}
/* кружок со свечением | glowing thumb */
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
background: #ffffff;
box-shadow:
0 0 8px rgba(255,255,255,0.9),
0 0 16px rgba(255,255,255,0.5);
margin-top: -6px;
cursor: pointer;
}
/* Firefox */
input[type=range]::-moz-range-track {
background: transparent;
}
input[type=range]::-moz-range-thumb {
background: #ffffff;
box-shadow: 0 0 8px rgba(255,255,255,0.9);
}
/* ===== ЗАГОЛОВОК | TITLE ===== */
.dental-premium-final .title {
font-size: 22px !important;
font-weight: 500 !important;
background: none !important;
-webkit-text-fill-color: #ffffff !important;
color: #ffffff !important;
}
/* ===== НАЗВАНИЕ УСЛУГ | SERVICE NAME ===== */
.dental-premium-final .name {
font-size: 18px !important;
font-weight: 500 !important;
color: #ffffff !important;
}
/* ===== ЦЕНА | PRICE ===== */
.dental-premium-final .price {
font-size: 18px !important;
font-weight: 400 !important;
color: #ffffff !important;
opacity: 0.6; /* вместо rgba | instead of rgba */
}
/* ===== ЛЕЙБЛ | LABEL ===== */
.dental-premium-final .range-block label {
font-size: 17px !important;
font-weight: 400 !important;
color: #ffffff !important;
opacity: 0.6; /* вместо rgba | instead of rgba */
}
/* ===== ЧИСЛО | VALUE ===== */
.dental-premium-final .range-num {
font-size: 14px !important;
font-weight: 600 !important;
color: #ffffff !important;
}
/* ===== ИТОГО | TOTAL ===== */
.dental-premium-final .total b {
font-size: 18px !important;
font-weight: 600 !important;
color: #ffffff !important;
}
/* ===== КНОПКА | BUTTON ===== */
.dental-premium-final .btn {
font-size: 16px !important;
font-weight: 500 !important;
background: #ffffff !important; /* цвет кнопки | button color */
color: #111111 !important; /* текст | text */
}
/* ===== ПЛАНШЕТ И ТЕЛЕФОН | TABLET & MOBILE ===== */
@media (max-width: 1024px) {
.dental-premium-final .title {
font-size: calc(22px - 2px) !important;
}
.dental-premium-final .name {
font-size: calc(18px - 2px) !important;
}
.dental-premium-final .price {
font-size: calc(13px - 2px) !important;
}
.dental-premium-final .range-block label {
font-size: calc(16px - 2px) !important;
}
.dental-premium-final .range-num {
font-size: calc(14px - 2px) !important;
}
.dental-premium-final .total b {
font-size: calc(18px - 2px) !important;
}
.dental-premium-final .btn {
font-size: calc(16px - 2px) !important;
}
}
/* ===== ШРИФТ MONTSERRAT | FONT ===== */
.dental-premium-final {
font-family: "Montserrat", sans-serif !important;
}
.dental-premium-final {
position: relative;
overflow: hidden;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
@media (max-width: 480px) {
.dental-premium-final {
width: 100% !important;
max-width: 100% !important;
margin: 0 auto;
border-radius: 20px;
}
}