

/* 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 */


/* Start:/local/components/Icewood/ajax.order.basket/templates/.default/style.css?17745837955668*/
.order_form__table .cve_select {
	width: 100%;
}

.order_form__table .cve_select {
	margin-bottom: 10px;
}

.order_form__input_note {
	margin-top: 0 !important;
}

@media (max-width: 480px) {
    .order_form__table .cve_select {
        padding-right: 34px;
    }
}
#delivery_time,
#delivery_minutes {
	background: url(/local/templates/2018/css/../images/select_arrow.png) no-repeat right 10px center #FEFCF3;
}
#orderCart {
	max-width: 100%;
	width: 850px;
}
.catalog-item.sidecart-item .catalog-item__price.price_delivery {
	margin-top: 0;
}

@media (max-width: 480px) {
    .empty-td {
        height: 0;
    }
}
.empty-td {
}

.catalog-item.sidecart-item .catalog-item__image {
	flex-direction: column;
}

#order_form .buket__available-block {
	align-items: center;
	display: flex;
	height: 100%;
	height: -moz-available;
	height: -webkit-fill-available;
	height: fill-available;
	padding-top: 10px;
	margin: auto 0;
	font-size: 14px;
}

.fancybox-inner #address-change-popup [data-entity="body"] {
	overflow-y: hidden;
}

.address_info_input.--incorrect {
	background: #ffe6e6;
}

.address_info_container {
	position: relative;
}

.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.popup-container {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	width: 90%;
	max-width: 800px;
	max-height: 80vh;
	overflow: auto;
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}

.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	background-color: #f8f9fa;
	position: sticky;
	top: 0;
}

.popup-header h3 {
	margin: 0;
	font-size: 18px;
	color: #333;
}

.close-btn {
	font-size: 24px;
	cursor: pointer;
	color: #777;
	position: absolute;
	right: 15px;
	top: 5px;
}

.close-btn:hover {
	color: #333;
}

.popup-content {
	padding: 20px;
	text-align: center;
}

.popup-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin: 15px;
}

.popup-order-pay {
	border: 1px solid #fa6b00;
	border-radius: 5px;
	padding: 5px;
}

.popup-order-pay.disabled:hover {
	color: #fa6b00;
	pointer-events: none;
}

.popup-order-pay span {
	color: #fa6b00;
}

.popup-cancel {
	border: 1px solid #fa6b00;
	border-radius: 5px;
	padding: 5px;
}

.popup-column {
	display: flex;
	flex-direction: column;
	margin: 20px 0;
}

.btn-additional {
	background-color: #56CCF2;
	color: black;
	margin-bottom: 54px;
	padding: 15px 20px;
	line-height: 1;
}
.navbar .btn-additional {
	margin-bottom: 0;
}

.popup-container input,
.popup-container textarea {
	border-radius: 5px;
	border: 1px solid grey;
	padding: 6px 12px;
	line-height: 1.5;
}

.popup-share-url {
	width: 270px;
	text-align: center;
	margin: auto;
}

@media (max-width: 410px)
{
	.popup-buttons {
		gap: 10px;
		margin: 10px;
	}

	.popup-buttons a {
		font-size: 14px;
		padding: 6px;
	}
}

.popup-remind-overlay {
	font-family: 'TT Norms Pro', Roboto, Helvetica, Arial, sans-serif;
	align-items: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
}

.popup-remind-card {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	width: 100%;
	max-width: 420px;
	padding: 40px 30px;
	border-radius: 30px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
	box-sizing: border-box;
	color: #1a1a1a;
	border: 1px solid #e0e0e0;
}

.popup-remind-title {
	font-size: 26px;
	line-height: 1.2;
	font-weight: 500;
	margin: 0 0 20px 0;
	color: #000;
}

.popup-remind-description {
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	margin-bottom: 25px;
}

.popup-remind-bold {
	font-weight: 700;
}

.popup-remind-benefits-list {
	margin-bottom: 30px;
}

.popup-remind-benefit-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.popup-remind-icon-wrapper {
	min-width: 24px;
	margin-right: 15px;
	margin-top: 2px;
	display: flex;
	justify-content: center;
}

.popup-remind-icon {
	width: 18px;
	height: 18px;
	stroke: #000;
}

.popup-remind-text-wrapper {
	font-size: 15px;
	line-height: 1.4;
}

.popup-remind-button {
	width: 100%;
	background-color: #e6337a;
	color: white;
	border: none;
	border-radius: 12px;
	padding: 16px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 20px;
	transition: background-color 0.2s;
}

.popup-remind-button:hover {
	background-color: #c92566;
}

.popup-remind-links-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 25px;
}

.popup-remind-link-action,
.popup-remind-link-details {
	text-decoration: none;
	color: #9c8352;
	font-weight: 600;
	font-size: 15px;
	display: inline-block;
}

.popup-remind-link-action:hover,
.popup-remind-link-details:hover {
	opacity: 0.8;
}

.popup-remind-info-box {
	background-color: #f1f2f6;
	border-radius: 12px;
	padding: 15px;
	display: flex;
	align-items: flex-start;
}

.popup-remind-info-icon {
	min-width: 20px;
	margin-right: 12px;
	margin-top: 2px;
	color: #333;
}

.popup-remind-info-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #333;
}

.disable-scroll {
	overflow: hidden;
}
/* End */
/* /local/templates/2018/css/loyalty.css?17791861078489 */
/* /local/components/Icewood/ajax.order.basket/templates/.default/style.css?17745837955668 */
