/*
 * Redesign styles.
 *  1. .cc-themes: product card grid used by the Elementor pages and the related products.
 *  2. body.cc-pv2: redesigned single product page (only active when enabled, see include/product-v2.php).
 */

/* ---------- 1. Theme card grid ---------- */
.cc-themes ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cc-themes ul.products::before,
.cc-themes ul.products::after {
	display: none;
}
.cc-themes ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none;
}
.cc-themes .box_grid_box {
	background: #fff;
	border: 1px solid #D1D5DB;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: none;
	height: 100%;
}
.cc-themes .box_inner {
	height: 100%;
}
.cc-themes .product_thumbnail img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.cc-themes .product_cont_box {
	flex: 1;
	align-items: stretch;
	text-align: left;
	padding: 16px 16px 20px;
	gap: 12px;
}
.cc-themes .product_title,
.cc-themes .product_title a,
.cc-themes .product_title .woocommerce-loop-product__title {
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #1A1A1A;
	margin: 0;
	padding: 0;
}
.cc-themes .product_price .price {
	display: block;
	text-align: left;
}
.cc-themes .product_price .price,
.cc-themes .product_price .price * {
	font-size: 28px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	color: var(--e-global-color-0624ab2, #00769D) !important;
}
.cc-themes .product_rating {
	display: none;
}
.cc-themes .product_cart {
	margin-top: auto;
}
.cc-themes .product_cart a.button {
	display: block;
	width: 100%;
	text-align: center;
	padding: 12px 20px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 500;
	background: var(--e-global-color-0624ab2, #00769D);
	color: #fff;
}
@media (max-width: 1024px) {
	.cc-themes ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.cc-themes ul.products { grid-template-columns: 1fr; }
}

/* ---------- 2. Single product page (Figma Frame 37) ---------- */
body.cc-pv2 {
	background: #F3FAFC;
}
body.cc-pv2 .container {
	max-width: 1240px;
}

/* Breadcrumb */
.cc-pv2 .cc-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 32px;
	color: #414042;
}
.cc-pv2 .cc-crumb a {
	color: #9CA3AF;
}
.cc-pv2 .cc-crumb-sep {
	color: #9CA3AF;
}

/* Top row: gallery + summary */
.cc-pv2 div.product {
	display: grid;
	grid-template-columns: minmax(0, 643px) minmax(0, 1fr);
	column-gap: 56px;
	align-items: start;
}
.cc-pv2 div.product > * {
	grid-column: 1 / -1;
}
.cc-pv2 div.product > .woocommerce-product-gallery {
	grid-column: 1;
	grid-row: 1;
	float: none;
	width: 100% !important;
	margin: 0;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.cc-pv2 div.product > .summary {
	grid-column: 2;
	grid-row: 1;
	float: none;
	width: 100% !important;
	margin: 0;
	padding: 0;
}
.cc-pv2 .summary .product_title {
	margin: 0 0 16px;
	font-size: 35px;
	font-weight: 500;
	line-height: 44px;
	letter-spacing: -0.4px;
	color: var(--e-global-color-0624ab2, #007690);
}
.cc-pv2 .summary .woocommerce-product-details__short-description {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 26px;
	color: #1C2225;
}
.cc-pv2 .summary .woocommerce-product-details__short-description p {
	margin: 0 0 10px;
}
.cc-pv2 .summary .woocommerce-product-details__short-description ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cc-pv2 .summary .woocommerce-product-details__short-description li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 6px;
}
.cc-pv2 .summary .woocommerce-product-details__short-description li::before {
	content: "\f00c";
	position: absolute;
	left: 0;
	top: 0;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 15px;
	color: var(--e-global-color-0624ab2, #007690);
}

/* Price */
.cc-pv2 .summary p.price,
.cc-pv2 .summary span.price {
	display: block;
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 600;
	line-height: 34px;
	color: #FF2715;
}
.cc-pv2 .summary .price ins {
	background: none;
	text-decoration: none;
	color: #FF2715;
}
.cc-pv2 .summary .price del {
	margin-left: 8px;
	font-size: 18px;
	font-weight: 400;
	color: #9CA3AF;
}

/* Offer timer */
.cc-pv2-timer {
	margin: 0 0 20px;
}
.cc-pv2-timer__label {
	margin: 0 0 8px;
	font-size: 18px;
	color: #414042;
}
.cc-pv2-timer__boxes {
	display: flex;
	gap: 12px;
}
.cc-pv2-timer__box {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cc-pv2-timer__num {
	display: block;
	min-width: 48px;
	padding: 6px 8px;
	border-radius: 5px;
	background: #E5E7EB;
	text-align: center;
	font-size: 30px;
	font-weight: 500;
	line-height: 38px;
	color: var(--e-global-color-0624ab2, #007690);
}
.cc-pv2-timer__unit {
	margin-top: 4px;
	font-size: 13px;
	color: #6B7280;
}

/* Buttons */
.cc-pv2-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid #E5E7EB;
}
body.cc-pv2 .cc-pv2-buy form.cart {
	margin: 0;
	display: flex;
}
.cc-pv2-buy form.cart .quantity {
	display: none;
}
body.cc-pv2 .cc-pv2-buy form.cart .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 5px;
	background: #DCECF1;
	color: var(--e-global-color-0624ab2, #007690);
	font-size: 0;
	line-height: 1;
}
body.cc-pv2 .cc-pv2-buy form.cart .single_add_to_cart_button::before {
	content: "\f07a";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 18px;
}
body.cc-pv2 .cc-pv2-buy form.cart .single_add_to_cart_button:hover {
	background: #C6E0E8;
}
.cc-pv2-buynow,
.cc-pv2-demo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 40px;
	border-radius: 5px;
	background: var(--e-global-color-0624ab2, #00769D);
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.4px;
}
.cc-pv2-buynow:hover,
.cc-pv2-demo:hover {
	background: #00607F;
	color: #fff;
}
.cc-pv2-demo {
	background: #fff;
	border: 1px solid var(--e-global-color-0624ab2, #00769D);
	color: var(--e-global-color-0624ab2, #00769D);
}
.cc-pv2-demo:hover {
	background: #DCECF1;
	color: var(--e-global-color-0624ab2, #00769D);
}
.cc-pv2 .summary .added_to_cart {
	margin-left: 4px;
	font-size: 14px;
}

/* Second row: tabs + product details */
.cc-pv2-row {
	display: grid;
	grid-template-columns: minmax(0, 643px) minmax(0, 1fr);
	column-gap: 56px;
	align-items: start;
	margin-top: 48px;
}
.cc-pv2 .woocommerce-tabs {
	margin: 0;
}
body.cc-pv2 div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 40px;
	margin: 0 0 32px;
	padding: 0;
	border-bottom: 1px solid #E5E7EB;
	overflow: visible;
}
body.cc-pv2 div.product .woocommerce-tabs ul.tabs::before,
body.cc-pv2 div.product .woocommerce-tabs ul.tabs::after {
	display: none;
}
body.cc-pv2 div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
}
body.cc-pv2 div.product .woocommerce-tabs ul.tabs li.active {
	background: none;
	border: 0;
}
body.cc-pv2 div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0 0 12px;
	font-size: 20px;
	font-weight: 400;
	color: #6B7280;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
body.cc-pv2 div.product .woocommerce-tabs ul.tabs li.active a {
	color: #1F3C5E;
	border-bottom-color: #1F3C5E;
}
.cc-pv2 .woocommerce-Tabs-panel {
	font-size: 16px;
	line-height: 26px;
	color: #374151;
}
.cc-pv2 .woocommerce-Tabs-panel > h2,
.cc-pv2 #reviews #comments > h2 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 500;
	color: #1F3C5E;
}

/* Reviews */
.cc-pv2 #reviews ol.commentlist {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cc-pv2 #reviews ol.commentlist li {
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid #E5E7EB;
}
.cc-pv2 #reviews ol.commentlist li .comment_container {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}
.cc-pv2 #reviews ol.commentlist li img.avatar {
	position: static;
	flex: none;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	object-fit: cover;
}
.cc-pv2 #reviews ol.commentlist li .comment-text {
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
}
.cc-pv2 #reviews .woocommerce-review__author {
	font-size: 18px;
	font-weight: 600;
	color: #1F3C5E;
}
.cc-pv2 #reviews .star-rating {
	color: #F5A623;
}
.cc-pv2 #review_form_wrapper input[type=submit] {
	padding: 10px 28px;
	border: 1px solid var(--e-global-color-0624ab2, #00769D);
	border-radius: 5px;
	background: #fff;
	color: var(--e-global-color-0624ab2, #00769D);
	font-size: 18px;
}

/* Product details box */
.cc-pv2-details {
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}
.cc-pv2-details__head {
	margin: 0;
	padding: 18px 24px;
	background: #414042;
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	color: #fff;
}
.cc-pv2-details__list {
	margin: 0;
	padding: 8px 24px 0;
	list-style: none;
}
.cc-pv2-details__list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px dashed #D1D5DB;
	font-size: 16px;
}
.cc-pv2-details__label {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #414042;
}
.cc-pv2-details__label i {
	width: 24px;
	text-align: center;
	font-size: 20px;
	color: #414042;
}
.cc-pv2-details__value {
	text-align: right;
	color: #6B7280;
}
.cc-pv2-details__value a {
	color: inherit;
}
.cc-pv2-details__tags-title {
	margin: 24px 24px 12px;
	font-size: 28px;
	font-weight: 600;
	color: var(--e-global-color-0624ab2, #007690);
}
.cc-pv2-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0 24px 28px;
}
.cc-pv2-tags a {
	padding: 7px 14px;
	border: 1px solid #A9CFDB;
	border-radius: 5px;
	background: #fff;
	font-size: 14px;
	color: #414042;
}
.cc-pv2-tags a:hover {
	border-color: var(--e-global-color-0624ab2, #00769D);
	color: var(--e-global-color-0624ab2, #00769D);
}

/* Related products */
.cc-pv2-related {
	margin-top: 70px;
}
.cc-pv2-related > .related > h2 {
	margin: 0 0 40px;
	text-align: center;
	font-size: 38px;
	font-weight: 600;
	line-height: 48px;
	letter-spacing: -0.5px;
	color: #414042;
}
.cc-pv2-related:empty {
	display: none;
}
.cc-pv2 .upsells > h2 {
	text-align: center;
	color: #414042;
}

/* Information blocks (see include/product-v2-info.php) */
.cc-pv2-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}
.cc-pv2-facts li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	background: #fff;
}
.cc-pv2-facts__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #E6F3F7;
	font-size: 18px;
	color: var(--e-global-color-0624ab2, #00769D);
}
.cc-pv2-facts__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.cc-pv2-facts__label {
	font-size: 14px;
	line-height: 20px;
	color: #6B7280;
}
.cc-pv2-facts__value {
	font-size: 17px;
	font-weight: 600;
	line-height: 24px;
	color: #414042;
}

.cc-pv2-assure {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
.cc-pv2-assure li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	line-height: 22px;
	color: #414042;
}
.cc-pv2-assure i {
	margin-top: 4px;
	font-size: 13px;
	color: var(--e-global-color-0624ab2, #00769D);
}

.cc-pv2-block {
	margin-top: 40px;
}
.cc-pv2-block__title {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: #414042;
}
.cc-pv2-block.cc-pv2-included {
	margin: 0 0 40px;
}
.cc-pv2-included__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cc-pv2-included__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	color: #414042;
}
.cc-pv2-included__list i {
	margin-top: 4px;
	color: var(--e-global-color-0624ab2, #00769D);
}
.cc-pv2-faq__item {
	margin: 0 0 12px;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	background: #fff;
}
.cc-pv2-faq__item summary {
	position: relative;
	padding: 16px 52px 16px 20px;
	font-size: 17px;
	font-weight: 600;
	line-height: 26px;
	color: #414042;
	cursor: pointer;
	list-style: none;
}
.cc-pv2-faq__item summary::-webkit-details-marker {
	display: none;
}
.cc-pv2-faq__item summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	font-size: 24px;
	font-weight: 400;
	color: var(--e-global-color-0624ab2, #00769D);
}
.cc-pv2-faq__item[open] summary::after {
	content: "\2212";
}
.cc-pv2-faq__item p {
	margin: 0;
	padding: 0 20px 18px;
	font-size: 16px;
	line-height: 26px;
	color: #6B7280;
}
@media (max-width: 767px) {
	.cc-pv2-included__list {
		grid-template-columns: minmax(0, 1fr);
	}
	.cc-pv2-facts {
		margin-top: 32px;
	}
}

/* Tablet and mobile */
@media (max-width: 1024px) {
	.cc-pv2 div.product,
	.cc-pv2-row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}
	.cc-pv2 div.product > .woocommerce-product-gallery,
	.cc-pv2 div.product > .summary {
		grid-column: 1;
		grid-row: auto;
	}
}
@media (max-width: 767px) {
	.cc-pv2 .summary .product_title {
		font-size: 26px;
		line-height: 34px;
	}
	body.cc-pv2 div.product .woocommerce-tabs ul.tabs {
		gap: 24px;
	}
	.cc-pv2-timer__num {
		min-width: 42px;
		font-size: 24px;
	}
	.cc-pv2-related > .related > h2 {
		font-size: 28px;
		line-height: 36px;
	}
}
