/*
Theme Name: Seosight child Theme
Theme URI: http://theme.crumina.net/seosight/
Author: Crumina Team
Author URI: http://crumina.net/
Description: Unique portfolio & agency Wordpress theme
Version: 1
Template:seosight
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seosight
*/

/*****************************************************************
Add Custom styles below
******************************************************************/

/* Sejajarkan tombol "Analisa Website dahulu" dan "Hubungi via WA" */
.elementor-element-90e98c6 > .elementor-widget-wrap {
	flex-direction: row;
	flex-wrap: wrap;
}

.elementor-element-90e98c6 > .elementor-widget-wrap > .elementor-element:not(.elementor-element-d3130b0):not(.elementor-element-ff94046) {
	flex: 0 0 100% !important;
	width: 100% !important;
}

.elementor-element-90e98c6 > .elementor-widget-wrap > .elementor-element-d3130b0,
.elementor-element-90e98c6 > .elementor-widget-wrap > .elementor-element-ff94046 {
	flex: 0 0 auto !important;
	width: auto !important;
	margin-right: 15px;
}

.elementor-element-90e98c6 > .elementor-widget-wrap > .elementor-element-ff94046 {
	margin-right: 0;
}

.elementor-element-d3130b0,
.elementor-element-ff94046 {
	flex: 0 0 260px !important;
	width: 260px !important;
}

.elementor-element-d3130b0 .btn,
.elementor-element-ff94046 .btn {
	width: 100%;
	text-align: center;
}

@media (max-width: 767px) {
	.elementor-element-90e98c6 > .elementor-widget-wrap {
		flex-direction: column;
	}

	.elementor-element-90e98c6 > .elementor-widget-wrap > .elementor-element-d3130b0,
	.elementor-element-90e98c6 > .elementor-widget-wrap > .elementor-element-ff94046 {
		flex: 0 0 100%;
		width: 100%;
		margin-right: 0;
		margin-bottom: 15px;
	}
}

/* Language switcher pill in the header, next to the cart icon */
.nav-add li.trp-lang-switch {
	display: flex;
	align-items: center;
	margin-right: 26px;
}

.trp-lang-switch-flags {
	gap: 8px;
}

.trp-lang-switch-flags .trp-flag-link {
	display: inline-flex;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.trp-lang-switch-flags .trp-flag-link:hover,
.trp-lang-switch-flags .trp-flag-link.trp-flag-current {
	opacity: 1;
}

.trp-lang-switch-flags .trp-flag-link img {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
}

/* Mobile menu: search box at the top, cart icon next to the hamburger */
.mobile-header-cart,
.mobile-menu-search {
	display: none;
}

@media (max-width: 991px) {
	.mobile-header-cart {
		display: flex;
		align-items: center;
		margin-right: 12px;
		position: relative;
	}

	.navigation-header {
		display: flex;
		align-items: center;
	}

	.mobile-menu-search {
		display: block;
		padding: 15px 20px;
		border-bottom: 1px solid #eee;
	}

	.mobile-menu-search .search-inline {
		display: flex;
		align-items: center;
		width: 100%;
	}

	.mobile-menu-search .input-standard-grey {
		flex: 1 1 auto;
		height: 44px;
		padding: 0 15px;
		border: 1px solid #ddd;
		border-radius: 4px;
	}

	.mobile-menu-search .search-btn {
		background: none;
		border: none;
		width: 44px;
		height: 44px;
		margin-left: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.mobile-menu-search .search-btn i {
		font-size: 22px;
	}

	/* Hide the original cart + search icons in the mobile slide-out menu row
	   since they now have dedicated spots above (top bar cart, top search box) */
	.navigation-additional-menu .nav-add li.cart,
	.navigation-additional-menu .nav-add li.search {
		display: none;
	}
}

@media (max-width: 767px) {
	.nav-add li.trp-lang-switch {
		margin-right: 10px;
	}
}

/* Center all text inside the WhatsApp popup box */
#qlwapp .qlwapp-description,
#qlwapp .qlwapp-description-container,
#qlwapp .qlwapp-account,
#qlwapp .qlwapp-info,
#qlwapp .qlwapp-label,
#qlwapp .qlwapp-name,
#qlwapp .qlwapp-footer {
	text-align: center !important;
	width: 100%;
}

#qlwapp .qlwapp-account {
	flex-direction: column;
	align-items: center;
}

/* "Siap Punya Website Sekaligus Etalase Produk?" section: pure white background */
.elementor-element-7be9d3d {
	background-color: #ffffff !important;
}

/* Give the contact/quote form fields a visible border so they don't
   blend into the page's light background */
.fw_form_fw_form input[type="text"],
.fw_form_fw_form input[type="email"],
.fw_form_fw_form input[type="tel"],
.fw_form_fw_form input[type="url"],
.fw_form_fw_form textarea,
.fw_form_fw_form select {
	border: 1px solid #c7cfdb !important;
	background-color: #f7f9fb !important;
}

.fw_form_fw_form input[type="text"]:focus,
.fw_form_fw_form input[type="email"]:focus,
.fw_form_fw_form input[type="tel"]:focus,
.fw_form_fw_form input[type="url"]:focus,
.fw_form_fw_form textarea:focus {
	border-color: #e04141 !important;
}

/* Move the theme's "back to top" button to the left side of the screen */
.back-to-top,
.back-to-top-fixed {
	left: 30px !important;
	right: auto !important;
}

/* Light / System / Dark theme toggle in the header */
.trp-theme-switch {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 2px;
	margin-right: 18px;
	background: #f1f2f4;
	border-radius: 20px;
	padding: 3px;
	height: auto !important;
	width: auto !important;
}

.trp-theme-btn {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	align-items: center;
	justify-content: center;
	width: 26px !important;
	height: 26px !important;
	min-width: 26px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #8a8f98;
	cursor: pointer;
	padding: 0;
	margin: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

.trp-theme-btn svg {
	width: 15px;
	height: 15px;
}

.trp-theme-btn:hover {
	color: #333;
}

.trp-theme-btn.active {
	background: #fff;
	color: #e04141;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
	.trp-theme-switch {
		margin-right: 10px;
	}
}

/* ============================================================
   Dark mode
   ============================================================ */
:root[data-theme="dark"] {
	color-scheme: dark;
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] .header,
:root[data-theme="dark"] .navigation-body,
:root[data-theme="dark"] .navigation-body-header,
:root[data-theme="dark"] section,
:root[data-theme="dark"] .elementor-widget-wrap,
:root[data-theme="dark"] .white-bg,
:root[data-theme="dark"] .bg-white {
	background-color: #16181d !important;
	color: #d7d9dc !important;
}

:root[data-theme="dark"] .navigation-menu > li > a,
:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4,
:root[data-theme="dark"] h5,
:root[data-theme="dark"] h6,
:root[data-theme="dark"] .heading-title,
:root[data-theme="dark"] .logo-title {
	color: #f2f3f5 !important;
}

/* The logo is a single flat image (icon + "inayONE" wordmark baked in),
   so there's no separate text to recolor. Invert it in dark mode so the
   dark wordmark becomes visible, then hue-rotate back to keep the red
   icon close to its original color. */
:root[data-theme="dark"] .logo img {
	filter: invert(1) hue-rotate(180deg);
}

:root[data-theme="dark"] .crumina-module.list li,
:root[data-theme="dark"] p,
:root[data-theme="dark"] span:not([class*="icon"]) {
	color: #b7bac0;
}

:root[data-theme="dark"] .footer,
:root[data-theme="dark"] #footer,
:root[data-theme="dark"] .site-footer {
	background-color: #0e0f12 !important;
	color: #9ea1a8 !important;
}

:root[data-theme="dark"] .crumina-module.crum-button.align-center a.btn--white,
:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select {
	background-color: #22252b !important;
	color: #e2e3e6 !important;
	border-color: #33363d !important;
}

:root[data-theme="dark"] .trp-theme-switch {
	background: #22252b;
}

:root[data-theme="dark"] .trp-theme-btn {
	color: #9ea1a8;
}

:root[data-theme="dark"] .trp-theme-btn.active {
	background: #33363d;
	color: #ff6b6b;
}
