/*
 * BeeTcommerce Core: UI components shared by every BeeTcommerce store.
 * Header, mobile drawer, section helpers, tiles, stats, forms.
 * Colours and fonts read the Elementor globals through the variables in base.css.
 * Classes are added in Elementor (Advanced > CSS Classes), never in code.
 */

/* ---------- Header ---------- */
.btc-header .btc-nav__toggle {
	display: none !important; /* The drawer replaces the old toggle. */
}
.btc-header .btc-nav__panel {
	display: block !important;
	position: static !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-width: 0 !important;
	background: transparent !important;
}
.btc-header .btc-nav__list {
	flex-direction: row !important;
	gap: 32px !important;
}
.btc-header .btc-nav__list a {
	display: inline-block !important;
	padding: 8px 0 !important;
	border-bottom: 2px solid transparent !important;
	font-size: 15px;
	box-shadow: none !important;
}
.btc-header .btc-nav__list .current-menu-item > a,
.btc-header .btc-nav__list a:hover {
	border-bottom-color: var(--btc-accent) !important;
}
.btc-header .btc-search {
	width: 240px;
	height: 44px;
}
.btc-header .btc-account span,
.btc-header .btc-cart__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.btc-header .btc-account,
.btc-header .btc-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--btc-radius);
}
.btc-header .btc-account:hover,
.btc-header .btc-cart:hover {
	background: var(--btc-soft);
	text-decoration: none;
}
.btc-header .btc-account svg,
.btc-header .btc-cart svg {
	width: 22px;
	height: 22px;
}
.btc-header .btc-cart__count {
	position: absolute;
	top: 3px;
	right: 1px;
}
.btc-topbar p {
	margin: 0;
}

/* ---------- Mobile drawer ---------- */
.btc-drawer__open {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--btc-line);
	border-radius: var(--btc-radius);
	background: var(--btc-surface);
	color: var(--btc-ink);
	cursor: pointer;
}
.btc-drawer__open:focus-visible,
.btc-drawer__close:focus-visible {
	outline: 2px solid var(--btc-ink);
	outline-offset: 2px;
}
.btc-drawer[hidden] {
	display: none !important;
}
.btc-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
}
.btc-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.btc-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	display: flex;
	flex-direction: column;
	background: var(--btc-surface);
	box-shadow: -16px 0 40px rgba(0, 0, 0, 0.18);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	font-family: var(--btc-font-body);
}
.btc-drawer.is-open .btc-drawer__scrim {
	opacity: 1;
}
.btc-drawer.is-open .btc-drawer__panel {
	transform: translateX(0);
}
.btc-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--btc-line);
}
.btc-drawer__logo {
	height: 30px;
	width: auto;
}
.btc-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--btc-radius);
	background: transparent;
	color: var(--btc-ink);
	cursor: pointer;
}
.btc-drawer__body {
	padding: 16px 20px 0;
}
.btc-drawer__search.btc-search {
	width: 100%;
	height: 50px;
	margin-bottom: 8px;
}
.btc-drawer__menu {
	margin: 0 -20px;
	padding: 0;
	list-style: none;
}
.btc-drawer__menu a {
	display: block;
	padding: 16px 20px;
	border-bottom: 1px solid #F0F0F0;
	color: var(--btc-ink);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}
.btc-drawer__menu .current-menu-item > a {
	box-shadow: inset 4px 0 0 var(--btc-accent);
}
.btc-drawer__menu a:hover,
.btc-drawer__menu a:focus-visible {
	background: var(--btc-soft);
	outline: none;
}
.btc-drawer__foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	padding: 12px 20px 24px;
	border-top: 1px solid var(--btc-line);
}
.btc-drawer__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	color: var(--btc-ink);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}
.btc-drawer__wa {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 12px;
	border-radius: var(--btc-radius);
	background: #1F7A45;
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
}
.btc-drawer__wa:hover {
	color: #FFFFFF;
	background: #17623A;
}
.btc-drawer__hours {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--btc-muted);
}
html.btc-drawer-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.btc-header .btc-nav,
	.btc-header .btc-search,
	.btc-header .btc-account {
		display: none !important;
	}
	.btc-drawer__open {
		display: inline-flex;
	}
}
@media (min-width: 1025px) {
	.btc-drawer-wrap {
		display: none;
	}
}

/* ---------- Category and feature tiles (container used as a link) ---------- */
.btc-tile {
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btc-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}
.btc-tile:focus-visible {
	outline: 3px solid var(--btc-accent);
	outline-offset: 3px;
}
.btc-tile .elementor-icon-wrapper,
.btc-tile .btc-arrow {
	transition: transform 0.2s ease;
}
.btc-tile:hover .btc-arrow {
	transform: translateX(4px);
}

/* ---------- Simple cards and stats ---------- */
.btc-stat {
	border-top: 1px solid var(--btc-line);
}
.btc-on-dark .btc-stat {
	border-top-color: #333333;
}

/* ---------- Forms (Fluent Forms) ---------- */
.fluentform .ff-el-input--label label {
	font-family: var(--btc-font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--btc-ink);
}
.fluentform .ff-el-form-control {
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #CFCFCF;
	border-radius: var(--btc-radius);
	background: #FFFFFF;
	color: var(--btc-ink);
	font-family: var(--btc-font-body);
	font-size: 15px;
}
.fluentform textarea.ff-el-form-control {
	min-height: 120px;
}
.fluentform .ff-el-form-control:focus {
	border-color: var(--btc-ink);
	outline: 2px solid var(--btc-ink);
	outline-offset: 0;
	box-shadow: none;
}
.fluentform .ff-el-help-message {
	font-size: 13px;
	color: var(--btc-muted);
	font-style: normal;
}
.fluentform .ff-el-group {
	margin-bottom: 18px;
}
.fluentform .ff-btn-submit,
.fluentform .ff_submit_btn_wrapper .ff-btn-submit:not(.ff_btn_no_style) {
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--btc-radius);
	background-color: var(--btc-accent) !important;
	color: #000000 !important;
	font-family: var(--btc-font-body);
	font-size: 15px;
	font-weight: 600;
	opacity: 1;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.fluentform .ff-btn-submit:hover {
	background-color: #000000 !important;
	color: #FFFFFF !important;
}
.fluentform .ff-btn-submit:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 3px;
}
.fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #B3261E;
	box-shadow: 0 0 0 1px #B3261E;
}
.fluentform .error,
.fluentform .text-danger {
	color: #B3261E;
	font-size: 13px;
	font-weight: 500;
}
.fluentform .ff-el-form-check-label {
	font-size: 15px;
}
.ff-message-success {
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}
.btc-sent h3 {
	margin: 0 0 10px;
	font-family: var(--btc-font-head);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.1;
}
.btc-sent p {
	margin: 0;
	font-size: 17px;
}

/* Dark form variant (homepage quote section): class btc-form-dark on the container */
.btc-form-dark .fluentform .ff-el-input--label label,
.btc-form-dark .btc-sent,
.btc-form-dark .ff-message-success {
	color: #FFFFFF;
}
.btc-form-dark .fluentform .ff-el-form-control {
	border-color: #3A3A3A;
	background: #111111;
	color: #FFFFFF;
}
.btc-form-dark .fluentform .ff-el-form-control::placeholder {
	color: #9A9A9A;
}
.btc-form-dark .fluentform .ff-el-form-control:focus {
	border-color: var(--btc-accent);
	outline-color: var(--btc-accent);
}
.btc-form-dark .fluentform .ff-btn-submit:hover {
	background-color: #FFFFFF !important;
	color: #000000 !important;
}
.btc-form-dark .fluentform .ff-el-help-message {
	color: #A3A3A3;
}

/* ---------- Floating WhatsApp: keep clear of the iOS home bar ---------- */
@media (max-width: 767px) {
	.btc-wa-float {
		right: 16px;
		bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.btc-tile,
	.btc-tile .btc-arrow,
	.btc-drawer__panel,
	.btc-drawer__scrim {
		transition: none;
	}
	.btc-tile:hover {
		transform: none;
	}
}

/* Header row: nested containers size to their content so the menu takes the free space */
.btc-header .e-con {
	--width: auto;
	width: auto;
}

/* Footer legal row: lighter grey on black for 4.5:1 contrast */
.btc-footer .e-con-inner > .e-con:last-child,
.btc-footer .e-con-inner > .e-con:last-child a,
.btc-footer .e-con-inner > .e-con:last-child .elementor-icon-list-text {
	color: #A3A3A3 !important;
}
.btc-footer .e-con-inner > .e-con:last-child a:hover,
.btc-footer .e-con-inner > .e-con:last-child a:hover .elementor-icon-list-text {
	color: #FFFFFF !important;
}

/* Drawer buttons: beat the Elementor kit button styles that target every button */
button.btc-drawer__open.btc-drawer__open,
button.btc-drawer__close.btc-drawer__close {
	padding: 0;
	border: 1px solid var(--btc-line);
	border-radius: var(--btc-radius);
	background: var(--btc-surface);
	color: var(--btc-ink);
	box-shadow: none;
}
button.btc-drawer__open.btc-drawer__open:hover,
button.btc-drawer__close.btc-drawer__close:hover {
	border-color: var(--btc-ink);
	background: var(--btc-surface);
	color: var(--btc-ink);
}
button.btc-drawer__open svg,
button.btc-drawer__close svg {
	stroke: currentColor;
}
.btc-footer .e-con-inner > .e-con:last-child .elementor-widget-text-editor {
	color: #A3A3A3 !important;
}

/* Hero on phones: stronger scrim so the eyebrow and heading read over bright sky */
@media (max-width: 767px) {
	.btc-hero::before {
		background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.84) 100%) !important;
	}
}

/* Inner pages: breadcrumb, numbered steps, timeline */
.btc-crumb a {
	color: inherit;
	text-decoration: none;
}
.btc-crumb a:hover {
	color: var(--btc-ink);
	text-decoration: underline;
}
.btc-steps {
	margin: 0;
	padding: 0 0 0 20px;
}
.btc-steps li {
	margin: 0 0 10px;
	padding-left: 4px;
}
.btc-steps li::marker {
	font-weight: 600;
}
.btc-steps li:last-child {
	margin-bottom: 0;
}
.btc-on-dark a:not(.elementor-button) {
	color: inherit;
}

/* Legal pages (refund, privacy, terms) */
body .site-main.site-main:has(.btc-legal) {
	box-sizing: border-box;
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
	padding: 48px 60px 120px;
}
body .site-main.site-main:has(.btc-legal) .page-header .entry-title,
body .site-main.site-main:has(.btc-legal) .page-content {
	max-width: none;
	margin-inline: 0;
}
body .site-main.site-main:has(.btc-legal) .page-header .entry-title {
	margin: 0 0 8px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.08;
}
.btc-legal__meta {
	margin: 0 0 40px;
	color: var(--btc-muted);
	font-size: 14px;
}
.btc-legal__grid {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}
.btc-legal__side {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	font-size: 14px;
}
.btc-legal__label {
	margin: 0 0 10px;
	color: var(--btc-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.btc-legal__side ol,
.btc-legal__side ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.btc-legal__side li {
	margin: 0 0 8px;
}
.btc-legal__side a {
	color: var(--btc-ink);
	text-decoration: none;
}
.btc-legal__side a:hover,
.btc-legal__side a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--btc-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
.btc-legal__body {
	max-width: 720px;
	font-size: 16px;
	line-height: 1.7;
}
.btc-legal__intro {
	margin: 0 0 32px;
	font-size: 18px;
}
.btc-legal__body section {
	padding: 24px 0;
	border-top: 1px solid var(--btc-line);
	scroll-margin-top: 24px;
}
.btc-legal__body h2 {
	margin: 0 0 10px;
	font-family: var(--btc-font-head);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
}
.btc-legal__body p {
	margin: 0 0 12px;
}
.btc-legal__body ul {
	margin: 0 0 12px;
	padding-left: 20px;
}
.btc-legal__body li {
	margin: 0 0 6px;
}
.btc-legal__help {
	margin-top: 24px !important;
	padding: 18px 20px;
	border-radius: 10px;
	background: var(--btc-soft);
	font-size: 15px;
}
@media (max-width: 1024px) {
	body .site-main.site-main:has(.btc-legal) {
		padding: 32px 24px 80px;
	}
	.btc-legal__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.btc-legal__side {
		position: static;
	}
}
@media (max-width: 767px) {
	body .site-main.site-main:has(.btc-legal) {
		padding: 24px 16px 72px;
	}
}
body .site-main.site-main:has(.btc-legal) .page-header,
body .site-main.site-main:has(.btc-legal) .page-header .entry-title {
	padding-inline: 0;
	margin-inline: 0;
}

/* Round 2: project banner, WhatsApp icon, footer credit */
.btc-project {
	background: #000000;
	color: #FFFFFF;
}
.btc-project__inner {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 56px 60px;
}
.btc-project__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 55%;
}
.btc-project__title {
	margin: 0;
	color: #FFFFFF;
	font-family: var(--btc-font-head);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.1;
}
.btc-project__text {
	margin: 0;
	color: #CFCFCF;
	font-size: 16px;
	line-height: 1.6;
}
a.btc-project__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border-radius: var(--btc-radius);
	background: var(--btc-accent);
	color: #000000;
	font: 600 15px/1 var(--btc-font-body);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
a.btc-project__button:hover,
a.btc-project__button:focus-visible {
	background: #FFFFFF;
	color: #000000;
}
a.btc-project__button:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 3px;
}
@media (max-width: 1024px) {
	.btc-project__inner {
		padding: 48px 24px;
	}
	.btc-project__copy {
		max-width: 70%;
	}
}
@media (max-width: 767px) {
	.btc-project__inner {
		padding: 40px 16px;
	}
	.btc-project__copy {
		max-width: none;
	}
	.btc-project__title {
		font-size: 26px;
	}
	a.btc-project__button {
		width: 100%;
	}
}

a.btc-wa-float.btc-wa-float,
a.btc-wa-float.btc-wa-float:hover {
	color: #FFFFFF;
}
.btc-wa-float svg path {
	fill: currentColor;
}

.btc-footer .e-con-inner > .e-con:last-child a {
	text-decoration: none !important;
}
.btc-footer .e-con-inner > .e-con:last-child a:hover {
	text-decoration: underline !important;
	text-decoration-color: #FFFFFF !important;
}

/* Project banner as a dark card inside the page, so it reads apart from the black footer */
.btc-project.btc-project {
	box-sizing: border-box;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 60px 96px;
	background: transparent;
}
.btc-project .btc-project__inner {
	max-width: none;
	padding: 48px 56px;
	border-radius: 12px;
	background: #000000;
}
.btc-project h2.btc-project__title {
	color: #FFFFFF !important;
}
@media (max-width: 1024px) {
	.btc-project.btc-project {
		padding: 0 24px 80px;
	}
	.btc-project .btc-project__inner {
		padding: 40px 32px;
	}
}
@media (max-width: 767px) {
	.btc-project.btc-project {
		padding: 0 16px 72px;
	}
	.btc-project .btc-project__inner {
		padding: 32px 22px;
	}
}
body.post-type-archive-product .site-main.site-main,
body.tax-product_cat .site-main.site-main {
	padding-bottom: 40px;
}

/* Hero stats row */
.btc-hero__stats .elementor-widget-text-editor {
	opacity: 0.72;
}
@media (max-width: 767px) {
	.btc-hero__stats.e-con {
		--gap: 18px 28px;
		--row-gap: 18px;
		--column-gap: 28px;
	}
}

.btc-hero__stats .e-con {
	--width: auto;
	width: auto;
}

/* Radio options inside the dark quote form */
.btc-form-dark .ff-el-form-check-label,
.btc-form-dark .ff-el-form-check-label span {
	color: #FFFFFF;
}
.btc-form-dark .ff-el-form-check {
	margin-right: 18px;
}

/* "Prefer email?" link under Chat for a quote: plain text link, not a note box */
.btc-note.btc-note--link {
	margin-top: 12px;
	padding: 0;
	background: none;
	text-align: center;
}
.btc-note--link a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* [btc_banner]: same card as the shop project banner, placed inside a page section */
.btc-project.btc-project.btc-project--inline {
	max-width: none;
	margin: 0;
	padding: 0;
}
.btc-project__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.btc-project__note {
	margin: 0;
	color: #A3A3A3;
	font-size: 14px;
	line-height: 1.4;
}
.btc-project__note a {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (max-width: 767px) {
	.btc-project__action {
		width: 100%;
	}
}

/* Space between the shop grid and its page numbers */
.woocommerce nav.woocommerce-pagination.woocommerce-pagination {
	margin: 40px 0 0;
}

/* Phone link under banner buttons: stays readable on hover */
.btc-project .btc-project__note a {
	color: #FFFFFF;
}
.btc-project .btc-project__note a:hover,
.btc-project .btc-project__note a:focus-visible {
	color: var(--btc-accent);
	text-decoration-color: var(--btc-accent);
}

/* Inline radio options (Buy or hire, How should we reply): one even row */
.fluentform .ff_list_inline .ff-el-input--content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
}
.fluentform .ff_list_inline .ff-el-form-check {
	display: block;
	margin: 0 !important;
}
/* Beats Fluent Forms' 7px gap under every option except the last */
.fluentform .ff_list_inline .ff-el-form-check label.ff-el-form-check-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	line-height: 1.3;
}
.fluentform .ff_list_inline .ff-el-form-check-input {
	margin: 0;
	position: static;
}
