/*
Theme Name: 2Centuries Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Minimal Astra child theme for 2Centuries. Presentation-layer only: dynamic catalogue navigation and supporting styles. No business logic.
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 1.0.1
Updated: 2026-06-26 04:19:00

*/


/* ==========================================================================
   2Centuries — Catalogue Navigation (Header Row 2)
   Presentation styles for the dynamic WooCommerce product-category bar.
   ========================================================================== */
.tc-catalogue-nav {
	background-color: #FBF8F2;            /* ivory, subtle contrast vs cream header */
	border-top: 1px solid #E7DFD0;        /* hairline divider */
	border-bottom: 1px solid #E7DFD0;
	width: 100%;
}

.tc-catalogue-nav__list {
    list-style: none;
    margin: 0 auto;
    padding: 0 2.4rem;
    max-width: 1200px;
    display: flex;
    flex-wrap: nowrap;            /* single horizontal row, never wraps */
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    min-height: 52px;
    overflow-x: auto;             /* graceful single-row scroll if many categories */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* hide scrollbar (Firefox) */
}

.tc-catalogue-nav__list::-webkit-scrollbar { display: none; }  /* hide scrollbar (WebKit) */

.tc-catalogue-nav__item {
	margin: 0;
	padding: 0;
}

.tc-catalogue-nav__item a {
	display: inline-block;
	padding: 0.85rem 0;
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3A2528;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.tc-catalogue-nav__item a:hover,
.tc-catalogue-nav__item a:focus {
	color: #5A0E13;                        /* oxblood */
	border-bottom-color: #5A0E13;
}

.tc-catalogue-nav__item--current a {
	color: #5A0E13;
	border-bottom-color: #5A0E13;
}

/* Mobile: keep the bar usable across the 15 categories via horizontal scroll. */
@media (max-width: 921px) {
	.tc-catalogue-nav__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 1.2rem;
		gap: 0 1.1rem;
		min-height: 46px;
		scrollbar-width: thin;
	}
	.tc-catalogue-nav__item a {
		font-size: 0.68rem;
		padding: 0.7rem 0;
	}
}

/* ==========================================================================
   2Centuries — Sticky Header (Rows 1 & 2)
   Keeps the main header and the catalogue navigation bar pinned to the
   top of the viewport on every page. CSS-only; no markup changes.
   ========================================================================== */
#masthead {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 99;
}

.tc-catalogue-nav {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 116px);
	z-index: 98;
}

@media (max-width: 921px) {
	.tc-catalogue-nav {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 113px);
	}
}

/* ==========================================================================
   2Centuries — Production footer ( presentation only )
   Global footer rendered from the Astra child theme bootstrap. Reuses the
   Version 2.0 editorial language. Token custom properties are only defined on
   pages that load a page-specific stylesheet, so the established values are
   supplied here as var() fallbacks to guarantee a consistent appearance on
   every page.
   ========================================================================== */
.ast-footer-copyright .tc-footer,
.site-footer .tc-footer {
	width: 100%;
}
.tc-footer {
	box-sizing: border-box;
	padding: 4.5rem 1.5rem 4rem;
	background-color: var(--tc-cream, #f6efe1);
	border-top: 1px solid var(--tc-line, #e7e3dd);
	text-align: center;
}
.tc-footer * {
	box-sizing: border-box;
}
.tc-footer__inner {
	max-width: 720px;
	margin: 0 auto;
}
.tc-footer__wordmark {
	margin: 0 0 0.4rem;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-weight: 500;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: var(--tc-ink, #2b2b2b);
}
.tc-footer__tagline {
	margin: 0 0 2.4rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--tc-muted, #7a7a7a);
}
.tc-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.9rem 2.2rem;
	margin: 0 0 2.4rem;
}
.tc-footer__link {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	color: var(--tc-ink, #2b2b2b);
	text-decoration: none;
	transition: color 0.25s ease;
}
.tc-footer__link:hover,
.tc-footer__link:focus {
	color: var(--tc-accent, #6e1423);
}
.tc-footer__link:focus-visible {
	outline: 1px solid var(--tc-accent, #6e1423);
	outline-offset: 4px;
}
.tc-footer__legal {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.03em;
	color: var(--tc-muted, #7a7a7a);
}
@media (max-width: 600px) {
	.tc-footer {
		padding: 3.5rem 1.25rem 3.25rem;
	}
	.tc-footer__nav {
		gap: 0.75rem 1.5rem;
		margin-bottom: 2rem;
	}
	.tc-footer__link {
		font-size: 0.8rem;
	}
}

/* The refined 2Centuries footer above is rendered on the astra_below_footer
   hook and supersedes Astra's default below-footer copyright bar, which held
   only a duplicate copyright line. Suppress that default bar so the footer is
   a single, coherent output. */
.site-footer .site-below-footer-wrap {
	display: none !important;
}


/* ==========================================================================
   2Centuries — Version 2.17: Editorial 404 Page (Final UI Polish)
   Presentation only. Scoped to .tc-notfound so it never affects other pages.
   ========================================================================== */
.tc-notfound {
	width: 100%;
	flex: 1 1 auto;
	--tc-ink: #2b2b2b;
	--tc-muted: #7a7a7a;
	--tc-line: #e7e3dd;
	--tc-bg-soft: #f7f5f1;
	--tc-cream: #f6efe1;
	--tc-accent: #6e1423;
	background-color: var(--tc-cream);
	border-bottom: 1px solid var(--tc-line);
	padding: 8rem 2.4rem 6rem;
	text-align: center;
}
.tc-notfound__inner {
	max-width: 640px;
	margin: 0 auto;
}
.tc-notfound__eyebrow {
	margin: 0 0 1rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tc-muted);
}
.tc-notfound__title {
	margin: 0 0 1.5rem;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-weight: 500;
	font-size: clamp(2rem, 4.2vw, 2.9rem);
	line-height: 1.15;
	color: var(--tc-ink);
}
.tc-notfound__lead {
	margin: 0 auto 2.5rem;
	max-width: 480px;
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--tc-muted);
}
.tc-notfound__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
}
.tc-notfound__cta {
	display: inline-block;
	padding: 0.9rem 2.4rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.tc-notfound__cta--primary {
	background-color: var(--tc-accent);
	border: 1px solid var(--tc-accent);
	color: #ffffff;
}
.tc-notfound__cta--primary:hover,
.tc-notfound__cta--primary:focus {
	background-color: #551019;
	border-color: #551019;
	color: #ffffff;
}
.tc-notfound__cta--secondary {
	background-color: transparent;
	border: 1px solid var(--tc-ink);
	color: var(--tc-ink);
}
.tc-notfound__cta--secondary:hover,
.tc-notfound__cta--secondary:focus {
	background-color: var(--tc-ink);
	color: #ffffff;
}
.tc-notfound__search {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	max-width: 420px;
	margin: 0 auto;
}
.tc-notfound__search-field {
	flex: 1 1 auto;
	padding: 0.85rem 1rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.92rem;
	color: var(--tc-ink);
	background-color: #ffffff;
	border: 1px solid var(--tc-line);
}
.tc-notfound__search-field:focus {
	outline: none;
	border-color: var(--tc-ink);
}
.tc-notfound__search-submit {
	padding: 0.85rem 1.6rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tc-ink);
	background-color: transparent;
	border: 1px solid var(--tc-ink);
	cursor: pointer;
	transition: background-color 0.35s ease, color 0.35s ease;
}
.tc-notfound__search-submit:hover,
.tc-notfound__search-submit:focus {
	background-color: var(--tc-ink);
	color: #ffffff;
}

/* ==========================================================================
   2Centuries — Version 2.17: Editorial Search Results (Final UI Polish)
   Presentation only. Scoped to .tc-searchpage so it never affects other pages.
   Card styling for .tc-piece is intentionally reused from home.css (see
   twocenturies_child_utility_assets()) rather than duplicated here.
   ========================================================================== */
.tc-searchpage {
	width: 100%;
	flex: 1 1 auto;
	--tc-ink: #2b2b2b;
	--tc-muted: #7a7a7a;
	--tc-line: #e7e3dd;
	--tc-bg-soft: #f7f5f1;
	--tc-cream: #f6efe1;
	--tc-accent: #6e1423;
}
.tc-searchpage__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2.4rem;
}
.tc-searchpage-intro {
	background-color: var(--tc-cream);
	border-bottom: 1px solid var(--tc-line);
	padding: 6rem 0 4rem;
	text-align: center;
}
.tc-searchpage-intro__eyebrow {
	margin: 0 0 1rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tc-muted);
}
.tc-searchpage-intro__title {
	margin: 0 auto 1rem;
	max-width: 30ch;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-weight: 500;
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.2;
	color: var(--tc-ink);
}
.tc-searchpage-intro__lead {
	margin: 0 auto;
	max-width: 480px;
	font-size: 1rem;
	color: var(--tc-muted);
}
.tc-searchpage-results {
	background-color: var(--tc-bg-soft);
	padding: 5rem 0 6rem;
}
.tc-searchpage__gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.4rem;
}
@media (max-width: 900px) {
	.tc-searchpage__gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.tc-searchpage__gallery { grid-template-columns: 1fr; }
}
.tc-searchpage__pagination {
	margin-top: 4rem;
	text-align: center;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.tc-searchpage__pagination .page-numbers {
	display: inline-block;
	margin: 0 0.4rem;
	padding: 0.5rem 0.9rem;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tc-ink);
	text-decoration: none;
	border: 1px solid transparent;
	transition: border-color 0.25s ease;
}
.tc-searchpage__pagination .page-numbers.current {
	border-color: var(--tc-ink);
}
.tc-searchpage__pagination .page-numbers:hover {
	border-color: var(--tc-line);
}
