/*
Theme Name: The Kitchen
Author: Digital Cuisine
Author URI: http://www.cuisine.digital
Description: Theme for elementor
Version: 2.2.9
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
	margin: 0;
}

html {
	background: var(--color-secondary);
}

body {
	background: var(--color-background);
	color: var(--color-primary);
	padding: 0!important;
}

a {
	color: var(--color-accent);
	transition: all .3s;
}

a:hover {
	color: var(--color-primary);
}

/* Fixes Spacings on Elementor Editor */
.e-con.e-flex {
	--flex-wrap: nowrap;
}

.noscroll {
	overflow: hidden;
}

/* Removes Recaptcha badge */
.grecaptcha-badge {
	opacity: 0;
	display: none !important;
}

/* ─── WP Admin Bar Collapse ─────────────────────────────────────────────── */

/* Collapse trigger button inside the admin bar */
.the-kitchen-admin-bar-toggle {
	cursor: pointer;
}

/* Arrow icon — always white.
 * Must use #wpadminbar prefix + target path directly because:
 * (a) WP admin bar sets its own color rules with ID specificity,
 * (b) fill="currentColor" on <path> is an SVG presentation attribute which
 *     overrides *inherited* CSS fill but loses to directly applied CSS rules. */
#wpadminbar .the-kitchen-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#wpadminbar .the-kitchen-toggle-icon svg {
	width: 15px;
	height: 20px;
	display: block;
	fill: #fff;
	padding: 3px;
}

#wpadminbar .the-kitchen-toggle-icon svg path {
	fill: #fff;
}

/* Slide the whole admin bar off the top of the screen */
#wpadminbar {
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#wpadminbar.the-kitchen-collapsed {
	transform: translateY(-100%);
	pointer-events: none; /* let clicks reach the revealer behind it */
}

/* Remove body offset when admin bar is hidden */
html.the-kitchen-admin-bar-collapsed {
	margin-top: 0 !important;
}

html.the-kitchen-admin-bar-collapsed body {
	margin-top: 0 !important;
}

/* ─── Floating revealer button — centered at the top of the screen ─────── */
#the-kitchen-bar-revealer {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%) scale(0.7);
	transform-origin: top center;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.72);
	border: none;
	outline: none;
	width: 24px;
	height: 20px;
	border-radius: 0 0 12px 12px;
	cursor: pointer;
	display: none; /* shown by html.the-kitchen-admin-bar-collapsed */
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	line-height: 0;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
	transition: background 0.2s ease, height 0.2s ease;
}

#the-kitchen-bar-revealer:hover {
	background: rgba(0, 0, 0, 0.92);
	height: 24px;
}

#the-kitchen-bar-revealer svg {
	width: 10px;
	height: 10px;
	fill: #fff;
	display: block;
	pointer-events: none;
}

/* Only visible when admin bar is collapsed */
html.the-kitchen-admin-bar-collapsed #the-kitchen-bar-revealer {
	display: flex;
}

/* Hide  */
.hide {
	display: none;
}

/* Borlabs */
:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
}

/* Elementor */
.elementor-panel-category-the_kitchen_widgets button::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('path-to-your-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
