/*
 Theme Name:   Twenty Twenty Child
 Template:     twentytwenty
 Version:      1.0.1
*/

/* Custom Ampersand Substitution: Replaces ornate/calligraphic Playfair Display '&' with clean, simple '&' from Plus Jakarta Sans / system fonts */
@font-face {
	font-family: 'SimpleAmpersand';
	font-style: normal;
	font-weight: 100 900;
	src: local('Plus Jakarta Sans'),
	     local('Segoe UI'),
	     local('SF Pro Display'),
	     local('-apple-system'),
	     local('Roboto'),
	     local('Helvetica Neue'),
	     local('Arial'),
	     local('DejaVu Sans');
	unicode-range: U+0026; /* ASCII & */
}

@font-face {
	font-family: 'SimpleAmpersand';
	font-style: italic;
	font-weight: 100 900;
	src: local('Plus Jakarta Sans Italic'),
	     local('Plus Jakarta Sans'),
	     local('Segoe UI Italic'),
	     local('Segoe UI'),
	     local('Roboto'),
	     local('Helvetica Neue'),
	     local('Arial');
	unicode-range: U+0026; /* ASCII & */
}

.simple-amp, span.simple-amp {
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	font-weight: inherit !important;
	font-style: normal !important;
	display: inline !important;
	vertical-align: baseline !important;
}

/* Global Headings & Titles Unification (Option A) */
h1, h2, h3, h4, h5, h6,
.tresluna-section-title,
.tresluna-page-title,
.tresluna-hero-title,
.tresluna-article-title,
.tresluna-single-title,
.tresluna-strip-title,
.tresluna-testimonials-title,
.tresluna-mockup-card-title,
.tresluna-franchise-item-title,
.tresluna-insight-title,
.tresluna-card-title,
.tresluna-related-title,
.tresluna-related-card-title,
.tresluna-form-title,
.tresluna-footer-title,
.tresluna-footer-newsletter-heading,
.tresluna-modal-title,
.tresluna-query-modal-title,
.tl-catalog-hero h1,
.tl-card-title,
.tl-pdp-title,
.tl-tab-panel-title,
.tl-banner-content h2 {
	font-family: 'SimpleAmpersand', 'Playfair Display', Georgia, serif !important;
}

/* Reset full-width layout for child theme */
html, body.tresluna-theme {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: clip !important;
}

/* Edge-to-Edge Header & Navbar: Remove left/right empty space & gap between topbar and navbar */
.tresluna-navbar-wrapper {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	transform: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 0 !important;
	background-color: #ffffff !important;
	border-radius: 0 !important;
	border-left: none !important;
	border-right: none !important;
	border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
	padding: 10px 0 !important;
	box-sizing: border-box !important;
}

@media (max-width: 1024px) {
	.tresluna-navbar-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		left: 0 !important;
		transform: none !important;
		margin-top: 0 !important;
		border-radius: 0 !important;
		border-left: none !important;
		border-right: none !important;
		padding: 8px 0 !important;
	}
}

/* Portfolio Category Slider & Full Card Click */
.tresluna-mockup-card {
	position: relative !important;
	cursor: pointer;
}

.tresluna-mockup-card-overlay-link {
	position: absolute !important;
	inset: 0 !important;
	z-index: 5 !important;
	display: block !important;
	text-decoration: none !important;
}

.tresluna-mockup-card:hover .tresluna-mockup-card-btn {
	gap: 12px !important;
	color: #dbe476 !important;
}

.tresluna-mockup-products-track {
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.tresluna-mockup-products-track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto !important;
	scroll-snap-type: none !important;
}

/* Standalone Packshots Showcase Section */
.tresluna-packshots-section {
	padding: clamp(60px, 6vw, 90px) 0 !important;
	background-color: #faf9f6 !important;
	border-top: 1px solid #edf1e8 !important;
	border-bottom: 1px solid #edf1e8 !important;
}

.tresluna-packshots-section .tresluna-ayur-packshots-strip {
	margin-top: 0 !important;
	background: #ffffff !important;
	border: 1px solid #e2e7dc !important;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03) !important;
}

.tresluna-packshot-pedestal-link {
	display: block !important;
	text-decoration: none !important;
	width: 100% !important;
}

.tresluna-packshot-title-link {
	text-decoration: none !important;
	color: #1a221b !important;
	transition: color 0.2s ease !important;
}

.tresluna-packshot-title-link:hover {
	color: #526b4c !important;
}

/* Contact Form 7 inside Blog Article Sidebar Widget */
.widget-pcd-enquiry .wpcf7-form p {
	margin: 0 0 12px 0 !important;
	padding: 0 !important;
}

.widget-pcd-enquiry .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
	position: relative !important;
}

.widget-pcd-enquiry .form-input,
.widget-pcd-enquiry .form-select {
	width: 100% !important;
	padding: 11px 14px !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	color: #ffffff !important;
	font-size: 13.5px !important;
	box-sizing: border-box !important;
	outline: none !important;
	transition: border-color 0.2s ease, background 0.2s ease !important;
}

.widget-pcd-enquiry .form-input::placeholder {
	color: #9ca3af !important;
}

.widget-pcd-enquiry .form-input:focus,
.widget-pcd-enquiry .form-select:focus {
	border-color: #bcc258 !important;
	background: rgba(255, 255, 255, 0.12) !important;
}

.widget-pcd-enquiry .form-select option {
	background-color: #1e2c22 !important;
	color: #ffffff !important;
}

.widget-pcd-enquiry .tresluna-btn-widget-submit {
	width: 100% !important;
	padding: 12px 18px !important;
	background-color: #bcc258 !important;
	color: #1a261d !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: 0.5px !important;
	border-radius: 30px !important;
	border: none !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	margin-top: 6px !important;
	transition: all 0.3s ease !important;
}

.widget-pcd-enquiry .tresluna-btn-widget-submit:hover {
	background-color: #cfd665 !important;
	transform: translateY(-2px) !important;
}

.widget-pcd-enquiry .wpcf7-not-valid-tip {
	color: #ff8585 !important;
	font-size: 12px !important;
	margin-top: 4px !important;
	display: block !important;
	font-weight: 500 !important;
}

.widget-pcd-enquiry .wpcf7-response-output {
	border-radius: 10px !important;
	padding: 10px 14px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	margin: 14px 0 0 0 !important;
	text-align: center !important;
}

.widget-pcd-enquiry .wpcf7-mail-sent-ok {
	border-color: #46b450 !important;
	background: rgba(70, 180, 80, 0.2) !important;
	color: #8be594 !important;
}

.widget-pcd-enquiry .wpcf7-validation-errors {
	border-color: #ffb900 !important;
	background: rgba(255, 185, 0, 0.2) !important;
	color: #ffd875 !important;
}

.widget-pcd-enquiry .wpcf7-spinner {
	display: block !important;
	margin: 8px auto 0 !important;
}

/* ==========================================================================
   Products Page: Sticky Topbar & Horizontal Segment Chips Slider (Like Black Mango)
   ========================================================================== */
.tl-catalog-container {
	display: grid !important;
	grid-template-columns: 290px minmax(0, 1fr) !important;
	gap: 32px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
	.tl-catalog-container {
		grid-template-columns: 260px minmax(0, 1fr) !important;
		gap: 22px !important;
	}
}

.tl-catalog-main {
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.tl-products-grid {
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.tl-product-card {
	min-width: 0 !important;
	box-sizing: border-box !important;
}

/* Ensure View Specifications button text is bright white by default across all browsers */
.tl-btn-details,
.tl-btn-details:link,
.tl-btn-details:visited,
.tl-btn-details span {
	color: #ffffff !important;
	text-decoration: none !important;
}

.tl-btn-details svg {
	stroke: #ffffff !important;
	color: #ffffff !important;
}

.tl-btn-details {
	background: #1b4332 !important;
}

.tl-btn-details:hover,
.tl-btn-details:focus,
.tl-btn-details:active,
.tl-btn-details:hover span,
.tl-btn-details:hover svg {
	background: #0f2a1d !important;
	color: #ffffff !important;
	stroke: #ffffff !important;
}

.tl-catalog-topbar {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 110px !important;
	z-index: 45 !important;
	background: #ffffff !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 16px !important;
	padding: 12px 18px !important;
	margin-bottom: 24px !important;
	box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
	transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

body.admin-bar .tl-catalog-topbar {
	top: 142px !important;
}

@media (max-width: 991px) {
	.tl-catalog-topbar {
		top: 106px !important;
		padding: 10px 14px !important;
		border-radius: 14px !important;
		margin-bottom: 18px !important;
	}

	body.admin-bar .tl-catalog-topbar {
		top: 138px !important;
	}
}

@media (max-width: 767px) {
	.tl-catalog-topbar {
		top: 124px !important;
		padding: 10px 12px !important;
		border-radius: 12px !important;
		margin-bottom: 16px !important;
	}

	body.admin-bar .tl-catalog-topbar {
		top: 170px !important;
	}
}

.tl-segment-chips-wrapper {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

.tl-chips-nav-btn {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 10 !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	border: 1.5px solid #e2e8f0 !important;
	color: #1b4332 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16) !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	padding: 0 !important;
}

.tl-chips-nav-btn:hover {
	background: #1b4332 !important;
	color: #ffffff !important;
	border-color: #1b4332 !important;
	transform: translateY(-50%) scale(1.1) !important;
}

.tl-chips-nav-btn.prev {
	left: -8px !important;
}

.tl-chips-nav-btn.next {
	right: -8px !important;
}

.tl-segment-chips-wrapper::after {
	content: '' !important;
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	width: 45px !important;
	background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95)) !important;
	pointer-events: none !important;
	opacity: 1 !important;
	transition: opacity 0.25s ease !important;
	border-radius: 0 12px 12px 0 !important;
}

.tl-segment-chips-wrapper.at-end::after {
	opacity: 0 !important;
}

.tl-segment-chips {
	display: flex !important;
	gap: 8px !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch !important;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
	padding: 4px 6px 6px 4px !important;
	width: 100% !important;
	cursor: grab !important;
	scroll-behavior: smooth !important;
}

.tl-segment-chips::-webkit-scrollbar {
	display: none !important;
}

.tl-segment-chips.is-dragging {
	cursor: grabbing !important;
	user-select: none !important;
}

.tl-chip-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 7px 15px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 50px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #1e293b !important;
	cursor: pointer !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	user-select: none !important;
}

.tl-chip-btn:hover {
	background: #ffffff !important;
	border-color: #1b4332 !important;
	color: #1b4332 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.tl-chip-btn.active {
	background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
	border-color: #1b4332 !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25) !important;
}

.tl-chip-btn .chip-dot {
	width: 6px !important;
	height: 6px !important;
	border-radius: 50% !important;
	background: #94a3b8 !important;
	transition: background-color 0.2s ease !important;
}

.tl-chip-btn.active .chip-dot {
	background: #dbe476 !important;
}

/* Sticky Left Sidebar on Desktop */
@media (min-width: 992px) {
	.tl-catalog-sidebar {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: 110px !important;
		max-height: calc(100vh - 125px) !important;
		overflow-y: auto !important;
		scrollbar-width: thin !important;
		scrollbar-color: #cbd5e1 transparent !important;
		padding-right: 4px !important;
	}

	body.admin-bar .tl-catalog-sidebar {
		top: 142px !important;
		max-height: calc(100vh - 155px) !important;
	}

	.tl-catalog-sidebar::-webkit-scrollbar {
		width: 5px !important;
	}

	.tl-catalog-sidebar::-webkit-scrollbar-thumb {
		background: #cbd5e1 !important;
		border-radius: 10px !important;
	}
}

/* Product Card Secondary Image Hover (Like Black Mango) */
.tl-card-media {
	position: relative !important;
	overflow: hidden !important;
}

.tl-card-media-link {
	position: relative !important;
	width: 100% !important;
	height: 200px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.tl-img-primary {
	max-height: 100% !important;
	max-width: 100% !important;
	object-fit: contain !important;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
	opacity: 1 !important;
	z-index: 1 !important;
}

.tl-img-secondary {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) scale(0.95) !important;
	max-height: 100% !important;
	max-width: 100% !important;
	object-fit: contain !important;
	opacity: 0 !important;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
	z-index: 2 !important;
}

.tl-product-card:hover .tl-img-secondary {
	opacity: 1 !important;
	transform: translate(-50%, -50%) scale(1.05) !important;
}

.tl-product-card:hover .tl-img-secondary ~ .tl-img-primary {
	opacity: 0 !important;
}

/* ==========================================================================
   Footer Newsletter CF7 Form Alignment & High-Contrast Feedback
   ========================================================================== */
.tresluna-footer-newsletter-col .wpcf7-form {
	display: block !important;
	width: 100% !important;
}

.tresluna-footer-newsletter-col .tresluna-newsletter-input-group,
.tresluna-footer-newsletter-col .tresluna-newsletter-input-group p {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
	margin: 5px !important;
	padding: 0 !important;
}

.tresluna-footer-newsletter-col .tresluna-newsletter-input-group br,
.tresluna-footer-newsletter-col .tresluna-newsletter-input-group p br {
	display: none !important;
}

.tresluna-footer-newsletter-col .wpcf7-form-control-wrap {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	display: block !important;
	position: relative !important;
}

.tresluna-footer-newsletter-col input.tresluna-newsletter-input {
	width: 100% !important;
	min-width: 0 !important;
	height: 48px !important;
	display: block !important;
	padding: 0 18px !important;
	border: 1.5px solid #ded8c8 !important;
	border-radius: 30px !important;
	font-size: 15.5px !important;
	outline: none !important;
	background: #ffffff !important;
	color: #1a261d !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	transition: all 0.25s ease !important;
	line-height: normal !important;
}

.tresluna-footer-newsletter-col input.tresluna-newsletter-input:focus {
	border-color: #bcc258 !important;
	box-shadow: 0 0 0 3px rgba(188, 194, 88, 0.2) !important;
}

.tresluna-footer-newsletter-col input.tresluna-newsletter-input.wpcf7-not-valid {
	border-color: #dc2626 !important;
	background-color: #fff8f8 !important;
}

.tresluna-footer-newsletter-col .tresluna-btn-subscribe,
.tresluna-footer-newsletter-col input[type="submit"].tresluna-btn-subscribe {
	flex: 0 0 auto !important;
	width: auto !important;
	height: 48px !important;
	padding: 0 28px !important;
	background-color: #bcc258 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 50px !important;
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	box-shadow: 0 4px 14px rgba(188, 194, 88, 0.35) !important;
	transition: all 0.25s ease !important;
	line-height: 48px !important;
}

.tresluna-footer-newsletter-col .tresluna-btn-subscribe:hover,
.tresluna-footer-newsletter-col input[type="submit"].tresluna-btn-subscribe:hover {
	background-color: #a8ae4b !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 18px rgba(188, 194, 88, 0.45) !important;
}

.tresluna-footer-newsletter-col .tresluna-btn-subscribe span,
.tresluna-footer-newsletter-col .tresluna-btn-subscribe i {
	color: #ffffff !important;
}

.tresluna-footer-newsletter-col .wpcf7-not-valid-tip {
	display: none !important;
}

.tresluna-footer-newsletter-col .wpcf7-response-output,
.tresluna-footer-newsletter-col form.init .wpcf7-response-output,
.tresluna-footer-newsletter-col form.resetting .wpcf7-response-output,
.tresluna-footer-newsletter-col .wpcf7-response-output:empty {
	display: none !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tresluna-footer-newsletter-col form.sent .wpcf7-response-output,
.tresluna-footer-newsletter-col form.failed .wpcf7-response-output,
.tresluna-footer-newsletter-col form.invalid .wpcf7-response-output {
	display: block !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	border-radius: 8px !important;
	padding: 10px 15px !important;
	margin: 12px 0 14px 0 !important;
	text-align: left !important;
	line-height: 1.45 !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.tresluna-footer-newsletter-col form.sent .wpcf7-response-output {
	background-color: #f0fdf4 !important;
	border: 1px solid #86efac !important;
	color: #166534 !important;
}

.tresluna-footer-newsletter-col form.failed .wpcf7-response-output,
.tresluna-footer-newsletter-col form.invalid .wpcf7-response-output {
	background-color: #fef2f2 !important;
	border: 1px solid #fca5a5 !important;
	color: #991b1b !important;
}

.tresluna-footer-newsletter-col .wpcf7-spinner {
	margin: 8px 0 0 0 !important;
}

@media (max-width: 480px) {
	.tresluna-footer-newsletter-col .tresluna-newsletter-input-group,
	.tresluna-footer-newsletter-col .tresluna-newsletter-input-group p {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 8px !important;
	}

	.tresluna-footer-newsletter-col .tresluna-btn-subscribe,
	.tresluna-footer-newsletter-col input[type="submit"].tresluna-btn-subscribe {
		width: 100% !important;
	}
}

.tresluna-footer-social-wrap {
	margin-top: clamp(28px, 3.2vw, 44px) !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	flex-wrap: wrap !important;
}

@media (max-width: 767px) {
	.tresluna-footer-social-wrap {
		margin-top: 22px !important;
	}
}

/* Global Protection: Hide Contact Form 7 empty response container and default cyan border */
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 .wpcf7-response-output:empty {
	display: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Footer Bottom Bar & Heading Accent Line: Perfectly unified to CTA buttons color (#bcc258) */
.tresluna-footer-title::after {
	background: #bcc258 !important;
}

.tresluna-footer-bottom {
	background-color: #bcc258 !important;
	border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
	padding: clamp(20px, 2.2vw, 30px) 0 !important;
}

.tresluna-footer-bottom .tresluna-copyright,
.tresluna-footer-bottom .tresluna-footer-legal-links a {
	color: #1a261d !important;
}

.tresluna-footer-bottom .tresluna-footer-legal-links a:hover {
	color: #ffffff !important;
}

