/* Goldshell Site Kit — frontend */

/* Footer messengers — extends theme .what */
.gsh-sk-footer-messengers {
	display: contents;
}

.gsh-sk-messenger-link + .gsh-sk-messenger-link,
.what.gsh-sk-messenger--telegram,
.what.gsh-sk-messenger--max {
	margin-left: 0;
}

.left__footer .wraps .what svg,
.left__footer .wraps .what .gsh-sk-icon-max {
	margin-right: 8px;
}

.gsh-sk-icon-max {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0;
	display: block;
}

.gsh-sk-float__link .gsh-sk-icon-max {
	width: 20px;
	height: 20px;
}

.left__footer .wraps .what.gsh-sk-messenger--telegram,
.left__footer .wraps .what.gsh-sk-messenger--max {
	margin-top: 83px;
	width: 100%;
}

@media screen and (min-width: 600px) and (max-width: 900px) {
	.left__footer .wraps .what.gsh-sk-messenger--telegram,
	.left__footer .wraps .what.gsh-sk-messenger--max {
		margin-top: 25px;
	}
}

/* Floating widget */
.gsh-sk-float {
	position: fixed;
	bottom: 24px;
	z-index: 99990;
	font-family: inherit;
}

.gsh-sk-float--right { right: 24px; }
.gsh-sk-float--left { left: 24px; }

.gsh-sk-float__toggle {
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: #F2AD31;
	color: #0D0D0D;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s, transform 0.3s;
}

.gsh-sk-float__toggle:hover {
	opacity: 0.85;
	transform: scale(1.05);
}

.gsh-sk-float__panel {
	position: absolute;
	bottom: calc(100% + 12px);
	right: 0;
	min-width: 220px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	padding: 12px;
}

.gsh-sk-float--left .gsh-sk-float__panel {
	right: auto;
	left: 0;
}

.gsh-sk-float__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0D0D0D;
	margin-bottom: 8px;
	padding: 0 4px;
}

.gsh-sk-float__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 8px;
	color: #0D0D0D;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.2s;
}

.gsh-sk-float__link:hover {
	background: #f5f5f5;
	color: #0D0D0D;
}

.gsh-sk-float__link svg {
	flex-shrink: 0;
}

/* Cookie banner */
.gsh-sk-cookie {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99999;
	background: #0D0D0D;
	color: #fff;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
	font-size: 14px;
	line-height: 1.5;
}

.gsh-sk-cookie--bottom { bottom: 0; }
.gsh-sk-cookie--top { top: 0; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }

.gsh-sk-cookie:not([hidden]) {
	display: block;
}

.gsh-sk-cookie__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px;
	display: grid;
	gap: 16px;
}

@media (min-width: 768px) {
	.gsh-sk-cookie__inner {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

.gsh-sk-cookie__title {
	display: block;
	font-size: 16px;
	margin-bottom: 6px;
	color: #F2AD31;
}

.gsh-sk-cookie__text p {
	margin: 0 0 8px;
}

.gsh-sk-cookie__policy {
	color: #F2AD31;
	text-decoration: underline;
}

.gsh-sk-cookie__policy:hover {
	opacity: 0.8;
}

.gsh-sk-cookie__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gsh-sk-cookie__btn {
	border: 0;
	border-radius: 4px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: opacity 0.2s;
}

.gsh-sk-cookie__btn--accept {
	background: #F2AD31;
	color: #0D0D0D;
}

.gsh-sk-cookie__btn--reject,
.gsh-sk-cookie__btn--settings,
.gsh-sk-cookie__btn--save {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.gsh-sk-cookie__btn:hover {
	opacity: 0.85;
}

.gsh-sk-cookie__settings {
	grid-column: 1 / -1;
	display: grid;
	gap: 10px;
}

.gsh-sk-cookie__cat {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
}

.gsh-sk-cookie__cat strong {
	display: block;
}

.gsh-sk-cookie__cat small {
	display: block;
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
}

.policy__block .policy__item + .policy__item {
	display: block;
	margin-top: 8px;
}

.gsh-sk-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.gsh-sk-legal-links a {
	color: inherit;
}

.gsh-sk-privacy-notice {
	font-size: 13px;
	color: #666;
}

.gsh-sk-checkout-notice {
	margin-top: 12px;
	font-size: 13px;
}

/* Back to top */
.gsh-sk-back-to-top {
	position: fixed;
	bottom: 90px;
	right: 24px;
	z-index: 99980;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #0D0D0D;
	color: #F2AD31;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.gsh-sk-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.gsh-sk-float--right ~ .gsh-sk-back-to-top,
body:has(.gsh-sk-float--right) .gsh-sk-back-to-top {
	bottom: 90px;
}
