.container p {
	font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 1em;
}

.container h3 {
	font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #222222;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
	text-align: center;
}

.detail {
	width: 100%;

}
.detail .content {
	padding: 0px 30px 20px 30px;
}

.detail .gallery {
	/*display: flex;
	justify-content: center;
	align-items: center;*/
	width: 100%;
	margin: 0 auto;
}

.detail img {
	border-radius: 0px;
}

.detail .close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 18px;
	background: #ddd;
	color: #333;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
	z-index: 1000;
}

.detail .price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin: 10px 0 10px 0;
}

.detail .new-price {
	font-size: 24px;
	font-weight: 600;
	color: #009900;
}

.detail .old-price {
	position: relative;
	font-size: 18px;
	font-weight: 400;
	color: #FF0033;
}

.detail .old-price::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 60%; /* Сдвигает линию ниже центра */
	height: 0.5px; /* Толщина линии */
	background-color: #FF0033; /* Цвет линии */
}

.detail .product-name {
	margin: 30px 0 10px;
	font-size: 26px;
	font-weight: 600;
	text-align: center;
}

.detail .specs {
	width: 100%;
	margin: 20px;
	border-collapse: collapse;
	font-size: 14px;
	font-weight: 400;
}

.detail .specs-title {
	font-size: 24px;
	font-weight: 600;
	padding-top: 20px;
}

.detail .specs th, .detail .specs td {
	padding: 8px 12px;
	border-bottom: 1px dotted #ddd;
	text-align: left;
}

.detail .specs th {
	background-color: #f8f8f8;
	font-weight: bold;
}


.detail .add-to-basket-btn {
    position: fixed; /* Закрепить кнопку */
    bottom: 0; /* Расположить внизу */
    left: 0; /* Прижать к левому краю */
    width: 100%; /* Сделать ширину кнопки на всю ширину экрана */
    padding: 15px; /* Внутренние отступы */
    background-color: #007bff; /* Цвет фона */
    color: #fff; /* Цвет текста */
    font-size: 18px; /* Размер шрифта */
    text-align: center; /* Текст по центру */
    border: none; /* Убрать рамку */
    z-index: 1000; /* Позиционирование поверх остальных элементов */
    cursor: pointer; /* Указатель при наведении */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Легкая тень */
}








.reviews-container {
	max-width: 1000px;
	margin: 40px auto;
}

.reviews-title {
	font-size: 14px;
	font-weight: 300;
	color: #2b588f;
	margin-bottom: 20px;
}

.reviews-title span {
	display: inline-block;
	transform: rotate(90deg);
	font-size: 8px;
	font-weight: 400;
	vertical-align: middle;
	color: #666;
}

/* Список отзывов */
.reviews-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* Одиночный отзыв */
.review {
	display: flex;               /* Горизонтальное расположение */
	align-items: flex-start;
	gap: 10px;
	background-color: #fff;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Аватар */
.review-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	flex-shrink: 0;
	overflow: hidden;
}
.review-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Контент отзыва: имя, текст, «Нравится / Ответить» и т.п. */
.review-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* Верхняя часть: имя и «иконка» (???15) справа */
.review-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Имя + время */
.review-author {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}
.review-time {
	font-size: 13px;
	font-weight: 300;
	color: #999;
	margin-left: 8px;
}

/* Справа может быть счётчик лайков, иконка и т.д. */
.review-extra {
	color: #999;
	font-size: 0.9rem;
	flex-shrink: 0;
}

/* Текст отзыва */
.review-text {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #000;
}

/* Нижняя строка: Нравится · Ответить · Сообщение · 1 дн. */
.review-footer {
	font-size: 13px;
	color: #2b588f;
	list-style: none;
	margin: 0;
	padding: 0;
}
.review-footer span {
	cursor: pointer;
	margin-right: 10px;
}
.review-footer span:hover {
	text-decoration: underline;
}

/* Адаптив: при ширине <= 600px отзывы идут «в столбик» */
@media (max-width: 600px) {
	.review {
		flex-direction: column;
		align-items: flex-start;
	}

	.review-header {
		width: 100%;
	}

	.review-extra {
		margin-top: 5px;
	}
}

.review-text img,
.review-text video {
	display: inline-block;
	max-height: 150px;
	width: 113px;
	border-radius: 4px;
	margin: 15px 10px 15px 0;
	vertical-align: middle;
	max-width: 100%;
	object-fit: cover;
}
