﻿:root {
	--as-primary: #111827;
	--as-accent: #ef4444;
	--as-bg: #f8fafc;
	--as-text: #0f172a;
	--as-surface: #ffffff;
	--as-border: #e2e8f0;
	--as-muted: #64748b;
	--as-radius: 14px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: radial-gradient(circle at top right, #fff2f2 0%, var(--as-bg) 42%);
	color: var(--as-text);
	font-family: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background: var(--as-surface);
	clip: auto;
	clip-path: none;
	color: var(--as-text);
	height: auto;
	left: 8px;
	padding: 8px 12px;
	position: fixed;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	z-index: 9999;
}

.container {
	margin: 0 auto;
	max-width: 1240px;
	padding: 0 16px;
}

.site-content {
	min-height: 50vh;
}

.button,
button,
input[type="submit"] {
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 11px 18px;
	transition: all 0.2s ease;
}

.button,
input[type="submit"] {
	background: var(--as-primary);
	color: #ffffff;
}

.button:hover,
input[type="submit"]:hover {
	filter: brightness(1.05);
}

.button--ghost {
	background: transparent;
	border-color: var(--as-border);
	color: var(--as-text);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--as-accent);
	outline-offset: 2px;
}

input[type="text"],
input[type="search"],
input[type="email"],
textarea {
	background: #ffffff;
	border: 1px solid var(--as-border);
	border-radius: 10px;
	color: var(--as-text);
	padding: 10px 12px;
	width: 100%;
}

[hidden] {
	display: none !important;
}

.site-header {
	background: var(--as-surface);
	border-bottom: 1px solid var(--as-border);
	position: relative;
	z-index: 90;
}

.site-header[data-sticky="1"] {
	position: sticky;
	top: 0;
}

.site-header.is-scrolled .header-main {
	box-shadow: 0 12px 20px rgba(15, 23, 42, 0.06);
}

.utility-bar {
	background: var(--as-primary);
	color: #ffffff;
	font-size: 13px;
}

.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 38px;
}

.utility-pills {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.utility-pill {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
}

.header-main {
	background: var(--as-surface);
	transition: box-shadow 0.2s ease;
}

.header-main__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	min-height: 76px;
}

.site-branding img {
	max-height: 46px;
	width: auto;
}

.site-branding__title {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.primary-nav {
	display: none;
}

.primary-nav__list,
.mobile-nav__list {
	display: flex;
	align-items: center;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav__link,
.mobile-nav__link {
	color: var(--as-text);
	font-size: 15px;
	font-weight: 600;
}

.header-dropdown {
	position: relative;
}

.header-dropdown summary {
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	list-style: none;
}

.header-dropdown summary::-webkit-details-marker {
	display: none;
}

.header-dropdown__menu {
	background: var(--as-surface);
	border: 1px solid var(--as-border);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
	display: grid;
	gap: 10px;
	left: 0;
	min-width: 280px;
	padding: 14px;
	position: absolute;
	top: 100%;
}

.header-dropdown__item {
	border-bottom: 1px solid var(--as-border);
	padding-bottom: 10px;
}

.header-dropdown__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.header-dropdown__child-list {
	display: grid;
	gap: 4px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.header-dropdown__child-list a {
	color: var(--as-muted);
	font-size: 13px;
}

.header-icons {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.header-icon {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--as-border);
	border-radius: 999px;
	display: inline-flex;
	gap: 6px;
	height: 40px;
	justify-content: center;
	min-width: 40px;
	padding: 0 11px;
}

.header-icon svg {
	height: 18px;
	width: 18px;
}

.header-icon__count {
	background: var(--as-accent);
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	height: 20px;
	justify-content: center;
	min-width: 20px;
	padding: 0 6px;
}

.mobile-menu-toggle {
	background: #ffffff;
	border: 1px solid var(--as-border);
	height: 40px;
	min-width: 40px;
	padding: 0;
}

.mobile-panel {
	background: var(--as-surface);
	border-bottom: 1px solid var(--as-border);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.26s ease, opacity 0.26s ease;
}

.mobile-panel.is-open {
	max-height: 90vh;
	opacity: 1;
}

.mobile-panel__inner {
	padding: 14px 0 22px;
}

.mobile-nav__list {
	align-items: flex-start;
	flex-direction: column;
	gap: 12px;
}

.mobile-nav__children {
	display: grid;
	gap: 6px;
	list-style: none;
	margin: 8px 0 0 14px;
	padding: 0;
}

.header-search {
	background: var(--as-surface);
	border-bottom: 1px solid var(--as-border);
	padding: 12px 0;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

.home-section {
	padding: 40px 0;
}

.section-head {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.section-title {
	font-size: 26px;
	line-height: 1.2;
	margin: 0;
}

.section-subtitle {
	color: var(--as-muted);
	margin: 0;
}

.hero-strip {
	padding: 28px 0;
}

.hero-strip__card {
	background: linear-gradient(130deg, #ffffff 0%, #fff5f5 65%);
	border: 1px solid #ffd9d9;
	border-radius: 22px;
	padding: 24px 20px;
}

.hero-strip__title {
	font-size: 30px;
	line-height: 1.1;
	margin: 0;
}

.hero-strip__subtitle {
	color: var(--as-muted);
	margin: 10px 0 18px;
	max-width: 680px;
}

.product-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
	background: var(--as-surface);
	border: 1px solid var(--as-border);
	border-radius: var(--as-radius);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.product-card__thumb {
	aspect-ratio: 1 / 1;
	background: #f8fafc;
	overflow: hidden;
}

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

.product-card__body {
	display: grid;
	gap: 8px;
	padding: 12px;
}

.product-card__title {
	font-size: 15px;
	line-height: 1.35;
	margin: 0;
}

.product-card__price {
	color: var(--as-primary);
	font-size: 16px;
	font-weight: 700;
}

.product-card__cta {
	width: 100%;
}

.product-card .star-rating {
	font-size: 13px;
	margin: 0;
}

.media-placeholder {
	align-items: center;
	background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
	color: var(--as-muted);
	display: flex;
	height: 100%;
	justify-content: center;
	padding: 10px;
	text-align: center;
}

.category-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
	background: var(--as-surface);
	border: 1px solid var(--as-border);
	border-radius: var(--as-radius);
	display: block;
	overflow: hidden;
}

.category-card__thumb {
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
}

.category-card__thumb img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.category-card__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
}

.category-card__name {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
}

.category-card__count {
	color: var(--as-muted);
	font-size: 13px;
}

.post-grid {
	display: grid;
	gap: 14px;
}

.post-card {
	background: var(--as-surface);
	border: 1px solid var(--as-border);
	border-radius: var(--as-radius);
	overflow: hidden;
}

.post-card__thumb {
	aspect-ratio: 16 / 9;
	display: block;
}

.post-card__thumb img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.post-card__body {
	padding: 14px;
}

.post-card__title {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 8px;
}

.post-card__meta {
	color: var(--as-muted);
	font-size: 13px;
	margin: 0 0 8px;
}

.newsletter {
	padding-top: 20px;
}

.newsletter__card {
	background: var(--as-primary);
	border-radius: 22px;
	color: #ffffff;
	padding: 24px 20px;
}

.newsletter__title {
	font-size: 28px;
	line-height: 1.2;
	margin: 0;
}

.newsletter__subtitle {
	margin: 8px 0 18px;
	max-width: 680px;
	opacity: 0.88;
}

.newsletter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.newsletter-form input[type="email"] {
	border-color: transparent;
	flex: 1 1 200px;
}

.newsletter__note {
	font-size: 12px;
	margin-top: 10px;
	opacity: 0.85;
}

.site-footer {
	background: #0b1220;
	color: #e2e8f0;
	margin-top: 50px;
	padding: 44px 0 22px;
}

.footer-grid {
	display: grid;
	gap: 26px;
}

.footer-title {
	color: #ffffff;
	font-size: 18px;
	margin: 0 0 10px;
}

.footer-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-list a {
	color: #cbd5e1;
	font-size: 14px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #94a3b8;
	font-size: 13px;
	margin-top: 24px;
	padding-top: 16px;
}

.content-single,
.content-grid,
.not-found {
	padding: 40px 16px;
}

.entry-title,
.archive-title {
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 10px;
}

.entry-thumbnail {
	margin: 16px 0 20px;
}

.not-found__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (min-width: 600px) {
	.category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (min-width: 768px) {
	.container {
		padding: 0 22px;
	}

	.hero-strip__card {
		padding: 30px;
	}

	.hero-strip__title {
		font-size: 42px;
	}

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

	.footer-grid {
		grid-template-columns: 1.2fr 1fr 1fr;
	}
}

@media (min-width: 980px) {
	.primary-nav {
		display: flex;
		justify-content: center;
	}

	.mobile-menu-toggle,
	.mobile-panel {
		display: none !important;
	}
}

@media (min-width: 1100px) {
	.product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
