.pawhaven-woocommerce .shop-main {
	padding: 0;
}

.volopet-shop-container,
.shop-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 24px;
}

.volopet-shop-header,
.shop-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 32px;
}

.shop-title-row {
	width: 100%;
	max-width: 1280px;
	margin-right: auto;
	margin-left: auto;
}

.shop-result-row {
	width: 100%;
	max-width: 1280px;
	margin-right: auto;
	margin-left: auto;
}

.volopet-shop-heading {
	min-width: 0;
}

.volopet-shop-heading .term-description,
.volopet-shop-heading .page-description {
	max-width: 760px;
	margin-top: 12px;
	color: #64748b;
}

.volopet-shop-heading .term-description p,
.volopet-shop-heading .page-description p {
	margin: 0;
}

.woocommerce-products-header__title.page-title,
.shop-title-row .page-title {
	margin: 0 0 10px;
	color: #0f172a;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	font-weight: 900;
}

.volopet-shop-sorting,
.shop-ordering {
	flex: 0 0 280px;
	max-width: 100%;
	margin-left: auto;
}

.woocommerce .volopet-shop-header .woocommerce-result-count,
.woocommerce-page .volopet-shop-header .woocommerce-result-count,
.woocommerce .volopet-shop-header .woocommerce-ordering,
.woocommerce-page .volopet-shop-header .woocommerce-ordering,
.woocommerce .shop-header .woocommerce-result-count,
.woocommerce-page .shop-header .woocommerce-result-count,
.woocommerce .shop-header .woocommerce-ordering,
.woocommerce-page .shop-header .woocommerce-ordering {
	float: none !important;
	clear: none !important;
	margin: 0 !important;
}

.woocommerce .shop-result-row .woocommerce-result-count,
.woocommerce-page .shop-result-row .woocommerce-result-count {
	float: none !important;
	clear: none !important;
	margin: 0 !important;
}

.volopet-shop-header .woocommerce-result-count,
.shop-result-row {
	margin: 0;
	color: #64748b;
	font-size: 15px;
	font-weight: 700;
}

.shop-layout,
.shop-results {
	min-width: 0;
}

.woocommerce-result-count,
.woocommerce-ordering {
	margin: 0;
	color: #64748b;
}

.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.input-text,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	color: #0f172a;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(280px, 280px));
	grid-auto-rows: 1fr;
	gap: 24px;
	justify-content: center;
	width: 100%;
	max-width: 1280px;
	padding: 0;
	margin: 0 auto;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
	content: none;
}

.woocommerce ul.products li.product {
	float: none;
	width: 100%;
	min-width: 280px;
	height: 100%;
	margin: 0;
}

.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	float: none;
	width: 100%;
	margin: 0;
}

.product-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 280px;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.product-card-image {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f8fafc;
}

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

.sale-badge,
.woocommerce span.onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	min-width: auto;
	min-height: auto;
	padding: 7px 11px;
	border-radius: 999px;
	background: #f97316;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.product-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
}

.woocommerce-loop-product__title {
	display: -webkit-box;
	min-height: calc(18px * 1.3 * 2);
	margin: 0;
	overflow: hidden;
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.star-rating {
	color: #e6a400;
	font-size: 14px;
}

.product-card .price-row {
	margin-top: auto;
	color: #0f172a;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #0f172a;
	font-size: 1.08rem;
	font-weight: 900;
}

.price del {
	color: #64748b;
	font-weight: 500;
}

.product-card .button,
.product-card .added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	background: #f97316;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
}

.product-card .button:hover,
.product-card .added_to_cart:hover {
	background: #ea580c;
	color: #fff;
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 0;
	margin: 28px 0 0;
	border: 0;
	list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	min-width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--color-primary);
	color: #fff;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 55fr) minmax(340px, 45fr);
	gap: 34px;
	align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
}

.woocommerce div.product div.images img {
	border-radius: var(--radius);
	background: #f4f1ea;
}

.woocommerce div.product .summary {
	position: sticky;
	top: 126px;
	padding: 24px;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.woocommerce div.product .product_title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
}

.woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.stock {
	color: var(--color-primary);
	font-weight: 850;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.woocommerce .quantity .qty {
	width: 82px;
	min-height: 48px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	text-align: center;
}

.single_add_to_cart_button,
.buy-now-button {
	flex: 1 1 180px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	background: var(--color-primary);
	color: #fff;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: var(--color-primary-dark);
}

.buy-now-button {
	background: transparent;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}

.buy-now-button:hover {
	background: #edf7f1;
	color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}

.pawhaven-rating-module {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0 16px;
	border-bottom: 1px solid var(--color-line);
}

.pawhaven-rating-stars {
	display: inline-flex;
	gap: 2px;
	color: #d5d8d1;
	font-size: 1.15rem;
	font-weight: 900;
	line-height: 1;
}

.pawhaven-rating-stars .is-filled {
	color: #e2a400;
}

.pawhaven-rating-copy {
	display: grid;
	gap: 0;
	font-size: 0.92rem;
}

.pawhaven-rating-copy strong {
	line-height: 1.2;
}

.pawhaven-rating-copy span {
	color: var(--color-muted);
}

.pawhaven-trust-badges {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 18px;
}

.pawhaven-trust-badge {
	display: flex;
	gap: 9px;
	padding: 12px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fbfaf6;
}

.pawhaven-trust-icon {
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin-top: 7px;
	border-radius: 999px;
	background: var(--color-primary);
	box-shadow: 0 0 0 4px #dcebdd;
}

.pawhaven-trust-badge strong,
.pawhaven-trust-badge span {
	display: block;
}

.pawhaven-trust-badge strong {
	font-size: 0.85rem;
	line-height: 1.2;
}

.pawhaven-trust-badge span {
	color: var(--color-muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

.pawhaven-product-panel {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fbfaf6;
}

.pawhaven-product-panel h2,
.pawhaven-product-meta-bottom h2 {
	margin: 0 0 10px;
	font-size: 1rem;
	line-height: 1.25;
}

.pawhaven-product-panel ul {
	display: grid;
	gap: 8px;
	padding-left: 18px;
	margin: 0;
	color: var(--color-muted);
}

.pawhaven-delivery-grid {
	display: grid;
	gap: 12px;
}

.pawhaven-delivery-grid p {
	margin: 4px 0 0;
	color: var(--color-muted);
	font-size: 0.92rem;
}

.pawhaven-product-meta-bottom {
	grid-column: 1 / -1;
	margin-top: 28px;
	padding: 18px;
	border-top: 1px solid var(--color-line);
	color: var(--color-muted);
}

.pawhaven-product-meta-bottom .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.pawhaven-product-meta-bottom .product_meta > span {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}

.woocommerce-tabs,
.related.products,
.upsells.products {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 1280px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 32px;
	padding: 24px;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0 0 18px;
	border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 10px 14px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	position: relative;
	display: flow-root;
	padding: 18px 22px !important;
	margin: 0 0 24px !important;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #fff;
	color: #0f172a;
	font-size: 16px;
	line-height: 1.5;
	list-style: none;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none !important;
	content: none !important;
}

.woocommerce-message {
	border-left: 4px solid #16a34a;
}

.woocommerce-info {
	border-left: 4px solid #2563eb;
}

.woocommerce-error {
	border-left: 4px solid #dc2626;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: right;
	min-height: auto;
	margin: -4px 0 -4px 16px;
	padding: 12px 18px;
	border-radius: 10px;
	background: #f97316;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
	background: #ea580c;
	color: #fff;
}

.shop_table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	overflow: hidden;
}

.shop_table th,
.shop_table td {
	padding: 14px;
	border-bottom: 1px solid var(--color-line);
	text-align: left;
	vertical-align: middle;
}

.shop_table img {
	width: 72px;
	border-radius: 6px;
}

.product-remove .remove {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 999px;
	background: #f6e5dc;
	color: #a63622;
	font-size: 1.4rem;
	line-height: 1;
}

.actions {
	background: #faf8f3;
}

.coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	float: left;
}

.cart-collaterals {
	display: flex;
	justify-content: flex-end;
	margin-top: 24px;
}

.cart_totals {
	width: min(100%, 430px);
	padding: 20px;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
}

.wc-proceed-to-checkout .checkout-button {
	width: 100%;
}

.checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 28px;
	align-items: start;
}

.checkout-fields,
.checkout-review,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.account-dashboard {
	padding: 22px;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
}

.checkout-review {
	position: sticky;
	top: 126px;
}

.woocommerce form .form-row {
	margin-bottom: 14px;
}

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 6px;
	font-weight: 800;
}

.woocommerce-checkout-payment {
	background: #faf8f3;
	border-radius: var(--radius);
}

.woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius);
	background: #faf8f3;
	font-weight: 800;
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
}

@media (max-width: 1180px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(280px, 280px));
	}
}

@media (max-width: 980px) {
	.shop-layout,
	.woocommerce div.product,
	.checkout-grid,
	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}

	.shop-sidebar,
	.checkout-review,
	.woocommerce div.product .summary {
		position: static;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(280px, 280px));
	}
}

@media (max-width: 768px) {
	.volopet-shop-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.volopet-shop-sorting,
	.volopet-shop-sorting .woocommerce-ordering,
	.volopet-shop-sorting select,
	.woocommerce-ordering,
	.woocommerce-ordering select {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.volopet-shop-container,
	.shop-container {
		padding: 28px 16px;
	}

	.shop-title-row {
		display: grid;
		gap: 14px;
		align-items: start;
	}

	.shop-ordering {
		width: 100%;
	}

	.woocommerce ul.products {
		grid-template-columns: minmax(280px, min(100%, 360px));
	}

	.woocommerce div.product .summary {
		padding: 18px;
	}

	.woocommerce div.product form.cart {
		display: grid;
	}

	.single_add_to_cart_button,
	.buy-now-button {
		width: 100%;
	}

	.pawhaven-trust-badges {
		grid-template-columns: 1fr;
	}

	.shop_table thead {
		display: none;
	}

	.shop-header {
		margin-bottom: 18px;
	}

	.woocommerce-result-count,
	.woocommerce-ordering {
		width: 100%;
	}

	.woocommerce-message .button,
	.woocommerce-info .button,
	.woocommerce-error .button {
		float: none;
		display: block;
		width: 100%;
		margin: 12px 0 0;
		text-align: center;
	}

	.shop_table,
	.shop_table tbody,
	.shop_table tr,
	.shop_table td {
		display: block;
		width: 100%;
	}

	.shop_table tr {
		border-bottom: 1px solid var(--color-line);
	}

	.shop_table td {
		display: flex;
		justify-content: space-between;
		gap: 14px;
		border-bottom: 0;
	}

	.shop_table td::before {
		content: attr(data-title);
		font-weight: 850;
	}

	.shop_table .product-thumbnail,
	.shop_table .product-remove,
	.actions {
		display: block;
	}

	.coupon {
		float: none;
		margin-bottom: 10px;
	}
}
