* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    margin: 0 auto;
}

header h1 {
	margin: 0px;
	padding: 20px 0px;
}

.entry-title {
	border-bottom: 2px black solid;
}

.site-main {
    flex-grow: 1; /* Заставляем основное содержимое расширяться */
}

#page {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.page {
    overflow-x: hidden;
}

/* ===== HEADER STRUCTURE ===== */
#masthead {
    width: 100%;
}

/* ---------- FIRST LINE ---------- */
#first-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 20px;
}

/* Логотип */
.site-branding {
    flex-shrink: 0;
}

.site-title {
    margin: 0;
}

/* Правая группа: корзина + язык + мобильное меню */
.header-cart,
.language-switcher,
.mobile-menu {
    display: flex;
    align-items: center;
}

/* Группируем правые элементы */
.header-cart {
    margin-left: auto;
}

/* Иконка корзины */
.header-cart a {
    font-size: 20px;
    color: inherit;
    text-decoration: none;
}

/* Кнопка мобильного меню */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ---------- SECOND LINE ---------- */
#second-line {
    border-top: 1px solid #e5e5e5;
	padding-top: 10px;
	padding-bottom: 10px;
}

body.home #second-line {
	padding-bottom: 0px !important;
}

/* Главное меню */
.main-menu {
    display: flex;
    justify-content: center;
}

.header-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.header-menu a {
    text-decoration: none;
    font-weight: 500;
    color: inherit;
}

.header-menu li {
    position: relative;
    padding-right: 20px;
    margin-right: 20px;
}

.header-menu li::after {
    content: "|";
    position: absolute;
    right: 0;
    color: white; /* цвет разделителя */
}

.header-menu li:last-child::after {
    content: "";
}


/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    #second-line {
        display: none; /* меню скрывается, открывается через бургер */
    }
}

/* -----  ----- */
.site-title {
    flex-grow: 0; /* Логотип не растягивается */
}

.header-cart a {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    margin-right: 50px;
}

#logo, #logo a {
    font-family: "Lato", sans-serif;
    font-weight: 750;
    font-style: normal;
    font-size: 30px;
    margin: 0;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.header-cart {
    display: flex; 
    align-items: center;
    position: relative;
}

.header-cart .cart-contents {
    font-size: 35px;
    color: #ffffff;
    text-decoration: none;
}

.header-cart .cart-contents:hover {
    color: #f45d01;
}

.header-cart .cart-quantity {
    position: absolute;
    top: 0px;
    right: 20px;
    background-color: #f45d01;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

p, li, label, #reply-title {
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 2;
    color: black;
}

.wpcf7-not-valid-tip {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 2;
    font-weight: 600;
}

h3 {
    margin-top: 30px !important;
    margin-bottom: 10px !important;
    font-family: 'Montserrat', sans-serif;
    color: black;
    letter-spacing: 2px;
}

ol, ul {
    padding-left: 2.5rem;
}

.background {
    background: #f0f0f0;
}

.wp-block-column.table {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
  
.wp-block-column.product-image-large {
    position: relative;
}

.wp-block-column.product-image-large::before {
    content: ' ';
    display: block;
    position: absolute;
    left: -10px;
    top: -45px;
    width: 110%;
    height: 110%;
    opacity: 0.4;
    background-repeat: no-repeat;
    background-image: url("https://www.felix-stella.com/wp-content/uploads/2025/02/twig_with_leaves-min.png");
    background-size: 100% 100%; /* Изображение будет покрывать всю область */
    background-position: center;
    transform: rotate(20deg); /* Поворот изображения */
}
   
.product-image-large img {
    padding: 30px 0;
    position: relative;
	-webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
}

.round img, .fotorama__stage__frame img {
    border-radius: 10px !important;
    background: #FFFFFF;
}

.advice {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 48px;
    letter-spacing: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100px;
    background: #66bb6a;
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 35px 0;
}

.advice:hover, .advice:focus {
    background: #5ba85f;
}

/* Общий стиль для всех buy-кнопок */
.buy {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    padding: 25px 20px;
    margin: 15px 0;
    border-radius: 10px;
    border: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: 20px;
}

.buy:hover,
.buy:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
}

.btn-amazon {
    background: linear-gradient(45deg, #FF9900, #FFB84D);
    color: white;
}

.btn-amazon:hover {
    background: linear-gradient(45deg, #e08800, #f5a93b);
	color: black;
}

.btn-ebay {
    background: linear-gradient(45deg, #0064d2, #1a8fff);
    color: white;
}

.btn-ebay:hover {
    background: linear-gradient(45deg, #0052aa, #1578d5);
	color: black;
}

.store-icon {
    height: auto;
    width: 100px;
}

.buy-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	line-height: 1.2;
	width: 100%;
}

.buy-content img{
	width: 25%;
}
	
.buy-content span{
	width: 75%;
}

.buy-text {
	display: block;
}

/* Блок добавить в корзину */

div.product.woocommerce.add_to_cart_inline.product-about  {
    background: linear-gradient(135deg, #f0fff4, #d4f1f9);
    border: 3px solid #2E7D32;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    margin: 30px auto;
	border:4px solid #ccc; 
	padding: 12px;
}

p.main-add-to-cart {
	border: none !important;
	padding: 0 !important;
}

.product-about {
    align-items: center;
}

.product-image {
    width: 35%;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    transition: transform 0.3s;
}

.product-image:hover {
    transform: scale(1.05);
}

.product-details {
	width: 65%;
    display: flex;
    flex-direction: column; /* Размещение цены и кнопки вертикально */
    justify-content: space-between;
}

.woocommerce-Price-amount {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #2E7D32;
    margin-bottom: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.woocommerce-Price-currencySymbol {
    font-size: 22px;
}

.button {
    background: linear-gradient(90deg, #f7b42c, #fc924c) !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;  
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.98);
    box-shadow: none;
}

.product-content {
    display: flex; /* Выравнивание элементов в одну строку */
    align-items: center; /* Центрирование по вертикали */
    gap: 15px;
}

.cart-icon {
    font-size: 20px;
    vertical-align: middle;
}

.payment-icons {
    display: flex;
    justify-content: center; /* Центрируем иконки способов оплаты */
    gap: 30px; /* Расстояние между иконками */
    margin-top: 15px; /* Отступ сверху */
    flex-wrap: wrap; /* Обеспечиваем, что иконки могут переноситься на новую строку при необходимости */
}

.payment-icons img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s, filter 0.3s;
}

.payment-icons img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.woocommerce a.added_to_cart {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #5a9c1c, #77b72a);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-top: 20px;
	width: 100%;
}

.woocommerce a.added_to_cart:hover {
    background: linear-gradient(90deg, #77b72a, #5a9c1c);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.woocommerce a.added_to_cart:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.wp-block-column .wp-bootstrap-blocks-button {
    padding: 0;
}

/* Banner */

.banner .row {
    padding: 0 !important;
    display: flex;
    align-items: center;
}
.banner .row .col-md-4 figure {
    margin: 0;
}

.banner {
    background: linear-gradient(135deg, #f0fff4, #d4f1f9);
    border: 3px solid #2E7D32;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-height: 100px;
    margin-bottom: 50px !important;
    text-align: center;
}

.banner h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #267a4b; /* Темно-зеленый цвет заголовка */
}

.banner p {
    margin-bottom: 15px;
}

/* Contact form */
form.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
}

.modal-body .row {
    margin-bottom: 0px;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    letter-spacing: 3px;
    text-align: center;
    color: #ffffff;
    margin-top: 0px;
}

.modal-content {
    background-image: linear-gradient(rgba(13 ,59, 102, 0.9), rgba(13, 59, 102, 0.9)), url("https://osteoporoliz-it.com/wp-content/uploads/2025/02/background.jpg");
    background-size: 100%;
    border-radius: 10px;
}

.modal-header {
    border-bottom: 3px solid #ffffff !important;
}

#modal label {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    width: 100%;
}

.required {
    color: red;
    font-weight: bold;
}

#modal input[type="text"],
#modal input[type="email"],
#modal input[type="number"],
#modal select,
#modal textarea {
    width: 100%;
    border-radius: 5px;
    border: 2px solid #3e92cc;
    font-size: 16px;
    height: 40px;
    padding-left: 10px;
}

#modal input[type="text"]:focus,
#modal input[type="email"]:focus,
#modal input[type="number"]:focus,
#modal select:focus,
#modal textarea:focus {
    border-radius: 5px;
    border: 2px solid #519cd1 !important; /* Мягкий светло-коричневый для полей */
}

#modal input[type="file"] {
    border: none;
    background-color: #F7F7F7;
    padding: 10px;
    border-radius: 5px;
    width: 30%;
}

textarea.form-control {
    min-height: 200px !important;
}

form.wpcf7-form .col-12,
form.wpcf7-form .col-md-6,
form.wpcf7-form .col-md-3 {
    margin-top: 0px;
}

form.wpcf7-form .col-md-6 {
    padding-right: 15px;
}

form.wpcf7-form div {
    min-height: 85px;
    margin-bottom: 15px;
}

.modal-footer {
    width: 100%;
    border-top: 3px solid #ffffff !important;
    padding: 15px 0 0 0 !important;
    justify-content: flex-start;
    margin: 0;
}

form.wpcf7-form .btn {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: bold !important;
    height: 50px;
}

.btn-send {
    background-color: #66bb6a !important;
    color: white !important;
    border: 2px solid #66bb6a !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

.btn-send:hover {
    background-color: #5ba85f !important;
    border: 2px solid #5ba85f !important;
}

.btn-close {
    padding: 10px 20px !important;
}

.btn-secondary {
    background-color: #e0e0e0 !important;
    color: #333333 !important;
    border: 2px solid #b3b3b3 !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

.btn-secondary:hover {
    background-color: #cccccc !important;
}

.wpcf7 form.wpcf7-form .wpcf7-response-output {
    border: 2px solid #ffb900 !important;
    min-height: auto;
    color: #ffb900;
    font-weight: 500;
    text-align: center;
    width: 100%;
    margin: 15px 0;
}

/* Footer */

footer {
    width: 100%;
    text-align: center;
}

footer p {
    font-size: 15px;
    font-weight: bold;
    margin-top: auto;
}

/************/

.hidden {
    display: none !important;
}

/*.wp-block-column div:last-child p:last-child {
	margin-bottom: 30px !important;
}*/

/************/

/* Osteoporoliz-menu */
/* Основной контейнер меню */
/* nav.main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-right: 50px;
} */

/* Список меню */
/* nav.main-menu ul.header-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
} */

nav.main-menu ul.header-menu li {
  letter-spacing: 0;
  line-height: 1.5;
  font-size: 14px;
  text-align: center;
  font-weight: 700;
}

/* Пункты меню */
nav.main-menu ul.header-menu li a {
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  transition: color 0.3s ease, background 0.3s ease;
}

/* Эффект наведения */
nav.main-menu ul.header-menu li a:hover {
  color: #4e9c34;
}

/* Переключатель языков (иконка флага) */
nav.main-menu ul.header-menu li.pll-parent-menu-item a img {
  vertical-align: middle;
  margin-top: -2px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

/* Сделать флаг "плоским" */
nav.main-menu ul.header-menu li.pll-parent-menu-item a {
  padding: 4px 6px;
}

/* Убрать лишние отступы у последнего пункта */
nav.main-menu ul.header-menu li:last-child {
  margin-right: 0;
}

/* Language panel */
.custom-lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-toggle {
  background: none;
  border: 1px solid #ccc;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  background-color: #f9f9f9;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: white;
  min-width: 160px;
  border: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 10px;
  border-radius: 4px;
}

.custom-lang-dropdown.active .lang-menu {
  display: block;
}

.lang-menu a {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  border-radius: 4px;
}

.lang-menu a:hover {
  background-color: #f0f0f0;
}

.lang-menu img {
  margin-right: 8px;
  width: 18px;
  height: auto;
  vertical-align: middle;
}


/* .header-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.header-menu li {
	background-color: rgba(182, 205, 146, 0.3);
	transition: 0.3s;
} */

/* Ссылки меню
.header-menu li a {
	margin: 0 !important;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    line-height: 2;
    color: #333333;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
} */

/* Эффект при наведении */
/* .header-menu li a:hover,
.header-menu li a:focus {
    color: #484f3c;
}

.header-menu li:hover,
.header-menu li:focus {
	background-color: rgba(182, 205, 146, 0.5);
} */

/* Активный пункт */
.header-menu li.current-menu-item a {
    color: #4e9c34 !important;
    font-weight: 900 !important;
}

/* .header-menu li.current-menu-item {
    background-color: rgba(182, 205, 146, 0.5);
} */

/* Burger menu */
.mobile-menu {
	display: none;
}

.menu-toggle {
	display: none;
	justify-content: space-between;
	background: none;
	cursor: pointer;
	padding: 0;
}

.burger {
	display: block;
	height: 3px;
	background-color: #333;
	border-radius: 2px;
}

/* На мобилках показываем бургер и скрываем меню по умолчанию */
@media (max-width: 912px) {
	.mobile-menu {
		display: flex;
	}
	
	.menu-toggle {
		display: flex;
		align-items: center;
    	position: relative;
	}
	
	.main-navigation {
		position: absolute;
		top: 60px;
		left: 0;
		width: 100%;
		background-color: #fff;
		z-index: 9999;

		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease;
	}

	.main-navigation.active {
		max-height: 500px; 
	}
	
	.mobile-menu button {
		display: flex;
		align-items: center; 
	}
	
	.mobile-menu .menu-toggle i {
		font-size: 40px;
		color: white;
	}

	.header-menu {
		flex-direction: column;
		align-items: center;
		gap: 15px;
		padding: 15px 0;
		margin: 0;
		list-style: none;
	}
	
	li.menu-item {
		width: 100%;
		text-align: center;
	}
}

/* Promo */

.promo-title.green {
	font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 60px;
    letter-spacing: 5px;
    color: #4e9c34;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
	padding: 20px 0px;
}

/* Отзывы */
.background-review {
    background: linear-gradient(135deg, rgba(137, 207, 240, 0.8) 0%, rgba(111, 168, 220, 0.8) 100%);
    padding: 30px;
    margin: 35px 0;
}

.background-review h2 {
    font-family: 'Montserrat', sans-serif;
    color: black;
    letter-spacing: 2px;
    text-align: center;
    font-size: 2rem !important;
}

.woocommerce-reviews-preview {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.review-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.review-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    min-height: 120px;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    flex-shrink: 0;
}

.review-author img {
    border-radius: 50%;
    width: 96px;
    height: 96px;
    object-fit: cover;
    margin-bottom: 5px;
}

.review-item strong {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.review-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    flex: 1;
    text-align: justify;
    margin: 0;
}

.review-buttons {
    margin-top: 15px;
    text-align: center;
}

.review-buttons a {
    display: inline-block;
    margin: 5px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.review-buttons .btn-view {
    background: #0073aa;
    color: #fff;
}

.review-buttons .btn-view:hover {
    background: #005177;
}

.review-buttons .btn-add {
    background: #28a745;
    color: #fff;
}

.review-buttons .btn-add:hover {
    background: #1e7e34;
}

/* Для карусели Slick */
.review-list.slider .review-item {
    margin: 0 10px;
}

.review-list.slider .slick-slide {
    display: flex !important;
    justify-content: center;
}

.slick-track {
	width: 90% !important;
}

.slick-slide {
	width: 100% !important;
}

/* Product page */
.woocommerce div.product div.images {
	width: 27%;
}

.woocommerce-page div.product div.summary {
	width: 70%;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	display: none;
}

article[id="post-141"] > .entry-content > .background > .container {
	display: flex;
}
input.input-text.qty.text {
	height: 40px;
    width: 80px;
    border-radius: 8px;
}

button.single_add_to_cart_button.button.alt {
	margin-left: 30px;
}

.woocommerce-notices-wrapper .woocommerce-message:first-child {
    display: none !important;
}