/* ==========================================================
   SHOP PAGE + PRODUCT CARD
   ----------------------------------------------------------
   1. Shop layout (title, sidebar + products)
   2. Toolbar (filters button, result count, sorting)
   3. Filters sidebar
   4. Product grid
   5. Product card (Figma)
   6. Pagination
   7. Small laptops (max-width: 1279px) – 2 per row below 1200px
   8. Tablet (max-width: 1023px) – filters slide in
   9. Mobile (max-width: 600px)
   ========================================================== */


/* ----------------------------------------------------------
   1. Shop layout
   ---------------------------------------------------------- */
.gv-shop {
	padding: 40px 0 100px;
}

.gv-shop__head {
	margin-bottom: 40px;
	text-align: center;
}

.gv-shop__title {
	margin: 0;
	font-family: var(--gv-font-display);
	font-weight: 400;
	font-size: 64px;
	line-height: 1.2;
	color: var(--gv-red);
	text-transform: capitalize;
}

.gv-shop__head .term-description,
.gv-shop__head .page-description {
	max-width: 760px;
	margin: 12px auto 0;
	color: var(--gv-gray);
}

.gv-shop__layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
	gap: 32px;
}


/* ----------------------------------------------------------
   2. Toolbar
   ---------------------------------------------------------- */
.gv-shop__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.gv-shop__bar .woocommerce-result-count {
	float: none;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--gv-gray);
}

.gv-shop__bar .woocommerce-ordering {
	float: none;
	margin: 0 0 0 auto;
}

.gv-shop__bar .orderby {
	height: 44px;
	padding: 0 40px 0 16px;
	border: 1px solid rgba(19, 19, 19, 0.1);
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ac262d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
	font-size: 14px;
	font-weight: 600;
	color: var(--gv-text);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.gv-filters-toggle {
	display: none;
}


/* ----------------------------------------------------------
   3. Filters sidebar
   ---------------------------------------------------------- */
.gv-filters {
	position: sticky;
	top: 24px;
	padding: 24px;
	background: #fff;
	border: 1px solid rgba(19, 19, 19, 0.1);
	border-radius: 15px;
}

.gv-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.gv-filters__title {
	margin: 0;
	font-family: var(--gv-font-display);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.2;
	color: var(--gv-red);
}

.gv-filters__close,
.gv-filters-overlay {
	display: none;
}

/* One filter group */
.gv-filter {
	padding: 18px 0;
	border-bottom: 1px solid rgba(19, 19, 19, 0.08);
}

.gv-filter__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--gv-text);
}

/* Category links */
.gv-filter__cats {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gv-filter__cats a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--gv-text);
}

.gv-filter__cats a::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	border: 1.5px solid rgba(19, 19, 19, 0.3);
	border-radius: 50%;
}

.gv-filter__cats a:hover,
.gv-filter__cats a.is-active {
	color: var(--gv-red);
}

.gv-filter__cats a.is-active::before {
	border: 5px solid var(--gv-red);
}

.gv-filter__count {
	margin-left: auto;
	font-size: 13px;
	color: var(--gv-gray);
}

/* Price boxes */
.gv-filter__price {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--gv-gray);
}

.gv-filter__price input {
	width: 100%;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: 1px solid rgba(19, 19, 19, 0.15);
	border-radius: 10px;
	font-size: 14px;
	outline: 0;
}

.gv-filter__price input:focus {
	border-color: var(--gv-red);
}

/* Checkboxes (Weight etc.) */
.gv-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.gv-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gv-red);
	cursor: pointer;
}

/* Buttons */
.gv-filters__apply {
	width: 100%;
	height: 46px;
	margin-top: 20px;
	border: 0;
	border-radius: 10px;
	background: var(--gv-red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.84px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s;
}

.gv-filters__apply:hover {
	background: var(--gv-red-dark);
}

.gv-filters__clear {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gv-gray);
	text-align: center;
	text-decoration: underline;
}


/* ----------------------------------------------------------
   4. Product grid (replaces WooCommerce's float layout)
   ---------------------------------------------------------- */
.gv-shop ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gv-shop ul.products::before,
.gv-shop ul.products::after {
	display: none;
}

.gv-shop ul.products li.product.gv-card {
	float: none;
    padding: 10px;
	width: auto;
	margin: 0;
	clear: none;
}


/* ----------------------------------------------------------
   5. Product card (Figma)
   ---------------------------------------------------------- */
.gv-card {
	display: flex;
	flex-direction: column;
	padding: 10px 10px 12px;
	background: #fff;
	border: 1px solid rgba(19, 19, 19, 0.1);
	border-radius: 15px;
	text-align: center;
   
}

/* Image */
.gv-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 10px;
	background: var(--gv-light);
}

.gv-card .gv-card__media img {
	width: 100%;
	height: 100% !important;
	margin: 0;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gv-card:hover .gv-card__media img {
	transform: scale(1.04);
}

/* "30% Off" badge */
.gv-card__badge {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 10px;
	border-radius: 11px;
	background: var(--gv-gold);
	color: #000;
	font-family: var(--gv-font-ui);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.gv-card__badge[hidden] {
	display: none;
}

/* "Made with ghee / oil" ribbon */
.gv-card__ribbon {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.gv-card__ribbon--ghee {
	color: #000;
	background: linear-gradient(90deg, #ffe06c 0%, #ffeea2 30.77%, #f0ba1c 53.37%, #e8a411 74.52%, #fccd29 100%);
}

.gv-card__ribbon--oil {
	color: #fff;
	background: linear-gradient(90deg, #f29331 0%, #ff8202 44.23%, #ff9426 66.83%, #ffaf5c 100%);
}

/* Name + category */
.gv-card__title {
	margin: 15px 0 0;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--gv-text);
}

.gv-card__title a:hover {
	color: var(--gv-red);
}

.gv-card__cat {
	margin: 5px 0 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 21px;
	color: rgba(19, 19, 19, 0.6);
}

/* Rating */
.gv-card__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 12px 5px 0;
	padding-bottom: 16px;
	border-bottom: 2px solid rgba(19, 19, 19, 0.13);
	font-size: 14px;
	font-weight: 600;
	line-height: 19.6px;
	color: rgba(19, 19, 19, 0.6);
}

.gv-stars {
	flex: none;
	width: 86px;
	height: 13px;
	background: linear-gradient(90deg, var(--gv-orange) var(--gv-rating, 0%), #d9d9d9 var(--gv-rating, 0%));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 13'%3E%3Cpath d='M7 0l2.06 4.17 4.6.67-3.33 3.25.79 4.58L7 10.5l-4.12 2.17.79-4.58L.34 4.84l4.6-.67z'/%3E%3C/svg%3E") 0 0 / 18px 13px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 13'%3E%3Cpath d='M7 0l2.06 4.17 4.6.67-3.33 3.25.79 4.58L7 10.5l-4.12 2.17.79-4.58L.34 4.84l4.6-.67z'/%3E%3C/svg%3E") 0 0 / 18px 13px repeat-x;
}

/* Price */
.gv-card__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 16px;
	font-weight: 700;
	color: var(--gv-text);
}

.gv-card__was {
	font-size: 13px;
	font-weight: 500;
	color: rgba(19, 19, 19, 0.6);
}

.gv-card__was[hidden] {
	display: none;
}

.gv-card__price ins {
	text-decoration: none;
}

/* Weight options */
.gv-card__options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 17px;
	margin-top: 14px;
}

.gv-option {
	height: 30px;
	padding: 0 16px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 50px;
	background: var(--gv-card-bg);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--gv-text);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.gv-option:hover {
	border-color: rgba(172, 38, 45, 0.4);
}

.gv-option.is-active {
	border-color: var(--gv-red);
	color: var(--gv-red);
}

.gv-option:disabled {
	opacity: 0.4;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Quantity + Add to cart */
.gv-card__actions {
	margin-top: auto;
	padding-top: 16px;
}

.gv-card__form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gv-qty {
	display: flex;
	flex: 0 0 39%;
	align-items: center;
	justify-content: space-between;
	height: 44px;
	padding: 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 10px;
	background: var(--gv-card-bg);
}

.gv-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gv-text);
	cursor: pointer;
}

.gv-qty__btn:hover {
	color: var(--gv-red);
}

.gv-qty__input {
	width: 36px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--gv-font-ui);
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	outline: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

.gv-qty__input::-webkit-outer-spin-button,
.gv-qty__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.gv-card__cart {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 10px;
	overflow: hidden;
	border: 0;
	border-radius: 10px;
	background: var(--gv-red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.84px;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s;
}

/* Light shine on hover (from Figma) */
.gv-card__cart::before {
	content: "";
	position: absolute;
	top: -16px;
	left: -47px;
	width: 8px;
	height: 62px;
	background: rgba(255, 255, 255, 0.55);
	filter: blur(6px);
	transform: rotate(20.9deg);
	transition: left 0.6s ease;
}

.gv-card__cart:hover {
	background: var(--gv-red-dark);
	color: #fff;
}

.gv-card__cart:hover::before {
	left: calc(100% + 40px);
}

.gv-card__cart:disabled {
	background: var(--gv-gray);
	cursor: not-allowed;
}

.gv-card.is-loading .gv-card__cart {
	opacity: 0.8;
	cursor: progress;
}

.gv-card.is-added .gv-card__cart {
	background: #2e7d32;
}


/* ----------------------------------------------------------
   6. Pagination
   ---------------------------------------------------------- */
.gv-shop .woocommerce-pagination {
	margin-top: 48px;
	text-align: center;
}

.gv-shop .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.gv-shop .woocommerce-pagination ul.page-numbers li {
	display: block;
	border: 0;
}

.gv-shop .woocommerce-pagination .page-numbers a,
.gv-shop .woocommerce-pagination .page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--gv-red);
	border-radius: 10px;
	font-weight: 600;
	color: var(--gv-red);
}

.gv-shop .woocommerce-pagination .page-numbers a:hover,
.gv-shop .woocommerce-pagination .page-numbers span.current {
	background: var(--gv-red);
	color: #fff;
}


/* ----------------------------------------------------------
   7. Small laptops (max-width: 1279px)
   ---------------------------------------------------------- */
@media (max-width: 1279px) {
	.gv-shop__layout {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 24px;
	}

	.gv-card__title {
		font-size: 18px;
	}

	.gv-card__options {
		gap: 10px;
	}
}

/* Not enough room for 3 cards next to the filters – show 2 */
@media (max-width: 1199px) {
	.gv-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* ----------------------------------------------------------
   8. Tablet (max-width: 1023px) – filters slide in from the left
   ---------------------------------------------------------- */
@media (max-width: 1023px) {
	.gv-shop {
		padding: 24px 0 64px;
	}

	.gv-shop__head {
		margin-bottom: 24px;
	}

	.gv-shop__title {
		font-size: 48px;
	}

	.gv-shop__layout {
		display: block;
	}

	.gv-filters-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 44px;
		padding: 0 16px;
		border: 1px solid var(--gv-red);
		border-radius: 10px;
		background: #fff;
		color: var(--gv-red);
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
	}

	.gv-shop__bar .woocommerce-result-count {
		display: none;
	}

	.gv-filters {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 1001;
		width: min(86vw, 340px);
		border-radius: 0;
		overflow-y: auto;
		transform: translateX(-105%);
		transition: transform 0.3s;
	}

	.gv-filters-open .gv-filters {
		transform: none;
	}

	.gv-filters__close {
		display: flex;
		padding: 6px;
		border: 0;
		background: none;
		color: var(--gv-red);
		cursor: pointer;
	}

	.gv-filters-open .gv-filters-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1000;
		background: rgba(0, 0, 0, 0.45);
	}

	.gv-filters-open {
		overflow: hidden;
	}

	.gv-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}
}


/* ----------------------------------------------------------
   9. Mobile (max-width: 600px) – Figma mobile card
      One card per row: image on the left, details on the right
   ---------------------------------------------------------- */
@media (max-width: 600px) {
	.gv-shop__title {
		font-size: 36px;
	}
    .gv-card .gv-card__media img {
	width: 100% !important;
	height: 100%!important;
	margin: 0;
	object-fit: cover;
	transition: transform 0.4s ease;
    }

	.gv-shop ul.products {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	/* Sorting dropdown fills the space next to the Filters button */
	.gv-shop__bar .woocommerce-ordering {
		flex: 1;
		min-width: 0;
	}

	.gv-shop__bar .orderby {
		width: 100%;
	}

	/* Card layout */
	.gv-card {
		display: grid;
		grid-template-columns: minmax(124px, 40%) minmax(0, 1fr);
		grid-template-rows: auto auto auto auto auto 1fr;
		grid-template-areas:
			"media title"
			"media cat"
			"media rating"
			"media price"
			"media options"
			"media actions";
		column-gap: 12px;
		padding: 12px 12px 14px;
		text-align: left;
	}

	/* Image */
		.gv-card__media {
		grid-area: media;
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 160px;
	}

	.gv-card__badge {
		top: 8px;
		left: 8px;
		height: 18px;
		padding: 0 8px;
		font-size: 10px;
	}

	.gv-card__ribbon {
		height: 26px;
		font-size: 10px;
	}

	/* Name + category */
	.gv-card__title {
		grid-area: title;
		margin: 0;
		font-size: 20px;
	}

	.gv-card__cat {
		grid-area: cat;
		margin: 4px 0 0;
		font-size: 13px;
		line-height: 18px;
	}

	/* Rating – no line under it on mobile */
	.gv-card__rating {
		grid-area: rating;
		justify-content: flex-start;
		margin: 8px 0 0;
		padding: 0;
		border: 0;
		font-size: 12px;
		line-height: 17px;
		white-space: nowrap;
	}

	/* Gold stars, slightly smaller */
	.gv-stars {
		width: 77px;
		height: 12px;
		background: linear-gradient(90deg, var(--gv-gold) var(--gv-rating, 0%), #d9d9d9 var(--gv-rating, 0%));
		-webkit-mask-size: 16px 12px;
		mask-size: 16px 12px;
	}

	/* Price */
	.gv-card__price {
		grid-area: price;
		justify-content: flex-start;
		margin-top: 8px;
	}

	/* Weight options */
	.gv-card__options {
		grid-area: options;
		justify-content: flex-start;
		gap: 8px;
		margin-top: 8px;
	}

	.gv-option {
		height: 22px;
		padding: 0 9px;
		font-size: 11px;
	}

	/* Quantity + Add to cart */
	.gv-card__actions {
		grid-area: actions;
		align-self: end;
		margin: 0;
		padding-top: 8px;
	}

	.gv-card__form {
		justify-content: space-between;
		gap: 10px;
	}

	.gv-qty {
		flex: 0 0 60px;
		height: 40px;
		padding: 0 6px;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 6px;
		background: var(--gv-card-bg);
	}

	.gv-qty__btn {
		width: 14px;
		height: 14px;
		font-weight: 700;
	}

	.gv-qty__btn svg {
		stroke-width: 2;
	}

	.gv-qty__input {
		width: 18px;
		font-size: 14px;
		font-weight: 600;
	}

	.gv-card__cart {
		flex: 0 1 174px;
		height: 42px;
		font-size: 12px;
		letter-spacing: 0.84px;
	}
}

/* Phones up to 400px wide – image stays 40%, text made to fit */
@media (max-width: 400px) {
    .gv-card {
        grid-template-columns: 40% minmax(0, 1fr);
        column-gap: 10px;
    }

    .gv-card__title {
        font-size: 17px;
    }

    .gv-card__rating {
        flex-wrap: wrap;
        white-space: normal;
        font-size: 11px;
    }

    .gv-card__options {
        gap: 6px;
    }

    .gv-option {
        padding: 0 8px;
        font-size: 10px;
    }

    .gv-card__form {
        gap: 6px;
    }

    .gv-qty {
        flex: 0 0 50px;
        padding: 0 4px;
    }

    .gv-card__cart {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 8px;
        font-size: 11px;
        letter-spacing: 0.3px;
    }
}

/* Very small phones (max-width: 359px) – stack quantity above the button */
@media (max-width: 359px) {
	.gv-card__rating {
		flex-wrap: wrap;
		white-space: normal;
	}

	.gv-card__form {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.gv-qty,
	.gv-card__cart {
		flex: none;
	}
}


/* ----------------------------------------------------------
   10. [gv_products] shortcode – product grid on any page (home page)
       Uses the same card design as the shop page.
   ---------------------------------------------------------- */
.gv-products-block ul.products {
	display: grid;
	grid-template-columns: repeat(var(--gv-cols, 4), minmax(0, 1fr));
	gap: 40px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gv-products-block ul.products::before,
.gv-products-block ul.products::after {
	display: none;
}

.gv-products-block ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
}

@media (max-width: 1279px) {
	.gv-products-block ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	.gv-products-block ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}
}

@media (max-width: 600px) {
	.gv-products-block ul.products {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}


/* ----------------------------------------------------------
   11. Elementor "Products" widget – use the theme card design
       Elementor's widget styles are stronger than the theme's,
       so these rules use !important on purpose.
   ---------------------------------------------------------- */
.elementor-widget-woocommerce-products ul.products,
.elementor-widget-wc-archive-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 40px 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.elementor-widget-woocommerce-products ul.products::before,
.elementor-widget-woocommerce-products ul.products::after,
.elementor-widget-wc-archive-products ul.products::before,
.elementor-widget-wc-archive-products ul.products::after {
	display: none !important;
}

/* The card itself (desktop / tablet: image on top, centred text) */
.elementor-widget-woocommerce-products ul.products li.product.gv-card,
.elementor-widget-wc-archive-products ul.products li.product.gv-card {
	display: flex !important;
	flex-direction: column !important;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 10px 10px 12px !important;
	background: #fff !important;
	border: 1px solid rgba(19, 19, 19, 0.1) !important;
	border-radius: 15px !important;
	text-align: center !important;
}

.elementor-widget-woocommerce-products .gv-card .gv-card__media img,
.elementor-widget-wc-archive-products .gv-card .gv-card__media img {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border-radius: 0 !important;
	object-fit: cover !important;
}

@media (max-width: 1279px) {
	.elementor-widget-woocommerce-products ul.products,
	.elementor-widget-wc-archive-products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 1023px) {
	.elementor-widget-woocommerce-products ul.products,
	.elementor-widget-wc-archive-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 24px 16px !important;
	}
}

/* Mobile: one card per row, image left + details right (Figma mobile) */
@media (max-width: 600px) {
	.elementor-widget-woocommerce-products ul.products,
	.elementor-widget-wc-archive-products ul.products {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 24px !important;
	}

	.elementor-widget-woocommerce-products ul.products li.product.gv-card,
	.elementor-widget-wc-archive-products ul.products li.product.gv-card {
		display: grid !important;
		padding: 12px 12px 14px !important;
		text-align: left !important;
	}
}

/* Mobile: the Products widget always uses the full width, centred
   (removes any left/right margin or padding set in Elementor) */
@media (max-width: 600px) {
    .elementor-widget-woocommerce-products,
    .elementor-widget-wc-archive-products,
    .elementor-widget-woocommerce-products > .elementor-widget-container,
    .elementor-widget-wc-archive-products > .elementor-widget-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}