/**

 * KOSTUM.BY Product Info — frontend styles.

 * Border matches OceanWP cart separator: .woocommerce div.product form.cart

 */



.kostum-product-info {

	box-sizing: border-box;

	margin-top: 12px;

	padding: 12px 0;

	border-top: 1px solid #eaeaea;

	border-bottom: 1px solid #eaeaea;

	color: #333;

	font-size: 15px;

	line-height: 1.7;

}



.kostum-product-info p {

	margin: 0 0 0.75em;

}



.kostum-product-info p:last-child {

	margin-bottom: 0;

}



.kostum-product-info ul,

.kostum-product-info ol {

	margin: 0 0 0.75em 1.25em;

	padding: 0;

}



.kostum-product-info li {

	margin-bottom: 0.35em;

}



.kostum-product-info h2,

.kostum-product-info h3,

.kostum-product-info h4 {

	margin: 0 0 0.5em;

	font-size: inherit;

	font-weight: 600;

	line-height: 1.4;

}



.kostum-product-info strong {

	font-weight: 600;

}



.kostum-product-info a {

	color: #818a91;

	text-decoration: underline;

}



.kostum-product-info a:hover,

.kostum-product-info a:focus {

	color: #232323;

}



/* Text-only block when call button is split out */

.kostum-product-info--has-call {

	border-bottom: none;

	padding-bottom: 0;

	margin-bottom: 0;

}



.kostum-product-info__text > :last-child {

	margin-bottom: 0;

}



/* Call-button block (tel: PNG) — sibling outside bordered info text */

.kostum-call-btn,

.kostum-product-info .kostum-call-btn {

	margin: 12px 0;

	padding: 0;

	line-height: 0;

	text-align: center;

}



.kostum-product-info__text p:last-child,

.kostum-product-info p:has(+ .kostum-call-btn) {

	margin-bottom: 0;

}



.kostum-call-btn a[href^="tel:"],

.kostum-product-info .kostum-call-btn a[href^="tel:"] {

	display: block;

	margin: 0 auto;

	padding: 0;

	line-height: 0;

	text-decoration: none;

	max-width: 450px !important;

	width: 75% !important;

}



.kostum-call-btn a[href^="tel:"] br,

.kostum-product-info .kostum-call-btn a[href^="tel:"] br {

	display: none;

}



/* Crop wrapper — PNG already trimmed to 1438×424; displayed at 75% (max 450px) */

.kostum-call-btn__crop {

	display: block;

	width: 75% !important;

	max-width: 450px !important;

	margin: 0 auto;

	line-height: 0;

}



.kostum-call-btn img,
.kostum-call-btn__crop img,
.kostum-product-info .kostum-call-btn img {

	display: block;

	width: 100% !important;

	height: auto;

	max-width: 100% !important;

	margin: 0 auto;

	padding: 0;

	border: 0;

}



.kostum-product-info p:has(.kostum-call-btn) {

	margin: 0;

	padding: 0;

	line-height: 0;

}



.kostum-product-info:has(.kostum-call-btn) {

	padding-bottom: 0;

	border-bottom: none;

}



.woocommerce div.product .kostum-product-info + p.price,

.woocommerce div.product .kostum-product-info--has-call + .kostum-call-btn + p.price,

.woocommerce div.product .kostum-call-btn + p.price {

	margin-top: 12px;

}



@media (max-width: 767px) {

	.kostum-product-info {

		margin-top: 12px;

		padding: 12px 0;

		font-size: 14px;

		line-height: 1.65;

	}



	.kostum-call-btn,

	.kostum-product-info .kostum-call-btn {

		margin: 12px 0;

	}



	.kostum-call-btn a[href^="tel:"],

	.kostum-product-info .kostum-call-btn a[href^="tel:"],

	.kostum-call-btn__crop {

		width: 80% !important;

		max-width: 480px !important;

	}

}


