/**
 * Layout overflow fixes (loads last). Tablet + mobile.
 */

body.site-theme button,
body.site-theme input[type="button"],
body.site-theme input[type="submit"],
body.site-theme input[type="reset"],
body.site-theme .btn,
body.site-theme a.btn,
body.site-theme .primary-button {
	font-family: inherit !important;
}

body.site-theme .single-review,
body.site-theme .single-review .review-item,
body.site-theme .single-review .review-author,
body.site-theme .single-review .review-author span,
body.site-theme .single-review .review-message,
body.site-theme .category-title {
	font-family: inherit !important;
}

@media (max-width: 1024px) {
	html,
	body.site-theme {
		max-width: 100%;
		overflow-x: hidden;
	}

	body.site-theme .header {
		box-sizing: border-box;
		left: 0;
		max-width: 100%;
		padding-inline: 12px;
		right: auto;
		width: 100%;
	}

	body.site-theme .header__top.container {
		box-sizing: border-box;
		max-width: 100%;
		padding-inline: 0;
		width: 100%;
	}

	body.site-theme .header__top {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
		padding-inline: 0;
	}

	body.site-theme .header__right {
		flex-shrink: 0;
		gap: 8px;
		min-width: 0;
	}

	body.site-theme .header__top .logo {
		flex-shrink: 1;
		min-width: 0;
		max-width: 90px;
	}

	body.site-theme .header__top .logo img {
		max-height: 45px;
		width: auto;
		max-width: 100%;
	}

	body.site-theme .header__top nav {
		max-width: 100vw;
	}

	body.site-theme .text_container,
	body.site-theme main > .container,
	body.site-theme main .text_container {
		box-sizing: border-box;
		margin-inline: auto;
		max-width: 100%;
		padding-inline: 15px;
		width: 100%;
	}

	body.site-theme .header_banner {
		padding-inline: 0;
	}

	body.site-theme .category-container {
		box-sizing: border-box;
		gap: 10px;
		grid-template-columns: repeat(auto-fill, minmax(min(100px, 100%), 1fr));
		justify-content: stretch;
		max-width: 100%;
		padding-inline: 16px;
	}

	body.site-theme .category-container > a {
		display: flex;
		max-width: none;
		width: auto;
	}

	.header_banner__text_deposit {
		font-size: clamp(32px, 7vw, 80px) !important;
		line-height: 1.05 !important;
		max-width: 100%;
		overflow-wrap: break-word;
		width: auto !important;
	}

	.image-container {
		align-items: stretch;
		flex-direction: column;
		gap: 20px;
		width: 100%;
	}

	.image-container img {
		flex: 0 0 auto;
		max-width: 100%;
		width: 100%;
	}

	.image-container__text {
		flex: 1 1 auto;
		width: 100%;
	}

	body.site-theme .slots_list {
		flex-wrap: nowrap;
		gap: 12px;
		justify-content: flex-start;
		-ms-overflow-style: none;
		overflow-x: auto;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	body.site-theme .text_container table {
		max-width: 100% !important;
		width: 100% !important;
	}

	body.site-theme > .reviews-container,
	body.site-theme > .app-container {
		box-sizing: border-box;
		margin-inline: auto;
		max-width: 100%;
		padding-inline: 16px;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.header_banner__text_deposit {
		font-size: clamp(28px, 11vw, 50px) !important;
	}

	.header_banner__text_button .btn {
		margin-inline: auto;
		max-width: 100%;
		width: min(100%, 320px);
	}
}
