@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
	--navy: #143a5e;
	--navy-700: #0e2c49;
	--navy-50: #eaf1f8;
	--blue: #2c6fb3;
	--blue-2: #3e86c9;
	--blue-50: #e7f0fa;
	--green: #54a845;
	--green-600: #479138;
	--green-700: #3c8033;
	--green-50: #edf7e9;
	--green-light: #84c56f;
	--ink: #1c2733;
	--muted: #5c6b7a;
	--faint: #8a98a6;
	--line: #e2e8ee;
	--line-2: #edf1f5;
	--bg: #f4f7fa;
	--card: #ffffff;
	--white: #ffffff;
	--amber: #f5a623;
	--red: #e0432f;
	--header-primary: var(--navy);
	--header-primary-dark: var(--navy-700);
	--header-cta: var(--green);
	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 18px;
	--shadow-sm: 0 1px 2px rgba(20, 58, 94, 0.06), 0 1px 3px rgba(20, 58, 94, 0.05);
	--shadow: 0 6px 22px rgba(20, 58, 94, 0.09);
	--shadow-lg: 0 18px 48px rgba(20, 58, 94, 0.16);
	--maxw: 1240px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--help-tema-text: var(--ink);
	--help-tema-muted: var(--muted);
	--help-tema-border: var(--line);
	--help-tema-surface: var(--card);
	--help-tema-accent: var(--green);
	--help-tema-accent-dark: var(--green-600);
	--help-tema-max-width: var(--maxw);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--help-tema-text);
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	background: var(--help-tema-surface);
	clip: auto;
}

.site-header,
.site-footer {
	background: var(--help-tema-surface);
	border-bottom: 1px solid var(--help-tema-border);
}

.site-footer {
	border-top: 1px solid var(--help-tema-border);
	border-bottom: 0;
}

.site-header__inner,
.site-footer__inner,
.site-main {
	width: min(100% - 2rem, var(--help-tema-max-width));
	margin: 0 auto;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 76px;
}

.site-title {
	font-size: 1.35rem;
	font-weight: 700;
	text-decoration: none;
}

.main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation a {
	text-decoration: none;
	font-weight: 600;
}

.site-header {
	z-index: 60;
	background: #fff;
	border-bottom: 1px solid #e7e7e7;
	color: var(--header-primary);
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.header-promo,
.site-header .site-header__inner,
.header-category-nav__inner {
	width: min(100% - 28px, 100%);
	margin: 0 auto;
}

.header-promo {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 22px;
	min-height: 36px;
	background: #fff;
	color: var(--header-primary);
	font-size: 16px;
	font-weight: 800;
}

.header-promo p {
	margin: 0;
	font-size: inherit;
	line-height: 1.25;
}

.header-promo__customers {
	color: var(--header-primary);
	text-align: left;
}

.header-promo__shipping {
	color: var(--header-primary);
	font-weight: 700;
	text-align: right;
}

.header-promo__ribbons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	margin: 0 auto;
}

.header-ribbon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 36px;
	padding: 0 28px;
	background: var(--green);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s var(--ease);
}

.header-ribbon::before,
.header-ribbon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 24px;
	height: 36px;
	background: inherit;
	display: block;
}

.header-ribbon::before {
	left: -16px;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.header-ribbon::after {
	right: -16px;
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

.header-ribbon--wide {
	min-width: 0;
}

.site-header .site-header__inner {
	display: flex;
	align-items: center;
	gap: 34px;
	min-height: 124px;
}

.header-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--header-primary);
	text-decoration: none;
}

.header-logo .custom-logo {
	width: auto;
	max-width: 260px;
	max-height: 82px;
}

.header-logo .site-title {
	color: var(--header-primary);
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.1;
}

.header-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1;
	max-width: 665px;
	min-height: 40px;
	overflow: hidden;
	border: 1px solid var(--header-primary);
	border-radius: 999px;
	background: #fff;
}

.header-search::before {
	display: none;
}

.header-search input[type="search"] {
	width: 100%;
	min-width: 0;
	height: 38px;
	padding: 0 52px 0 19px;
	border: 0;
	border-radius: inherit;
	color: #555;
	font-size: 14px;
	outline: none;
}

.header-search input[type="search"]::placeholder {
	color: #999;
	opacity: 1;
}

.header-search button {
	position: absolute;
	top: 3px;
	right: 10px;
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--blue);
	cursor: pointer;
	transition: background 0.15s var(--ease);
}

.header-search button:hover {
	background: transparent;
	color: var(--green-700);
}

.help-icon {
	display: block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	margin-left: auto;
	color: var(--header-primary);
}

.header-login,
.header-action,
.header-cart {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.header-login {
	gap: 13px;
	min-width: 215px;
	padding: 0;
	border-radius: 0;
	color: #777;
	transition: background 0.15s var(--ease);
}

.header-login .help-icon {
	width: 48px;
	height: 48px;
	color: var(--header-primary);
	stroke-width: 1.6;
	flex-shrink: 0;
}

.header-login small,
.header-login strong {
	display: block;
}

.header-login small {
	color: var(--faint);
	font-size: 11px;
	line-height: 1.1;
}

.header-login strong {
	color: var(--header-primary);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.25;
}

.header-action {
	flex-direction: column;
	gap: 4px;
	justify-content: center;
	width: 58px;
	min-height: 66px;
	padding: 0;
	border-radius: 0;
	color: var(--header-primary);
	transition: background 0.15s var(--ease);
}

.header-action .help-icon {
	width: 35px;
	height: 35px;
	stroke-width: 1.6;
	flex-shrink: 0;
}

.header-action span {
	max-width: 78px;
	color: var(--header-primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.15;
}

.header-cart {
	position: relative;
	gap: 8px;
	min-height: 49px;
	padding: 0 15px;
	border-radius: 999px;
	background: #ece9e9;
	color: var(--header-cta);
	transition: background 0.15s var(--ease);
}

.header-cart .help-icon {
	width: 24px;
	height: 24px;
	stroke-width: 1.7;
}

.header-cart span {
	position: absolute;
	top: 2px;
	left: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--green);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.header-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--header-primary);
	border-radius: 999px;
	background: #fff;
	color: var(--header-primary);
	cursor: pointer;
}

.header-menu-toggle .help-icon {
	width: 24px;
	height: 24px;
}

.header-category-nav {
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
	background: #fff;
	color: var(--header-primary);
}

.header-category-nav__inner {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 25px;
	min-height: 95px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.header-category {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 60px;
	min-height: 95px;
	gap: 5px;
	padding: 0;
	color: var(--header-primary);
	text-align: center;
	text-decoration: none;
	transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.header-category .help-icon {
	width: 42px;
	height: 42px;
	stroke-width: 1.35;
}

.header-category span {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.18;
	white-space: normal;
}

.header-category:hover,
.header-action:hover,
.header-login:hover,
.header-cart:hover {
	color: var(--header-primary-dark);
}

.header-category:hover {
	background: transparent;
	color: var(--header-primary-dark);
}

.header-ribbon:hover {
	color: #fff;
	background: var(--green-600);
}

.site-main {
	padding: 3rem 0;
}

.store-hero {
	display: grid;
	align-items: center;
	min-height: 360px;
	padding: 3rem;
	background: #202020;
	color: #fff;
}

.store-hero__content {
	max-width: 620px;
}

.store-hero__eyebrow {
	margin: 0 0 0.5rem;
	color: #f3b24f;
	font-weight: 700;
	text-transform: uppercase;
}

.store-hero h1 {
	margin: 0;
	font-size: clamp(2rem, 6vw, 4.5rem);
	line-height: 1;
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.7rem 1rem;
	border: 0;
	border-radius: 6px;
	background: var(--help-tema-accent);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--help-tema-accent-dark);
	color: #fff;
}

.content-list {
	display: grid;
	gap: 1.25rem;
}

.content-list.row,
.home-product-grid.row {
	display: flex;
}

.entry-card,
.entry-single,
.entry-page,
.empty-state {
	background: var(--help-tema-surface);
	border: 1px solid var(--help-tema-border);
	border-radius: 8px;
	overflow: hidden;
}

.entry-card {
	display: grid;
	grid-template-columns: minmax(180px, 32%) 1fr;
}

.entry-card__body,
.entry-single,
.entry-page,
.empty-state {
	padding: 1.5rem;
}

.entry-title {
	margin-top: 0;
	line-height: 1.2;
}

.entry-title a {
	text-decoration: none;
}

.entry-summary,
.archive-description {
	color: var(--help-tema-muted);
}

.featured-products {
	margin-top: 3rem;
}

.home-main {
	background: #fff;
}

.home-banner {
	background: #fff;
	border-top: 2px solid var(--header-primary);
}

.home-banner__link,
.home-banner picture {
	display: block;
}

.home-banner img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	object-position: center;
}

.home-product-showcase {
	padding: 20px 0 14px;
	background: #fff;
}

.home-product-showcase__inner,
.home-trust-strip__inner {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
}

.home-section-head {
	margin-bottom: 12px;
	text-align: center;
}

.home-section-head h2 {
	margin: 0;
	color: var(--navy);
	font-size: 16px;
	font-weight: 800;
}

.home-product-grid {
	align-items: stretch;
	--bs-gutter-x: 18px;
	--bs-gutter-y: 28px;
}

.home-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--ink);
	text-align: center;
}

.home-product-card::before {
	content: none;
}

.home-product-card__badges {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 22px;
	margin-bottom: 6px;
}

.home-product-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 22px;
	padding: 3px 12px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.home-product-card__badge::before {
	content: "\26A0";
	margin-right: 5px;
	font-size: 10px;
	line-height: 1;
}

.home-product-card__badge--dark {
	background: #0b0f14;
	color: #fff;
}

.home-product-card__badge--soft {
	background: var(--green-50);
	color: var(--green-700);
}

.home-product-card__thumb {
	display: grid;
	place-items: center;
	height: 140px;
	margin-bottom: 7px;
	padding: 0 8px;
	background: #fff;
	text-decoration: none;
}

.home-product-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.home-product-card__thumb .help-icon {
	width: 58px;
	height: 58px;
	color: var(--navy);
	opacity: 0.24;
}

.home-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: stretch;
	gap: 7px;
	text-align: center;
}

.home-product-card__brand {
	color: var(--green-700);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.home-product-card h3 {
	min-height: 42px;
	margin: 0;
	color: var(--blue);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.17;
}

.home-product-card h3 a {
	text-decoration: none;
}

.home-product-card__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--amber);
	font-size: 13px;
	line-height: 1;
}

.home-product-card__stars {
	display: inline-flex;
	gap: 1px;
}

.home-product-card__stars span {
	color: var(--amber);
}

.home-product-card__price {
	display: flex;
	min-height: 42px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--navy);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
}

.home-product-card__old {
	display: block;
	color: var(--faint);
	font-size: 11px;
	font-weight: 500;
}

.home-product-card__old del {
	text-decoration: line-through;
}

.home-product-card__cash {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
	color: var(--navy);
}

.home-product-card__cash strong,
.home-product-card__cash .amount {
	color: var(--green-700);
	font-weight: 800;
}

.home-product-card__cash em {
	color: var(--blue);
	font-size: 10px;
	font-style: normal;
	font-weight: 600;
}

.home-product-card__payment {
	min-height: 32px;
	margin: 0;
	color: var(--ink);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
}

.home-product-card__purchase {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 6px;
	align-items: center;
	margin-top: auto;
}

.home-product-card__purchase input[type="number"] {
	width: 100%;
	height: 26px;
	padding: 0 4px 0 8px;
	border: 1px solid #cfd7df;
	border-radius: 5px;
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	text-align: center;
}

.home-product-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	width: 100%;
	padding: 3px 12px;
	border: 0;
	border-radius: 5px;
	background: var(--green);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.home-product-card__button:hover {
	background: var(--green-700);
	color: #fff;
}

.home-product-card__button--link {
	margin-top: auto;
}

.home-empty-products {
	padding: 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	text-align: center;
}

.home-trust-strip {
	padding: 14px 0 32px;
	background: #fff;
}

.home-trust-strip__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	color: var(--navy);
}

.home-trust-strip span {
	color: var(--muted);
	font-size: 12px;
}

.home-trust-strip strong {
	color: var(--navy);
	font-size: 16px;
	font-weight: 800;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 28px 18px;
	align-items: stretch;
}

.woocommerce ul.products li.product {
	width: auto;
	float: none;
	margin: 0;
	padding: 0 6px;
	background: var(--help-tema-surface);
	border: 0;
	border-radius: 0;
	text-align: center;
}

.woocommerce ul.products li.product a img {
	width: 100%;
	height: 140px;
	margin: 0 0 8px;
	object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	min-height: 42px;
	padding: 0;
	color: var(--blue);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.17;
}

.woocommerce ul.products li.product .star-rating {
	float: none;
	margin: 8px auto;
	color: var(--amber);
	font-size: 12px;
}

.woocommerce ul.products li.product .price {
	display: flex;
	min-height: 42px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--navy);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
}

.woocommerce ul.products li.product .price del {
	color: var(--faint);
	font-size: 11px;
	opacity: 1;
}

.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price .amount {
	color: var(--green-700);
	font-weight: 800;
	text-decoration: none;
}

.woocommerce ul.products li.product .button {
	min-height: 26px;
	margin-top: 8px;
	padding: 3px 14px;
	border-radius: 5px;
	background: var(--green);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
}

.woocommerce ul.products li.product .button:hover {
	background: var(--green-700);
}

@media (max-width: 780px) {
	.entry-card {
		display: block;
	}

	.store-hero {
		padding: 2rem 1.25rem;
	}

}

@media (max-width: 1280px) {
	.header-promo {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 8px 0;
		text-align: center;
	}

	.header-promo__customers,
	.header-promo__shipping {
		padding-top: 0;
		text-align: center;
	}

	.header-promo__ribbons {
		width: 100%;
		min-width: 0;
	}

	.site-header .site-header__inner {
		gap: 20px;
		min-height: 102px;
	}

	.header-actions {
		gap: 14px;
	}

	.header-login {
		min-width: 170px;
	}

	.header-action {
		width: 50px;
	}

	.header-category-nav__inner {
		justify-content: flex-start;
	}

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

@media (max-width: 1199.98px) {
	.header-menu-toggle {
		display: inline-flex;
	}
}

@media (max-width: 980px) {
	.home-product-grid {
		align-items: stretch;
	}

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

	.home-trust-strip__inner {
		flex-wrap: wrap;
	}

	.site-header .site-header__inner {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 14px;
		padding: 16px 0;
	}

	.header-search {
		grid-column: 1 / -1;
		order: 3;
	}

	.header-actions {
		display: none;
	}

	.header-menu-toggle {
		display: inline-flex;
	}

	.header-category-nav {
		display: none;
	}

	.header-category-nav.is-open {
		display: block;
	}

	.header-category-nav__inner {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		min-height: 0;
		padding: 8px 0;
		overflow: visible;
	}

	.header-category {
		width: auto;
		min-height: 72px;
		padding: 8px;
	}

}

@media (max-width: 640px) {
	.home-product-grid {
		align-items: stretch;
	}

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

	.header-promo__ribbons {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.header-ribbon,
	.header-ribbon--wide {
		width: min(100%, 330px);
		min-width: 0;
	}

	.header-promo {
		justify-items: center;
	}

	.header-logo .custom-logo {
		max-height: 46px;
	}
}

@media (max-width: 480px) {
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
}

/* Home - brands slider */
.home-brand-tabs {
	padding: 4px 0 34px;
	background: #fff;
}

.home-brand-tabs__inner {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.home-brand-tabs__head {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.home-brand-tabs__head h2 {
	margin: 0;
	color: var(--navy);
	font-size: 16px;
	font-weight: 800;
}

.home-brand-slider {
	display: flex;
	gap: 18px;
	align-items: center;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding: 8px 2px 14px;
	-webkit-overflow-scrolling: touch;
}

.home-brand-slider::-webkit-scrollbar {
	height: 7px;
}

.home-brand-slider::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #d6dce3;
}

.home-brand-card {
	display: grid;
	place-items: center;
	flex: 0 0 170px;
	height: 76px;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--shadow-sm);
	scroll-snap-align: start;
	text-decoration: none;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}

.home-brand-card:hover,
.home-brand-card:focus {
	border-color: #d5dfeb;
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.home-brand-card img {
	width: 100%;
	max-height: 46px;
	object-fit: contain;
}
