/* USER VARIABLES SECTION */

:root {
	--accent: #DCAC98;
	--white: #ffff;
	--black: #000000;
	--af: "Oswald", sans-serif;
	--bg: #ffff;
	--bghome: #ffff;
	--gray-light: #F5F5F5;
	--regular-text: 16px;
	--lineheight: 1.65;
	--userfont: roboto-st, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;

	--width1: min(520px, 92vw);
	--width2: clamp(120px, 42vw, 190px);
	--width3: clamp(100px, 48vw, 160px);
	--width4: min(261px, 72vw);
	--width5: min(320px, 85vw);
	--width6: min(260px, 78vw);
}
.dark{
	--accent: #DCAC98;
	--white: #ffff;
	--black: #ffff;
	--bg: #262b38;
	--bghome: #0d0d0c;
	--gray-light: #3a3f4d;
	--af: "Oswald", sans-serif;
	--regular-text: 16px;
	--lineheight: 1.65;
	--userfont: roboto-st, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;

	--width1: min(520px, 92vw);
	--width2: clamp(120px, 42vw, 190px);
	--width3: clamp(100px, 48vw, 160px);
	--width4: min(261px, 72vw);
	--width5: min(320px, 85vw);
	--width6: min(260px, 78vw);
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { --bs-gutter-x: .625rem; }
.row, .row > * { --bs-gutter-x: 1.25rem; }

/* FONTS LOAD SECTION */

@font-face { src: url("../fonts/roboto-regular-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: normal; }
@font-face { src: url("../fonts/roboto-italic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: italic; }
@font-face { src: url("../fonts/roboto-bold-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: normal; }
@font-face { src: url("../fonts/roboto-bolditalic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: italic; }

/* GENERAL CSS SETTINGS */

::placeholder { color: #666; }
::selection { background-color: var(--accent); color: #fff; }
input, textarea { outline: none; }
input:focus:required:invalid, textarea:focus:required:invalid { border-color: red; }
input:required:valid, textarea:required:valid { border-color: green; }

body {
	font-family: "Raleway", sans-serif;
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
}

/* USER STYLES */

.image {
	max-width: 100%;
	margin-bottom: var(--bs-gutter-x);
	border-radius: 4px;
}

.accent {
	color: var(--accent);
	font-weight: bold;
}


.container {
	max-width: 1412px;
}

@media (max-width: 1439px) {
	.container,
	.container-fluid,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl,
	.container-xxl {
		--bs-gutter-x: 1.25rem;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}

/* FAQ — отступ под фиксированный header */
.page-faq {
	padding-top: 120px;
}

/* FAQ — читаемый текст в тёмной теме */
html.dark .page-faq,
body.dark .page-faq {
	color: #d1d5db;
}

html.dark .page-faq h1,
html.dark .page-faq h2,
html.dark .page-faq h3,
html.dark .page-faq dt .font-bold,
body.dark .page-faq h1,
body.dark .page-faq h2,
body.dark .page-faq h3,
body.dark .page-faq dt .font-bold {
	color: #fff;
}

/* page-lots: одинаковая высота карточек, цена и кнопка внизу */
.cat .list,
ul.list[data-lots-list] {
	align-items: stretch;
}

.cat .list > li,
ul.list[data-lots-list] > li {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.cat .list > li > a:first-of-type,
ul.list[data-lots-list] > li > a:first-of-type {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.cat .list > li .desc,
ul.list[data-lots-list] > li .desc {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.cat .list > li .param,
ul.list[data-lots-list] > li .param {
	margin-top: auto;
}

.cat .list > li > .lot-bid-link,
.cat .list > li > a.lot-bid-link,
ul.list[data-lots-list] > li > .lot-bid-link,
ul.list[data-lots-list] > li > a.lot-bid-link {
	flex-shrink: 0;
	width: 100%;
}

.cat .list > li object,
ul.list[data-lots-list] > li object {
	display: block;
	width: 100%;
}

/* page-lots: выравнивание строки «Current price» и кнопки PLACE LIMIT */
.cat .list li .param .item,
ul.list[data-lots-list] li .param .item {
	align-items: baseline;
}

.cat .list li .param .item p,
.cat .list li .param .item strong,
ul.list[data-lots-list] li .param .item p,
ul.list[data-lots-list] li .param .item strong {
	line-height: 1.2;
}

.cat .list li .lot-bid-link,
.cat .list li a .lot-bid-link,
ul.list[data-lots-list] li .lot-bid-link,
ul.list[data-lots-list] li a .lot-bid-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	height: 35px;
	padding: 0;
	box-sizing: border-box;
}

/* Services swiper (главная) */
.services-swiper {
	overflow: hidden;
}

.services-swiper .swiper-slide {
	height: auto;
}

/* Тёмная тема: переключатель в шапке */
html.dark header label .dot,
body.dark header label .dot {
	left: auto;
	right: 0;
}

/* Header: переключатель языков */
header .header-lang-switcher {
	display: flex !important;
	flex-shrink: 0;
}

header .header-lang-switcher a.is-active {
	color: var(--accent);
}

.katz-page-main .page-nav-lang {
	display: inline-flex !important;
}

.katz-page-main .page-nav-lang a.is-active {
	color: var(--accent);
}

/* Katz-страницы (signin/signup/lots): выравнивание верхнего меню */
.katz-page-main > nav .flex.justify-between > .ml-6 {
	margin-left: auto;
	margin-right: 0;
}

.katz-page-main > nav > .flex.justify-between {
	align-items: center;
	width: 100%;
}

/* page-lots: Categories scroll */
.cat .cat_wrap .side form .lots-categories-filter .lots-categories-list {
	display: block !important;
	flex-wrap: nowrap !important;
	max-height: 240px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 4px;
	-webkit-overflow-scrolling: touch;
}

.cat .cat_wrap .side form .lots-categories-filter .lots-categories-list li {
	width: 100%;
}

/* page-lots: top pagination controls */
.paginations_links button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.single-lot-nav-btn {display: none;}

.min-h-screen.flex.flex-col > main{margin-top: -67px;}
@media (max-width: 767px) {
	footer.bg-black ul li{text-align: center;}
  footer.bg-black .center-mb-soc {
    justify-content: center;
  }
}

/* Select — keep label text clear of the custom arrow */
select {
	padding-right: 52px !important;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.cat .side select,
.forms form select,
.page-auth-card select,
#country_code,
#lot-country {
	padding-right: 52px !important;
}