:root {
	--blue: var(--shelo-primary, #0968dc);
	--navy: var(--shelo-dark, #071f3d);
	--soft: var(--shelo-light, #edf7ff);
	--ink: var(--shelo-text, #10243c);
	--line: var(--shelo-border, #dce7f2);
}

.btn,
.button,
button,
input[type="submit"] {
	border-radius: var(--shelo-button-radius, 13px);
}

.custom-logo-link {
	display: block;
	height: 100%;
}

.custom-logo-link img {
	width: 146px;
	height: 70px;
	object-fit: contain;
}

.search .woocommerce-product-search,
.search .search-form {
	display: flex;
	width: 100%;
	grid-column: 1 / -1;
}

.search input[type="search"] {
	flex: 1;
	min-width: 0;
}

.search button {
	width: 58px;
	border: 0;
	background: var(--blue);
	color: #fff;
}

.nav-inner.menu {
	list-style: none;
	margin: 0 auto;
	padding-left: 0;
}

.category-card {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 18px;
	padding: 22px 10px;
	min-height: 145px;
	text-align: center;
	transition: .23s;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.category-card:hover {
	transform: translateY(-6px);
	border-color: #8bc1ff;
	box-shadow: var(--shadow-sm);
}

.category-card > span {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	margin: 0 auto 12px;
	border-radius: 18px;
	background: linear-gradient(145deg, #eef7ff, #d9efff);
	color: var(--blue);
	font-size: 24px;
}

.category-card strong,
.category-card small {
	display: block;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(var(--wc-grid-columns, 4), minmax(0, 1fr));
	gap: 22px;
	margin: 0;
}

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

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	background: #fff;
	border: 1px solid #e3edf7;
	border-radius: 20px;
	padding: 14px;
}

.woocommerce ul.products li.product img {
	height: 250px;
	object-fit: contain;
	background: linear-gradient(145deg, #f7fbff, #eaf5ff);
	border-radius: 15px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--blue);
	color: #fff;
	border-radius: var(--shelo-button-radius, 13px);
}

.shelo-shop:has(.filter-panel) {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 34px;
}

.content-card,
.entry-content {
	max-width: 900px;
}

.entry-content > * + * {
	margin-top: 1.25em;
}

.empty-state {
	text-align: center;
	min-height: 60vh;
}

.affiliate-success.is-visible,
.shelo-honeypot {
	display: block;
}

.shelo-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-message.error {
	padding: 12px;
	border-radius: 10px;
	background: #fff1f1;
	color: #9f1c1c;
	margin-bottom: 15px;
}

.form-message.success {
	padding: 12px;
	border-radius: 10px;
	background: #e9fbf2;
	color: #096a3d;
	margin-bottom: 15px;
}

.has-static-header .site-header {
	position: relative;
}

@media (max-width: 900px) {
	.shelo-shop:has(.filter-panel) {
		display: block;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.has-mobile-bottom-nav {
		padding-bottom: var(--shelo-mobile-nav-height, 68px);
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.woocommerce ul.products li.product {
		padding: 9px;
	}

	.woocommerce ul.products li.product img {
		height: 155px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px;
	}

	.mobile-bottom-nav {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		height: var(--shelo-mobile-nav-height, 68px);
		z-index: 95;
		background: #fff;
		box-shadow: 0 -8px 25px rgba(7, 31, 61, .12);
		padding-bottom: env(safe-area-inset-bottom);
	}

	.mobile-bottom-nav a {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 2px;
		color: #52657a;
		font-size: 18px;
	}

	.mobile-bottom-nav small {
		font-size: 9px;
		font-weight: 700;
	}

	.whatsapp-float {
		bottom: calc(var(--shelo-mobile-nav-height, 68px) + 12px);
	}

	.back-to-top {
		bottom: calc(var(--shelo-mobile-nav-height, 68px) + 74px);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
/* WordPress adds `page` to the body on static pages. The legacy SPA rule
 * `.page { display: none; }` must never hide the document itself. */
body.page {
	display: block;
}

.shop-heading {
	margin-bottom: 34px;
}

.shop-heading h1 {
	margin: 12px 0 8px;
	font-size: clamp(38px, 5vw, 62px);
}

.shop-heading p {
	margin: 0;
	color: var(--muted);
}

.woocommerce-cart .simple-page-hero,
.woocommerce-checkout .simple-page-hero,
.woocommerce-account .simple-page-hero {
	padding: 34px 0;
}

.woocommerce-cart .simple-page-hero h1,
.woocommerce-checkout .simple-page-hero h1,
.woocommerce-account .simple-page-hero h1 {
	margin: 0;
	font-size: clamp(36px, 5vw, 54px);
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
	max-width: 1180px;
	padding-top: 42px;
}