/*
 * Floritual — страница товара по макету (2026-06-11).
 * Хлебные крошки со стрелками навигации, бейдж, цена «от», таблица
 * характеристик с золотыми иконками, кнопки корзины/«Купить сейчас».
 * Подключается из functions.php.
 */

/* ---------- Крошки + стрелки соседних товаров ---------- */

.single-breadcrumbs-wrapper .container {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.single-breadcrumbs-wrapper .woocommerce-breadcrumb,
.single-breadcrumbs-wrapper .woocommerce-breadcrumb a {
	color: #9a9a9a;
	font-size: 13px;
	margin: 0;
}

.single-breadcrumbs-wrapper .woocommerce-breadcrumb a:hover {
	color: #fbbc34;
}

.single-breadcrumbs-wrapper .woocommerce-breadcrumb .breadcrumb-last {
	color: #c49a4d;
}

.single-breadcrumbs-wrapper .woocommerce-breadcrumb a:first-child:before {
	content: '';
	display: inline-block;
	vertical-align: -2px;
	width: 14px;
	height: 14px;
	margin-right: 7px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Кнопка «назад» дублирует браузер, в макете её нет */
.single-breadcrumbs-wrapper .basel-back-btn {
	display: none;
}

.single-breadcrumbs-wrapper .basel-products-nav {
	margin-left: auto;
	display: flex;
	gap: 10px;
	float: none;
}

.basel-products-nav .product-btn > a {
	display: flex !important; /* перебивает inline-block темы — иначе стрелка выпадает под кнопку */
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	font-size: 0;
	color: #fff;
	transition: border-color 0.25s ease;
}

/* Своя стрелка темы (линия + наконечник из икон-шрифта) — прячем, рисуем одну свою */
.basel-products-nav .product-btn > a > span {
	display: none;
}

.basel-products-nav .product-btn > a:hover {
	border-color: #fbbc34;
}

.basel-products-nav .product-btn > a:after {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	background-color: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.basel-products-nav .product-prev > a:after {
	transform: scaleX(-1);
}

/* Всплывающая мини-карточка соседнего товара — в тёмном стиле сайта */
.basel-products-nav .product-short {
	background-color: #0c0b09;
	border: 1px solid rgba(196, 154, 77, 0.45);
	border-radius: 10px;
}

.basel-products-nav .product-short .product-title {
	color: #fff;
}

.basel-products-nav .product-short .price {
	color: #fbbc34;
}

/* ---------- Галерея ---------- */

.single-product-page .woocommerce-product-gallery__image,
.single-product-page .woocommerce-product-gallery__image img {
	border-radius: 12px;
	overflow: hidden;
}

.single-product-page .basel-show-product-gallery {
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background-color: rgba(12, 11, 9, 0.55);
}

/* Вертикальные миниатюры слева */
.single-product-page .thumbs-position-left .basel-product-thumbnails img,
.single-product-page .woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: 8px;
	border: 1px solid transparent;
	transition: border-color 0.25s ease;
}

.single-product-page .thumbs-position-left .basel-product-thumbnails .active-thumb img,
.single-product-page .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: rgba(196, 154, 77, 0.7);
}

/* ---------- Сводка: бейдж, заголовок, цена ---------- */

.floritual-product-badge {
	display: inline-block;
	margin-bottom: 18px;
	padding: 8px 16px;
	border: 1px solid rgba(196, 154, 77, 0.6);
	border-radius: 8px;
	color: #dcb56a;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.2;
}

.single-product-page h1.product_title {
	font-family: 'Lora', Georgia, serif;
	font-size: 34px;
	line-height: 1.25;
	color: #fff;
	margin-bottom: 16px;
}

.single-product-page .summary > .summary-inner .price,
.single-product-page .basel-scroll-content > .price {
	color: #fbbc34;
	font-family: 'Lora', Georgia, serif;
	font-size: 27px;
	margin-bottom: 20px;
}

.single-product-page .basel-scroll-content > .price .amount {
	color: #fbbc34;
}

.single-product-page .price .floritual-price-from {
	font-size: 18px;
	color: #c49a4d;
}

/* Краткое описание (есть не у всех товаров) */
.single-product-page .woocommerce-product-details__short-description {
	color: #b9b9b9;
	font-size: 14px;
	line-height: 1.8;
	margin-bottom: 24px;
}

/* ---------- Характеристики с иконками ---------- */

.single-product-page table.woocommerce-product-attributes {
	width: 100%;
	margin: 0 0 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.single-product-page .woocommerce-product-attributes-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.single-product-page .woocommerce-product-attributes-item__label,
.single-product-page .woocommerce-product-attributes-item__value {
	background: none;
	border: none;
	padding: 15px 0;
	font-style: normal;
}

.single-product-page .woocommerce-product-attributes-item__label {
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 400;
	width: 42%;
	white-space: nowrap;
}

.single-product-page .woocommerce-product-attributes-item__value {
	text-align: right;
	color: #b9b9b9;
	font-size: 13.5px;
	line-height: 1.6;
}

.single-product-page .woocommerce-product-attributes-item__value p {
	margin: 0;
}

.single-product-page .woocommerce-product-attributes-item__value a {
	color: #b9b9b9;
}

.single-product-page .woocommerce-product-attributes-item__value a:hover {
	color: #fbbc34;
}

/* Золотые иконки строк характеристик */
.single-product-page .woocommerce-product-attributes-item__label:before {
	content: '';
	display: inline-block;
	vertical-align: -4px;
	width: 18px;
	height: 18px;
	margin-right: 12px;
	background-color: #c49a4d;
	-webkit-mask: var(--flo-attr-icon) center / contain no-repeat;
	mask: var(--flo-attr-icon) center / contain no-repeat;
}

.single-product-page .woocommerce-product-attributes-item--attribute_pa_razmery .woocommerce-product-attributes-item__label {
	--flo-attr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 8.7l-6-6L2.7 15.3l6 6z'/%3E%3Cpath d='M7.5 10.5l2 2'/%3E%3Cpath d='M10.5 7.5l2 2'/%3E%3Cpath d='M13.5 4.5l2 2'/%3E%3C/svg%3E");
}

.single-product-page .woocommerce-product-attributes-item--attribute_pa_sostav-czvetov .woocommerce-product-attributes-item__label {
	--flo-attr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Ccircle cx='8' cy='12' r='3'/%3E%3Ccircle cx='16' cy='12' r='3'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3Cpath d='M12 15v6'/%3E%3C/svg%3E");
}

.single-product-page .woocommerce-product-attributes-item--attribute_pa_color .woocommerce-product-attributes-item__label {
	--flo-attr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a10 10 0 1 1 10-10c0 2.2-1.8 3-3 3h-2.5a2.5 2.5 0 0 0-1.7 4.3c.6.6.2 2.7-2.8 2.7z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='12' cy='7.5' r='1'/%3E%3Ccircle cx='16.5' cy='10.5' r='1'/%3E%3C/svg%3E");
}

.single-product-page .woocommerce-product-attributes-item--attribute_pa_sostoyanie-czvetov .woocommerce-product-attributes-item__label {
	--flo-attr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 19 2c1 2 2 4.2 2 8 0 5.5-4.8 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.9-5.4 5.1-6'/%3E%3C/svg%3E");
}

/* ---------- Выбор размера ---------- */

.single-product-page table.variations td.label label {
	color: #e7e7e7;
	font-size: 14px;
}

.single-product-page table.variations select {
	height: 48px;
	padding: 0 38px 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background-color: transparent;
	color: #fff;
	font-size: 14px;
}

.single-product-page table.variations select option {
	background-color: #0c0b09;
	color: #fff;
}

.single-product-page .reset_variations {
	color: #9a9a9a;
	font-size: 12px;
}

/* ---------- Количество и кнопки ---------- */

.single-product-page .quantity {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	overflow: hidden;
}

.single-product-page .quantity input[type='number'],
.single-product-page .quantity input[type='text'] {
	background-color: transparent;
	border: none;
	color: #fff;
}

.single-product-page .quantity .minus,
.single-product-page .quantity .plus {
	background-color: transparent;
	border: none;
	color: #9a9a9a;
}

.single-product-page .quantity .minus:hover,
.single-product-page .quantity .plus:hover {
	color: #fbbc34;
}

/* «В корзину» — аутлайн с иконкой корзины.
   !important на цветах — перебивает заливку кнопок из динамического CSS темы. */
.single-product-page .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border: 1px solid rgba(196, 154, 77, 0.6) !important;
	border-radius: 8px;
	background-color: transparent !important;
	color: #dcb56a !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.single-product-page .single_add_to_cart_button:hover {
	border-color: #fbbc34 !important;
	color: #fbbc34 !important;
	background-color: rgba(196, 154, 77, 0.08) !important;
}

.single-product-page .single_add_to_cart_button:before {
	content: '';
	display: inline-block;
	width: 17px;
	height: 17px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* «Купить сейчас» — золотая заливка */
.single-product-page .basel-buy-now-btn {
	padding: 15px 30px;
	border: 1px solid #c79a3b !important;
	border-radius: 8px;
	background-color: #c79a3b !important;
	color: #15110a !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

.single-product-page .basel-buy-now-btn:hover {
	background-color: #fbbc34 !important;
	border-color: #fbbc34 !important;
	color: #15110a !important;
}

/* «Добавить в избранное» — ссылка с сердечком */
.single-product-page .wishlist-btn-wrapper {
	margin-top: 20px;
}

.single-product-page .wishlist-btn-wrapper .basel-wishlist-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0;
	border: none;
	background: none;
	color: #9a9a9a;
	font-size: 13.5px;
	text-transform: none;
	letter-spacing: 0;
}

.single-product-page .wishlist-btn-wrapper .basel-wishlist-btn:hover {
	color: #fbbc34;
}

.single-product-page .wishlist-btn-wrapper .basel-wishlist-btn:before {
	content: '';
	display: inline-block;
	width: 17px;
	height: 17px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.single-product-page .wishlist-btn-wrapper .basel-wishlist-btn.added:before {
	background-color: #fbbc34;
}

/* ---------- Адаптив ---------- */

@media (max-width: 767px) {
	.single-breadcrumbs-wrapper .container {
		flex-wrap: wrap;
		gap: 10px;
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.basel-products-nav .product-btn > a {
		width: 38px;
		height: 38px;
	}

	.single-product-page h1.product_title {
		font-size: 25px;
	}

	.single-product-page .basel-scroll-content > .price {
		font-size: 22px;
	}

	.single-product-page .woocommerce-product-attributes-item__label {
		width: 50%;
	}

	.single-product-page .basel-buy-now-btn,
	.single-product-page .single_add_to_cart_button {
		padding: 13px 18px;
		font-size: 12px;
	}
}
