

/* Start:/local/templates/2018/css/loyalty.css?17791861078489*/
@font-face {
    font-family: "TT Norms Pro";
    src: url("/local/fonts/TTNormsPro-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "TT Norms Pro";
    src: url("/local/fonts/TTNormsPro-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "TT Norms Pro";
    src: url("/local/fonts/TTNormsPro-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.bonus__container { max-width: 1200px !important; }
.breadcrumb { justify-content: start !important; }
.align-self-start.personal-info__header { display: none !important; }

.loyalty-page-wrapper {
    font-family: "TT Norms Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: transparent;
}

.lp-section { margin-bottom: 80px; text-align: center; }

.lp-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.2px;
}

.lp-subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 40px;
}

.lp-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.lp-logo .svg { width: 250px; height: auto; }

.lp-cards-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==== FLIP SIZES (по макету 430x270) ==== */
.lp-flip-container {
    perspective: 1000px;
    width: 350px;
    height: 220px;
    margin-bottom: 20px;
}

.lp-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.lp-flipper.is-flipped { transform: rotateY(180deg); }

.lp-card-front, .lp-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    backface-visibility: hidden;
    box-sizing: border-box;
    padding: 25px;
}

/* front clickable */
.lp-card-front {
    z-index: 2;
    transform: rotateY(0deg);
    cursor: pointer;
    user-select: none;
}

.lp-card-gray {
    background-color: #dcdcdc;
    background-image:
            radial-gradient(#f7f7f7 0px, transparent 0px),
            linear-gradient(to bottom, #f2f2f2 0%, #c7c7c7 100%);
    background-size: 20px 20px, 100% 100%;
}

.lp-info-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 26px;
    height: 26px;
    border: 1px solid #555;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    color: #555;
    z-index: 3;
    pointer-events: none; /* чтобы клик ловила вся карточка */
}

.lp-card-status {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
    margin-top: 6px;
}

/* back */
.lp-card-back {
    transform: rotateY(180deg);
    text-align: left;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px;
}

.lp-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: 1px solid #333;
    border-radius: 50%;
    text-align: center;
    line-height: 26px;
    font-size: 18px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 400;
}
.lp-close-btn:hover { background-color: rgba(0,0,0,0.08); }

.lp-back-content { margin-top: 8px; width: 100%; }

.lp-back-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #111;
}

.lp-back-desc {
    font-size: 12px;
    line-height: 1.35;
    color: #333;
    margin: 0;
}
.lp-back-desc b { font-weight: 700; }

.lp-back-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 16px;
}

.lp-footer-text {
    font-size: 12px;
    line-height: 1.35;
    color: #222;
    max-width: 72%;
}
.lp-footer-text b { font-weight: 700; }

.lp-footer-percent {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #222;
    opacity: 0.95;
    white-space: nowrap;
}

/* ====== LEGEND (оставил близко к твоему варианту) ====== */
.lp-legend-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.lp-legend-card {
    background: linear-gradient(to bottom, #BC444D 0%, #7B1117 100%);
    border-radius: 20px;
    width: 450px;
    min-height: 310px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(181, 214, 72, 0.4);
    color: #fff;
}

.lp-card-green.visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lp-card-green.info { text-align: left; position: relative; }

.lp-legend-card .lp-card-status { color: #fff; }

.lp-card-green.info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.legend-desc {
    font-size: 12px;
    margin-bottom: 15px;
    opacity: 0.85;
}

.legend-list { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.legend-list li { margin-bottom: 6px; padding-left: 10px; position: relative; }
.legend-list li::before { content: "•"; position: absolute; left: 0; color: #fff; }

.legend-footer {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.legend-text-small {
    font-size: 13px;
    line-height: 1.4;
    max-width: 60%;
}

.legend-big-percent {
    font-size: 36px;
    font-weight: 500;
    opacity: 0.85;
    white-space: nowrap;
}

/* ====== RULES ====== */
.rules-section .lp-title { margin-bottom: 40px; }

.lp-rules-container {
    background-color: transparent;
    border-radius: 0;
    padding: 0 80px;
    text-align: center;
}

.lp-rules-content {
    text-align: left;
    font-size: 16px;
    line-height: 1.42;
    color: #111;
    max-width: 780px;
    margin: 0 auto;
}

.lp-rules-content p { margin: 0 0 24px; }
.lp-rules-content strong { font-weight: 700; }

.lp-rules-section-title {
    margin: 40px 0 18px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
}

.lp-rules-subtitle {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
}

.lp-rules-list-title {
    margin-bottom: 16px !important;
    font-weight: 700;
    color: #111;
}

.lp-rules-list {
    margin: 0 0 28px;
    padding-left: 26px;
}

.lp-rules-list li {
    margin-bottom: 10px;
    padding-left: 8px;
}

.lp-rules-list li:last-child { margin-bottom: 0; }

.lp-rules-divider {
    border: 0;
    border-top: 1px solid #c7c7c7;
    margin: 32px 0 24px;
}

.lp-rules-faq-title { margin-top: 0; }

.lp-rules-content p:last-child { margin-bottom: 0; }

/* ====== BREAKPOINTS: desktop / 1115 tablet / 768 mobile ====== */
@media (max-width: 1115px) {
    .lp-title { font-size: 30px; }
    .lp-flip-container { width: 350px; height: 220px; } /* размер сохраняем */
    .lp-rules-container { padding: 0 40px; }
}

@media (max-width: 768px) {
    .lp-section { margin-bottom: 60px; }
    .lp-title { font-size: 26px; }
    .lp-subtitle { font-size: 14px; }

    .lp-cards-row { flex-direction: column; align-items: center; gap: 16px; }

    /* Размер карточек сохраняем (по твоему требованию),
       но чтобы не ломать очень узкие экраны — разрешаем скролл по X */
    .loyalty-page-wrapper { overflow-x: auto; }
    .lp-flip-container { flex: 0 0 auto; }

    .lp-legend-row { flex-direction: column; align-items: center; }
    .lp-legend-card { width: 100%; max-width: 450px; }

    .lp-rules-container { padding: 0 20px; border-radius: 0; }
    .lp-rules-content { font-size: 15px; line-height: 1.45; }
    .lp-rules-content p { margin-bottom: 20px; }
    .lp-rules-section-title { margin: 32px 0 16px; font-size: 17px; }
    .lp-rules-subtitle { font-size: 15px; }
    .lp-rules-list { margin-bottom: 24px; padding-left: 22px; }
    .lp-rules-list li { padding-left: 6px; }
}

.container-fluid {
    padding: 0 !important;
}

#page {
    background: white;
}

/* End */
/* /local/templates/2018/css/loyalty.css?17791861078489 */
