/*
Theme Name:   Hello Elementor Child – Carats & Peaches
Theme URI:    https://www.caratsandpeaches.com/
Description:  Child theme for Carats & Peaches (B2B jewelry). Holds the custom post types, partner role, cart/request system and store locator.
Author:       Carats & Peaches
Template:     hello-elementor
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  hello-elementor-child
*/

/* Visual styling lives in Elementor Site Settings. Add only small overrides here. */

/* [cp_account_notice] */
.cp-notice { padding: 12px 16px; margin: 0 0 20px; font-size: 14px; border-left: 3px solid; }
.cp-notice--error   { background: #fbeaea; border-color: #b42318; color: #7a1a12; }
.cp-notice--success { background: #eaf6ec; border-color: #2e7d32; color: #1e5121; }
.elementor-widget-n-menu .e-n-menu[data-layout=dropdown] .e-n-menu-wrapper {margin-top: 20px !important}
#signup-button { margin-top:30px !important; }


/* Put the email field and the button side by side */
.mc4wp-form .mc4wp-form-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
}

/* Paragraph wrappers around the field and the button */
.mc4wp-form .mc4wp-form-fields > p {
	margin: 0;
}
.mc4wp-form .mc4wp-form-fields > p:has(input[type="email"]) {
	flex: 1 1 160px;   /* a real width, so a text line above can't share its row */
	min-width: 0;
}
.mc4wp-form .mc4wp-form-fields > p:has(input[type="submit"]),
.mc4wp-form .mc4wp-form-fields > p:has(button) {
	flex: 0 0 auto;
}
/* Any text paragraph inside the form stays on its own full-width line */
.mc4wp-form .mc4wp-form-fields > p:not(:has(input, button)) {
	flex: 1 1 100%;
	margin-bottom: 10px;
}

/* If the field still has its "Email address:" label, hide the label text so
   the field lines up with the button (the placeholder says what to type). */
.mc4wp-form .mc4wp-form-fields p:has(input[type="email"]) label {
	display: block;
	font-size: 0;
	line-height: 0;
}

/* Email field */
.mc4wp-form input[type="email"],
.mc4wp-form input[type="text"]:not([name="_mc4wp_honeypot"]) {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #1a1a1a;
	border-right: 0;            /* joins the button */
	border-radius: 5px 0px 0px 5px;
	background: #fff;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 15px;
	box-shadow: none;
	box-sizing: border-box;
}
.mc4wp-form input[type="email"]:focus {
	outline: none;
	box-shadow: inset 0 0 0 1px #1a1a1a;
}

/* Button (overrides the theme's default pink button) */
.mc4wp-form input[type="submit"],
.mc4wp-form button[type="submit"] {
	display: block;
	height: 48px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid #1a1a1a;
	border-radius: 0px 5px 5px 0px;
	background: #f4f1ea;
	color: #000;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	box-sizing: border-box;
	transition: background-color 0.2s ease;
}
.mc4wp-form input[type="submit"]:hover,
.mc4wp-form input[type="submit"]:focus,
.mc4wp-form button[type="submit"]:hover,
.mc4wp-form button[type="submit"]:focus {
	border-color: #1a1a1a;
	background: #b79c7e;
	color: #000;
}
.mc4wp-form input[type="submit"]:focus-visible,
.mc4wp-form button[type="submit"]:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}

/* Success / error message under the form */
.mc4wp-form .mc4wp-response {
	margin-top: 8px;
	font-size: 14px;
}

.section-service .cls-1, .section-service .cls-2 {
	fill: #E9853B !important;
	stroke: none !important;
}

.home-ready-loop .cls-1 {
	fill: #b79c7e !important;
	stroke: none !important;
}

.home-ready-loop .elementor-swiper-button-next:hover .cls-1,
.home-ready-loop .elementor-swiper-button-prev:hover .cls-1 {
	fill: #000000 !important;
	stroke: none !important;
}


@media (max-width:550px) {
	.home-ready-loop .elementor-swiper-button-next:hover .cls-1,
	.home-ready-loop .elementor-swiper-button-prev:hover .cls-1 {
		fill: #000000 !important;
		stroke: none !important;
	}
}

.hover-underline .elementor-heading-title {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.hover-underline a::after,
.hover-underline .elementor-heading-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #E9853B;
  transition: width 0.3s ease-in-out;
}

.hover-underline a:hover::after,
.hover-underline .elementor-heading-title:hover::after {
  width: 100%;
}