
/* Grid System - Flexbox */
.lk-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.lk-col-full {
	width: 100%;
	flex: 0 0 100%;
	margin-bottom: 60px;
	margin-top: 40px;
	padding-left: 15px;
	padding-right: 15px;
}

.lk-col-full h2 {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.lk-col-full h2 {
		font-size: 1.5rem;
	}
}

#secondary.lk-sidebar {
	flex: 0 0 25%;
	max-width: 25%;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

#primary.lk-content {
	flex: 0 0 75%;
	max-width: 75%;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	#secondary.lk-sidebar, #primary.lk-content {
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	#secondary.lk-sidebar {
		margin-bottom: 30px;
	}
}

/* Tabs System */
.lk-tabs {
	display: flex;
	flex-direction: column;
}

.lk-tab-btn {
	display: block;
	padding: 0.5rem 1rem;
	text-align: left;
	color: var(--color-prime);
	background: transparent;
	border: none;
	cursor: pointer;
	transition: all 0.15s ease;
}

.lk-tab-btn:hover {
	opacity: 0.8;
}

.lk-tab-btn.active {
	background-color: var(--color-prime);
	color: var(--color-back-stage);
	border-radius: 5px;
}

.lk-tab-content {
	position: relative;
}

.lk-tab-pane {
	display: none;
}

.lk-tab-pane.active {
	display: block;
}

/* Accordion System */
.lk-accordion {
	width: 100%;
}

.lk-accordion-item {
	border: none;
}

.lk-accordion-header {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.lk-accordion-header label,
.lk-accordion-header input[type="checkbox"] {
	cursor: pointer;
}

.lk-accordion-header label {
	margin-left: 5px;
	opacity: 0.7;
}

/* Переключатель физ. / юр. лицо */
.customer-type-switch-wrap {
	margin: 1rem 0 1.25rem;
}

.customer-type-switch__title {
	margin: 0 0 0.35rem;
	opacity: 0.85;
	font-weight: 600;
}

.customer-type-switch__hint {
	margin: 0 0 0.75rem;
	opacity: 0.65;
	line-height: 1.45;
	font-size: 13px;
}

.customer-type-switch__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.customer-type-switch__control {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	background: rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	position: relative;
}

.customer-type-switch__thumb {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 4px;
	width: calc(50% - 6px);
	border-radius: 10px;
	background: var(--color-prime);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 0;
}

.customer-type-switch.is-legal .customer-type-switch__thumb {
	transform: translateX(calc(100% + 4px));
}

.customer-type-switch__segment {
	position: relative;
	z-index: 1;
	border: none;
	background: transparent;
	padding: 11px 10px;
	font-size: 14px;
	line-height: 1.25;
	cursor: pointer;
	border-radius: 10px;
	color: rgba(0, 0, 0, 0.5);
	transition: color 0.2s ease, font-weight 0.2s ease;
	text-align: center;
}

.customer-type-switch__segment.is-active {
	color: var(--color-back-stage);
	font-weight: 600;
}

.customer-type-switch__segment:focus-visible {
	outline: 2px solid var(--color-prime);
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.customer-type-switch__segment {
		font-size: 12px;
		padding: 10px 6px;
	}
}

.lk-accordion-collapse {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}

.lk-accordion-collapse.open {
	overflow: visible;
	opacity: 1;
	max-height: none;
}

/* Отключаем transition для элементов, открытых при загрузке */
.lk-accordion-collapse.open:not(.accordion-initialized) {
	transition: none;
}

.lk-accordion-body {
	padding: 1rem 0;
}

.lk-accordion-body input,
.lk-accordion-body .field_item input {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100%;
}

/* Utility Classes - Spacing */
.lk .mb-2 { margin-bottom: 0.5rem; }
.lk .mb-3 { margin-bottom: 1rem; }
.lk .mb-4 { margin-bottom: 1.5rem; }
.lk .mb-5 { margin-bottom: 3rem; }
.lk .mt-2 { margin-top: 0.5rem; }
.lk .mt-3 { margin-top: 1rem; }
.lk .mt-4 { margin-top: 1.5rem; }
.lk .p-2 { padding: 0.5rem; }
.lk .p-3 { padding: 1rem; }
.lk .pt-2 { padding-top: 0.5rem; }
.lk .pb-2 { padding-bottom: 0.5rem; }

/* Utility Classes - Flexbox */
.lk .d-flex { display: flex; }
.lk .flex-column { flex-direction: column; }
.lk .align-center { align-items: center; }

/* Utility Classes - Display */
.lk .show { display: block !important; }
.lk .fade { opacity: 0; transition: opacity 0.15s linear; }
.lk .fade.active { opacity: 1; }

/* Utility Classes - Cursor */
.lk .pointer { cursor: pointer !important; }

/* authorization form*/
.authorization .form{
	min-height: 220px;
	display: flex;
   flex-direction: column;
	width: 320px;
	padding: 20px;
}

.authorization{
	min-height: 63vh;
	display: flex;
    align-items: center;
	justify-content: center;
}

#primary.lk{min-height: 63vh;}


@media(max-width: 576px){
	.lk .authorization{min-height: 60vh; }
	#primary.lk{min-height: 35vh;}
}


.helper-text, 
.fields_cart_1 label:not([for="check-contact"]):not(.check), 
label.helper-text-for-email, 
label.helper-text-for-pass,
.authorization label.helper-text-for-email, 
.authorization label.helper-text-for-pass,
.authorization label.helper-text {
	margin-left: -3px;
   margin-bottom: 2px;
	padding: 0px;
	padding-left: 10px;
	padding-right: 10px;
	position: relative;
	top: 10px;
	left: 10px;
	opacity: 1;
	color: #737373;
	pointer-events: none;
	max-width: fit-content;
    min-width: 60px;
	text-align: center;
	z-index: 10;
}


.authorization .agreement{display: flex; align-items: flex-start;}
.authorization .agreement input{margin-top: 2px;}

.authorization .agreement label, .lk .lk-accordion-header label{margin-left: 5px;}


.lk .password-container,
.authorization .password-container {
	display: flex;
}


.lk .registration_message{
	margin-top: 10px;
	margin-bottom: 10px;
}

.authorization .email{
	display: inline-block;
}


/* Кнопка выйти */
#secondary .logout.main_btn {
	margin-top: auto;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}


/* Кнопка сохранить */
.lk .save_btn{
	display: flex;
	align-items: baseline;
}
.lk .save_btn div{margin-left: auto;}
.lk .save_btn img{padding-left: 5px;}


.authorization .attention{color: #c90000;}
.authorization .success{color: #06554e;}
.mark_message{color: #06554e;}



/* Account_menu */
.lk .account_menu{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    flex: 0 0 auto;
}

@media (min-width: 960px) {
.lk .account_menu.sticky {
	position: sticky;
		top: 80px;
	align-self: flex-start;
	}
}



.lk input[type="text"],
.lk input[type="email"],
.lk input[type="tel"],
.lk input[type="password"],
.lk input {
	color: #000000;
}

input[readonly] {
	background-color: var(--color-back-stage) !important;
	border: unset !important;
}

input[readonly]::placeholder {
	color: #737373;
}


.lk .exchange{
	padding: 5px 20px 5px 5px;
	opacity: 0.85;
	display: flex;
}


.lk .exchange field{
	background: whitesmoke;
	padding: 0px 10px;
	border-radius: 5px;
	opacity: 0.75;
}	

.lk .exchange .usd, .lk .exchange .byn{
	display: flex;
	align-items: center;
}

/* Import tab (/lk → Импорт) */
.lk-import {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 760px;
}

.lk-import__card {
	padding: 18px 20px;
}

.lk-import__card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}

.lk-import__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.lk-import__hint {
	margin: 0 0 14px;
}

.lk-import__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lk-import__row.input_group {
	display: flex;
	align-items: stretch;
	gap: 10px;
	max-width: none;
}

.lk-import__row.input_group .lk-import__input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
}

.lk-import__row.input_group .lk-import__btn {
	flex: 0 0 auto;
	width: auto;
	white-space: nowrap;
	text-align: center;
}

.lk-import__input {
	height: 42px;
	margin: 0 !important;
	padding-left: 14px;
	padding-right: 14px;
}

.lk-import__row.input_group input[type="text"] {
	margin-right: 0 !important;
	margin-bottom: 0;
}

.lk-import input[readonly].border {
	border: 1px solid var(--color-border) !important;
}

.lk-import__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	text-decoration: none;
	cursor: pointer;
}

.lk-import__btn.prime:hover {
	filter: brightness(0.95);
	color: var(--color-back-stage);
}

@media (max-width: 640px) {
	.lk-import__row.input_group {
		flex-direction: column;
	}

	.lk-import__row.input_group .lk-import__input,
	.lk-import__row.input_group .lk-import__btn {
		flex: none;
		width: 100%;
		max-width: none;
	}

	.lk-import__btn {
		width: 100%;
	}

	.lk-import__actions .lk-import__btn {
		flex: 1 1 calc(50% - 5px);
	}
}
.lk .exchange .usd{margin-right: 12px;}
.lk .exchange .byn{margin-left: 20px;}
.lk .exchange img{
	margin-right: 5px;
	height: 34px;
}

.lk .exchange .interactive_field:focus-visible {
	outline: unset;
}



.lk .cart-scroll-triger{
	position: relative;
	bottom: 300px;
}



@media (max-width: 991px) {  
	#secondary.secondary_home.lk_bar{
		display: block !important;
		margin-bottom: 45px;
	}		
}







