:root {
--resq-night: #151517;
--resq-spark: #f79622;
--resq-spark-hover: #e88a1a;
--resq-sunset: #fef4e8;
--resq-silver: #fbf9f9;
--resq-white: #ffffff;
--resq-gray-light: #e5e7eb;
--resq-gray: #6c7781;
--resq-success: #059669;
--resq-error: #b91c1c;
}
.resq-balicky {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
color: var(--resq-night);
} .resq-balicky__filters {
display: grid;
grid-template-columns: minmax(240px, 1.5fr) minmax(100px, 0.7fr) minmax(120px, 0.7fr) auto;
gap: 20px;
align-items: end;
margin: 24px 0;
padding: 24px 28px;
background: var(--resq-white);
border-radius: 16px;
box-shadow: 0 2px 12px rgba(21, 21, 23, 0.06);
} .resq-balicky__filters--no-segment {
grid-template-columns: minmax(140px, 1fr) minmax(160px, 1fr) auto;
}
.resq-field {
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.resq-field label {
display: block;
font-size: 13px;
font-weight: 600;
color: var(--resq-night);
margin-bottom: 8px;
} .resq-input {
width: 100%;
padding: 12px 16px;
border: 1px solid var(--resq-gray-light);
border-radius: 10px;
background: var(--resq-white);
font-size: 15px;
color: var(--resq-night);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
min-height: 55px;
}
.resq-input:focus {
border-color: var(--resq-spark);
box-shadow: 0 0 0 3px rgba(247, 150, 34, 0.12);
}
.resq-input:hover {
border-color: #ccc;
} .resq-input[type="number"] {
text-align: center;
-moz-appearance: textfield;
}
.resq-input[type="number"]::-webkit-outer-spin-button,
.resq-input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
} select.resq-input {
cursor: pointer;
padding-right: 40px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c7781' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 14px center;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
min-width: 220px;
min-height: 55px;
} .resq-field--toggle {
display: flex;
align-items: center;
padding-bottom: 4px;
}
.resq-toggle {
display: flex;
align-items: center;
gap: 12px;
user-select: none;
}
.resq-toggle__label {
font-size: 14px;
font-weight: 600;
color: var(--resq-gray);
cursor: pointer;
transition: color 0.2s;
white-space: nowrap;
}
.resq-toggle__label.is-active {
color: var(--resq-night);
}
.resq-toggle__switch {
position: relative;
width: 52px;
height: 28px;
min-width: 52px;
background: #d1d5db;
border-radius: 14px;
cursor: pointer;
transition: background 0.3s ease;
flex-shrink: 0;
}
.resq-toggle__switch::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 24px;
height: 24px;
background: var(--resq-white);
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease;
}
.resq-toggle__switch.is-year {
background: var(--resq-spark);
}
.resq-toggle__switch.is-year::after {
transform: translateX(24px);
} .resq-balicky__results {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
margin: 16px 0 32px;
}
.resq-empty {
grid-column: 1 / -1;
padding: 40px;
border: 2px dashed var(--resq-gray-light);
border-radius: 16px;
text-align: center;
color: var(--resq-gray);
font-size: 15px;
} .resq-no-results {
grid-column: 1 / -1;
padding: 40px 32px;
background: linear-gradient(135deg, #fef7ed 0%, #fef4e8 100%);
border: 1px solid #fde8d0;
border-radius: 16px;
text-align: center;
}
.resq-no-results__icon {
font-size: 48px;
margin-bottom: 16px;
}
.resq-no-results__text {
font-size: 15px;
line-height: 1.6;
color: var(--resq-night);
max-width: 600px;
margin: 0 auto 24px;
}
.resq-no-results .resq-btn {
font-size: 15px;
padding: 14px 28px;
} .resq-promo-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 16px 24px;
margin: 0 0 24px;
background: linear-gradient(135deg, #fef7ed 0%, #fef4e8 100%);
border: 1px solid #fde8d0;
border-radius: 12px;
overflow: visible;
position: relative;
}
.resq-promo-banner__text {
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
font-weight: 500;
color: var(--resq-night);
}
.resq-promo-banner__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
background: var(--resq-spark);
color: var(--resq-white);
border-radius: 50%;
font-size: 16px;
font-weight: 700;
flex-shrink: 0;
}
.resq-promo-banner__btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: var(--resq-white);
border: 2px solid var(--resq-spark);
border-radius: 10px;
font-size: 14px;
font-weight: 600;
color: var(--resq-night);
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
position: relative;
overflow: visible;
}
.resq-promo-banner__btn:hover {
background: var(--resq-spark);
color: var(--resq-white);
}
.resq-promo-banner__btn:hover .resq-info-icon--light {
background: rgba(255, 255, 255, 0.3);
color: var(--resq-white);
}
.resq-promo-banner__price {
padding: 3px 8px;
background: var(--resq-spark);
color: var(--resq-white);
border-radius: 6px;
font-size: 13px;
font-weight: 700;
}
.resq-promo-banner__btn:hover .resq-promo-banner__price {
background: var(--resq-white);
color: var(--resq-spark);
}
.resq-info-icon--light {
background: #f3f4f6;
color: #6b7280;
} .resq-card {
position: relative;
border: 1px solid var(--resq-gray-light);
border-radius: 16px;
background: var(--resq-white);
box-shadow: 0 2px 8px rgba(21, 21, 23, 0.04);
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
flex-direction: column;
}
.resq-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(21, 21, 23, 0.1);
} .resq-card--featured {
border: 2px solid var(--resq-spark);
box-shadow: 0 4px 20px rgba(247, 150, 34, 0.15);
}
.resq-card--featured:hover {
box-shadow: 0 16px 32px rgba(247, 150, 34, 0.2);
}
.resq-card__featured-badge {
position: absolute;
top: 12px;
right: 12px;
background: var(--resq-spark);
color: var(--resq-white);
padding: 6px 12px;
border-radius: 6px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
z-index: 10;
box-shadow: 0 2px 8px rgba(247, 150, 34, 0.3);
} .resq-card__img {
width: 100%;
height: 140px;
object-fit: cover;
background: linear-gradient(135deg, var(--resq-sunset) 0%, #fde8d0 100%);
display: block;
border-radius: 16px 16px 0 0;
overflow: hidden;
}
.resq-card__img--placeholder {
display: flex;
align-items: center;
justify-content: center;
border-radius: 16px 16px 0 0;
}
.resq-card__img--placeholder::after {
content: '';
width: 48px;
height: 48px;
background: var(--resq-spark);
opacity: 0.3;
border-radius: 12px;
} .resq-card__body {
padding: 20px 24px 24px;
flex: 1;
display: flex;
flex-direction: column;
}
.resq-card__title {
font-size: 20px;
font-weight: 700;
color: var(--resq-night);
margin-bottom: 16px;
} .resq-price-wrap {
margin-bottom: 4px;
}
.resq-price {
font-size: 32px;
font-weight: 800;
letter-spacing: -0.02em;
color: var(--resq-night);
line-height: 1.1;
}
.resq-price__label {
font-size: 13px;
color: var(--resq-gray);
font-weight: 500;
margin-top: 4px;
}
.resq-price__anchor {
font-size: 15px;
color: var(--resq-gray);
text-decoration: line-through;
margin-right: 8px;
} .resq-savings {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-top: 12px;
}
.resq-badge {
display: inline-flex;
align-items: center;
padding: 6px 12px;
border-radius: 6px;
background: var(--resq-sunset);
color: var(--resq-spark);
font-size: 12px;
font-weight: 600;
}
.resq-badge--active {
background: var(--resq-spark);
color: var(--resq-white);
}
.resq-savings__amount {
font-size: 12px;
font-weight: 600;
color: var(--resq-success);
} .resq-social {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--resq-gray-light);
}
.resq-social__count {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--resq-gray);
margin-bottom: 8px;
}
.resq-social__count svg {
width: 16px;
height: 16px;
fill: var(--resq-spark);
}
.resq-social__count strong {
color: var(--resq-night);
}
.resq-testimonial {
background: var(--resq-silver);
border-radius: 8px;
padding: 12px;
margin-top: 8px;
}
.resq-testimonial__text {
font-size: 13px;
font-style: italic;
color: var(--resq-night);
line-height: 1.4;
margin-bottom: 6px;
}
.resq-testimonial__text::before {
content: '"';
}
.resq-testimonial__text::after {
content: '"';
}
.resq-testimonial__author {
font-size: 12px;
color: var(--resq-gray);
font-weight: 500;
}
.resq-testimonial__author::before {
content: '— ';
} .resq-list {
margin: 20px 0;
padding: 0;
list-style: none;
flex: 1;
}
.resq-list li {
position: relative;
margin: 8px 0;
padding-left: 20px;
font-size: 14px;
color: var(--resq-night);
line-height: 1.4;
display: flex;
align-items: center;
gap: 6px;
}
.resq-list li::before {
content: '';
position: absolute;
left: 0;
top: 7px;
width: 8px;
height: 8px;
background: var(--resq-spark);
border-radius: 50%;
} .resq-info-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
min-width: 18px;
background: #e5e7eb;
border-radius: 50%;
font-size: 11px;
font-weight: 700;
color: #6b7280;
cursor: help;
flex-shrink: 0;
position: relative;
margin-left: 6px;
font-style: normal;
}
.resq-info-icon:hover {
background: var(--resq-spark);
color: var(--resq-white);
} .resq-tooltip {
position: absolute;
left: 50%;
bottom: calc(100% + 8px);
transform: translateX(-50%);
background: var(--resq-night);
color: var(--resq-white);
padding: 10px 14px;
border-radius: 8px;
font-size: 12px;
font-weight: 400;
font-style: normal;
line-height: 1.5;
width: 200px;
text-align: left;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s, visibility 0.2s;
z-index: 9999;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
pointer-events: none;
}
.resq-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--resq-night);
}
.resq-info-icon:hover .resq-tooltip {
opacity: 1;
visibility: visible;
} .resq-promo-banner .resq-tooltip {
left: auto;
right: calc(100% + 12px);
bottom: auto;
top: 50%;
transform: translateY(-50%);
width: 220px;
}
.resq-promo-banner .resq-tooltip::after {
top: 50%;
left: 100%;
right: auto;
transform: translateY(-50%);
border-top-color: transparent;
border-left-color: var(--resq-night);
} .resq-card__actions {
margin-top: auto;
padding-top: 16px;
} .resq-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
border-radius: 10px;
border: 1px solid var(--resq-gray-light);
background: var(--resq-white);
cursor: pointer;
font-weight: 600;
font-size: 14px;
color: var(--resq-night);
transition: all 0.2s;
}
.resq-btn:hover {
border-color: var(--resq-night);
background: var(--resq-silver);
}
.resq-btn--primary {
width: 100%;
border-color: var(--resq-spark);
background: var(--resq-spark);
color: var(--resq-white);
}
.resq-btn--primary:hover {
background: var(--resq-spark-hover);
border-color: var(--resq-spark-hover);
}
.resq-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
} .resq-modal {
position: fixed;
inset: 0;
display: none;
z-index: 99999;
overflow-y: auto;
}
.resq-modal.is-open {
display: block;
}
.resq-modal__backdrop {
position: fixed;
inset: 0;
background: rgba(21, 21, 23, 0.5);
backdrop-filter: blur(4px);
}
.resq-modal__panel {
position: relative;
margin: 160px auto 40px;
max-width: 560px;
background: var(--resq-white);
border-radius: 20px;
box-shadow: 0 24px 48px rgba(21, 21, 23, 0.2);
overflow: hidden;
animation: modalSlideIn 0.25s ease-out;
}
@keyframes modalSlideIn {
from {
opacity: 0;
transform: translateY(-16px) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.resq-modal__header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 24px;
border-bottom: 1px solid var(--resq-gray-light);
}
.resq-modal__title {
font-weight: 700;
font-size: 17px;
color: var(--resq-night);
}
.resq-modal__close {
border: 0;
background: transparent;
font-size: 24px;
line-height: 1;
cursor: pointer;
color: var(--resq-gray);
transition: color 0.2s;
padding: 4px 8px;
border-radius: 6px;
}
.resq-modal__close:hover {
color: var(--resq-night);
background: var(--resq-silver);
}
.resq-modal__body {
padding: 24px;
}
.resq-modal__summary {
padding: 16px;
border-radius: 12px;
background: var(--resq-sunset);
margin-bottom: 20px;
}
.resq-modal__summary div {
margin: 4px 0;
font-size: 14px;
}
.resq-modal__summary strong {
color: var(--resq-night);
} .resq-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.resq-form .resq-field {
margin-bottom: 0;
}
.resq-form .resq-field label {
margin-bottom: 6px;
padding-left: 2px;
}
.resq-form .resq-input {
border: 1px solid var(--resq-gray-light);
border-radius: 10px;
padding: 12px 14px;
}
.resq-form__actions {
display: flex;
gap: 12px;
margin-top: 24px;
}
.resq-form__actions .resq-btn--primary {
flex: 1;
}
.resq-form__actions .resq-btn:not(.resq-btn--primary) {
width: auto;
min-width: 100px;
}
.resq-form__status {
margin-top: 14px;
font-weight: 600;
font-size: 14px;
padding: 12px 14px;
border-radius: 10px;
display: none;
}
.resq-form__status:not(:empty) {
display: block;
}
.resq-form__status.is-ok {
color: var(--resq-success);
background: #ecfdf5;
}
.resq-form__status.is-err {
color: var(--resq-error);
background: #fef2f2;
} .resq-balicky.is-loading .resq-balicky__results {
opacity: 0.5;
pointer-events: none;
} @media (max-width: 1024px) {
.resq-balicky__results {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 768px) {
.resq-balicky__filters {
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.resq-field--toggle {
grid-column: 1 / -1;
justify-content: center;
}
.resq-promo-banner {
flex-direction: column;
text-align: center;
gap: 12px;
padding: 16px 20px;
}
.resq-promo-banner__text {
justify-content: center;
} .resq-promo-banner .resq-tooltip {
left: 50%;
right: auto;
bottom: calc(100% + 12px);
top: auto;
transform: translateX(-50%);
}
.resq-promo-banner .resq-tooltip::after {
top: 100%;
left: 50%;
transform: translateX(-50%);
border-left-color: transparent;
border-top-color: var(--resq-night);
}
.resq-balicky__results {
grid-template-columns: 1fr;
gap: 16px;
}
.resq-grid {
grid-template-columns: 1fr;
}
.resq-card__img {
height: 120px;
}
.resq-modal__panel {
margin: 80px 16px 40px;
}
}
@media (max-width: 480px) {
.resq-balicky__filters {
grid-template-columns: 1fr;
padding: 20px;
}
.resq-card__body {
padding: 16px 20px 20px;
}
.resq-price {
font-size: 28px;
}
.resq-modal__panel {
margin: 60px 12px 24px;
border-radius: 16px;
}
.resq-form__actions {
flex-direction: column;
}
.resq-form__actions .resq-btn {
width: 100%;
}
}