@import url(classes.css);
/**
 *	BODY
 */

body {
	padding: 0;
	margin: 0;
	height: 100vh;
	height: 100dvh; /* мобильный Safari — учитывает адресную строку */
	overflow: hidden;
	display: flex;
	flex-direction: column;

	background-image: url('./images/background.png');
	background-position: right top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: auto 100%;
	background-color: var(--background-color);

	font-size: 1rem;
}

*::selection {
	background: var(--main-color);
	color: var(--background-color);
}

*::-moz-selection {
	background: var(--main-color);
	color: var(--background-color);
}

*::-webkit-selection {
	background: var(--main-color);
	color: var(--background-color);
}


/**
 *	HEADER
 */
.ui-header {
        padding: 0;
        margin: 0;
        height: 50px;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: nowrap;
        background: var(--background-color);
        position: sticky;
        top: 0;
        z-index: 100;
        border-bottom: 1px solid var(--border-color);
}

.header-back-button {
        display: block;
        position: absolute;
        top: 15px;
        left: 20px;

        z-index: 999;
}

.header-admin-button {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 999;
        opacity: 0.7;
        transition: opacity 0.2s;
}

.header-admin-button:hover {
        opacity: 1;
}

.ui-header>h1 {
	font: var(--font-h1Header);
}

/**
 *	NAV
 */

.ui-nav {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 50px;
        display: flex;
        align-items: stretch;
        flex-direction: row;
        flex-wrap: nowrap;
        background: var(--background-color);
        position: sticky;
        bottom: 0;
        left: 0;
        border-top: 1px solid var(--border-color);
}

.ui-nav > a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-button {
	fill: var(--contrast-color);
	transition: 1s;

	&.action {
		fill: url(#action-gradient);
	}
}

#action-gradient {
	--action-start: var(--main-color-light);
	--action-end: var(--main-color);
}

/*
 *	КОНТЕЙНЕР ПОСЕРЕДИНЕ
 */
.container {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        margin: 16px 20px;
}

/*
 *	ФОРМЫ
 */

.form-container {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.form-content {
	background: var(--background-color);
	width: 100%;
	max-width: 500px;
	/*             border-radius: var(--radius-lg); */
	overflow: hidden;
	z-index: 1;
}

.form-content>form {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;

}

.form-content>form.hidden {
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 8px;
	color: var(--text-color);
	font: var(--font-headerInTex);
}

input,
textarea {
	width: calc(100% - 20px - 4px);
	padding: 10px;
	border-radius: 15px;
	background: var(--input-color);
	font: var(--font-mainText);
	color: var(--text-color);
	transition: all 0.3s ease;
	outline: none;
	border: 2px solid transparent;
}

input:focus,
textarea:focus {
	background-color: var(--background-color);
	border-color: var(--main-color);
}

.input-wrapper {
	position: relative;
}

.input-wrapper-tel::before {
	content: '+7';
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 600;
	color: var(--main-color);
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	z-index: 1;
}

.input-wrapper-tel {
	position: relative;
}

.input-wrapper-tel input {
	padding-left: 40px;
	width: calc(100% - 20px - 4px - 40px);
}

.submit-btn {
	width: 100%;
	padding: 10px;
	background-color: var(--main-color);
	color: var(--background-color);
	border: none;
	border-radius: 50px;
	font: var(--font-headerInTex);
	cursor: pointer;
	transition: transform 0.2s, background-color 0.2s;
	box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
	margin-top: 10px;
}

.submit-btn:hover {
	background-color: var(--main-color-hover);
	transform: translateY(-2px);
}

.submit-btn:active {
	transform: translateY(0);
}

.helper-text {
	color: var(--contrast-color);
	margin-top: 5px;
	margin-bottom: 15px;
	line-height: 1.4;
}

/* Стили для страницы подтверждения телефона */
#call-phone-container {
	text-align: center;
	margin-top: 20px;
}

.call-phone-number {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--main-color);
	margin: 10px 0;
	letter-spacing: 2px;
}

.button {
	width: 100%;
	padding: 12px;
	background-color: var(--main-color);
	color: var(--background-color);
	border: none;
	border-radius: 50px;
	font: var(--font-headerInTex);
	cursor: pointer;
	transition: transform 0.2s, background-color 0.2s;
	box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
	margin-top: 20px;
}

.button:hover {
	background-color: var(--main-color-hover);
	transform: translateY(-2px);
}

.button:active {
	transform: translateY(0);
}

.button:disabled {
	background-color: var(--contrast-color);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.form-content *.hidden {
	display: none;
}

/* Стили для уведомлений */
#notification {
	--block-color: var(--border-color);

	cursor: pointer;

	background: var(--background-color);
	border-radius: 15px;
	border: 2px solid var(--block-color);
	left: 50%;
	transform: translateX(-50%);
	transition: top 1s cubic-bezier(.86, 0, .07, 1), opacity 1s cubic-bezier(.86, 0, .07, 1), box-shadow 0.5s;
	min-width: 300px;
	max-width: 700px;

	display: flex;
	justify-content: space-between;
	z-index: 99999;

	position: absolute;
	top: 50px;
	opacity: 1;
}

#notification:hover {
	box-shadow: inset 0px 0px 4px 0 var(--block-color);
}

#notification.hidden {
	opacity: 0;
	top: -50px;
}

#notification-icon {
	max-width: 20px;
	aspect-ratio: 1 / 1;
	background-color: var(--block-color);
	border-radius: 7.5px;
	margin-right: 0px !important;
}

#notification>* {
	margin: 10px;
	text-align: center;
	flex: 1 1 auto;
}

#notification.success {
	--block-color: var(--main-color);
}

#notification.error {
	--block-color: var(--error-color);
}

#notification.info {
	--block-color: var(--border-color);
	margin-left: 0;
}

#notification.info #notification-icon {
	display: none;
}

/* ====================================================
 *  AUTH PAGES
 * ==================================================== */

.auth-page {
	max-width: 420px;
	margin: 0 auto;
	padding: 32px 0 48px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.auth-page--wide {
	max-width: 640px;
}

/* Logo */
.auth-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.auth-logo-icon {
	display: flex;
	align-items: center;
}

.auth-logo-text {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--main-color);
	letter-spacing: 0.5px;
}

/* Titles */
.auth-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-color);
	margin: 4px 0 2px;
}

.auth-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.9rem;
	color: #888;
	margin: 0 0 20px;
	line-height: 1.45;
}

/* Banners */
.auth-error-banner {
	background: #fff0f0;
	border: 1px solid #ffb3b3;
	border-radius: 12px;
	color: #cc0000;
	padding: 10px 14px;
	font-size: 0.88rem;
	margin-bottom: 14px;
	line-height: 1.4;
}

.auth-success-banner {
	background: #f0fff5;
	border: 1px solid #a3e6bc;
	border-radius: 12px;
	color: #1a7a46;
	padding: 10px 14px;
	font-size: 0.88rem;
	margin-bottom: 14px;
	line-height: 1.4;
}

/* Form */
.auth-form {
	display: flex;
	flex-direction: column;
	gap: 0px;
	margin-top: 6px;
}

.form-section-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--main-color);
	margin: 20px 0 10px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 480px) {
	.form-row {
		grid-template-columns: 1fr;
	}
}

.optional-label {
	font-weight: 400;
	font-size: 0.82em;
	color: #aaa;
}

/* Select */
.select-input {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	padding: 10px 16px;
	border-radius: 15px;
	background: var(--input-color);
	font: var(--font-mainText);
	color: var(--text-color);
	border: 2px solid transparent;
	outline: none;
	cursor: pointer;
	transition: border-color 0.3s, background-color 0.3s;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

.select-input:focus {
	border-color: var(--main-color);
	background-color: var(--background-color);
}

/* Password input with toggle */
.input-wrapper-password {
	position: relative;
}

.input-wrapper-password input {
	padding-right: 48px;
	width: calc(100% - 20px - 4px - 40px);
}

.password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #aaa;
	display: flex;
	align-items: center;
	border-radius: 6px;
	transition: color 0.2s;
}

.password-toggle:hover {
	color: var(--main-color);
}

.eye-icon {
	display: block;
}

/* Submit button disabled state */
.submit-btn:disabled {
	background-color: #aaa;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Bottom links */
.auth-links {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	font-size: 0.88rem;
	color: #888;
	flex-wrap: wrap;
}

.auth-link {
	color: var(--main-color);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s;
}

.auth-link:hover {
	color: var(--main-color-hover);
	text-decoration: underline;
}

.auth-link-divider {
	color: #ccc;
}

/* Choice cards (choose_login_form) */
.choice-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

.choice-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: var(--background-color);
	border: 2px solid #eee;
	border-radius: 16px;
	text-decoration: none;
	color: var(--text-color);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.choice-card:hover {
	border-color: var(--main-color);
	box-shadow: 0 4px 16px rgba(0, 166, 81, 0.12);
	transform: translateY(-1px);
}

.choice-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: #f0fff5;
	border-radius: 12px;
	flex-shrink: 0;
}

.choice-card-text {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 2px;
}

.choice-card-title {
	font-weight: 700;
	font-size: 0.95rem;
}

.choice-card-desc {
	font-size: 0.8rem;
	color: #888;
}

.choice-card-arrow {
	color: #ccc;
	flex-shrink: 0;
}

.choice-card:hover .choice-card-arrow {
	color: var(--main-color);
}

/* Recovery confirm — call phone block */
.call-instruction {
	background: #f5fff9;
	border: 1px solid #a3e6bc;
	border-radius: 16px;
	padding: 16px 18px;
	margin-bottom: 16px;
	text-align: center;
}

.call-instruction p {
	margin: 0 0 6px;
	font-size: 0.9rem;
	color: #555;
}

.call-instruction .call-phone-number {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--main-color);
	letter-spacing: 1px;
	margin: 8px 0;
}

/* Password strength indicator */
.password-strength {
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-top: -10px;
	margin-bottom: 10px;
}

.password-strength.hidden {
	display: none;
}

.strength-1 {
	background: #ffeded;
	color: #c00;
}

.strength-2 {
	background: #fff3e0;
	color: #a05000;
}

.strength-3 {
	background: #fffde7;
	color: #7a6000;
}

.strength-4 {
	background: #f1fff5;
	color: #1a7a46;
}

.strength-5 {
	background: #e8fff2;
	color: #00A651;
}

/* ====================================================
 *  PARTNERS — LIST
 * ==================================================== */

.partners-list-page {
    /* убираем лишние отступы контейнера */
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Карточка партнёра в списке */
.partner-card-item {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    min-height: 80px;
    text-decoration: none;
    color: var(--text-color);
    transition: box-shadow 0.2s, transform 0.15s;
}

.partner-card-item:hover {
    box-shadow: 0 4px 18px rgba(0, 166, 81, 0.13);
    transform: translateY(-1px);
}
.partner-card-item:active {
    transform: translateY(0);
}

/* Левая зелёная декорация — большой круг, вылазящий за край */
.partner-card-item__deco-left {
    position: absolute;
    left: -20px;
    top: -20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(45deg, #98FFCA, #00A651);
    opacity: 0.85;
    pointer-events: none;
    flex-shrink: 0;
}

/* Картинка / иконка */
.partner-card-item__img {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 10px;
    background: #D9D9D9;
    margin: 10px 12px 10px 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Текстовая часть */
.partner-card-item__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 36px; /* отступ под правую декорацию */
    overflow: hidden;
}

.partner-card-item__name {
    font: var(--font-headerInTex);
    color: var(--text-color);
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.partner-card-item__desc {
    font-size: 0.833rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Правая зелёная листик-декорация */
.partner-card-item__deco-right {
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
}

/* Скелетон-карточки */
.skeleton-card {
    pointer-events: none;
    cursor: default;
}

.skeleton-line {
    border-radius: 6px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
}

.skeleton-title {
    height: 14px;
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-desc {
    height: 11px;
    width: 80%;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.partners-error {
    text-align: center;
    color: var(--contrast-color);
    padding: 24px 0;
}

/* ====================================================
 *  PARTNER CARD (pc-*)
 * ==================================================== */
/* Outer centering shell — matches .user-cabinet */
.pc-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
/* Single card wrapping ALL content */
.pc-card {
    background: rgba(255,255,255,0.8);
    border: 3px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
/* ── Hero carousel (sits at very top of card, clips to border-radius) ── */
.pc-hero {
    position: relative;
    width: 100%;
    height: 220px;
    background: #D0D0D0;
    overflow: hidden;
    flex-shrink: 0;
}
.pc-hero__track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
}
.pc-hero__img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
}
/* Carousel nav arrows */
.pc-hero__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s;
}
.pc-hero__btn:hover { background: rgba(0,0,0,0.55); }
.pc-hero__btn--prev { left: 10px; }
.pc-hero__btn--next { right: 10px; }
/* Dots */
.pc-hero__dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.pc-hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background .2s;
}
.pc-hero__dot--active { background: #fff; }
.pc-hero--empty {
    background: linear-gradient(135deg, #c8c8c8 0%, #b0b0b0 100%);
}
.pc-hero--skeleton {
    background: linear-gradient(90deg, #d8d8d8 25%, #e8e8e8 50%, #d8d8d8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
}
/* ── Body ── */
.pc-body {
    padding: 20px 16px 32px;
}
/* ── Avatar (normal flow, centred, no overlap) ── */
.pc-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.pc-avatar {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    background: #f0f0f0;
    border: 2.5px solid #2ECC71;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.pc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pc-avatar--skeleton {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    border-color: #e0e0e0;
    animation: skeleton-shimmer 1.4s infinite;
}
/* ── Name & description ── */
.pc-name {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 8px;
    line-height: 1.2;
}
.pc-desc {
    font-size: 0.93rem;
    font-style: normal;
    color: #444;
    font-weight: 400;
    text-align: center;
    margin: 0 0 24px;
    line-height: 1.6;
}
/* ── Legal Info ── */
.pc-legal {
    margin-top: 8px;
    border-top: 1px solid #ebebeb;
    padding-top: 20px;
}
.pc-legal-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #aaa;
    margin: 0 0 12px;
}
.pc-legal-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pc-legal-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pc-legal-item__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pc-legal-item__value {
    font-size: 0.85rem;
    color: #555;
    word-break: break-word;
}
/* ── Section ── */
.pc-section {
    margin-bottom: 24px;
}
.pc-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 14px;
}
/* ── Discount cards: pairs + lone centred, equal size ── */
.pc-discounts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.pc-discounts__row {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}
.pc-discount-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 50px;
    padding: 10px 18px 10px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    width: calc(50% - 5px);
    max-width: 220px;
    min-width: 130px;
    box-sizing: border-box;
}
.pc-discount-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2ECC71;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pc-discount-card__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.pc-discount-card__main {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2ECC71;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pc-discount-card__sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-color);
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ── Point / address cards ── */
.pc-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pc-point {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: box-shadow .2s;
}
.pc-point:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.13); }
.pc-point__arrow {
    margin-left: auto;
    font-size: 1.3rem;
    color: #bbb;
    flex-shrink: 0;
}
.pc-point__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pc-point__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.pc-point__status {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}
.pc-point__addr {
    font-size: 0.78rem;
    color: var(--text-color);
    font-style: normal;
    font-weight: 500;
}
/* ── Contacts ── */
.pc-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pc-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow .2s, background .2s;
}
.pc-contact:hover { background: #f5f5f5; box-shadow: 0 4px 14px rgba(0,0,0,0.11); }
.pc-contact__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--main-color, #2ECC71);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pc-contact__text {
    font-size: 0.9rem;
    font-weight: 500;
    word-break: break-all;
}
/* ── Discount info modal ── */
.pc-info-modal {
    position: fixed;
    inset: 0;
    z-index: 8500;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.pc-info-modal.hidden { display: none; }
.pc-info-modal__inner {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 22px;
    padding: 28px 24px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}
.pc-discount-modal__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2ECC71;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.pc-discount-modal__icon svg { width: 28px; height: 28px; }
.pc-info-modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}
.pc-info-modal__value {
    font-size: 1rem;
    font-weight: 700;
    color: #2ECC71;
    margin: 0 0 14px;
}
.pc-info-modal__desc {
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.55;
    margin: 0;
    font-style: normal;
}
.pc-info-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f0f0f0;
    border: none;
    color: #555;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-info-modal__close:hover { background: #e0e0e0; }
/* Lightbox */
.pc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.93);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-lightbox.hidden { display: none; }
.pc-lightbox__track-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.pc-lightbox__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.pc-lightbox__slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
}
.pc-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.pc-lightbox__close:hover { background: rgba(255,255,255,0.3); }
.pc-lightbox__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 36px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.pc-lightbox__btn:hover { background: rgba(255,255,255,0.3); }
.pc-lightbox__btn--prev { left: 12px; }
.pc-lightbox__btn--next { right: 12px; }
.pc-lightbox__counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font: 500 0.9rem/1 'Montserrat', sans-serif;
    pointer-events: none;
}
/* ── Map Modal ── */
.pc-map-modal {
    position: fixed;
    inset: 0;
    z-index: 8000;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.pc-map-modal.hidden { display: none; }
.pc-map-modal__inner {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: min(75vh, 500px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.pc-map-modal__map {
    width: 100%;
    height: 100%;
}
.pc-map-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: #fff;
    border: none;
    color: #333;
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background .2s;
}
.pc-map-modal__close:hover { background: #f0f0f0; }
/* skeleton lines */
.sk-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #d8d8d8 25%, #e8e8e8 50%, #d8d8d8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
}
.sk-title { height: 18px; border-radius: 9px; }
.sk-desc  { height: 12px; }
.hidden {
    display: none !important;
}

/* ====================================================
 *  USER CABINET
 * ==================================================== */

.user-cabinet {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

@media (min-width: 600px) {
	.user-cabinet {
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
}

.user-cabinet__profile-card {
        background: rgba(255, 255, 255, 0.8);
        border: 3px solid var(--border-color);
        border-radius: 10px;
        padding: 26px 16px 26px;
        text-align: center;
}

.user-cabinet__avatar-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 22px;
}

.user-cabinet__avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid transparent;
	background: linear-gradient(var(--background-color), var(--background-color)) padding-box,
		var(--gradient-color) border-box;
}

.user-cabinet__avatar--placeholder {
	background: #d9d9d9;
}

.user-cabinet__name {
	margin: 0 0 8px;
	font: var(--font-headerInTex);
	font-size: 1.333rem;
	line-height: 1.35;
	color: var(--text-color);
}

.user-cabinet__status {
	margin: 0;
	font: normal 500 0.95rem/1.4 'Montserrat';
	color: var(--main-color);
}

.user-cabinet__barcode-card {
	background: rgba(255, 255, 255, 0.8);
	border: 3px solid transparent;
	border-radius: 10px;
	padding: 14px 12px 10px;
	text-align: center;
	background-image: linear-gradient(var(--background-color), var(--background-color)), var(--gradient-color);
	background-origin: border-box;
	background-clip: padding-box, border-box;
}

.user-cabinet__barcode-title {
	margin: 0 0 10px;
	font: var(--font-partnerDescriptionInText);
	font-style: italic;
	color: var(--contrast-color);
}

.user-cabinet__barcode-svg {
	width: min(100%, 240px);
	height: 76px;
	display: block;
	margin: 0 auto 6px;
}

.user-cabinet__barcode-number {
	margin: 0;
	font: normal 600 1rem/1.2 'Montserrat';
	letter-spacing: 0.03em;
	color: var(--text-color);
	word-break: break-all;
}

.user-cabinet__barcode-fallback-note {
	margin: 10px 0 0;
	font: normal 500 0.82rem/1.45 'Montserrat';
	color: #bf1e2e;
	text-wrap: balance;
}

.user-cabinet__barcode-fallback-note a {
	color: #bf1e2e;
	font-weight: 700;
}

