/*
Theme Name:        Glaco
Theme URI:         https://glaco.local
Author:            Glaco
Description:       Standalone classic theme for Glaco, with basic WooCommerce support.
Version:           1.0.0
Requires at least: 6.0
Requires PHP:      7.4
Text Domain:       glaco
*/

/* -------------------------------------------------
   Reset & base
------------------------------------------------- */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #FBFBFA;
	color: #14151A;
	font-family: 'Be Vietnam Pro', system-ui, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color .16s ease;
}

a:hover {
	color: #f94510;
}

::selection {
	background: #14151A;
	color: #FBFBFA;
}

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

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

.wrap {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* -------------------------------------------------
   Header
------------------------------------------------- */
header {
	background: #FBFBFA;
	border-bottom: 1px solid #14151A;
}

.header-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 18px 32px;
	display: flex;
	align-items: center;
	gap: 36px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.logo-mark {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #14151A;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -.03em;
}

.logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.logo-text b {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.logo-text span {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #9A9AA0;
	margin-top: 4px;
}

nav.main-nav {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
}

.navitem-top {
	display: inline-flex;
	align-items: center;
	font-size: 13.5px;
	font-weight: 600;
	color: #4A4B51;
	padding: 9px 14px;
	border-radius: 999px;
	transition: background .16s ease, color .16s ease;
}

.navitem-top:hover {
	background: #F1F1F3;
	color: #f94510;
	text-decoration: none;
}

.navitem-top.active {
	font-weight: 700;
	color: #f94510;
	background: #F1F1F3;
}

.search-box {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1.5px solid #14151A;
	border-radius: 999px;
	padding: 9px 8px 9px 16px;
	background: #fff;
	width: 260px;
	flex: none;
}

.search-box input {
	border: none;
	outline: none;
	background: transparent;
	font-family: inherit;
	font-size: 13.5px;
	width: 100%;
	color: #14151A;
}

.search-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #14151A;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	border: none;
	cursor: pointer;
}

.not-found .search-box {
	width: 100%;
	max-width: 360px;
	margin-top: 20px;
}

.header-panel {
	display: contents;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: 1.5px solid #14151A;
	border-radius: 10px;
	background: #fff;
	flex: none;
	cursor: pointer;
	margin-left: auto;
}

.nav-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #14151A;
	transition: transform .18s ease, opacity .18s ease;
}

header.nav-open .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

header.nav-open .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

header.nav-open .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------------------------
   Breadcrumb
------------------------------------------------- */
.breadcrumb {
	border-bottom: 1px solid #EEEEF0;
	background: #FBFBFA;
}

.breadcrumb-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 14px 32px;
	font-size: 12.5px;
	color: #8A8A90;
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
}

.breadcrumb .sep {
	color: #C4C4C9;
}

.breadcrumb .current {
	color: #14151A;
}

/* -------------------------------------------------
   Featured strip
------------------------------------------------- */
.featured {
	background: #F4F4F2;
	border-bottom: 1px solid #E7E7EA;
}

.featured-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 32px;
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 15px;
}

.lead-card {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	display: flex;
	min-height: 380px;
	background: #C9C9CC;
}

.lead-card-img {
	position: absolute;
	inset: 0;
	display: block;
}

.lead-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.lead-card-img:hover img {
	transform: scale(1.05);
}

.lead-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,21,26,0) 30%, rgba(20,21,26,.86) 100%);
}

.lead-content {
	position: relative;
	margin-top: auto;
	padding: 30px;
}

.tag {
	display: inline-block;
	background: #14151A;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 5px;
}

.lead-content h2 {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: clamp(24px,2.8vw,34px);
	line-height: 1.12;
	letter-spacing: -.02em;
	color: #fff;
	margin: 14px 0 0;
	max-width: 560px;
}

.lead-meta {
	font-size: 12.5px;
	color: #D5D5DA;
	margin-top: 12px;
}

.side-list {
	display: grid;
	grid-template-rows: repeat(4,1fr);
	gap: 10px;
}

.side-item {
	display: flex;
	gap: 15px;
	background: #fff;
	border: 1px solid #E7E7EA;
	border-radius: 10px;
	padding: 5px;
	align-items: center;
}

.side-item .thumb {
	flex: none;
	width: 100px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	height: 100%;
	border-radius: 7px;
	background: #C9C9CC;
}

.side-item .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.side-item .cat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.side-item h3 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.24;
	letter-spacing: -.01em;
	margin: 5px 0 0;
}

.side-item .date {
	font-size: 11px;
	color: #9C9CA2;
	margin-top: 6px;
}

/* -------------------------------------------------
   Main layout & post feed
------------------------------------------------- */
main.layout {
	max-width: 1220px;
	margin: 0 auto;
	padding: 40px 32px 8px;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	align-items: start;
	flex: 1;
}

.feed-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 16px;
	border-bottom: 2px solid #14151A;
	margin-bottom: 8px;
}

.feed-head h1 {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -.02em;
	margin: 0;
}

.feed-head .rule {
	flex: 1;
	height: 1px;
	background: #E7E7EA;
}

.feed-head .crumb {
	font-size: 12.5px;
	color: #9C9CA2;
}

.archive-description,
.term-description {
	font-size: 14.5px;
	color: #54555B;
	margin: -4px 0 24px;
}

.post-card {
	display: flex;
	gap: 26px;
	padding: 28px 0;
	border-bottom: 1px solid #EAEAED;
	align-items: flex-start;
}
.post-card:first-child {
	padding-top: 0;
}
.post-card .thumb {
	flex: none;
	width: 280px;
	aspect-ratio: 16/10;
	overflow: hidden;
	border-radius: 9px;
	background: #C9C9CC;
}

.post-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.post-card .thumb:hover img {
	transform: scale(1.05);
}

.post-card .body {
	min-width: 0;
	flex: 1;
}

.post-card .cat {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.post-card h2 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.24;
	letter-spacing: -.015em;
	margin: 8px 0 0;
}

.post-card p {
	font-size: 14.5px;
	line-height: 1.6;
	color: #54555B;
	margin: 11px 0 0;
}

.post-card .meta {
	font-size: 12.5px;
	color: #9C9CA2;
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 9px;
}

.post-card .meta b {
	color: #14151A;
	font-weight: 600;
}

.dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #C4C4C9;
	flex: none;
}

.ad-slot {
	margin: 8px 0;
	border: 1px dashed #D6D6DA;
	border-radius: 9px;
	background: repeating-linear-gradient(135deg,#F1F1F3 0 12px,#EAEAEE 12px 24px);
	padding: 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 130px;
}

.ad-slot .label {
	font-size: 10px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #B7B7BC;
}

.ad-slot .name {
	font-family: ui-monospace, monospace;
	font-size: 12px;
	color: #A4A4AA;
}

.ad-slot .size {
	font-family: ui-monospace, monospace;
	font-size: 10.5px;
	color: #BEBEC3;
}

/* -------------------------------------------------
   Pagination (WordPress paginate_links markup)
------------------------------------------------- */
.pagination {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 32px 0 8px;
}

.pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid #DEDEE2;
	color: #64656B;
	font-size: 14px;
	font-weight: 600;
}

.pagination a.page-numbers:hover {
	border-color: #f94510;
	color: #f94510;
	text-decoration: none;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
	padding: 0 18px;
	font-size: 13.5px;
}

.pagination .page-numbers.current {
	background: #14151A;
	color: #fff;
	border-color: #14151A;
}

.pagination .page-numbers.dots {
	border: none;
	color: #B7B7BC;
}

/* -------------------------------------------------
   Sidebar
------------------------------------------------- */
aside.sidebar {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.ad-sticky {
	position: sticky;
	top: 24px;
}

.side-title {
	font-family: 'Archivo', sans-serif;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -.01em;
	padding-bottom: 12px;
	border-bottom: 2px solid #14151A;
}

.cat-list, .latest-list {
	display: flex;
	flex-direction: column;
}

.cat-row {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 13px 0;
	border-bottom: 1px solid #EAEAED;
	font-size: 14px;
	font-weight: 500;
}

.cat-row .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #14151A;
	flex: none;
}

.cat-row .name {
	flex: 1;
	min-width: 0;
}

.cat-row .count {
	font-size: 12px;
	color: #9C9CA2;
	background: #F1F1F3;
	padding: 2px 9px;
	border-radius: 999px;
}

.latest-row {
	display: flex;
	gap: 14px;
	padding: 15px 0;
	border-bottom: 1px solid #EAEAED;
	align-items: flex-start;
}

.latest-row .thumb {
	flex: none;
	width: 70px;
	aspect-ratio: 1/1;
	overflow: hidden;
	border-radius: 6px;
	background: #C9C9CC;
}

.latest-row .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.latest-row .title {
	display: block;
	font-family: 'Archivo', sans-serif;
	font-weight: 600;
	font-size: 13.5px;
	line-height: 1.32;
	color: #24252A;
}

.latest-row .date {
	display: block;
	font-size: 11px;
	color: #9C9CA2;
	margin-top: 6px;
}

.latest-row .title:hover {
	color: #f94510;
}

.ad-label {
	font-size: 10px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #B7B7BC;
	margin-bottom: 8px;
}

.ad-box {
	width: 100%;
	min-height: 280px;
	border: 1px dashed #D6D6DA;
	border-radius: 8px;
	background: repeating-linear-gradient(135deg,#F1F1F3 0 12px,#EAEAEE 12px 24px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.ad-box .name {
	font-family: ui-monospace, monospace;
	font-size: 12px;
	color: #A4A4AA;
}

.ad-box .size {
	font-family: ui-monospace, monospace;
	font-size: 10.5px;
	color: #BEBEC3;
}

.ad-box.tall {
	min-height: 600px;
}

.newsletter {
	background: #14151A;
	color: #fff;
	border-radius: 12px;
	padding: 28px 24px;
}

.newsletter h3 {
	font-family: 'Archivo', sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0;
}

.newsletter p {
	font-size: 13px;
	line-height: 1.6;
	color: #B7B7BC;
	margin: 10px 0 16px;
}

.newsletter form {
	display: flex;
	background: rgba(255,255,255,.16);
	border-radius: 999px;
	padding: 5px 5px 5px 16px;
	align-items: center;
}

.newsletter input {
	border: none;
	outline: none;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	width: 100%;
}

.newsletter button {
	border: none;
	background: #fff;
	color: #14151A;
	font-family: inherit;
	font-weight: 700;
	font-size: 12.5px;
	padding: 9px 15px;
	border-radius: 999px;
	cursor: pointer;
	flex: none;
}

/* -------------------------------------------------
   Single post / page content
------------------------------------------------- */
.page-main {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 32px 64px;
	width: 100%;
	flex: 1;
}

/* WooCommerce content wrapper (see functions.php woocommerce_before_main_content). */
.site-main.content-area {
	max-width: 1220px;
	margin: 0 auto;
	padding: 40px 32px 64px;
	width: 100%;
}

.entry-header {
	margin-bottom: 24px;
}

.entry-header .cat {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.entry-title {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: clamp(26px,3.4vw,38px);
	line-height: 1.16;
	letter-spacing: -.02em;
	margin: 10px 0 0;
}

.entry-meta {
	font-size: 12.5px;
	color: #9C9CA2;
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 9px;
}

.entry-meta b {
	color: #14151A;
	font-weight: 600;
}

.entry-thumbnail {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 28px;
}

.entry-thumbnail img {
	width: 100%;
	object-fit: cover;
}

.entry-content {
	font-size: 15.5px;
	line-height: 1.8;
	color: #33343A;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	letter-spacing: -.01em;
	color: #14151A;
	margin: 32px 0 12px;
}

.entry-content p {
	margin: 0 0 18px;
}

.entry-content img {
	border-radius: 10px;
	margin: 8px 0 18px;
}

.entry-content ul, .entry-content ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.entry-content blockquote {
	margin: 24px 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid #14151A;
	color: #54555B;
	font-style: italic;
}

.page-header .page-title {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -.02em;
}

.not-found .entry-content {
	max-width: 480px;
}

/* -------------------------------------------------
   Single post — header, meta, cover
------------------------------------------------- */
.single-post {
	min-width: 0;
}

.single-post h1 {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: clamp(28px,3.6vw,42px);
	line-height: 1.12;
	letter-spacing: -.025em;
	margin: 16px 0 0;
}

.meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
	padding-bottom: 22px;
	border-bottom: 1px solid #EAEAED;
	flex-wrap: wrap;
}

.author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #14151A;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 15px;
}

.author .name {
	font-size: 13.5px;
	font-weight: 600;
	color: #14151A;
}

.author .sub {
	font-size: 12px;
	color: #9C9CA2;
}

.share {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.share .label {
	font-size: 12px;
	color: #9C9CA2;
	margin-right: 2px;
}

.share-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #E0E0E4;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: #54555B;
}

.share-btn:hover {
	text-decoration: none;
	border-color: #14151A;
	color: #14151A;
}

.cover {
	overflow: hidden;
	border-radius: 12px;
	margin-top: 26px;
	aspect-ratio: 16/9;
	background: #C9C9CC;
}

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

.cover-caption {
	font-size: 12px;
	color: #A0A0A6;
	text-align: center;
	margin-top: 10px;
	font-style: italic;
}

/* -------------------------------------------------
   Single post — article body
------------------------------------------------- */
.art {
	margin-top: 30px;
	font-size: 16.5px;
	line-height: 1.85;
	color: #33343A;
}

.art p {
	margin: 0 0 20px;
}

.art h2 {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 25px;
	letter-spacing: -.02em;
	margin: 40px 0 16px;
}

.art h3 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 19px;
	letter-spacing: -.01em;
	margin: 30px 0 12px;
}

.art ul, .art ol {
	margin: 0 0 22px;
	padding-left: 4px;
}

.art li {
	line-height: 1.7;
	margin: 0 0 11px;
	list-style: none;
	position: relative;
	padding-left: 30px;
}

.art ul li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 11px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #14151A;
}

.art ol {
	counter-reset: step;
}

.art ol li {
	counter-increment: step;
}

.art ol li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #14151A;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Archivo', sans-serif;
}

.art strong {
	font-weight: 600;
	color: #14151A;
}

.art blockquote {
	margin: 26px 0;
	padding: 20px 24px;
	border-left: 4px solid #14151A;
	background: #F1F1F3;
	border-radius: 0 10px 10px 0;
	color: #1C1D22;
}

.art img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 8px 0 8px;
}

.art .wp-caption {
	width: 100% !important;
	max-width: 100%;
}

.art .wp-caption-text {
	font-size: 13.5px;
	color: #74757C;
	text-align: center;
	margin: 0 0 8px;
}


/* -------------------------------------------------
   Single post — tags, author box, related
------------------------------------------------- */
.tags {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid #EAEAED;
}

.tags .label {
	font-size: 12.5px;
	font-weight: 600;
	color: #8A8A90;
}

.tag-chip {
	font-size: 12.5px;
	font-weight: 500;
	color: #4A4B51;
	background: #F1F1F3;
	padding: 7px 14px;
	border-radius: 999px;
}

.tag-chip:hover {
	text-decoration: none;
	background: #E7E7EA;
}

.author-box {
	display: flex;
	gap: 18px;
	margin-top: 30px;
	padding: 24px;
	border: 1px solid #E7E7EA;
	border-radius: 12px;
	background: #fff;
	align-items: flex-start;
}

.avatar-lg {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #14151A;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 22px;
}

.author-box .name {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 17px;
}

.author-box p {
	font-size: 14px;
	line-height: 1.65;
	color: #54555B;
	margin: 8px 0 0;
}

.related {
	margin-top: 44px;
}

.related-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 16px;
	border-bottom: 2px solid #14151A;
	margin-bottom: 8px;
}

.related-head h2 {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -.02em;
	margin: 0;
}

.related-head .rule {
	flex: 1;
	height: 1px;
	background: #E7E7EA;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 24px;
	padding-top: 20px;
}

.rel-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rel-card:hover {
	text-decoration: none;
}

.rel-card .rel-thumb {
	overflow: hidden;
	border-radius: 9px;
	aspect-ratio: 3/2;
	background: #C9C9CC;
}

.rel-card .rel-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rel-card .cat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #14151A;
}

.rel-card h3 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.26;
	letter-spacing: -.01em;
	margin: -4px 0 0;
}

.rel-card .date {
	font-size: 11.5px;
	color: #9C9CA2;
	margin-top: auto;
}

.comments-disabled {
	margin-top: 36px;
	padding: 18px 22px;
	background: #F4F4F2;
	border-radius: 10px;
	font-size: 13.5px;
	color: #8A8A90;
}

/* -------------------------------------------------
   Comments
------------------------------------------------- */
.comments-area {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 2px solid #14151A;
}

.comments-title {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -.02em;
	margin: 0 0 20px;
}

.comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.comment-list .comment {
	padding: 18px 0;
	border-bottom: 1px solid #EAEAED;
}

.comment-list .children {
	list-style: none;
	margin: 0;
	padding-left: 32px;
}

.comment-author .fn {
	font-weight: 700;
	font-style: normal;
}

.comment-metadata {
	font-size: 12px;
	color: #9C9CA2;
}

.comment-content p {
	margin: 8px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: #33343A;
}

.comment-reply-link {
	font-size: 12.5px;
	font-weight: 700;
}

.comment-respond .comment-reply-title {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 17px;
	margin: 0 0 14px;
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1.5px solid #DEDEE2;
	border-radius: 10px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 14px;
	background: #fff;
	color: #14151A;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: #14151A;
}

.comment-form textarea {
	resize: vertical;
}

.comment-form .form-submit input[type="submit"] {
	border: none;
	background: #14151A;
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	font-size: 13.5px;
	padding: 11px 22px;
	border-radius: 999px;
	cursor: pointer;
}

.comment-form .form-submit input[type="submit"]:hover {
	background: #33343A;
}

/* -------------------------------------------------
   Shop & product (catalog only — no cart/checkout)
------------------------------------------------- */
ul.products {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 24px;
	padding: 0;
	margin-top: 30px;
	list-style: none;
}

.product-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-card .thumb {
	display: block;
	overflow: hidden;
	border-radius: 9px;
	aspect-ratio: 3/2;
	background: #C9C9CC;
}

.product-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.product-card .thumb:hover img {
	transform: scale(1.05);
}

.product-card h3 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.26;
	letter-spacing: -.01em;
	margin: -4px 0 0;
}

.product-card h3 a:hover {
	color: #f94510;
}

.related.products {
	margin-top: 44px;
}

.related.products > h2 {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -.02em;
	margin: 0;
	padding-bottom: 16px;
	border-bottom: 2px solid #14151A;
}

.stock-badge {
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
	background: #F1F1F3;
	color: #54555B;
}

.stock-badge.in-stock {
	background: #E9F7EF;
	color: #1E8E4A;
}

.stock-badge.out-of-stock {
	background: #FCEBEA;
	color: #D93025;
}

.product-gallery {
	margin-top: 26px;
}

.product-gallery-main {
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 4/3;
	background: #C9C9CC;
}

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

.product-gallery-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.product-gallery-thumbs img {
	width: 76px;
	height: 76px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #EAEAED;
}

.specs {
	margin-top: 36px;
}

.woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
	font-size: 14px;
}

.woocommerce-product-attributes tr {
	border-bottom: 1px solid #EAEAED;
}

.woocommerce-product-attributes th {
	text-align: left;
	padding: 12px 16px 12px 0;
	width: 220px;
	color: #54555B;
	font-weight: 600;
}

.woocommerce-product-attributes td {
	padding: 12px 0;
	color: #14151A;
}

/* -------------------------------------------------
   Footer
------------------------------------------------- */
footer {
	background: #14151A;
	color: #96969C;
	margin-top: 48px;
}

.footer-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 56px 32px 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	justify-content: space-between;
}

.footer-brand {
	flex: 1 1 300px;
}

.footer-logo {
	display: flex;
	align-items: baseline;
	gap: 9px;
}

.footer-logo b {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -.02em;
	color: #F1F1F3;
}

.footer-logo span {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #64656B;
}

.footer-brand p {
	font-size: 13.5px;
	line-height: 1.75;
	margin: 18px 0 0;
	max-width: 300px;
}

.footer-cols {
	display: flex;
	gap: 56px;
	flex-wrap: wrap;
}

.footer-col-title {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #F1F1F3;
	margin-bottom: 16px;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 13.5px;
}

.footer-subscribe {
	flex: 1 1 260px;
	margin-left: auto;
	text-align: right;
}

.footer-subscribe p {
	font-size: 13.5px;
	line-height: 1.65;
	color: #96969C;
	margin: 0 0 16px;
	max-width: 320px;
	margin-left: auto;
}

.footer-subscribe form {
	display: flex;
	align-items: center;
	max-width: 320px;
	margin-left: auto;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	padding: 5px 5px 5px 16px;
}

.footer-subscribe input {
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
}

.footer-subscribe button {
	flex: none;
	border: none;
	background: #fff;
	color: #14151A;
	font-family: inherit;
	font-weight: 700;
	font-size: 12.5px;
	padding: 9px 15px;
	border-radius: 999px;
	cursor: pointer;
}

.footer-bottom {
	border-top: 1px solid #2A2B31;
}

.footer-bottom-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 20px 32px;
	font-size: 12px;
}

/* -------------------------------------------------
   Responsive
------------------------------------------------- */
@media (max-width: 900px) {
	.featured-inner, main.layout {
		grid-template-columns: 1fr;
	}
	main.layout {
		padding-left: 16px;
		padding-right: 16px;
	}
	.featured-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
	.footer-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
	.footer-bottom-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
	.post-card {
		flex-direction: column;
	}
	.post-card .thumb {
		width: 100%;
	}

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

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

	.ad-sticky {
		position: static;
	}

	.nav-toggle {
		display: flex;
	}

	.header-inner {
		flex-wrap: wrap;
		gap: 12px;
		padding: 14px 20px;
	}

	.header-panel {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		width: 100%;
	}

	header.nav-open .header-panel {
		display: flex;
	}

	.main-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.navitem-top {
		width: 100%;
		padding: 12px 14px;
	}

	.search-box {
		width: 100%;
	}
}
