/* ==========================================================================
   Акордеон «Склад / Алергени / Харчова цінність / Умови зберігання»
   [product_info] (inc/woocommerce/product-info.php) — <details>/<summary>, без JS.
   Дизайн 12.11.2026: рядок 60, заголовок 20/600, текст 16/22; лінії між пунктами однакові.
   Відкритий — один; розгортання з анімацією — assets/js/product-info.js (без JS працює як звичайний <details>).
   Кольори — лише токени; іконки +/− — SVG маскою (RULES §3в).
   ========================================================================== */

.product-info{
	--pi-icon:20px;
	--pi-line:color-mix(in srgb, var(--theme-text) 20%, transparent);
}
.product-info__item{
	border-top:1px solid var(--pi-line); /* усі лінії однакові */
}

.product-info__title{
	position:relative;
	display:block;
	padding:16.5px calc(var(--pi-icon) + 12px) 14.5px 0;
	font:600 20px/28px var(--theme-font), sans-serif;letter-spacing:-.03em;
	color:var(--theme-text-strong);
	cursor:pointer;
	list-style:none;
	-webkit-user-select:none;user-select:none;
}
.product-info__title::-webkit-details-marker{display:none}
.product-info__title::marker{content:''}
.product-info__title:focus{outline:none}
.product-info__title:focus-visible{outline:2px solid var(--theme-accent);outline-offset:-2px;border-radius:var(--theme-radius)}

.product-info__icon{
	position:absolute;right:0;top:0;bottom:0;margin:auto 0;
	width:var(--pi-icon);height:var(--pi-icon);
	background:var(--theme-text);
	-webkit-mask:url(../icons/plus.svg) center / contain no-repeat;
	        mask:url(../icons/plus.svg) center / contain no-repeat;
}
.product-info__item[open] > .product-info__title .product-info__icon{
	-webkit-mask-image:url(../icons/minus.svg);
	        mask-image:url(../icons/minus.svg);
}

.product-info__icon{transition:transform .25s ease}
.product-info__body{
	margin-top:-5px;padding:0 0 17px;
	font:400 16px/22px var(--theme-font), sans-serif;letter-spacing:-.03em;
	color:var(--theme-text);
}
.product-info__body > :first-child{margin-top:0}
.product-info__body > :last-child{margin-bottom:0}
.product-info__body p{margin:0 0 .6em}

@media (max-width:767px){
	.product-info__title{padding:15.5px calc(var(--pi-icon) + 12px) 16.5px 0;font-size:18px;line-height:25px}
	.product-info__body{margin-top:-6.5px;padding-bottom:18.5px}
}
@media (prefers-reduced-motion:reduce){
	.product-info__icon{transition:none}
}
