/* =========================================================
   DO.BRO Store — Home
   ========================================================= */

.dobro-home {
	width: 100%;
	overflow: hidden;
}

.dobro-home__container {
	container: dobro-home / inline-size;
	width: min(calc(100% - 104px), 1176px);
	margin: 0 auto;
}


/* Начало: главный рекламный баннер */
.dobro-main-banner {
	width: calc(100% + 24px);
	margin-inline: -12px;
	padding-top: 40px;
}

.dobro-main-banner__slider {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 270;
	margin: 0;
	overflow: hidden;
	background: transparent;
	border-radius: min(60px, calc(5cqw + 1.2px));
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
}

.dobro-main-banner__slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.dobro-main-banner__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}

.dobro-main-banner__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.dobro-main-banner__picture,
.dobro-main-banner__image {
	display: block;
	width: 100%;
	height: 100%;
}

.dobro-main-banner__image {
	object-fit: cover;
	object-position: center;
	user-select: none;
}
/* Конец: главный рекламный баннер */

/* Начало: кнопка главного баннера */
.dobro-main-banner__button {
	position: absolute;
	z-index: 3;
	top: 55.5556%;
	right: 5%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 173px;
	height: 60px;
	padding: 0 24px;
	background: #ffe600;
	border: 0;
	border-radius: 30px;
	color: #000000;
	font-family: var(--dobro-font-base);
	font-size: 14px;
	font-weight: 600;
	line-height: 16px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--dobro-transition), transform var(--dobro-transition);
}

.dobro-main-banner__button:active {
	background: #ffed4a;
	color: #000000;
	transform: scale(0.98);
}

.dobro-main-banner__button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}
/* Конец: кнопка главного баннера */

/* Начало: управление главным баннером */
.dobro-main-banner__controls {
	position: absolute;
	z-index: 4;
	inset: 0;
	pointer-events: none;
}

.dobro-main-banner__controls > * {
	pointer-events: auto;
}
/* Конец: управление главным баннером */

/* Начало: стрелки главного баннера */
.dobro-main-banner__arrow {
	position: absolute;
	z-index: 4;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: rgba(0, 0, 0, 0.15);
	border: 1px solid #efebdc;
	border-radius: 50%;
	color: #efebdc;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color var(--dobro-transition), border-color var(--dobro-transition), transform var(--dobro-transition);
}

/* Начало: сброс фокуса стрелок GeneratePress */
body.dobro-store button.dobro-main-banner__arrow:focus:not(:focus-visible) {
	background: rgba(0, 0, 0, 0.15);
	border-color: #efebdc;
	box-shadow: none;
	color: #efebdc;
	outline: 0;
}
/* Конец: сброс фокуса стрелок GeneratePress */

.dobro-main-banner__arrow--previous {
	left: 25px;
}

.dobro-main-banner__arrow--next {
	right: 25px;
}

.dobro-main-banner__arrow:active {
	background: rgba(0, 0, 0, 0.5);
	border-color: #ffffff;
	color: #ffffff;
	transform: translateY(-50%) scale(0.94);
}

.dobro-main-banner__arrow:focus-visible {
	outline: 3px solid #ffe600;
	outline-offset: 3px;
}

.dobro-main-banner__arrow svg {
	display: block;
	width: 24px;
	height: 24px;
}
/* Конец: стрелки главного баннера */

/* Начало: навигационные точки */
.dobro-main-banner__dots {
	position: absolute;
	z-index: 4;
	left: 50%;
	bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	transform: translateX(-50%);
}

.dobro-main-banner__dot,
.dobro-main-banner__dot:hover,
.dobro-main-banner__dot:focus,
.dobro-main-banner__dot:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 28px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	outline: none;
	transform: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.dobro-main-banner__dot::before {
	content: "";
	display: block;
	width: 24px;
	height: 3px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 3px;
	transition: background-color var(--dobro-transition), transform var(--dobro-transition);
}

.dobro-main-banner__dot.is-active::before {
	background: #ffffff;
	transform: translateY(-2px);
}

.dobro-main-banner__dot:focus-visible {
	outline: 1px solid rgba(255, 255, 255, 0.75);
	outline-offset: -3px;
}
/* Конец: навигационные точки */

/* Начало: заглушка главного баннера */
.dobro-main-banner__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	height: 270px;
	margin: 0 auto;
	padding: 30px;
	overflow: hidden;
	background: radial-gradient(circle at center, #2b1909 0%, #000000 70%);
	border-radius: 60px;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
	text-align: center;
}

.dobro-main-banner__placeholder-logo {
	display: block;
	width: auto;
	max-width: 260px;
	height: auto;
	max-height: 80px;
	object-fit: contain;
}

.dobro-main-banner__placeholder-brand {
	color: #ff7b00;
	font-family: var(--dobro-font-display);
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.dobro-main-banner__placeholder-text {
	margin: 0;
	color: #efebdc;
	font-family: var(--dobro-font-base);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

.dobro-main-banner__placeholder-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 173px;
	height: 60px;
	padding: 0 24px;
	background: #ffe600;
	border-radius: 30px;
	color: #000000;
	font-family: var(--dobro-font-base);
	font-size: 14px;
	font-weight: 600;
	line-height: 16px;
	text-decoration: none;
	transition: background-color var(--dobro-transition), transform var(--dobro-transition);
}

.dobro-main-banner__placeholder-button:active {
	background: #ffed4a;
	color: #000000;
	transform: scale(0.98);
}

.dobro-main-banner__placeholder-button:focus-visible {
	outline: 3px solid #ff7b00;
	outline-offset: 3px;
}
/* Конец: заглушка главного баннера */

/* Начало: промежуточная версия главного баннера */
@container dobro-home (max-width: 900px) {
	.dobro-main-banner__slider {
		height: auto;
		aspect-ratio: auto;
		overflow: visible;
		border-radius: 0;
		filter: none;
	}

	.dobro-main-banner__slider.has-controls {
		padding-bottom: 52px;
	}

	.dobro-main-banner__slides {
		height: auto;
		aspect-ratio: 1200 / 270;
		overflow: hidden;
		border-radius: min(60px, calc(5cqw + 1.2px));
		filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
	}

	.dobro-main-banner__controls {
		inset: auto 0 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		height: 52px;
	}

	.dobro-main-banner__arrow {
		position: static;
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		background: #242424;
		border-color: #242424;
		transform: none;
	}

	body.dobro-store button.dobro-main-banner__arrow:focus:not(:focus-visible) {
		background: #242424;
		border-color: #242424;
	}

	.dobro-main-banner__arrow--previous,
	.dobro-main-banner__arrow--next {
		right: auto;
		left: auto;
	}

	.dobro-main-banner__arrow:active {
		transform: scale(0.94);
	}

	.dobro-main-banner__dots {
		position: static;
		height: 44px;
		transform: none;
	}

	.dobro-main-banner__dot,
	.dobro-main-banner__dot:hover,
	.dobro-main-banner__dot:focus,
	.dobro-main-banner__dot:active {
		width: 28px;
		height: 44px;
	}

	.dobro-main-banner__dot::before {
		background: #bdbdbd;
	}

	.dobro-main-banner__dot.is-active::before {
		background: #ee0800;
	}
}
/* Конец: промежуточная версия главного баннера */

/* Начало: мобильная версия главного баннера */
@media (max-width: 700px) {
	.dobro-home__container {
		width: calc(100% - 32px);
	}
}

@container dobro-home (max-width: 700px) {
	.dobro-main-banner {
		width: 100%;
		margin-inline: 0;
		padding-top: 24px;
	}

	.dobro-main-banner__slider {
		height: 133.333333cqw;
		aspect-ratio: auto;
		padding-bottom: 0;
		overflow: visible;
		border-radius: 0;
		filter: none;
		touch-action: pan-y pinch-zoom;
	}

	.dobro-main-banner__slider.has-controls {
		padding-bottom: 0;
	}

	.dobro-main-banner__slider.has-dots {
		height: calc(133.333333cqw + 32px);
	}

	.dobro-main-banner__slides {
		height: 133.333333cqw;
		aspect-ratio: auto;
		overflow: hidden;
		border-radius: 12cqw;
		filter: none;
	}

	.dobro-main-banner__button {
		top: auto;
		right: 16px;
		bottom: 13.866667cqw;
		left: 16px;
		width: auto;
		min-width: 0;
		height: 60px;
	}

	.dobro-main-banner__controls {
		inset: auto 0 0;
		height: 32px;
		gap: 0;
	}

	.dobro-main-banner__arrow {
		position: absolute;
		width: 1px;
		height: 1px;
		min-width: 0;
		min-height: 0;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
	}

	.dobro-main-banner__dots {
		position: static;
		height: 32px;
		transform: none;
	}

	.dobro-main-banner__dot,
	.dobro-main-banner__dot:hover,
	.dobro-main-banner__dot:focus,
	.dobro-main-banner__dot:active {
		width: 28px;
		height: 32px;
	}

	.dobro-main-banner__dot::before {
		background: #bdbdbd;
	}

	.dobro-main-banner__dot.is-active::before {
		background: #ee0800;
	}

	.dobro-main-banner__placeholder {
		width: 100%;
		height: auto;
		aspect-ratio: 375 / 500;
		padding: 24px;
		border-radius: 12cqw;
	}
}
/* Конец: мобильная версия главного баннера */

@media (hover: hover) and (pointer: fine) {
	.dobro-main-banner__button:hover,
	.dobro-main-banner__placeholder-button:hover {
		background: #ffed4a;
		color: #000000;
		transform: scale(1.03);
	}

	.dobro-main-banner__arrow:hover,
	body.dobro-store button.dobro-main-banner__arrow:focus:not(:focus-visible):hover {
		background: rgba(0, 0, 0, 0.5);
		border-color: #ffffff;
		color: #ffffff;
	}
}
