.more-mice-tabs {
	--mmt-accent: #960a19;
	--mmt-text: #2a2a2a;
	--mmt-muted: #545454;
	--mmt-tab-color: #323439;
	--mmt-tab-active: #870917;
	--mmt-white: #ffffff;
	--mmt-content-bg: #F3F2F1;
	--mmt-radius: 6px;
	--mmt-panel-gap: 20px;
	--mmt-content-max: 545px;

	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.more-mice-tabs *,
.more-mice-tabs *::before,
.more-mice-tabs *::after {
	box-sizing: border-box;
}

.more-mice-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 28px 47px;
	margin-bottom: 48px;
}

.more-mice-tabs__tab {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0 0 10px;
	border: 0;
	background: transparent;
	color: var(--mmt-tab-color);
	opacity: 0.7;
	font-family: "TikTok Sans", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.more-mice-tabs__tab::after {
	content: "";
	display: block;
	width: 0;
	height: 1px;
	margin-top: 10px;
	background: var(--mmt-tab-active);
	transition: width 0.2s ease;
}

.more-mice-tabs__tab:hover,
.more-mice-tabs__tab:focus-visible,
.more-mice-tabs__tab.is-active {
	color: #323439;
	opacity: 1;
	background: transparent;
	outline: none;
}

.more-mice-tabs__tab:hover::after,
.more-mice-tabs__tab:focus-visible::after,
.more-mice-tabs__tab.is-active::after {
	width: 100%;
}

.more-mice-tabs__tab-label {
	display: block;
}

.more-mice-tabs__panels {
	position: relative;
}

.more-mice-tabs__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, var(--mmt-content-max));
	gap: var(--mmt-panel-gap);
	width: 100%;
	align-items: stretch;
	min-height: 0;
}

.more-mice-tabs__panel[hidden] {
	display: none;
}

.more-mice-tabs__media {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 0;
	align-self: stretch;
	border-radius: var(--mmt-radius);
	overflow: hidden;
	background: #ddd;
}

.more-mice-tabs__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center center;
}

.more-mice-tabs__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: var(--mmt-content-max);
	aspect-ratio: 1 / 1;
	height: auto;
	min-height: 0;
	align-self: start;
	padding: 56px 48px;
	border-radius: var(--mmt-radius);
	background: var(--mmt-content-bg);
	text-align: center;
}

.more-mice-tabs__for-whom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	color: var(--mmt-muted);
	font-family: "TikTok Sans", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: uppercase;
}

.more-mice-tabs__for-whom-icon {
	display: block;
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	object-fit: contain;
}

.more-mice-tabs__title {
	margin: 0;
	max-width: 420px;
	font-family: Ahellya, Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.15;
	color: var(--mmt-text);
}

.more-mice-tabs__text {
	max-width: 430px;
	margin-bottom: 16px;
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	line-height: 1.4;
	color: #414141;
}

.more-mice-tabs__text p {
	margin: 0 0 1em;
}

.more-mice-tabs__text p:last-child {
	margin-bottom: 0;
}

.more-mice-tabs__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 34px;
	border: 1px solid var(--mmt-accent);
	border-radius: var(--mmt-radius);
	background: transparent;
	color: var(--mmt-accent);
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.more-mice-tabs__button:hover,
.more-mice-tabs__button:focus-visible {
	background: var(--mmt-accent);
	border-color: var(--mmt-accent);
	color: var(--mmt-white);
	outline: none;
}

@media (max-width: 1199px) {
	.more-mice-tabs__content {
		padding: 40px 32px;
	}
}

@media (max-width: 991px) {
	.more-mice-tabs__nav {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-bottom: 32px;
		padding-bottom: 8px;
		scrollbar-width: thin;
	}

	.more-mice-tabs__panel {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.more-mice-tabs__media {
		height: auto;
		min-height: 320px;
	}

	.more-mice-tabs__image {
		position: absolute;
		inset: 0;
		display: block;
		height: 100% !important;
		min-height: 0;
	}

	.more-mice-tabs__content {
		max-width: 100%;
		aspect-ratio: auto;
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.more-mice-tabs__nav {
		gap: 20px 24px;
	}

	.more-mice-tabs__content {
		padding: 32px 20px;
		gap: 20px;
	}

	.more-mice-tabs__media {
		min-height: 260px;
	}

	.more-mice-tabs__image {
		display: block;
		height: 100% !important;
		min-height: 260px;
	}
}

/* Popup */
.more-mice-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.45);
}

.more-mice-popup[hidden] {
	display: none !important;
}

.more-mice-popup__container {
	width: 90%;
	max-width: 1361px;
	max-height: calc(100vh - 48px);
}

.more-mice-popup__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: calc(100vh - 48px);
	overflow: hidden;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.more-mice-popup__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #9a9a9a;
	cursor: pointer;
	box-shadow: none;
}

.more-mice-popup__close:hover,
.more-mice-popup__close:focus,
.more-mice-popup__close:focus-visible {
	background: transparent;
	color: #323439;
	opacity: 0.8;
	outline: none;
}

.more-mice-popup__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 56px 60px 60px;
	-webkit-overflow-scrolling: touch;
}

.more-mice-popup__templates {
	display: none !important;
}

.more-mice-popup__panel[hidden] {
	display: none !important;
}

.more-mice-popup__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 36px 50px;
	align-items: start;
}

.more-mice-popup__media {
	min-width: 0;
	max-width: 566px;
	width: 100%;
}

.more-mice-popup__main {
	width: 100%;
	aspect-ratio: 1.45 / 1;
	border-radius: 6px;
	overflow: hidden;
	background: #ececec;
}

.more-mice-popup__main-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.more-mice-popup__main-image--placeholder {
	min-height: 240px;
}

.more-mice-popup__thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.more-mice-popup__thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1.35 / 1;
	padding: 0;
	border: 0;
	border-radius: 4px;
	overflow: hidden;
	background: transparent;
	cursor: pointer;
}

.more-mice-popup__thumb.is-active,
.more-mice-popup__thumb:hover,
.more-mice-popup__thumb:focus,
.more-mice-popup__thumb:focus-visible {
	outline: none;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
}

.more-mice-popup__thumb-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

.more-mice-popup__content {
	min-width: 0;
	padding-right: 12px;
}

.more-mice-popup__title {
	margin: 0 0 10px;
	font-family: "TikTok Sans", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.more-mice-popup__description {
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 140%;
	color: #414141;
}

.more-mice-popup__description p {
	margin: 0 0 1em;
}

.more-mice-popup__description p:last-child {
	margin-bottom: 0;
}

.more-mice-popup__description h2,
.more-mice-popup__description h3,
.more-mice-popup__description h4 {
	margin: 1.4em 0 0.75em;
	font-family: "TikTok Sans", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}

.more-mice-popup__description h2:first-child,
.more-mice-popup__description h3:first-child,
.more-mice-popup__description h4:first-child {
	margin-top: 0;
}

.more-mice-popup__description ul,
.more-mice-popup__description ol {
	margin: 0;
	padding-left: 1.2em;
}

.more-mice-popup__description li {
	margin: 0 0 15px;
}

.more-mice-popup__description li:last-child {
	margin-bottom: 0;
}

.more-mice-popup__description strong,
.more-mice-popup__description b {
	font-weight: 700;
	color: #1a1a1a;
}

body.more-mice-popup-open {
	overflow: hidden;
}

@media (max-width: 991px) {
	.more-mice-popup__body {
		padding: 40px 28px 32px;
	}

	.more-mice-popup__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.more-mice-popup__media {
		max-width: 100%;
	}

	.more-mice-popup__title {
		font-size: 26px;
		margin-bottom: 10px;
	}

	.more-mice-popup__thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.more-mice-popup {
		padding: 12px;
	}

	.more-mice-popup__container {
		width: 100%;
		max-height: calc(100vh - 24px);
	}

	.more-mice-popup__dialog {
		max-height: calc(100vh - 24px);
	}

	.more-mice-popup__body {
		padding: 48px 18px 24px;
	}

	.more-mice-popup__close {
		top: 10px;
		right: 10px;
	}

	.more-mice-popup__thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.more-mice-popup__title {
		font-size: 22px;
	}
}

