/*
Theme Name: WAAD
Theme URI: https://waad.travel/
Author: WAAD International Travel
Description: Custom presentation layer for WAAD International Travel. Works with GoodLayers Core and TourMaster.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: waad
*/

/*
 * Global base type size: +2px over the browser default.
 * All rem-based theme/page typography (current + future pages) inherits this.
 */
html {
	font-size: calc(100% + 2px);
}

.screen-reader-text{
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus{
	background-color: #ffffff;
	clip: auto !important;
	clip-path: none;
	color: #000000;
	display: block;
	height: auto;
	left: 5px;
	padding: 15px 23px 14px;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Click to Chat (style 8): WAAD navy pill, gold on hover. */
#ht-ctc-chat .ht-ctc-style-8 .s_8,
.ht-ctc .ht-ctc-style-8 .s_8,
.ht-ctc .ht-ctc-style-8 .s_8.ctc-analytics {
	background-color: #14284b !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 22px rgba(20, 40, 75, 0.28) !important;
	height: 44px !important;
	line-height: 44px !important;
	padding: 0 22px !important;
	transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
}

#ht-ctc-chat .ht-ctc-style-8:hover .s_8,
.ht-ctc .ht-ctc-style-8:hover .s_8,
#ht-ctc-chat .ht-ctc-style-8:focus-within .s_8,
.ht-ctc .ht-ctc-style-8:focus-within .s_8 {
	background-color: #c29b57 !important;
	box-shadow: 0 10px 24px rgba(194, 155, 87, 0.35) !important;
}

.ht-ctc .ht-ctc-style-8 .s_8 .s_8_icon {
	margin-right: 10px !important;
}

.ht-ctc .ht-ctc-style-8 .s_8 .s_8_icon svg path {
	fill: #fff !important;
}

.ht-ctc .ht-ctc-style-8 .ht-ctc-s8-text {
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
}

/* Mobile: smaller WhatsApp FAB (style 8 pill + fallbacks for style 2/3) */
@media (max-width: 767px) {
	#ht-ctc-chat.ht-ctc,
	.ht-ctc.ht-ctc-chat {
		bottom: 12px !important;
		right: 12px !important;
		z-index: 99950 !important; /* under cookie banner (99990+) */
	}

	.ht-ctc .ht-ctc-style-8 .s_8,
	#ht-ctc-chat .ht-ctc-style-8 .s_8 {
		height: 34px !important;
		line-height: 34px !important;
		padding: 0 12px !important;
		box-shadow: 0 6px 14px rgba(20, 40, 75, 0.2) !important;
	}

	.ht-ctc .ht-ctc-style-8 .s_8 .s_8_icon,
	#ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon {
		margin-right: 6px !important;
	}

	.ht-ctc .ht-ctc-style-8 .s_8 .s_8_icon svg,
	#ht-ctc-chat .ht-ctc-style-8 .s_8 .s_8_icon svg {
		width: 15px !important;
		height: 15px !important;
	}

	.ht-ctc .ht-ctc-style-8 .ht-ctc-s8-text,
	.ht-ctc .ht-ctc-style-8 .ht-ctc-s8-text.s8_span,
	#ht-ctc-chat .ht-ctc-style-8 .ht-ctc-s8-text {
		font-size: 12px !important;
	}

	/* Style 2 / 3 (if still selected for mobile) */
	.ht-ctc.style-2 img,
	.ht-ctc.style-3 img,
	#ht-ctc-chat.style-2 img,
	#ht-ctc-chat.style-3 img {
		width: 44px !important;
		height: 44px !important;
		max-width: 44px !important;
	}
}
