/*
Theme Name: ShiftUp Child
Theme URI: https://shiftup.qodeinteractive.com
Description: A child theme of ShiftUp
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: shiftup
Template: shiftup
*/

/* Amelia booking form: match ShiftUp colours (Amelia sets these inline, hence !important) */
.amelia-v2-booking .am-fs__wrapper {
	--am-c-primary: #43d63f !important;
	--am-c-sb-bgr: #161616 !important;
	--am-c-sb-text: #ffffff !important;
	--am-c-main-heading-text: #000000 !important;
	--am-c-main-text: #161616 !important;
	--am-c-inp-text: #161616 !important;
	--am-c-drop-text: #161616 !important;
	--am-c-btn-prim: #43d63f !important;
	--am-c-btn-prim-text: #000000 !important;
	--am-c-btn-sec: #161616 !important;
	--am-c-btn-sec-text: #ffffff !important;
}
.amelia-v2-booking [style*="--am-c-cal-"] {
	--am-c-cal-low: #43d63f !important;
	--am-c-cal-high: #43d63f !important;
	--am-c-cal-init: #43d63f !important;
	--am-c-cal-low-text: #161616 !important;
	--am-c-cal-high-text: #161616 !important;
	--am-c-cal-init-text: #161616 !important;
	--am-c-cal-selected: #43d63f !important;
	--am-c-cal-selected-text: #000000 !important;
	--am-c-cal-selected-op80: rgba(67, 214, 63, 0.8) !important;
	--am-c-cal-low-op10: rgba(67, 214, 63, 0.1) !important;
	--am-c-cal-low-op20: rgba(67, 214, 63, 0.2) !important;
	--am-c-cal-low-op30: rgba(67, 214, 63, 0.3) !important;
	--am-c-cal-low-op60: rgba(67, 214, 63, 0.6) !important;
	--am-c-cal-low-op80: rgba(67, 214, 63, 0.8) !important;
	--am-c-cal-high-op10: rgba(67, 214, 63, 0.1) !important;
	--am-c-cal-high-op20: rgba(67, 214, 63, 0.2) !important;
	--am-c-cal-high-op30: rgba(67, 214, 63, 0.3) !important;
	--am-c-cal-high-op60: rgba(67, 214, 63, 0.6) !important;
	--am-c-cal-high-op80: rgba(67, 214, 63, 0.8) !important;
	--am-c-cal-init-op10: rgba(67, 214, 63, 0.1) !important;
	--am-c-cal-init-op20: rgba(67, 214, 63, 0.2) !important;
	--am-c-cal-init-op30: rgba(67, 214, 63, 0.3) !important;
	--am-c-cal-init-op60: rgba(67, 214, 63, 0.6) !important;
}
.amelia-v2-booking [style*="--am-c-btn-first: #265CF2"] {
	--am-c-btn-first: #43d63f !important;
	--am-c-btn-second: #000000 !important;
	--am-c-btn-first-op80: rgba(67, 214, 63, 0.8) !important;
	--am-c-btn-first-op30: rgba(67, 214, 63, 0.3) !important;
	--am-c-btn-first-op20: rgba(67, 214, 63, 0.1) !important;
}
.amelia-v2-booking [style*="--am-c-scroll-op30: rgba(18, 70, 214"] {
	--am-c-scroll-op30: rgba(67, 214, 63, 0.3) !important;
	--am-c-scroll-op10: rgba(67, 214, 63, 0.1) !important;
}

/* Green accent: theme cursor graphics hard-code the old orange */
.qodef-svg--cursor-close g path,
.qodef-svg--cursor-link g path { fill: var(--qode-main-color) !important; }
.qodef-svg--cursor-blured rect:nth-of-type(2),
#qodef-theme-cursor .qodef-cursor-square svg g rect:nth-of-type(2) { fill: var(--qode-main-color) !important; }

/* Dark icon on the bright green accordion toggle (white is too faint) */
.qodef-accordion .qodef-icon--minus::before { background-color: #000000; }

/* Banners: dark gradient so white titles stay readable on bright workshop photos */
.qodef-banner .qodef-m-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%);
	pointer-events: none;
}

/* Phones: keep long Lithuanian words (e.g. KOMPIUTERINĖ, REGISTRACIJA) from breaking mid-word */
@media only screen and (max-width: 680px) {
	.qodef-page-title .qodef-m-title { font-size: 36px; line-height: 1.1em; }
	.qodef-section-title .qodef-m-title { font-size: 28px; line-height: 1.15em; }
	.qodef-image-section-info .qodef-m-title { font-size: 28px; line-height: 1.15em; }
	/* service banners: shorter crops instead of full-height portrait strips */
	.qodef-banner .qodef-m-image img { width: 100%; height: 260px; object-fit: cover; }
}
@media only screen and (max-width: 680px) {
	iframe[src*="google.com/maps"] { height: 360px; }
}

/* 404 page: stretch the background photo instead of tiling it */
.error404 #qodef-page-outer { background-size: cover; background-position: center; background-repeat: no-repeat; }
