/**
 * ProWPSite frontend styles.
 *
 * @package ProWPSite
 */

.prowpsite-ob-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1rem auto;
	padding-inline: 0.75rem;
}

.prowpsite-ob-link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.65rem 1.25rem;
	width: 100%;
	max-width: min(100%, 22rem);
	font-size: clamp(0.9375rem, 2.8vw, 1rem);
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
	color: #fff !important;
	border: none;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
	word-break: break-word;
	hyphens: auto;
}

.prowpsite-ob-link:hover,
.prowpsite-ob-link:focus-visible {
	color: #fff !important;
	filter: brightness(1.05);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16), 0 2px 4px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
	outline: none;
}

.prowpsite-ob-link:focus-visible {
	outline: 2px solid #25d366;
	outline-offset: 3px;
}

.prowpsite-ob-link:active {
	transform: translateY(0);
	filter: brightness(0.97);
}

.prowpsite-ob-link--whatsapp {
	background: linear-gradient(180deg, #2fe06d 0%, #25d366 45%, #1da851 100%);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.prowpsite-ob-link--whatsapp:hover,
.prowpsite-ob-link--whatsapp:focus-visible {
	filter: brightness(1.06);
}

.prowpsite-ob-link--cta {
	background: linear-gradient(180deg, #6b1b58 0%, #cf3ca4 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.prowpsite-ob-link--cta:hover,
.prowpsite-ob-link--cta:focus-visible {
	filter: brightness(1.06);
}

.prowpsite-ob-link--cta:focus-visible {
	outline: 2px solid #cf3ca4;
	outline-offset: 3px;
}

.prowpsite-ob-link--cta:active {
	transform: translateY(0);
	filter: brightness(0.97);
}

.prowpsite-ob-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-align: inherit;
}

.prowpsite-ob-icon {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	display: block;
	transform: scale(-1, 1.1);
}

@media (min-width: 480px) {
	.prowpsite-ob-link {
		max-width: min(100%, 26rem);
		padding-inline: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.prowpsite-ob-link {
		transition: none;
	}

	.prowpsite-ob-link:hover,
	.prowpsite-ob-link:focus-visible,
	.prowpsite-ob-link:active {
		transform: none;
	}
}

body.woocommerce-checkout #customer_details {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	align-items: flex-start;
}

body.woocommerce-checkout #customer_details > .col-lg-7,
body.woocommerce-checkout #customer_details > .col-lg-5 {
	float: none;
}

body.woocommerce-checkout #customer_details > .col-lg-7 {
	flex: 1 1 60%;
	min-width: 20rem;
}

body.woocommerce-checkout #customer_details > .col-lg-5 {
	flex: 1 1 34%;
	min-width: 18rem;
}

body.woocommerce-checkout .checkout-order-review .box-content,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .woocommerce-cart-form {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0.75rem;
}

body.woocommerce-checkout .checkout-order-review .box-content {
	padding: 0.85rem;
}

body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .woocommerce-cart-form {
	padding: 0.75rem;
}

body.woocommerce-checkout .checkout-order-review section.upsells.products,
body.woocommerce-checkout .checkout-order-review section.related.products,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products,
body.woocommerce-cart section.upsells.products,
body.woocommerce-cart section.related.products,
body.woocommerce-cart section.cross-sells.products {
	margin: 0 0 1rem;
	padding: 0.75rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0.75rem;
}

body.woocommerce-checkout .checkout-order-review section.upsells.products h2,
body.woocommerce-checkout .checkout-order-review section.related.products h2,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products h2,
body.woocommerce-cart section.upsells.products h2,
body.woocommerce-cart section.related.products h2,
body.woocommerce-cart section.cross-sells.products h2 {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	line-height: 1.35;
}

body.woocommerce-checkout .checkout-order-review section.upsells.products ul.products,
body.woocommerce-checkout .checkout-order-review section.related.products ul.products,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products ul.products,
body.woocommerce-cart section.upsells.products ul.products,
body.woocommerce-cart section.related.products ul.products,
body.woocommerce-cart section.cross-sells.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

body.woocommerce-checkout .checkout-order-review section.upsells.products ul.products li.product,
body.woocommerce-checkout .checkout-order-review section.related.products ul.products li.product,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products ul.products li.product,
body.woocommerce-cart section.upsells.products ul.products li.product,
body.woocommerce-cart section.related.products ul.products li.product,
body.woocommerce-cart section.cross-sells.products ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	min-width: min-content !important;
}

body.woocommerce-checkout .checkout-order-review section.upsells.products .woocommerce-loop-product__title,
body.woocommerce-checkout .checkout-order-review section.related.products .woocommerce-loop-product__title,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products .woocommerce-loop-product__title,
body.woocommerce-cart section.upsells.products .woocommerce-loop-product__title,
body.woocommerce-cart section.related.products .woocommerce-loop-product__title,
body.woocommerce-cart section.cross-sells.products .woocommerce-loop-product__title {
	font-size: 0.82rem;
	line-height: 1.3;
	min-height: 2.6em;
	max-height: 2.6em;
	overflow: hidden;
}

body.woocommerce-checkout .checkout-order-review section.upsells.products .price,
body.woocommerce-checkout .checkout-order-review section.related.products .price,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products .price,
body.woocommerce-cart section.upsells.products .price,
body.woocommerce-cart section.related.products .price,
body.woocommerce-cart section.cross-sells.products .price {
	font-size: 0.88rem;
}

body.woocommerce-checkout .checkout-order-review section.upsells.products .button,
body.woocommerce-checkout .checkout-order-review section.upsells.products .add_to_cart_button,
body.woocommerce-checkout .checkout-order-review section.related.products .button,
body.woocommerce-checkout .checkout-order-review section.related.products .add_to_cart_button,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products .button,
body.woocommerce-checkout .checkout-order-review section.cross-sells.products .add_to_cart_button,
body.woocommerce-cart section.upsells.products .button,
body.woocommerce-cart section.upsells.products .add_to_cart_button,
body.woocommerce-cart section.related.products .button,
body.woocommerce-cart section.related.products .add_to_cart_button,
body.woocommerce-cart section.cross-sells.products .button,
body.woocommerce-cart section.cross-sells.products .add_to_cart_button {
	width: 100%;
	min-height: 2.2rem;
	font-size: 0.84rem;
	padding: 0.5rem 0.55rem !important;
}

@media (min-width: 1100px) {
	body.woocommerce-checkout .checkout-order-review section.upsells.products ul.products,
	body.woocommerce-checkout .checkout-order-review section.related.products ul.products,
	body.woocommerce-checkout .checkout-order-review section.cross-sells.products ul.products,
	body.woocommerce-cart section.upsells.products ul.products,
	body.woocommerce-cart section.related.products ul.products,
	body.woocommerce-cart section.cross-sells.products ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	body.woocommerce-checkout #customer_details > .col-lg-7,
	body.woocommerce-checkout #customer_details > .col-lg-5 {
		flex: 1 1 100%;
		min-width: 0;
	}
}
