/*
Theme Name:  Astra Child
Description: Couples Closet child theme for Astra. All site customizations live in this theme's functions.php, safe from parent Astra updates. Created 2026-07-05.
Template:    astra
Version:     1.0.0
Text Domain: astra-child
*/

/* ===== Couples Closet footer (2026-07-06) ===== */
.cc-foot-logo {
	font-family: 'Cormorant Garamond', serif;
	font-size: 26px;
	color: #c69950;
	letter-spacing: 1px;
	display: block;
}
.cc-foot-divider {
	display: block;
	width: 48px;
	height: 1px;
	background: rgba(198, 153, 80, 0.45);
	margin: 12px 0;
}
.cc-foot-tagline {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	color: rgba(198, 153, 80, 0.85);
	font-size: 16px;
	margin: 0 0 0.6em;
}
.cc-foot-note {
	color: rgba(240, 232, 220, 0.55);
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
}
.cc-foot-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #c69950;
	margin: 0 0 1em;
}
.cc-foot-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cc-foot-links li {
	margin-bottom: 0.55em;
}
.cc-foot-links a {
	color: rgba(240, 232, 220, 0.75);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}
.cc-foot-links a:hover {
	color: #c69950;
}
/* quiet legal bar */
.site-below-footer-wrap {
	border-top: 1px solid rgba(198, 153, 80, 0.18);
}
.ast-footer-copyright {
	font-size: 12px;
	letter-spacing: 0.5px;
	color: rgba(240, 232, 220, 0.5);
}
.ast-footer-copyright a {
	color: rgba(198, 153, 80, 0.75);
	text-decoration: none;
}
.ast-footer-copyright a:hover {
	color: #c69950;
}

/* footer: top-align columns, one left-aligned system (primary row only — legal bar stays centered) */
.site-primary-footer-inner-wrap.ast-builder-grid-row {
	align-items: flex-start;
}
.site-primary-footer-inner-wrap .site-footer-section,
.site-primary-footer-inner-wrap .site-footer-section .ast-builder-html-element {
	text-align: left !important;
}

/* social: single icon-only row (labels hidden, aria-labels keep it accessible) */
.site-footer .footer-social-inner-wrap {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 2px;
}
.site-footer .footer-social-item .social-item-label {
	display: none;
}
.site-footer .footer-social-item {
	color: #c69950 !important;
	padding: 0 14px 0 0;
	transition: color 0.2s ease;
}
.site-footer .footer-social-item:hover {
	color: #e8c186 !important;
}
.site-footer .footer-social-item svg {
	width: 20px;
	height: 20px;
}
.site-footer .ast-footer-social-wrap {
	margin-bottom: 1.4em;
}

/* footer: columns start at the top regardless of content height */
.site-primary-footer-inner-wrap .site-footer-section,
.site-primary-footer-inner-wrap .footer-widget-area {
	justify-content: flex-start !important;
	align-content: flex-start !important;
}
/* social icons: tighten Astra's 20px all-round padding to a right-hand rhythm */
.site-footer .footer-social-item {
	padding: 0 18px 0 0 !important;
}

/* footer grid: pin all columns to the top (Astra sets align-items:center with higher specificity) */
.site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
	align-items: start !important;
}

/* footer v2: brand centered in the middle column with monogram, larger type */
.cc-foot-brand {
	text-align: center;
}
.cc-foot-monogram {
	width: 96px;
	height: auto;
	display: block;
	margin: 0 auto 14px;
}
.cc-foot-logo {
	font-size: 34px;
}
.cc-foot-divider {
	margin: 14px auto;
}
.cc-foot-tagline {
	font-size: 19px;
}
.cc-foot-note {
	max-width: 34ch;
	margin: 0 auto;
}

/* footer symmetry: right column mirrors the left against the right margin (desktop only) */
@media (min-width: 922px) {
	.site-primary-footer-inner-wrap .site-footer-primary-section-3,
	.site-primary-footer-inner-wrap .site-footer-primary-section-3 .ast-builder-html-element,
	.site-primary-footer-inner-wrap .site-footer-primary-section-3 .widget {
		text-align: right !important;
	}
	.site-footer-primary-section-3 .footer-social-inner-wrap {
		justify-content: flex-end;
	}
	.site-footer-primary-section-3 .footer-social-item {
		padding: 0 0 0 18px !important;
	}
}

/* footer: ease the outer columns in from the edges (desktop) */
@media (min-width: 922px) {
	.site-primary-footer-inner-wrap.ast-builder-grid-row {
		padding-left: 72px !important;
		padding-right: 72px !important;
	}
}

/* Cookie Preferences link in the legal bar: dress the Complianz element like its siblings */
.ast-footer-copyright .cmplz-manage-consent,
.ast-footer-copyright button.cmplz-manage-consent {
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	color: rgba(198, 153, 80, 0.75) !important;
	font-size: 12px !important;
	letter-spacing: 0.5px;
	padding: 0 !important;
	margin: 0 !important;
	display: inline !important;
	cursor: pointer;
	text-decoration: none;
	font-family: inherit;
}
.ast-footer-copyright .cmplz-manage-consent:hover,
.ast-footer-copyright button.cmplz-manage-consent:hover {
	color: #c69950 !important;
}

/* Cookie Preferences: match sibling legal links exactly (weight + muted gold + baseline) */
.ast-footer-copyright button.cmplz-manage-consent {
	font-weight: 400 !important;
	color: rgba(198, 153, 80, 0.75) !important;
	line-height: inherit !important;
	vertical-align: baseline;
}
.ast-footer-copyright button.cmplz-manage-consent:hover {
	color: #c69950 !important;
}

/* ============================================================
   Mobile header fit — logo + search icon  (2026-07-17)
   Problem: logo img is a fixed 280px asset; 280 + 20 gap + 81 icons
   = 381px in a 335px space, so the grid overflowed and the search
   spyglass was clipped off the right edge (and the page scrolled
   sideways ~11px).
   Fix: let the grid column shrink, and cap the logo on mobile.
   ============================================================ */
@media (max-width: 921px) {
  .ast-primary-header-bar .ast-builder-grid-row {
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 100%;
  }
  .ast-primary-header-bar .ast-builder-grid-row > * { min-width: 0; }
  .ast-mobile-header-wrap .custom-logo,
  .ast-mobile-header-wrap .site-branding img { max-width: 200px; height: auto; }
  .ast-primary-header-bar .site-header-primary-section-right { justify-content: flex-end; }
}
