/*
Theme Name: ПланиЖенс
Author: Kirill Tatur
Description: Современная линейка гормональной контрацепции ПланиЖенс
Version: 1.2
Text Domain: https://planijens.ru/
*/

body,
div,
p,
ol,
ul,
li,
form,
label,
article,
footer,
header,
section,
aside,
input,
textarea,
button,
select,
nav,
a,
span {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: 'Bellota', cursive;
	font-weight: 700;
	letter-spacing: -0.15px;	
	display: block;
	position: relative;
	box-sizing: border-box;
}
html {
	height: 100%;
	font-size: 18px;
	line-height: 1.5;
	color: #000;
}
body {
	min-height: 100%;
	height: 100%;
	min-width: 320px;
	width: 100%;
}
*:after,
*:before {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
span {
	display: inline-block;
}
sup {
	position: relative;
	top: 2px;
	margin-left: 6px;
}
b,
strong {
	font-weight: 700;
}
select {
	padding: 20px;
	font-size: 18px;
	width: 100%;
	max-width: 500px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}
ul {
	list-style: none;
}
ol {
	list-style-type: none;
	counter-reset: item;
}
ol li::before {
	content: counter(item) '';
	counter-increment: item;
}
h1,
h2,
h3 {
	margin: 0;
	margin-bottom: 1rem;
	padding: 0;
	color: #000;
	line-height: 1.25;
}
h1 {
	font-size: 3.75rem;
	line-height: 1;
	letter-spacing: -3px;
}
h2 {
	font-size: 2.5rem;
	letter-spacing: -2px;
}
h3 {
	font-size: 2rem;
	letter-spacing: -1px;
}
p {
	margin-bottom: 1rem;
}
a {
	color: #000;
	text-decoration: underline;
	transition-duration: 1s;
	display: inline-block;
}
a:hover {
	color: #000;
}

/* Меню */
header {
	display: flex;
	justify-content: space-between;
	z-index: 9;
}
header .logo {
	width: 50px;
	flex-shrink: 0;
	color: #d94599;
	z-index: 9;
}
header .logo svg {
	width: 50px;
	height: 50px;
}
header .menu {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}
header .menu li {
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
	padding-left: 0;
}
header .menu li a {
	padding: 6px 18px;
	background: #fff;
	color: #000;
	text-decoration: none;
	border-radius: 25px;
	box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}
.menu li.menu-marker a,
.menu li.current-menu-item a {
	background: #d94599;
	color: #fff;
}

/* Общие стили */
section {
	z-index: 1;
}
section ul,
section ol {
	margin: 30px 0 30px 30px;
	width: 90%;
}
section ul li,
section ol li {
	padding-left: 40px;
	margin-bottom: 20px;
}
section ul li:last-child,
section ol li:last-child {
	margin-bottom: 0px;
}
section ol li::before {
	text-indent: -30px;
	display: inline-block;
	color: #000;
}
.section-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 50px 5% 50px;
}
.section-content .icon-planijens-arrow::before,
.section-content .icon-planijens-arrow::after {
	font-size: 1rem;
}
.section-content .mnn {
	font-size: 1.25rem;
	line-height: 1;
}
.section-content .mnn-note {
	margin-bottom: 0.25rem;
	font-size: 12px;
	line-height: 1;
	opacity: 0.4;
}



/* Блок ДляЖенс */
.home h1 {
	display: inline;
	color: #d94599;
	font-size: 6rem;
}
.home h2 {
	margin-bottom: 1rem;
}
.home section {
	min-height: 100%;
	background: linear-gradient(-90deg, #fff 0%, #e1e8f8 150%);
	background-image: url('img/background.webp');
	background-repeat: no-repeat;
	background-size: 100%;
}
.home .article-section {
	margin-top: 0;
	margin-bottom: 5rem;
}
.home .article-main img {
	max-width: 500px;
}
.home .article-main-content {
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
}
.home .article-main-content-mnn {
	margin-right: 2rem;
	margin-bottom: 0;
}
.home .article-main-description {
	font-size: 0.875rem;
}
.home .article-main-inner {
	flex-grow: 1;
}
.home .section-content .icon-planijens-arrow::before {
	display: none;
}
.home .section-content .icon-planijens-arrow::after {
	margin-left: 0.5rem;
	font-size: 1.25rem;
	color: #fff;
}
.home .typewriter {
	display: inline;
	white-space: pre-wrap;
}
.block-planijens {
	margin-top: 3rem;
}
.block-planijens img {
	width: 100%;
	height: auto;
	max-width: 600px;
}
.block-planijens-title {
	display: inline;
	margin-right: 1.5rem;
}
.block-planijens .logo {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;	
}
.block-planijens .logo svg {
	width: 75px;
	margin-right: 1.5rem;
	color: #d94599;
}
.block-planijens-description {
	max-width: 500px;
	color: #d94599;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: -1px;
}
.block-planijens-inner {
	margin-bottom: 5rem;
}



/* Страница перпарата */
/* Страница перпарата -- Общее */
.article-section {
	margin-bottom: 6rem;
}
.article-section:last-child {
	margin: 0;
}
/* Страница перпарата -- Основной блок */
.article-main {
	display: flex;
	align-items: center;
	margin-top: 3rem;
}
.article-main img {
	max-width: 650px;
}
.article-main-inner {
	display: flex;
	flex-direction: column;
	flex-basis: 50%;
	padding-left: 10px;
}
.article-main-content {
	display: flex;
	flex-direction: column;
}
.article-main-content-mnn {
	margin-bottom: 1.5rem;
}
.article-main-description {
	margin-bottom: 1.5rem;
}
/* Страница перпарата -- Преимущества */
.article-advantages {
	display: flex;
	flex-wrap: wrap;
	margin-right: -20px;
	margin-bottom: 20px;
}
.article-advantage {
	display: flex;
	align-items: center;
	flex-basis: calc(50% - 20px);
	background: #fff;
	padding: 30px;
	margin-right: 20px;
	margin-bottom: 20px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	border-radius: 25px;
}
.article-advantage sup {
	opacity: 0.5;
}
.article-advantage-text {
	padding-left: 25px;
	font-size: 1.166rem;
	line-height: 1.25;
}
.article-advantages-note {
	margin-left: 0;
}
.article-advantages-note a {
	display: inline;
}
.article-advantages-note li {
	margin-bottom: 0.25rem;
	font-size: 0.825rem;
	opacity: 0.4;
}
.article-advantages-note li::before {
	color: #000;
}
/* Страница перпарата -- Где купить */
.article-buy-items {
	margin-top: 2rem;
	margin-right: -15px;
	display: flex;
	flex-wrap: wrap;
}
.article-buy-item {
	max-width: 300px;
	min-width: 160px;
	display: flex;
	align-items: center;
	flex-basis: calc(25% - 15px);
	padding: 10px 15px;
	margin-right: 15px;
	margin-bottom: 20px;
	background: #fff;
	border-radius: 25px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	transition-duration: 0.5s;
}
.article-buy-item img {
	width: 100%;
	height: auto;
	display: flex;
}
.article-buy-item:hover {
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
}
/* Страница перпарата -- Доказательная база */
.article-document {
	margin-bottom: 30px;
}
.article-document:last-child {
	margin-bottom: 0;
}
.article-document-meta {
	font-size: 0.875rem;
	line-height: 1.25;
	margin-bottom: 0.25rem;
	opacity: 0.4;
}
.article-document-title {
	font-size: 1.25rem;
	line-height: 1.25;
}
/* Страница перпарата -- Контакты */
.article-contacts {
	max-width: calc(50% - 20px);
	padding: 30px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.article-contacts-block:first-child {
	margin-bottom: 1.5rem;
}
.article-contacts p {
	margin-bottom: 0.5rem;
}
.article-contacts p:last-child {
	margin-bottom: 0;
}



/* Блок Производство */
.article-section h3 {
	margin-top: 60px;
	margin-bottom: 30px;
}
.article-section ul .icon-planijens-arrow::before {
	position: absolute;
	top: 4px;
	left: 0;
}
.article-section ul .icon-planijens-arrow::after {
	display: none;
}



/* Видеоплеер */
.omnivideo-block {
	margin: 0 0 2rem;
}
.omnivideo-icon {
	border-radius: 50%;
	width: 100px;
	height: 100px;
	display: flex;
	justify-content: center;
}
.omnivideo-icon svg {
	width: 50%;
	height: auto;
	filter: none;
}
@media (max-width: 1279.98px) {
	.omnivideo-icon {
		width: 80px;
		height: 80px;
	}
}
@media (max-width: 767.98px) {
	.omnivideo-icon {
		width: 60px;
		height: 60px;
	}
}
/* Видеоплеер PLYR */
.section-content .video {
	height: 100%;
	margin-bottom: 2rem;
}
#sprite-plyr {
	display: none;
}
:root {
  --plyr-color-main: #d94599;
}



/* Блок Сертификаты */
.block-certificates {
	display: flex;
	flex-wrap: wrap;
	margin-right: -20px;
}
.block-certificates .document {
	display: flex;
	flex-basis: calc(50% - 20px);
	flex-direction: column;
	justify-content: flex-start;
	margin-bottom: 20px;
	margin-right: 20px;
	padding: 30px;
	background: #fff;
	border-radius: 25px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.block-certificates .document-meta {
	padding-left: 90px;
	font-size: 0.8rem;
	line-height: 1.25;
	margin-bottom: 5px;
	opacity: 0.6;
}
.block-certificates .document-title {
	padding-left: 90px;
	letter-spacing: -0.5px;
	line-height: 1.25;
	margin-bottom: 10px;
}
.block-certificates .icon-planijens-document::before {
	position: absolute;
}
.block-certificates .icon-planijens-arrow::before {
	display: none;
}
.block-certificates .icon-planijens-arrow::after {
	display: inline-block;
	margin-left: 10px;
}

/* Страницы по умолчанию */
article {
	margin-top: 3rem;
}
article a {
	color: #d94599;
}
article img {
	width: 100%;
	height: auto;
}
article h1 {
	margin-bottom: 2rem;
	color: #d94599;
}
article h2 {
	margin-bottom: 2rem;
}
.page-template-default section {
	min-height: 100%;
	background: linear-gradient(-90deg, #fff 0%, #e1e8f8 150%);
	background-image: url('img/background.webp');
	background-repeat: no-repeat;
	background-size: 100%;
}
.page-template-default .article-buy-item {
	min-width: auto;
	flex-basis: calc(16.6% - 15px);
}
.access article h1 {
	color: #000;
	margin-bottom: 2rem; 
	font-size: 3rem; 
	letter-spacing: -2px;
}



/* Кнопки */
.button {
	font-size: 14px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
	border: 2px solid #000;
	border-radius: 5px;
	padding: 7px 10px 6px;
	margin-top: 12px;
	transition-duration: 1s;
	opacity: 0.5
}
.button:hover {
	color: #d94599;
	border-color: #d94599;
	opacity: 1;
}
.button-background {
	padding: 6px 16px;
	background: #000;
	color: #fff;
	font-size: 1.15rem;
	text-decoration: none;
	border-radius: 25px;
}
.button-background:last-child {
	margin-top: 0.75rem;
}
.button-background:hover {
	color: #fff;
	cursor: pointer;
}

/* Вспылвающее окно */
#modal {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	visibility: hidden;
}
#modal .underlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	cursor: pointer;
	animation: fadeIn 0.5s;
}
#modal .modal {
	z-index: 999;
	margin: auto;
	border-radius: 20px;
	animation: fadeIn 0.5s;
	max-width: 700px;
}
.modal-inner {
	padding: 30px;
	box-sizing: border-box;
	margin: 0 5%;
	border-radius: 20px;
	background: #e1e8f8;
	background: linear-gradient(-90deg, #fff 0%, #e1e8f8 150%);
}
.modal-button {
	display: flex;
	flex-wrap: wrap;
}
.modal-button a {
	margin-right: 20px;
	opacity: 1;
	transition-duration: 0s;
}
.modal-button__description a {
	margin-right: 10px;
}
.modal-text p {
	font-size: 14px;
}
.modal-test {
	margin-bottom: 1rem;
}
.modal-test label {
	display: flex;
	margin-bottom: 0.25rem;
	font-size: 14px;
}
.modal-test input {
	margin-right: 10px;
}


/* Противопоказания */
.zakon {
	width: 100%;
	position: fixed;
	bottom: 0;
	display: block;
	background: #fff;
	padding: 10px 0;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
	z-index: 99;
}
.zakon-button {
	margin-left: 10px;
	color: #000;
	font-size: 30px;
	transition-duration: 0.8s;
	opacity: 0.4;
}
.zakon-button:hover {
	cursor: pointer;
	opacity: 1;
}
.zakon-notice {
	width: 100%;
	color: #000;
	font-size: 21px;
	line-height: 1;
	letter-spacing: -1px;
	text-transform: uppercase;
	transform: scale(1, 1.5);
	opacity: 0.4;
}
.zakon-wrapper {
	max-width: 1400px;
	display: flex;
	align-items: center;
	margin: 0 auto;
	padding: 0 5%;
}


/* -- Слайдер */
.article-gallery .slick-dots {
	margin-top: 1rem;
}
.article-gallery-container {
	width: 50%;
}
.article-gallery-image {
	opacity: 0;
	visibility: hidden;
}
.article-gallery-image img {
	max-height: 100%;
}
.article-gallery.slick-initialized .article-gallery-image {
	opacity: 1;
	visibility: visible;
	animation: fadeIn 300ms ease-in-out forwards;
}

a[data-fancybox] img {
	cursor: zoom-in;
}
.fancybox-navigation {
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	top: 0;
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


/* Куки */
.cookies {
	width: 94%;
	max-width: 640px;	
	display: none;
	flex-direction: column;	
	gap: 10px;
	position: fixed;
	bottom: 10px;
	left: 0;
	right: 0;
	margin: 0 auto;	
	background: linear-gradient(-90deg, #fff 0%, #e1e8f8 150%);
	font-size: 12px;
	line-height: 1.3;
	padding: 30px;
	border-radius: 20px;	
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
	z-index: 99;
}
.cookies-notice {	
	width: 100%;	
}
.cookies-notice a {
	display: inline;
}
.cookies-buttons {
	display: flex;
	gap: 10px;
}
.cookies-buttons a {
	opacity: 1;
}
.cookies-buttons-item {	
	font-size: 12px;	
	transition-duration: 0.5s;
	margin-top: 0;
	width: max-content;
}


/* Подвал */
.block-footer {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 30px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);	
}
.block-footer-contacts p {
	max-width: 900px;
	margin-bottom: 5px;
	opacity: 0.6;	
}
.block-footer-contacts span {
	font-size: 1.25rem;
	line-height: 1.25;
}
.block-footer-disclaimer {
	font-size: 2rem;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: -1px;
	opacity: 0.3;	
}
.block-footer-note {	
	font-size: 0.8rem;
	line-height: 1.25;	
	opacity: 0.6;
}
.block-footer-note a {
	display: inline;
	color: #000;
}


/* Медиа запросы */
@media (max-width: 1365.98px) {
	.zakon-notice {
		font-size: 17px;
	}
}
@media (max-width: 959.98px) {
	html {
		font-size: 16px;
	}
	article h1 {
		min-width: auto;
	}	
	.article-contacts {
		max-width: 100%;
	}
	.article-main {
		align-items: flex-start;
		flex-direction: column;
	}
	.article-main img {
		margin-top: 2rem;
		order: 2;
	}
	.article-main-inner {
		padding-left: 0;
		order: 1;
	}
	.article-gallery-container {
		order: 2;
	}
	.article-advantages {
		margin-right: 0;
	}
	.article-advantage {
		flex-basis: 100%;
		margin-right: 0;
	}
	.article-gallery-container {
		width: 100%;
	}
	.article-section ul .icon-planijens-arrow::before {
		top: 2px;
	}
	.block-certificates {
		margin-right: 0;
	}
	.block-certificates .document {
		flex-basis: 100%;
		margin-right: 0;
	}
	.button-background:first-child {
		margin-right: 10px;
	}
	.home h1 {
		font-size: 5rem;
	}
	.home .article-section {
		margin-bottom: 4rem;
	}
	.zakon-button {
		font-size: 20px;
	}
	.zakon-notice {
		font-size: 14px;
		letter-spacing: -0.5px;		
	}
	/* Подвал */	
	.block-footer {
		max-width: 100%;
	}
}
@media (max-width: 767.98px) {
	header {
		flex-direction: column-reverse;
	}
	header .logo {
		margin-bottom: 1rem;
	}
	article h1 {
		letter-spacing: -2px;
	}
	section ul,
	section ol {
		width: 100%;
	}
	.article-advantage {
		margin-right: 0;
		margin-bottom: 1rem;
		flex-basis: 100%;
	}	
	.article-buy-item {
		min-width: auto;		
		margin-bottom: 1rem;
		flex-basis: calc(50% - 15px);
	}
	.block-certificates .document-meta,
	.block-certificates .document-title {
		padding-left: 80px;
	}
	.button-background {
		font-size: 1rem;
	}
	.block-planijens .logo svg {
		display: none;
	}
	.block-planijens-title {
		display: block
	}
	.home h1 {
		font-size: 4rem;
		line-height: 1;
	}
	.page-template-default .article-buy-item {
		flex-basis: calc(25% - 15px);
	}
	.access article h1 {
		font-size: 2.5rem; 
		letter-spacing: -1px;
	}
	/* Куки */
	.cookies {			
		padding: 20px;
	}	
	/* Подвал */	
	.block-footer-disclaimer {
		font-size: 1.5rem;		
	}
}
@media (max-width: 479.98px) {
	html {
		font-size: 14px;
	}
	article h1 {
		font-size: 3rem;
	}
	section ul,
	section ol {
		margin: 20px 0 20px 0px;
	}
	section ul li,
	section ol li {
		padding-left: 30px;
		margin-bottom: 10px;
	}
	.article-advantage {
		padding: 20px;
	}
	.block-certificates .document {
		padding: 20px;
	}
	.block-certificates .document-meta,
	.block-certificates .document-title {
		padding-left: 70px;
	}
	.block-planijens-description {
		font-size: 1.5rem;
	}
	.section-content .mnn {
		font-size: 21px;
	}
	.section-content .mnn-note {
		font-size: 10px;
	}
	.modal-text p {
		font-size: 12px;
	}
	.page-template-default .article-buy-item {
		flex-basis: calc(50% - 15px);
	}
	.zakon-notice {
		font-size: 12px;
	}
	.access article h1 {
		font-size: 2rem; 
		letter-spacing: -0.5px;
	}
	/* Подвал */
	.block-footer {		
		padding: 20px;		
	}
}