:root {
	--ss-red: #d71920;
	--ss-red-dark: #b51218;
	--ss-ink: #111827;
	--ss-muted: #5f6b7a;
	--ss-line: #e5e9f0;
	--ss-soft: #f5f7fa;
	--ss-blue: #1746a2;
	--ss-white: #fff;
	--ss-radius: 16px;
	--ss-shadow: 0 14px 38px rgba(17, 24, 39, .08);
	--ss-shell: 1180px;
}

html { scroll-behavior: smooth; }

body.softstore-modern {
	margin: 0;
	background: var(--ss-white);
	color: var(--ss-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.softstore-modern *,
.softstore-modern *::before,
.softstore-modern *::after { box-sizing: border-box !important; }

.softstore-modern img { max-width: 100%; height: auto; }
.softstore-modern a { color: var(--ss-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
.softstore-modern a:hover { color: var(--ss-red); }
.softstore-modern h1,
.softstore-modern h2,
.softstore-modern h3,
.softstore-modern h4 { color: var(--ss-ink); font-weight: 750; letter-spacing: -.025em; }

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

.ss-skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 99999;
	padding: 10px 16px;
	background: var(--ss-ink);
	color: #fff;
	border-radius: 8px;
}

.ss-shell,
.ss-header-inner,
.ss-footer-inner,
.ss-footer-copy {
	width: min(calc(100% - 40px), var(--ss-shell));
	margin-inline: auto;
}

/* Header */
.ss-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--ss-line);
	box-shadow: 0 3px 18px rgba(17, 24, 39, .04);
	backdrop-filter: blur(14px);
}

.admin-bar .ss-site-header { top: 32px; }

.ss-header-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(210px, 260px);
	align-items: center;
	gap: 28px;
	min-height: 88px;
}

.ss-brand img { display: block; width: min(250px, 22vw); max-height: 58px; object-fit: contain; }
.ss-brand__name { font-size: 1.6rem; font-weight: 800; color: var(--ss-ink); }

.softstore-modern #menu { position: static; }
.softstore-modern #menu ul { list-style: none; margin: 0; padding: 0; }
.softstore-modern #menu > ul { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.softstore-modern #menu > ul > li { float: none; margin: 0; position: relative; }
.softstore-modern #menu > ul > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 9px 11px;
	border-radius: 9px;
	color: var(--ss-ink);
	font-size: .91rem;
	font-weight: 650;
	text-decoration: none;
}
.softstore-modern #menu > ul > li > a:hover,
.softstore-modern #menu > ul > li.current-menu-item > a,
.softstore-modern #menu > ul > li.current-menu-ancestor > a { background: #fff1f2; color: var(--ss-red); }
.softstore-modern #menu li ul {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	display: none;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--ss-line);
	border-radius: 12px;
	box-shadow: var(--ss-shadow);
}
.softstore-modern #menu li:hover > ul,
.softstore-modern #menu li:focus-within > ul { display: block; }
.softstore-modern #menu li ul a { display: block; padding: 9px 10px; color: var(--ss-ink); text-decoration: none; border-radius: 7px; }
.softstore-modern #menu li ul a:hover { background: var(--ss-soft); color: var(--ss-red); }

.ss-header-search form { position: relative; margin: 0; }
.ss-header-search form div { position: relative; }
.ss-header-search input[type="text"],
.ss-header-search input[type="search"] {
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 72px 0 14px !important;
	background: var(--ss-soft);
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .9rem;
}
.ss-header-search input[type="text"]:focus,
.ss-header-search input[type="search"]:focus { outline: 3px solid rgba(215, 25, 32, .14); border-color: var(--ss-red); background: #fff; }
.ss-header-search input[type="submit"] {
	position: absolute;
	top: 5px;
	right: 5px;
	height: 32px;
	margin: 0;
	padding: 0 13px;
	background: var(--ss-ink);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 650;
	cursor: pointer;
}
.ss-menu-toggle { display: none; }

/* Home */
.ss-home { overflow: hidden; }
.ss-home-intro {
	padding: 74px 0 60px;
	background:
		radial-gradient(circle at 88% 12%, rgba(215, 25, 32, .11), transparent 25%),
		linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
	border-bottom: 1px solid var(--ss-line);
}
.ss-home-intro .ss-shell { max-width: 980px; text-align: center; }
.ss-eyebrow { margin: 0 0 9px; color: var(--ss-red); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ss-home-intro h1 { max-width: 900px; margin: 0 auto 18px; font-size: clamp(2.35rem, 5vw, 4.65rem); line-height: 1.04; }
.ss-home-intro__text { max-width: 760px; margin: 0 auto; color: var(--ss-muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.ss-topic-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 28px; }
.ss-topic-links a { padding: 8px 14px; background: #fff; border: 1px solid var(--ss-line); border-radius: 999px; color: var(--ss-ink); font-size: .88rem; font-weight: 650; text-decoration: none; box-shadow: 0 4px 12px rgba(17, 24, 39, .04); }
.ss-topic-links a:hover { border-color: var(--ss-red); color: var(--ss-red); transform: translateY(-1px); }

.ss-section { padding: 74px 0; }
.ss-section:nth-of-type(odd) { background: var(--ss-soft); }
.ss-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ss-section-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.12; }
.ss-section-heading > a { font-weight: 700; text-decoration: none; white-space: nowrap; }

.ss-featured-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .85fr); gap: 28px; }
.ss-lead-story { overflow: hidden; background: #fff; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); box-shadow: var(--ss-shadow); }
.ss-lead-story__image { display: block; aspect-ratio: 16 / 9; background: var(--ss-soft); overflow: hidden; }
.ss-lead-story__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ss-lead-story:hover .ss-lead-story__image img { transform: scale(1.025); }
.ss-lead-story__body { padding: clamp(24px, 4vw, 42px); }
.ss-lead-story h2 { margin: 10px 0 14px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.12; }
.ss-lead-story h2 a { color: inherit; text-decoration: none; }
.ss-lead-story p { color: var(--ss-muted); }

.softstore-modern a.ss-button,
.softstore-modern a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 10px 18px;
	background: var(--ss-red) !important;
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	font-weight: 750;
	text-decoration: none !important;
}
.softstore-modern a.ss-button:hover,
.softstore-modern a.button:hover { background: var(--ss-red-dark) !important; color: #fff !important; transform: translateY(-1px); }

.ss-featured-side { display: grid; gap: 14px; }
.ss-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ss-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ss-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; margin: 0; background: #fff; border: 1px solid var(--ss-line); border-radius: 14px; box-shadow: 0 8px 24px rgba(17, 24, 39, .055); transition: transform .2s ease, box-shadow .2s ease; }
.ss-card:hover { transform: translateY(-4px); box-shadow: var(--ss-shadow); }
.ss-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9edf3; }
.ss-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ss-card:hover .ss-card__image img { transform: scale(1.035); }
.ss-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(135deg, #1a2440, #d71920); color: rgba(255,255,255,.85); font-size: 1.25rem; font-weight: 800; }
.ss-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.ss-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; color: var(--ss-muted); font-size: .76rem; font-weight: 650; }
.ss-card__meta a { color: var(--ss-red); text-decoration: none; }
.ss-card__title { margin: 9px 0 9px; font-size: 1.18rem; line-height: 1.3; }
.ss-card__title a { color: inherit; text-decoration: none; }
.ss-card__body > p { margin: 0 0 15px; color: var(--ss-muted); font-size: .92rem; line-height: 1.55; }
.ss-card__link { margin-top: auto; font-size: .88rem; font-weight: 750; text-decoration: none; }

.ss-card--compact { display: grid; grid-template-columns: 134px minmax(0, 1fr); min-height: 134px; }
.ss-card--compact .ss-card__image { aspect-ratio: auto; height: 100%; }
.ss-card--compact .ss-card__body { padding: 15px; }
.ss-card--compact .ss-card__title { margin: 6px 0; font-size: 1rem; }
.ss-card--compact .ss-card__body > p,
.ss-card--compact .ss-card__link { display: none; }

.ss-section--products { background: #121826 !important; }
.ss-section--products .ss-section-heading h2 { color: #fff; }
.ss-section--products .ss-section-heading > a { color: #fff; }
.ss-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ss-product-card { overflow: hidden; margin: 0; background: #fff; border-radius: 14px; }
.ss-product-card__image { aspect-ratio: 16 / 10; overflow: hidden; background: #eef1f5; }
.ss-product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ss-product-card__body { padding: 20px; }
.ss-product-card h3 { margin: 0 0 9px; font-size: 1.2rem; }
.ss-product-card p { color: var(--ss-muted); font-size: .9rem; }
.ss-product-card a { font-weight: 750; text-decoration: none; }

/* Archives and single content */
.softstore-modern .container {
	width: min(calc(100% - 40px), var(--ss-shell));
	margin-inline: auto;
}
.softstore-modern #Content { float: none; width: auto; padding: 46px 0 70px; }
.softstore-modern #Content .container { display: flow-root; }
.softstore-modern .content { width: min(100%, 820px); }
.softstore-modern .with_aside .content { width: min(calc(100% - 330px), 820px) !important; }
.softstore-modern .the_content_wrapper { margin: 0; overflow: visible; }

@media (min-width: 901px) {
	.softstore-modern #Content.with_aside > .container {
		display: grid;
		grid-template-columns: minmax(0, 820px) minmax(260px, 300px);
		justify-content: start;
		gap: 30px;
	}
	.softstore-modern #Content.with_aside .content,
	.softstore-modern #Content.with_aside .widget-area {
		float: none;
		width: 100% !important;
		margin: 0;
	}
	.softstore-modern #Content.aside_right .content { order: 1; }
	.softstore-modern #Content.aside_right .widget-area { order: 2; }
	.softstore-modern #Content.aside_left .widget-area { order: 1; }
	.softstore-modern #Content.aside_left .content { order: 2; }
}

.ss-subheader { padding: 45px 0 26px; background: var(--ss-soft); border-bottom: 1px solid var(--ss-line); }
.ss-subheader .container { background: none !important; }
.ss-subheader .columns { float: none; width: 100%; margin: 0; }
.ss-subheader h1 { float: none !important; max-width: 900px; margin: 0 0 12px !important; padding: 0 !important; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; }
.ss-subheader .breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 7px;
	float: none;
	width: 100%;
	margin: 0 !important;
	padding: 0;
	color: var(--ss-muted);
	font-size: .82rem;
	list-style: none;
}
.ss-subheader .breadcrumbs li { float: none; margin: 0; padding: 0; }
.ss-subheader .breadcrumbs a { text-decoration: none; }

.softstore-modern .the_content { font-size: 1.05rem; line-height: 1.78; }
.softstore-modern .the_content > p,
.softstore-modern .the_content > ul,
.softstore-modern .the_content > ol { margin-bottom: 1.35em; }
.softstore-modern .the_content h2 { margin-top: 1.65em; font-size: 1.8rem; line-height: 1.2; }
.softstore-modern .the_content h3 { margin-top: 1.45em; font-size: 1.4rem; line-height: 1.25; }
.softstore-modern .the_content img { border-radius: 10px; }
.softstore-modern .the_content blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--ss-soft); border-left: 4px solid var(--ss-red); border-radius: 0 10px 10px 0; }

/* Some established How-To index pages use the old "breadcrumbs" class for
 * article lists. Inside page content it is a guide list, not navigation. */
.softstore-modern .the_content ul.breadcrumbs {
	display: grid;
	float: none;
	width: 100%;
	margin: 0 0 28px;
	padding: 0;
	border-top: 1px solid var(--ss-line);
	list-style: none;
}
.softstore-modern .the_content ul.breadcrumbs li {
	display: block;
	float: none;
	margin: 0;
	padding: 10px 4px;
	border-bottom: 1px solid var(--ss-line);
}
.softstore-modern .the_content ul.breadcrumbs li::before {
	display: inline-block;
	margin-right: 9px;
	color: var(--ss-red);
	content: "\2192";
}
.softstore-modern .the_content ul.breadcrumbs a { font-weight: 650; text-decoration: none; }

.softstore-modern .post { width: 100% !important; max-width: none; margin-bottom: 26px; }
.softstore-modern .post .meta { display: none; }
.softstore-modern .post .desc,
.softstore-modern .post .desc_no_meta,
.softstore-modern.single-post .post .desc.desc_no_meta {
	display: block;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.softstore-modern .post .image { margin: 0 0 16px; padding: 0; border: 0; line-height: 0; }
.softstore-modern .post .ss-featured-picture { display: block; width: 100%; }
.softstore-modern .post .image img { display: block; width: 100%; border: 0; border-radius: 12px; }
.softstore-modern .ss-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; color: var(--ss-muted); font-size: .88rem; }

.softstore-modern #Content:not(.with_aside) .the_content_wrapper { max-width: 900px; margin-inline: auto; }
.softstore-modern aside.widget { margin-bottom: 22px; padding: 20px; background: var(--ss-soft); border: 1px solid var(--ss-line); border-radius: 12px; }
.softstore-modern .widget-area #searchform { display: flex; gap: 8px; margin: 0; }
.softstore-modern .widget-area #searchform #s {
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0 11px;
	border: 1px solid #cfd6e1;
	border-radius: 8px;
	background: #fff;
}
.softstore-modern .widget-area #searchsubmit {
	height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: var(--ss-ink);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.softstore-modern .Latest_posts ul { margin: 0; padding: 0; list-style: none; }
.softstore-modern .Latest_posts li { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ss-line); }
.softstore-modern .Latest_posts li:last-child { border-bottom: 0; }
.softstore-modern .Latest_posts .thumbnail { position: relative; width: 55px; height: 55px; }
.softstore-modern .Latest_posts .thumbnail img { display: block; width: 55px; height: 55px; border-radius: 7px; object-fit: cover; }
.softstore-modern .Latest_posts .quantity_of_comments { position: absolute; top: -5px; right: -5px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--ss-ink); color: #fff; font-size: 10px; line-height: 1; }
.softstore-modern .Latest_posts .info h6 { margin: 0; font-size: .88rem; line-height: 1.3; }
.softstore-modern .Latest_posts .info a { text-decoration: none; }

/* Archive pagination */
.softstore-modern .pager {
	height: auto;
	margin: 36px 0 8px;
	padding: 22px 0 0;
	overflow: visible;
	border-top: 1px solid var(--ss-line);
}
.softstore-modern .pager center {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
}
.softstore-modern .pager a.page,
.softstore-modern .pager span.page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ss-line);
	border-radius: 9px;
	background: #fff;
	color: var(--ss-ink);
	font-size: .9rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}
.softstore-modern .pager a.page:hover,
.softstore-modern .pager a.page.active {
	border-color: var(--ss-red);
	background: var(--ss-red);
	color: #fff;
}
.softstore-modern .pager .prev_page,
.softstore-modern .pager .next_page {
	position: static;
	padding: 8px 11px;
	color: var(--ss-ink);
	font-size: .88rem;
	font-weight: 700;
	text-decoration: none;
}
.softstore-modern .pager .prev_page:hover,
.softstore-modern .pager .next_page:hover { color: var(--ss-red); }

/* Comments and comment form */
.softstore-modern #comments {
	width: 100%;
	margin-top: 48px;
	padding-top: 34px;
	border-top: 1px solid var(--ss-line);
}
.softstore-modern #comments-title,
.softstore-modern #reply-title { margin: 0 0 22px; font-size: 1.45rem; line-height: 1.25; }
.softstore-modern #comments-title span { color: var(--ss-muted); }
.softstore-modern #comments .commentlist,
.softstore-modern #comments .commentlist .children { margin: 0; padding: 0; list-style: none; }
.softstore-modern #comments .commentlist > li { margin: 0 0 16px; border: 0; }
.softstore-modern #comments .commentlist .children {
	margin: 14px 0 0 28px;
	padding-left: 18px;
	border-left: 2px solid var(--ss-line);
}
.softstore-modern #comments .comment-body {
	position: relative;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--ss-line);
	border-radius: 12px;
	background: #fff;
}
.softstore-modern #comments .comment-author {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: .95rem;
	font-weight: 750;
}
.softstore-modern #comments .comment-author .avatar {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	object-fit: cover;
}
.softstore-modern #comments .comment-author-name a { color: var(--ss-ink); text-decoration: none; }
.softstore-modern #comments .edit-link { margin-left: auto; font-size: .78rem; font-weight: 600; }
.softstore-modern #comments .comment-content { margin-top: 13px; color: #303948; line-height: 1.65; }
.softstore-modern #comments .comment-content p:last-child { margin-bottom: 0; }
.softstore-modern #comments .comment-awaiting-moderation { margin: 12px 0 0; color: var(--ss-red); font-size: .88rem; }
.softstore-modern #comments .reply { position: static; margin-top: 12px; }
.softstore-modern #comments .reply a {
	display: inline-flex;
	padding: 5px 10px;
	border-radius: 7px;
	background: var(--ss-soft);
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none;
}
.softstore-modern #comment-nav { display: flex; justify-content: space-between; gap: 20px; margin: 22px 0; }
.softstore-modern #respond {
	margin-top: 34px;
	padding: clamp(22px, 4vw, 30px);
	overflow: visible;
	border: 1px solid var(--ss-line);
	border-radius: 14px;
	background: var(--ss-soft);
}
.softstore-modern #respond .comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}
.softstore-modern #respond .comment-notes,
.softstore-modern #respond .logged-in-as,
.softstore-modern #respond .comment-form-comment,
.softstore-modern #respond .comment-form-cookies-consent,
.softstore-modern #respond .form-submit { grid-column: 1 / -1; }
.softstore-modern #respond p { position: relative; float: none; width: auto; margin: 0; padding: 0 !important; }
.softstore-modern #respond .comment-form-url { display: none !important; }
.softstore-modern #respond label {
	display: block;
	margin: 0 0 6px;
	color: var(--ss-ink);
	font-size: .88rem;
	font-weight: 700;
}
.softstore-modern #respond input[type="text"],
.softstore-modern #respond input[type="email"],
.softstore-modern #respond input[type="url"],
.softstore-modern #respond textarea {
	display: block;
	width: 100% !important;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #cfd6e1;
	border-radius: 9px;
	background: #fff;
	color: var(--ss-ink);
	font: inherit;
	line-height: 1.5;
}
.softstore-modern #respond textarea { min-height: 170px; resize: vertical; }
.softstore-modern #respond input:focus,
.softstore-modern #respond textarea:focus { outline: 3px solid rgba(215, 25, 32, .14); border-color: var(--ss-red); }
.softstore-modern #respond .required { position: static; color: var(--ss-red); }
.softstore-modern #respond .comment-notes,
.softstore-modern #respond .logged-in-as { color: var(--ss-muted); font-size: .86rem; }
.softstore-modern #respond .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; }
.softstore-modern #respond .comment-form-cookies-consent input { flex: 0 0 auto; margin-top: 5px; }
.softstore-modern #respond .comment-form-cookies-consent label { margin: 0; font-weight: 500; }
.softstore-modern #respond .form-submit { margin-top: 2px; }
.softstore-modern #respond #submit {
	float: none !important;
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 9px;
	background: var(--ss-red);
	color: #fff;
	font-weight: 750;
	cursor: pointer;
}
.softstore-modern #respond #submit:hover { background: var(--ss-red-dark); }

@media (max-width: 620px) {
	.softstore-modern #respond .comment-form { grid-template-columns: 1fr; }
	.softstore-modern #respond .comment-form-author,
	.softstore-modern #respond .comment-form-email { grid-column: 1; }
	.softstore-modern #comments .commentlist .children { margin-left: 10px; padding-left: 12px; }
	.softstore-modern #comments .comment-body { padding: 16px; }
}
.ss-empty-state,
.ss-error-page { text-align: center; }
.ss-empty-state { padding: 54px 0; }
.ss-error-page { display: grid; min-height: 62vh; padding: 80px 0; place-items: center; background: var(--ss-soft); }
.ss-error-page .ss-shell { max-width: 720px; }
.ss-error-code { margin: 0; color: var(--ss-red); font-size: clamp(4rem, 12vw, 8rem); font-weight: 850; line-height: 1; }
.ss-error-page h1 { margin: 8px 0 14px; font-size: clamp(2rem, 5vw, 3.5rem); }
.ss-error-page #searchform,
.ss-empty-state #searchform { display: flex; max-width: 520px; margin: 28px auto 18px; }
.ss-error-page #s,
.ss-empty-state #s { flex: 1; min-width: 0; }

/* Footer */
.softstore-modern #Footer { float: none; border: 0; background: #1a2030; color: #d7dce6; }
.softstore-modern #Footer .container { padding-top: 42px; background: none; }
.softstore-modern #Footer h4 { color: #fff; }
.ss-site-footer { padding: 52px 0 22px; background: #0e1320; color: #aeb7c7; }
.ss-footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 36px; }
.ss-footer-brand { color: #fff !important; font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.ss-footer-inner p { max-width: 580px; margin: 7px 0 0; }
.ss-footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.ss-footer-nav a,
.ss-footer-copy a { color: #dfe5ef; text-decoration: none; }
.ss-footer-copy { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

/* Focus and motion */
.softstore-modern a:focus-visible,
.softstore-modern button:focus-visible,
.softstore-modern input:focus-visible { outline: 3px solid rgba(215, 25, 32, .35); outline-offset: 3px; }

@media (max-width: 1100px) {
	.ss-header-inner { grid-template-columns: auto 1fr; gap: 16px 24px; padding-block: 14px; }
	.ss-header-search { grid-column: 1 / -1; }
	.ss-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ss-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.admin-bar .ss-site-header { top: 46px; }
	.ss-header-inner { grid-template-columns: 1fr auto; min-height: 74px; }
	.ss-brand img { width: min(230px, 55vw); }
	.ss-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		background: var(--ss-ink);
		border: 0;
		border-radius: 10px;
		cursor: pointer;
	}
	.ss-menu-toggle__bars,
	.ss-menu-toggle__bars::before,
	.ss-menu-toggle__bars::after { display: block; width: 20px; height: 2px; background: #fff; content: ""; transition: transform .2s ease; }
	.ss-menu-toggle__bars::before { transform: translateY(-6px); }
	.ss-menu-toggle__bars::after { transform: translateY(4px); }
	.softstore-modern #menu { display: none; grid-column: 1 / -1; width: 100%; }
	.softstore-modern #menu.is-open { display: block; }
	.softstore-modern #menu > ul { display: block; }
	.softstore-modern #menu > ul > li > a { display: flex; width: 100%; }
	.softstore-modern #menu li ul { position: static; display: block; padding: 0 0 4px 16px; border: 0; box-shadow: none; }
	.ss-featured-grid { grid-template-columns: 1fr; }
	.ss-featured-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.softstore-modern .with_aside .content { width: 100% !important; }
	.softstore-modern #Content.with_aside .widget-area { float: none; width: 100% !important; margin: 28px 0 0; }
}

@media (max-width: 620px) {
	.ss-shell,
	.ss-header-inner,
	.ss-footer-inner,
	.ss-footer-copy,
	.softstore-modern .container { width: min(calc(100% - 28px), var(--ss-shell)); }
	.ss-home-intro { padding: 52px 0 44px; }
	.ss-section { padding: 52px 0; }
	.ss-section-heading { align-items: start; flex-direction: column; margin-bottom: 22px; }
	.ss-featured-side,
	.ss-card-grid,
	.ss-card-grid--three,
	.ss-product-grid { grid-template-columns: 1fr; }
	.ss-card--compact { grid-template-columns: 116px minmax(0, 1fr); }
	.ss-card--compact .ss-card__meta span { display: none; }
	.ss-footer-inner,
	.ss-footer-copy { flex-direction: column; }
	.ss-footer-nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.softstore-modern *,
	.softstore-modern *::before,
	.softstore-modern *::after { scroll-behavior: auto !important; transition: none !important; }
}
