/*region HEADER*/
.bx-header { }

.bx-header-section { }

.bx-header-logo { order: 1 }

.bitshop-market-header .bx-header-logo {
	order: 0;
}

.bx-header-personal { order: 3 }

.bx-header-contact { order: 2 }

/*region Logo*/
.bx-logo-block {
	display: block;
	height: 112px;
	border-bottom: none;
}

.bx-logo-block img {
	max-height: 112px;
	width: auto;
}

@media (max-width: 767px) {
	.bx-logo-block img {
		max-width: 100%;
		max-height: 76px;
		width: auto;
		height: auto;
	}

	.bx-header-logo {
		padding: 0;
		height: 76px;
		background-color: var(--bitshop-transparent);
	}

	.bx-logo-block { height: auto; }

	body.bx-theme-green .bx-store-logo { background: var(--bitshop-mint); }
}

/*endregion*/

/* Keep browser focus rings from stacking on top of component borders. */
a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
[tabindex]:focus,
[tabindex]:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
	outline: none;
	box-shadow: none;
}

button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
	border: 0;
}

/*region FOOTER*/
.bx-footer {
	flex-shrink: 0;
	width: 100%;
	margin-top: auto;
	margin-right: 0;
	margin-left: 0;
	background: #111319;
	color: rgba(255, 255, 255, .72);
}

.bx-footer a {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	transition: color .18s ease;
}

.bx-footer a:hover,
.bx-footer a:focus-visible {
	color: var(--bitshop-white);
	text-decoration: none;
}

.bitshop-footer-main {
	padding: 0 0 24px;
	background:
		radial-gradient(circle at 12% 42%, rgba(11, 92, 255, .12), transparent 28%),
		#111319;
}

.bitshop-footer-grid {
	display: grid;
	grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(130px, .8fr)) minmax(205px, 1fr);
	gap: clamp(24px, 3.2vw, 54px);
	padding-top: 44px;
	padding-bottom: 44px;
}

.bitshop-footer-brand,
.bitshop-footer-column {
	min-width: 0;
}

.bitshop-footer-brand {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

.bx-footer-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 184px;
	margin: -20px 0 -6px;
	border-bottom: 0;
	text-decoration: none;
}

.bx-footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.bitshop-footer-brand > p {
	max-width: 280px;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, .52);
	font-size: 13px;
	line-height: 1.55;
}

.bitshop-footer-primary-contact {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-bottom: 7px;
}

.bitshop-footer-contact-label {
	color: rgba(255, 255, 255, .44);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bitshop-footer-primary-contact strong {
	color: var(--bitshop-white);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
}

.bitshop-footer-schedule {
	color: rgba(255, 255, 255, .48);
	font-size: 12px;
}

.bitshop-footer-column h2 {
	margin: 2px 0 18px;
	color: var(--bitshop-white);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}

.bitshop-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bitshop-footer-column li + li {
	margin-top: 11px;
}

.bitshop-footer-column li a,
.bitshop-footer-contacts > a:not(.bitshop-footer-contact-button) {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.bitshop-footer-contacts > a:not(.bitshop-footer-contact-button) {
	color: var(--bitshop-white);
	font-size: 14px;
	font-weight: 800;
}

.bitshop-footer-contacts p {
	margin: 12px 0 18px;
	color: rgba(255, 255, 255, .5);
	font-size: 12px;
	line-height: 1.55;
}

.bitshop-footer-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 8px;
	background: rgba(255, 255, 255, .05);
	color: var(--bitshop-white);
	font-size: 12px;
	font-weight: 800;
}

.bitshop-footer-contact-button:hover,
.bitshop-footer-contact-button:focus-visible {
	border-color: var(--bitshop-cyan-dark);
	background: var(--bitshop-cyan-dark);
}

.bitshop-footer-bottom {
	display: grid;
	grid-template-columns: minmax(200px, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.bitshop-footer-copyright {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: rgba(255, 255, 255, .66);
	font-size: 12px;
}

.bitshop-footer-copyright > span {
	color: rgba(255, 255, 255, .76);
	font-weight: 700;
}

.bitshop-footer-copyright small {
	color: rgba(255, 255, 255, .38);
	font-size: 10px;
}

.bitshop-footer-up {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 36px;
	padding: 0 13px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 8px;
	background: transparent;
	color: rgba(255, 255, 255, .68);
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
}

.bitshop-footer-up span {
	font-size: 16px;
}

.bitshop-footer-up:hover,
.bitshop-footer-up:focus-visible {
	border-color: rgba(255, 255, 255, .42);
	color: var(--bitshop-white);
	outline: none;
}

.bitshop-footer-composite {
	display: none;
}

.bx-footer-section.py-2 {
	display: none;
}

@media (max-width: 1199px) {
	.bitshop-footer-grid {
		grid-template-columns: 1.35fr repeat(3, minmax(125px, .8fr));
	}

	.bitshop-footer-contacts {
		grid-column: 2 / -1;
		display: grid;
		grid-template-columns: minmax(150px, .7fr) minmax(220px, 1fr) auto;
		align-items: center;
		gap: 18px;
		padding-top: 24px;
		border-top: 1px solid rgba(255, 255, 255, .1);
	}

	.bitshop-footer-contacts h2 {
		grid-column: 1 / -1;
		margin-bottom: 0;
	}

	.bitshop-footer-contacts p {
		margin: 0;
	}
}

@media (max-width: 767px) {
	.bitshop-footer-main {
		padding-bottom: 92px;
	}

	.bitshop-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 22px;
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.bitshop-footer-brand {
		grid-column: 1 / -1;
	}

	.bx-footer-logo {
		width: 170px;
	}

	.bitshop-footer-brand > p {
		max-width: 330px;
		margin-bottom: 18px;
	}

	.bitshop-footer-contacts {
		grid-column: 1 / -1;
		display: block;
		padding-top: 24px;
	}

	.bitshop-footer-contacts h2 {
		margin-bottom: 14px;
	}

	.bitshop-footer-contacts p {
		margin: 10px 0 16px;
	}

	.bitshop-footer-bottom {
		grid-template-columns: 1fr auto;
		gap: 18px;
	}

	.bitshop-footer-copyright {
		grid-column: 1;
		grid-row: 1;
	}

	.bitshop-footer-up {
		grid-column: 2;
		grid-row: 1;
	}
}

/*endregion*/

body.bitshop-contact-dialog-open { overflow: hidden; }
.bitshop-contact-dialog {
	box-sizing: border-box;
	width: min(540px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: var(--bitshop-color-surface);
	color: var(--bitshop-color-text);
	box-shadow: 0 24px 80px var(--bitshop-shadow-strong);
	font-family: Arial, sans-serif;
	overscroll-behavior: contain;
}
.bitshop-contact-dialog::backdrop { background: var(--bitshop-graphite-80); backdrop-filter: blur(4px); }
.bitshop-contact-dialog-content { position: relative; padding: 36px; }
.bitshop-contact-dialog h2 { margin: 0 40px 24px 0; font-size: 28px; font-weight: 800; line-height: 1.2; }
.bitshop-contact-dialog-close {
	position: absolute; top: 24px; right: 24px; display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 50%;
	background: var(--bitshop-color-surface-muted); color: var(--bitshop-color-text); cursor: pointer;
}
.bitshop-contact-dialog-close svg,.bitshop-contact-dialog-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bitshop-contact-dialog-icon .bitshop-contact-whatsapp-icon { width: 28px; height: 28px; stroke-width: 1.6; }
.bitshop-contact-whatsapp-icon .bitshop-contact-whatsapp-handset { fill: currentColor; stroke: none; }
.bitshop-contact-dialog-options { display: grid; gap: 12px; }
.bitshop-contact-dialog-option {
	display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px;
	background: var(--bitshop-color-surface-muted); color: var(--bitshop-color-text); text-decoration: none;
}
.bitshop-contact-dialog-option:hover { background: var(--bitshop-color-surface-interactive); color: var(--bitshop-color-text); text-decoration: none; }
.bitshop-contact-dialog-option:focus-visible,.bitshop-contact-dialog-close:focus-visible { outline: 2px solid var(--bitshop-color-accent); outline-offset: 3px; }
.bitshop-contact-dialog-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--bitshop-color-surface); color: var(--bitshop-color-accent); }
.bitshop-contact-dialog-details { display: grid; gap: 6px; min-width: 0; }
.bitshop-contact-dialog-label { color: var(--bitshop-graphite-muted); font-size: 12px; line-height: 1.4; }
.bitshop-contact-dialog-details strong { font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.bitshop-contact-dialog-action { color: var(--bitshop-color-accent); font-size: 13px; font-weight: 700; line-height: 1.4; }
@media (max-width: 767px) {
	.bitshop-city-strip-inner .bitshop-city-selector { flex: 1 1 auto; min-width: 0; }
	.bitshop-city-strip-inner .bitshop-city-trigger { box-sizing: border-box; max-width: 100%; padding-right: 0; padding-left: 0; gap: 5px; }
	.bitshop-city-strip-inner .bitshop-city-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.bitshop-city-strip-inner .bitshop-city-pin,.bitshop-city-strip-inner .bitshop-city-chevron { flex-shrink: 0; }
	.bitshop-header-secondary-nav { flex: 0 0 auto; flex-wrap: nowrap; gap: 12px; }
	.bitshop-header-secondary-nav .bitshop-header-secondary-link { min-height: 36px; padding: 4px 0; font-size: 11px; }
}
@media (max-width: 560px) {
	.bitshop-contact-dialog { border-radius: 20px; }
	.bitshop-contact-dialog-content { padding: 28px 20px 20px; }
	.bitshop-contact-dialog h2 { font-size: 24px; }
	.bitshop-contact-dialog-close { top: 20px; right: 16px; }
	.bitshop-contact-dialog-option { gap: 12px; padding: 16px 12px; }
	.bitshop-contact-dialog-details strong { font-size: 17px; }
}
