/* Ecom Elements - Frontend Styles */

/* ---------- Reset helpers ---------- */
.ecom-product-grid,
.ecom-category-grid {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Product Grid ---------- */
.ecom-product-grid {
	display: grid;
	grid-template-columns: repeat(var(--ecom-columns, 4), 1fr);
	gap: 24px;
}

.ecom-product-card {
	position: relative;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecom-product-card:hover {
	transform: translateY(-4px);
}

.ecom-product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #d63447;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
}

.ecom-product-image-link {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f4f4f4;
}

.ecom-product-image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ecom-product-card:hover .ecom-product-image-link img {
	transform: scale(1.06);
}

.ecom-product-info {
	padding: 16px;
	text-align: center;
}

/* ---------- Archive Product Grid: toolbar, empty state, pagination ---------- */
.ecom-archive-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 24px;
	font-size: 14px;
}

.ecom-archive-toolbar .woocommerce-result-count {
	margin: 0;
}

.ecom-archive-toolbar select.orderby,
.ecom-archive-sorting-preview {
	padding: 8px 12px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
}

.ecom-archive-no-products {
	text-align: center;
	padding: 40px 20px;
	color: #666666;
	font-size: 15px;
}

.ecom-archive-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.ecom-archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 14px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ecom-archive-pagination .page-numbers.dots {
	border-color: transparent;
}

.ecom-archive-pagination .page-numbers.current,
.ecom-archive-pagination .page-numbers:hover {
	background-color: #1a1a1a;
	border-color: #1a1a1a;
	color: #ffffff;
}

.ecom-product-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 8px;
}

.ecom-product-title-price {
	margin-bottom: 12px;
}

.ecom-product-title-price.ecom-layout-stacked .ecom-product-title {
	margin: 0 0 8px;
}

.ecom-product-title-price.ecom-layout-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.ecom-product-title-price.ecom-layout-row .ecom-product-title {
	margin: 0;
	text-align: left;
}

.ecom-product-title-price.ecom-layout-row .ecom-product-price {
	margin-bottom: 0;
	white-space: nowrap;
}

.ecom-product-price {
	margin-bottom: 12px;
	font-size: 15px;
	font-weight: 700;
}

/* Manual mode price spans */
.ecom-product-price-old {
	text-decoration: line-through;
	color: #999;
	font-weight: 400;
	margin-right: 8px;
	font-size: 13px;
}

/* WooCommerce's own price markup (get_price_html) */
.ecom-product-price del {
	text-decoration: line-through;
	color: #999;
	font-weight: 400;
	margin-right: 8px;
	font-size: 13px;
	opacity: 1;
}

.ecom-product-price ins {
	text-decoration: none;
}

.ecom-product-price .woocommerce-Price-amount {
	font-weight: 700;
}

/* Price Style: Side by Side vs Top / Bottom (regular price vs. sale price) */
.ecom-price-layout-stacked {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.ecom-product-title-price.ecom-layout-row .ecom-product-price.ecom-price-layout-stacked {
	align-items: flex-end;
}

.ecom-product-info-minimal .ecom-product-price.ecom-price-layout-stacked,
.ecom-product-info-tag .ecom-price-layout-stacked {
	align-items: flex-end;
}

.ecom-price-layout-stacked .ecom-product-price-old,
.ecom-price-layout-stacked del {
	margin-right: 0;
}

.ecom-price-layout-inline {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: nowrap;
	gap: 6px;
	max-width: 100%;
}

.ecom-price-layout-inline .ecom-product-price-old,
.ecom-price-layout-inline del {
	display: inline;
	margin-right: 0;
}

.ecom-product-btn {
	display: inline-block;
	width: 100%;
	padding: 10px 16px;
	background: #1a1a1a;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	transition: opacity 0.2s ease;
}

.ecom-product-btn:hover {
	opacity: 0.85;
	color: #fff;
}

/* ---------- Product Category Grid ---------- */
.ecom-category-grid {
	display: grid;
	grid-template-columns: repeat(var(--ecom-columns, 3), 1fr);
	gap: 20px;
}

.ecom-category-card {
	position: relative;
	display: block;
	aspect-ratio: var(--ecom-aspect-ratio, 4 / 3);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
}

.ecom-category-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

/* Hover effects */
.ecom-hover-zoom:hover img {
	transform: scale(1.08);
}

.ecom-hover-fade img {
	opacity: 1;
}

.ecom-hover-fade:hover img {
	opacity: 0.7;
}

.ecom-hover-grayscale img {
	filter: grayscale(100%);
}

.ecom-hover-grayscale:hover img {
	filter: grayscale(0%);
}

.ecom-hover-slide-up .ecom-category-btn {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.ecom-hover-slide-up:hover .ecom-category-btn {
	opacity: 1;
	transform: translateY(0);
}

.ecom-category-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	padding: 20px;
	text-align: left;
}

.ecom-overlay-gradient .ecom-category-caption {
	background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

.ecom-overlay-solid .ecom-category-caption {
	background: rgba(0,0,0,0.55);
}

.ecom-overlay-full .ecom-category-caption {
	top: 0;
	background: rgba(0,0,0,0.45);
	justify-content: center;
	align-items: center;
	text-align: center;
}

.ecom-overlay-none {
	display: flex;
	flex-direction: column;
}

.ecom-overlay-none .ecom-category-caption {
	position: static;
	background: none;
	padding: 12px 4px 0;
}

.ecom-overlay-none .ecom-category-title,
.ecom-overlay-none .ecom-category-count {
	color: #1a1a1a;
}

.ecom-category-title {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
}

.ecom-category-count {
	font-size: 13px;
	opacity: 0.9;
}

.ecom-category-btn {
	display: inline-block;
	margin-top: 10px;
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: #ffffff;
	color: #1a1a1a;
	border-radius: 20px;
	align-self: flex-start;
}

/* Caption alignment */
.ecom-caption-align-left {
	text-align: left;
	align-items: flex-start;
}

.ecom-caption-align-center {
	text-align: center;
	align-items: center;
}

.ecom-caption-align-right {
	text-align: right;
	align-items: flex-end;
}

.ecom-caption-align-center .ecom-category-btn,
.ecom-caption-align-right .ecom-category-btn {
	align-self: inherit;
}

/* ---------- Product Category Grid: Carousel / Slide layout ---------- */
.ecom-category-carousel {
	position: relative;
	overflow: hidden;
}

.ecom-category-carousel .ecom-category-track {
	display: flex;
	transition: transform 0.5s ease;
}

.ecom-category-carousel .ecom-category-slide {
	flex: 0 0 calc(100% / var(--ecom-slides, 4));
	padding: 0 10px;
	box-sizing: border-box;
}

.ecom-category-carousel .ecom-category-card {
	aspect-ratio: var(--ecom-aspect-ratio, 4 / 3);
}

.ecom-category-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	border: 1px solid #eaeaea;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecom-category-prev {
	left: 0;
}

.ecom-category-next {
	right: 0;
}

/* ---------- Product Grid: Price Tag card style ---------- */
.ecom-card-style-price-tag .ecom-product-image-link {
	position: relative;
	aspect-ratio: 3 / 4;
}

.ecom-product-price-overlay {
	position: absolute;
	left: 12px;
	bottom: 12px;
	background: rgba(255, 255, 255, 0.92);
	color: #1a1a1a;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 4px;
}

.ecom-card-style-price-tag .ecom-product-info-tag {
	padding: 14px 4px;
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ecom-card-style-price-tag .ecom-product-info-tag .ecom-product-title {
	margin: 0;
	font-size: 15px;
}

.ecom-product-btn-text {
	width: auto;
	background: none;
	color: inherit;
	padding: 0;
	text-decoration: underline;
	font-weight: 600;
}

/* ---------- Product Grid: Minimal card style ---------- */
.ecom-product-info-minimal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 4px;
	text-align: left;
}

.ecom-product-info-minimal .ecom-product-title {
	margin: 0;
	font-size: 15px;
}

.ecom-product-info-minimal .ecom-product-price {
	margin: 0;
	white-space: nowrap;
}

/* ---------- Product Grid: Hover Reveal card style ---------- */
.ecom-card-style-hover-reveal .ecom-product-image-link {
	position: relative;
}

.ecom-product-hover-btn {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	text-align: center;
	padding: 10px 16px;
	background: rgba(26, 26, 26, 0.85);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ecom-card-style-hover-reveal:hover .ecom-product-hover-btn,
.ecom-card-style-hover-reveal .ecom-product-image-link:focus-within .ecom-product-hover-btn {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Product Grid: Bordered card style ---------- */
.ecom-card-style-bordered {
	border: 1px solid #e5e5e5;
	box-shadow: none;
}

.ecom-card-style-bordered .ecom-product-info {
	text-align: center;
}

.ecom-card-style-bordered .ecom-product-title-price {
	text-align: center;
}

/* ---------- Category + Product Grid ---------- */
.ecom-cp-wrapper {
	display: flex;
	gap: 20px;
	align-items: stretch;
}

.ecom-cp-position-right {
	flex-direction: row-reverse;
}

.ecom-cp-category {
	flex: 0 0 33%;
	max-width: 33%;
}

.ecom-cp-category-card {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
}

.ecom-cp-category-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.ecom-cp-category-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px;
	background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

.ecom-cp-category-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
}

.ecom-cp-category-btn {
	display: inline-block;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1px solid #fff;
	border-radius: 20px;
	padding: 6px 16px;
}

.ecom-cp-products {
	flex: 1;
	min-width: 0;
}

.ecom-cp-products.ecom-cp-grid {
	display: grid;
	grid-template-columns: repeat(var(--ecom-columns, 3), 1fr);
	gap: 20px;
}

.ecom-cp-products.ecom-cp-carousel {
	position: relative;
	overflow: hidden;
}

.ecom-cp-track {
	display: flex;
	transition: transform 0.5s ease;
}

.ecom-cp-slide {
	flex: 0 0 calc(100% / var(--ecom-cp-slides, 3));
	padding: 0 10px;
	box-sizing: border-box;
}

.ecom-cp-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	border: 1px solid #eaeaea;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecom-cp-prev {
	left: 0;
}

.ecom-cp-next {
	right: 0;
}

@media (max-width: 767px) {
	.ecom-cp-wrapper,
	.ecom-cp-position-right {
		flex-direction: column;
	}

	.ecom-cp-category,
	.ecom-cp-category-card {
		flex: 1 1 auto;
		max-width: 100%;
		min-height: 220px;
	}

	.ecom-cp-products.ecom-cp-grid > div {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Pricing Table ---------- */
.ecom-pricing-card {
	--ecom-accent: #2563eb;
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 40px 30px;
	text-align: center;
	border: 1px solid #eaeaea;
}

.ecom-pricing-featured {
	border: 2px solid var(--ecom-accent);
	transform: scale(1.03);
}

.ecom-pricing-ribbon {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ecom-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 18px;
	border-radius: 20px;
	white-space: nowrap;
}

.ecom-pricing-plan-name {
	font-size: 20px;
	font-weight: 700;
	margin: 10px 0;
}

.ecom-pricing-price {
	margin-bottom: 12px;
}

.ecom-pricing-currency {
	font-size: 20px;
	font-weight: 600;
	vertical-align: top;
	position: relative;
	top: 8px;
}

.ecom-pricing-amount {
	font-size: 46px;
	font-weight: 800;
	color: var(--ecom-accent);
}

.ecom-pricing-period {
	font-size: 14px;
	color: #888;
}

.ecom-pricing-desc {
	color: #777;
	font-size: 14px;
	margin-bottom: 24px;
}

.ecom-pricing-features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	text-align: left;
}

.ecom-pricing-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	font-size: 14px;
	border-bottom: 1px solid #f2f2f2;
}

.ecom-feature-yes .ecom-feature-icon {
	color: #16a34a;
	font-weight: 700;
}

.ecom-feature-no {
	color: #aaa;
}

.ecom-feature-no .ecom-feature-icon {
	color: #d63447;
}

.ecom-pricing-btn {
	display: inline-block;
	width: 100%;
	padding: 14px;
	background: var(--ecom-accent);
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 700;
	transition: opacity 0.2s ease;
}

.ecom-pricing-btn:hover {
	opacity: 0.88;
	color: #fff;
}

/* ---------- Testimonial Carousel ---------- */
.ecom-testimonial-carousel {
	position: relative;
	overflow: hidden;
}

.ecom-testimonial-track {
	display: flex;
	transition: transform 0.5s ease;
}

.ecom-testimonial-slide {
	flex: 0 0 calc(100% / var(--ecom-slides, 3));
	padding: 0 12px;
	box-sizing: border-box;
}

.ecom-testimonial-card {
	background: #f8f9fb;
	border-radius: 12px;
	padding: 28px;
	height: 100%;
	box-sizing: border-box;
}

.ecom-testimonial-rating {
	color: #f5b301;
	font-size: 15px;
	margin-bottom: 12px;
}

.ecom-testimonial-content {
	font-size: 15px;
	line-height: 1.7;
	color: #333;
	margin: 0 0 20px;
}

.ecom-testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ecom-testimonial-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.ecom-testimonial-meta {
	display: flex;
	flex-direction: column;
}

.ecom-testimonial-name {
	font-weight: 700;
	font-size: 14px;
}

.ecom-testimonial-role {
	font-size: 12px;
	color: #888;
}

.ecom-testimonial-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	border: 1px solid #eaeaea;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecom-testimonial-prev {
	left: 0;
}

.ecom-testimonial-next {
	right: 0;
}

.ecom-testimonial-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.ecom-testimonial-dots span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #d9d9d9;
	cursor: pointer;
	display: inline-block;
}

.ecom-testimonial-dots span.active {
	background: #1a1a1a;
}

/* ---------- Countdown Timer ---------- */
.ecom-countdown-timer {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.ecom-countdown-box {
	background: #1a1a1a;
	color: #fff;
	border-radius: 8px;
	padding: 16px 20px;
	text-align: center;
	min-width: 80px;
}

.ecom-countdown-number {
	display: block;
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
}

.ecom-countdown-label {
	display: block;
	font-size: 12px;
	margin-top: 6px;
	color: #bbbbbb;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ecom-countdown-expired {
	font-size: 18px;
	font-weight: 700;
	padding: 16px;
}

/* ---------- Team Member ---------- */
.ecom-team-card {
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
}

.ecom-team-photo img {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 18px;
}

.ecom-team-name {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
}

.ecom-team-designation {
	display: block;
	font-size: 13px;
	color: #777;
	margin-bottom: 12px;
}

.ecom-team-bio {
	font-size: 14px;
	color: #666;
	margin-bottom: 16px;
}

.ecom-team-social {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.ecom-team-social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f2f2f2;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.ecom-team-social a:hover {
	opacity: 0.7;
}

/* ---------- WhatsApp Button ---------- */
.ecom-whatsapp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #25D366;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 30px;
	padding: 12px 20px;
}

.ecom-whatsapp-btn:hover {
	color: #fff;
	opacity: 0.9;
}

.ecom-whatsapp-floating {
	position: fixed;
	bottom: 24px;
	z-index: 9999;
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.ecom-whatsapp-bottom-right {
	right: 24px;
}

.ecom-whatsapp-bottom-left {
	left: 24px;
}

.ecom-whatsapp-btn i {
	font-size: 22px;
}

.ecom-whatsapp-pulse::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 30px;
	background: #25D366;
	opacity: 0.6;
	animation: ecom-whatsapp-pulse 2s infinite;
	z-index: -1;
}

@keyframes ecom-whatsapp-pulse {
	0% { transform: scale(1); opacity: 0.6; }
	100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Off-canvas Cart ---------- */
.ecom-cart-trigger {
	position: relative;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 20px;
	color: #1a1a1a;
	padding: 6px;
}

.ecom-cart-badge {
	position: absolute;
	top: -4px;
	right: -6px;
	background: #d63447;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecom-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	z-index: 9998;
}

.ecom-cart-overlay.ecom-cart-active {
	opacity: 1;
	visibility: visible;
}

.ecom-cart-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 360px;
	max-width: 90vw;
	background: #fff;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s ease;
	box-shadow: 0 0 24px rgba(0,0,0,0.15);
}

.ecom-cart-panel-right {
	right: 0;
	transform: translateX(100%);
}

.ecom-cart-panel-left {
	left: 0;
	transform: translateX(-100%);
}

.ecom-cart-panel.ecom-cart-active {
	transform: translateX(0);
}

.ecom-cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid #eee;
}

.ecom-cart-header h3 {
	margin: 0;
	font-size: 17px;
}

.ecom-cart-close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
}

.ecom-cart-items {
	flex: 1;
	overflow-y: auto;
	padding: 16px 20px;
}

.ecom-cart-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f2f2f2;
}

.ecom-cart-item img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
	background: #f4f4f4;
}

.ecom-cart-item-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ecom-cart-item-title {
	font-size: 14px;
	font-weight: 600;
}

.ecom-cart-item-qty {
	font-size: 12px;
	color: #888;
}

.ecom-cart-item-price {
	font-size: 14px;
	font-weight: 700;
}

.ecom-cart-empty {
	text-align: center;
	color: #999;
	padding: 40px 0;
}

.ecom-cart-footer {
	padding: 20px;
	border-top: 1px solid #eee;
}

.ecom-cart-subtotal {
	display: flex;
	justify-content: space-between;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 16px;
}

.ecom-cart-checkout-btn {
	display: block;
	width: 100%;
	padding: 14px;
	text-align: center;
	background: #1a1a1a;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 700;
	box-sizing: border-box;
}

.ecom-cart-checkout-btn:hover {
	color: #fff;
	opacity: 0.88;
}

/* ---------- Product Carousel ---------- */
.ecom-pc-wrapper {
	position: relative;
}

.ecom-pc-carousel {
	position: relative;
	overflow: hidden;
}

.ecom-pc-carousel.ecom-pc-effect-coverflow {
	perspective: 1200px;
}

.ecom-pc-track {
	display: flex;
	will-change: transform;
}

.ecom-pc-carousel.ecom-pc-effect-coverflow .ecom-pc-track {
	transform-style: preserve-3d;
}

.ecom-pc-slide {
	flex: 0 0 calc(100% / var(--ecom-pc-slides, 4));
	padding-left: 10px;
	padding-right: 10px;
	box-sizing: border-box;
}

.ecom-pc-carousel.ecom-pc-effect-coverflow .ecom-pc-slide {
	transition: transform 0.4s ease, opacity 0.4s ease;
}

.ecom-pc-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
}

.ecom-pc-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: #d63447;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 4px;
}

.ecom-pc-image-link {
	display: block;
	position: relative;
	text-decoration: none;
}

.ecom-pc-image-link img {
	width: 100%;
	height: auto;
	display: block;
}

.ecom-pc-info {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ecom-pc-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 8px;
	color: #1a1a1a;
	line-height: 1.4;
}

.ecom-pc-price {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.ecom-pc-price del {
	color: #999999;
	font-weight: 400;
	text-decoration: line-through;
	margin-right: 6px;
}

.ecom-pc-price ins {
	text-decoration: none;
}

.ecom-pc-price .woocommerce-Price-amount {
	font-weight: inherit;
}

.ecom-pc-btn {
	display: inline-block;
	width: 100%;
	text-align: center;
	background: #1a1a1a;
	color: #fff;
	padding: 10px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
	margin-top: auto;
}

.ecom-pc-btn:hover {
	background: #333333;
	color: #fff;
}

/* Minimal layout: title left, price right, no button */
.ecom-pc-layout-minimal .ecom-pc-title-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ecom-pc-layout-minimal .ecom-pc-title {
	margin: 0;
}

.ecom-pc-layout-minimal .ecom-pc-price {
	margin: 0;
}

/* Overlay layout: title/price captioned on the image, button reveals on hover */
.ecom-pc-overlay-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ecom-pc-overlay-caption .ecom-pc-title,
.ecom-pc-overlay-caption .ecom-pc-price {
	color: #ffffff;
	margin: 0;
}

.ecom-pc-btn-overlay {
	position: absolute;
	bottom: 16px;
	right: 16px;
	width: auto;
	z-index: 3;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ecom-pc-card:hover .ecom-pc-btn-overlay,
.ecom-pc-card:focus-within .ecom-pc-btn-overlay {
	opacity: 1;
	transform: translateY(0);
}

/* Navigation & pagination */
.ecom-pc-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #eaeaea;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 4;
}

.ecom-pc-prev {
	left: -8px;
}

.ecom-pc-next {
	right: -8px;
}

.ecom-pc-nav.ecom-pc-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.ecom-pc-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.ecom-pc-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d5d5d5;
	cursor: pointer;
}

.ecom-pc-dots span.active {
	background: #1a1a1a;
}

/* ---------- Header Element (single flexible block for use in Containers) ---------- */
.ecom-header-element {
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.ecom-header-element-menu {
	flex: 1;
	min-width: 0;
}

.ecom-header-element-search {
	position: relative;
}

/* ---------- Header Builder ---------- */
.ecom-header {
	width: 100%;
	box-sizing: border-box;
}

.ecom-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 auto;
	box-sizing: border-box;
}

.ecom-header-layout-full .ecom-header-inner {
	max-width: none;
}

.ecom-header-logo {
	flex-shrink: 0;
}

.ecom-header-logo a {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1.2;
}

.ecom-header-logo img {
	display: block;
	width: 140px;
	height: auto;
}

.ecom-header-site-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}

.ecom-header-tagline {
	font-size: 12px;
	color: #777777;
}

.ecom-header-menu {
	flex: 1;
}

.ecom-header-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 28px;
}

.ecom-header-menu-list li {
	position: relative;
}

.ecom-header-menu-list > li > a {
	display: block;
	text-decoration: none;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.ecom-header-menu-list > li > a:hover {
	color: #2563eb;
}

.ecom-header-menu-list ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(0,0,0,0.12);
	border-radius: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
	z-index: 500;
}

.ecom-header-menu-list li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ecom-header-menu-list ul ul {
	top: 0;
	left: 100%;
}

.ecom-header-menu-list ul a {
	display: block;
	padding: 8px 18px;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 14px;
	white-space: nowrap;
}

.ecom-header-menu-list ul a:hover {
	color: #2563eb;
}

.ecom-header-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.ecom-header-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #1a1a1a;
	border-radius: 2px;
}

.ecom-header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

.ecom-header-search {
	position: relative;
}

.ecom-header-search-toggle {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 17px;
	color: #1a1a1a;
	padding: 4px;
	display: flex;
	align-items: center;
}

.ecom-header-search-form {
	display: flex;
	align-items: center;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 260px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 12px 28px rgba(0,0,0,0.14);
	padding: 6px 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
	z-index: 500;
}

.ecom-header-search-form.ecom-header-search-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ecom-header-search-form input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 14px;
	color: #1a1a1a;
	background: transparent;
}

.ecom-header-account,
.ecom-header-cart {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 17px;
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ecom-header-account:hover,
.ecom-header-cart:hover {
	color: #2563eb;
}

.ecom-header-account-label {
	font-size: 14px;
	font-weight: 500;
}

.ecom-header-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background: #d63447;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.ecom-product-grid,
	.ecom-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ecom-price-layout-inline {
		gap: 4px;
		font-size: 13px;
	}

	.ecom-price-layout-inline .ecom-product-price-old,
	.ecom-price-layout-inline del {
		font-size: 11px;
	}

	.ecom-testimonial-slide {
		flex: 0 0 100%;
	}

	.ecom-pricing-featured {
		transform: none;
	}
}