/* Shop controls - Product count and sorting */
.shop-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.product-count {
	flex: 1;
}

.product-sorting {
	flex: 0;
	text-align: right;
}

.product-sorting .shop-sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 8px 12px;
	background: #fff;
	width: 100%;
}

.product-sorting .shop-sort svg {
	display: block;
}

.product-sorting .woocommerce-ordering {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	padding: 0;
	background: transparent;
	width: auto;
	flex: 1;
}

.product-sorting .woocommerce-ordering label {
	display: inline-block;
	margin-right: 8px;
	white-space: nowrap;
	font-weight: 600;
	color: #111827;
}

.product-sorting .woocommerce-ordering select {
	border: 0;
	background: transparent;
	padding: 4px 0;
	font-weight: 600;
	color: #111827;
	width: auto;
	flex: 1;
	min-width: 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 24px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
}

.product-sorting .woocommerce-ordering select:focus-visible {
	outline: 2px solid #111827;
	outline-offset: 2px;
}

/* Layout for shop pages */
.shop-container {
	display: flex;
	gap: 5rem;
	flex-direction: row;
}

.shop-sidebar {
	flex: 0 0 300px;
	min-width: 280px;
}

.shop-filters {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.shop-filters__summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	cursor: pointer;
	font-weight: 600;
}

.shop-filters__summary::-webkit-details-marker {
	display: none;
}

.shop-filters__icon {
	position: relative;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.shop-filters__icon::before,
.shop-filters__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: #111827;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.shop-filters__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.shop-filters[open] .shop-filters__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.shop-filters__body {
	border-top: 1px solid #e5e7eb;
	padding: 12px 16px 16px;
}

.shop-content {
	flex: 1;
}

/* Hide default WooCommerce elements that appear in the loop */
.shop-content .woocommerce-result-count,
.shop-content .woocommerce-ordering,
.shop-content .storefront-sorting {
	display: none !important;
}

/* Mobile: Switch to column with filters on top */
@media (max-width: 768px) {
	.shop-controls {
		flex-direction: column;
		gap: 1rem;
		margin-bottom: 1rem;
	}

	.product-sorting {
		text-align: center;
		width: 100%;
	}

	.shop-container {
		flex-direction: column;
		gap: 2.5rem;
	}

	.shop-sidebar {
		flex: none;
		order: -1;
		margin-bottom: 10px;
	}

	.shop-content {
		order: 1;
	}
}

/* Tablet - optional intermediate breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
	.shop-sidebar {
		flex: 0 0 250px;
	}
}

@media (min-width: 769px) {
	.shop-filters {
		border: 0;
		background: transparent;
	}

	.shop-filters__summary {
		display: none;
	}

	.shop-filters__body {
		border-top: 0;
		padding: 0;
	}
}


/* Product Card Styles */
.product-card-item {
	display: flex;
	min-width: 416px;
	padding: 24px;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 0 0;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	list-style: none;
	margin-bottom: 24px;
}

.product-card-item:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.product-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

/* Product Image */
.product-image {
	width: 100%;
	height: 200px;

	border-radius: 8px;
	margin-bottom: 16px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.placeholder-image {
	color: #9ca3af;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Product Title */
.product-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin: 1rem 0 2rem 0;
	color: #111827;
}

.product-title a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

.product-title a:hover {
	color: #b91c5c;
}

/* Product Description */
.product-description {
	margin-bottom: 16px;
	flex-grow: 1;
}

.product-description p {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

/* Product Price */
.product-price {
	font-size: 20px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 20px;
}

/* See Item Button */
.product-button {
	width: 100%;
}

.see-item-btn {
	display: block;
	width: 100%;
	padding: 12px 24px;
	background-color: #b91c5c;
	color: white;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.see-item-btn:hover {
	background-color: #9d1750;
	color: white;
}

/* Grid Layout for Products */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
.woocommerce ul.products.product-global-upsell__grid {
	grid-template-columns: 1fr 1fr 1fr;
	margin-bottom: 1rem;
}
.woocommerce ul.products.product-global-upsell__grid .product-card-item {
	min-width: 400px;
}

/* Responsive */
@media (max-width: 1280px) {
	.woocommerce ul.products.product-global-upsell__grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.woocommerce ul.products.product-global-upsell__grid .product-card-item {
		min-width: 360px;
	}
}

@media (max-width: 1140px) {
	.woocommerce ul.products.product-global-upsell__grid .product-card-item {
		min-width: 320px;
	}
}

@media (max-width: 1024px) {
	.woocommerce ul.products.product-global-upsell__grid {
		grid-template-columns: 1fr 1fr;
	}
	.woocommerce ul.products.product-global-upsell__grid .product-card-item {
		min-width: 400px;
	}
}

@media (max-width: 850px) {
	.woocommerce ul.products.product-global-upsell__grid {
		grid-template-columns: 1fr 1fr;
	}
	.woocommerce ul.products.product-global-upsell__grid .product-card-item {
		min-width: 350px;
	}
}

@media (max-width: 768px) {
	.product-card-item {
		min-width: 100%;
	}

	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
	.woocommerce ul.products.product-global-upsell__grid .product-card-item {
		min-width: 200px;
	}
}

@media (max-width: 480px) {
	.product-card-item {
		padding: 16px;
	}
	.woocommerce ul.products.product-global-upsell__grid {
		grid-template-columns: 1fr;
	}
}

ul.products li.product{
	margin-bottom: 0 !important;
	margin-right: 0 !important;
	text-align: left !important;

}

ul.products::before{
	content: unset !important;
}

ul.wc-block-components-product-details {
    list-style: none;
    margin: 0;
    display: flex;
	flex-wrap: wrap;
    gap: 0.5rem;
}

ul li:not(:last-child) span.wc-block-components-product-details__value::after {
    content: "-";
    margin-left: 0.5rem;
    display: inline-block;
}

span.wc-block-components-product-details__name {
	display: none;
}
.hardsoft-checkout-step {
    box-shadow: none !important;
}
.hentry .entry-content a {
	text-decoration: none !important;
}
.cart-section.trustpilot-section {
	padding: 12px 16px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
