/*
Theme Name: Focus Clinic WooCommerce
Theme URI: https://focusspeechandhearingclinic.com/
Author: Velox Media House
Description: Custom motion-first WooCommerce theme for Focus Speech & Hearing Clinic.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: focus-clinic
WC requires at least: 9.0
*/

.focus-policy-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .65rem 1.25rem;
	margin-top: .75rem;
}

.focus-policy-links a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* WordPress requires this file at the theme root. Page styles are enqueued separately. */

.focus-standard-page {
	margin: 0;
	min-height: 100vh;
	background: #0d0f14;
	color: #f7f3ed;
	font-family: "Outfit", system-ui, sans-serif;
}

.focus-standard-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem clamp(1rem, 4vw, 4rem);
	background: rgba(13, 15, 20, 0.92);
	border-bottom: 1px solid rgba(226, 139, 52, 0.22);
	backdrop-filter: blur(18px);
}

.focus-standard-header .logo,
.focus-standard-header .nav-menu,
.focus-standard-header .nav-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.focus-standard-header a,
.focus-standard-footer a,
.focus-wc-content a {
	color: inherit;
	text-decoration: none;
}

.focus-standard-header .logo-img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.focus-cart-link,
.focus-standard-header .btn-login {
	padding: 0.7rem 1rem;
	border: 1px solid rgba(226, 139, 52, 0.42);
	border-radius: 999px;
}

.focus-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 1.35rem;
	height: 1.35rem;
	margin-left: 0.25rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: #e28b34;
	color: #0d0f14;
	font-size: 0.75rem;
	font-weight: 800;
}

.focus-wc-content {
	width: min(1180px, calc(100% - 2rem));
	min-height: 65vh;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 6rem) 0;
}

.focus-wc-content .button,
.focus-wc-content button,
.focus-wc-content input[type="submit"] {
	border: 0;
	border-radius: 999px;
	background: #e28b34;
	color: #0d0f14;
	font-weight: 800;
	padding: 0.85rem 1.3rem;
	cursor: pointer;
}

.focus-wc-content input,
.focus-wc-content select,
.focus-wc-content textarea {
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: #f7f3ed;
}

.focus-wc-content .woocommerce-message,
.focus-wc-content .woocommerce-info,
.focus-wc-content .woocommerce-error {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(226, 139, 52, 0.35);
	border-radius: 14px;
	background: rgba(226, 139, 52, 0.08);
	list-style: none;
}

.focus-wc-content table {
	width: 100%;
	border-collapse: collapse;
}

.focus-wc-content th,
.focus-wc-content td {
	padding: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	text-align: left;
}

.focus-standard-footer {
	padding: 2rem;
	border-top: 1px solid rgba(226, 139, 52, 0.18);
	text-align: center;
	color: rgba(247, 243, 237, 0.7);
}

.catalog-title a,
.product-name-title a {
	color: inherit;
	text-decoration: none;
}

.focus-empty-products {
	grid-column: 1 / -1;
	padding: 3rem;
	border: 1px solid rgba(226, 139, 52, 0.24);
	border-radius: 24px;
	text-align: center;
}

.focus-pagination {
	margin-top: 2.5rem;
	text-align: center;
}

@media (max-width: 760px) {
	.focus-standard-header {
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.focus-standard-header .nav-menu {
		order: 3;
		width: 100%;
		justify-content: center;
	}

	.focus-standard-header .nav-actions {
		font-size: 0.8rem;
	}

	.focus-wc-content th,
	.focus-wc-content td {
		padding: 0.65rem;
	}
}

/* Homepage responsive production QA overrides (loaded after index.css). */
body.home { overflow-x: clip; overscroll-behavior-y: none; }
body.home .animation-viewport { pointer-events: none; }
body.home .scroll-container { height: auto !important; min-height: 0 !important; }
body.home .scroll-content { position: relative !important; inset: auto !important; min-height: 100vh; }
body.home .ui-layer { position: fixed !important; inset: 0 0 auto 0 !important; height: 82px !important; justify-content: flex-start !important; }

body.home header,
body.home header.scrolled {
	position: fixed !important;
	inset: 0 0 auto 0 !important;
	width: 100% !important;
	height: 82px !important;
	padding: 0 clamp(1rem, 4vw, 4rem) !important;
	transform: none !important;
	background: rgba(8, 9, 12, 0.88) !important;
	border-bottom: 1px solid rgba(226, 139, 52, 0.2) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
}

body.home .logo span,
body.home .nav-item,
body.home .btn-login,
body.home .btn-signup {
	font-family: "Outfit", system-ui, sans-serif !important;
	text-shadow: none !important;
	transform: none !important;
}

body.home .homepage-section {
	width: min(1440px, calc(100% - 3rem)) !important;
	margin: 2rem auto !important;
	height: auto !important;
	min-height: clamp(620px, 90vh, 900px) !important;
	padding: clamp(5.5rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem) !important;
	overflow: hidden !important;
}

body.home .section-hero {
	margin-top: 102px !important;
	min-height: calc(100svh - 122px) !important;
	padding-top: clamp(2rem, 5vh, 4rem) !important;
}

body.home .gallery-container,
body.home .testimonials-container,
body.home .products-container,
body.home .contact-container { width: 100% !important; max-width: 1200px !important; margin-inline: auto !important; }

body.home .gallery-deck {
	position: relative !important;
	display: grid !important;
	grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
	gap: clamp(.5rem, 1vw, .9rem) !important;
	width: 100% !important;
	max-width: 1160px !important;
	height: auto !important;
	padding: .5rem !important;
	perspective: none !important;
}

body.home .gallery-card,
body.home .gallery-card:hover,
body.home .gc-left-outer, body.home .gc-left-mid, body.home .gc-left-inner,
body.home .gc-center, body.home .gc-right-inner, body.home .gc-right-mid,
body.home .gc-right-outer,
body.home .gc-left-outer:hover, body.home .gc-left-mid:hover,
body.home .gc-left-inner:hover, body.home .gc-center:hover,
body.home .gc-right-inner:hover, body.home .gc-right-mid:hover,
body.home .gc-right-outer:hover {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 4 !important;
	transform: none !important;
}

body.home .gallery-card:hover { translate: 0 -6px; }

body.home .testimonials-collage {
	position: relative !important;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.5rem !important;
	width: 100% !important;
	max-width: 1120px !important;
	height: auto !important;
}

body.home .testimonial-card,
body.home .testimonial-card:hover,
body.home .tc-1, body.home .tc-2, body.home .tc-3,
body.home .tc-4, body.home .tc-5, body.home .tc-6 {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
	min-height: 230px !important;
	transform: none !important;
}

body.home .site-footer { position: relative !important; min-height: 0 !important; margin: 0 !important; padding-bottom: 2rem !important; }
body.home .footer-copyright-bar { flex-direction: column; gap: .75rem; }
body.home .focus-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.2rem; }
body.home .focus-policy-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) and (max-width: 1100px) {
	body.home header, body.home header.scrolled { padding-inline: 1.25rem !important; }
	body.home .logo span { font-size: 1rem !important; }
	body.home .nav-item { padding: .5rem 1rem !important; }
	body.home .nav-actions { gap: .65rem !important; }
	body.home .btn-login, body.home .btn-signup { padding: .5rem .9rem !important; }
	body.home .homepage-section { width: calc(100% - 2rem) !important; margin: 1.5rem auto !important; min-height: auto !important; padding: 6rem 2rem !important; }
	body.home .section-hero { min-height: 720px !important; }
	body.home .gallery-deck { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	body.home .testimonials-collage { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	body.home .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 2rem !important; }
}

@media (max-width: 767px) {
	body.home .ui-layer { height: 68px !important; }
	body.home header, body.home header.scrolled { height: 68px !important; padding: 0 .55rem !important; gap: .35rem !important; }
	body.home .logo { gap: 0 !important; flex: 0 0 auto; }
	body.home .logo span { display: none !important; }
	body.home .logo-img { width: 34px !important; min-width: 34px !important; height: 34px !important; padding: 2px !important; }
	body.home .nav-menu { flex: 1 1 auto; justify-content: center; padding: .18rem !important; }
	body.home .nav-item { font-size: .68rem !important; padding: .38rem .55rem !important; }
	body.home .nav-actions { flex: 0 0 auto; gap: .25rem !important; }
	body.home .btn-login, body.home .btn-signup { font-size: .66rem !important; padding: .4rem .52rem !important; }
	body.home .homepage-section { width: calc(100% - 1rem) !important; margin: 1rem auto !important; min-height: auto !important; padding: 4.5rem 1rem !important; border-radius: 18px !important; }
	body.home .section-hero { margin-top: 78px !important; min-height: 660px !important; padding-top: 2rem !important; }
	body.home .hero-actions { flex-wrap: wrap; justify-content: center; gap: .65rem !important; }
	body.home .cards-deck { max-width: 100% !important; overflow: hidden !important; }
	body.home .about-clinic-container, body.home .specialists-grid, body.home .contact-form-panel { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
	body.home .gallery-header, body.home .testimonials-header { margin-bottom: 2rem !important; }
	body.home .gallery-deck { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .65rem !important; padding: 0 !important; }
	body.home .gallery-features { grid-template-columns: 1fr !important; gap: 1.25rem !important; margin: 2rem 0 !important; }
	body.home .gallery-actions { flex-direction: column !important; align-items: stretch !important; }
	body.home .testimonials-collage { grid-template-columns: 1fr !important; gap: 1rem !important; }
	body.home .testimonial-card { min-height: 0 !important; padding: 1.25rem !important; }
	body.home .contact-cards-row { grid-template-columns: 1fr !important; }
	body.home .contact-cards-row .contact-info-card:nth-child(3) { grid-column: auto !important; }
	body.home .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
	body.home .site-footer { padding: 4rem 1.25rem 1.5rem !important; }
}
