/*
Theme Name: WP Agent Flatsome Child
Description: Static child theme of Flatsome installed by WP Agent. Mây Boutique — design A "Hồng khối".
Author: WP Agent
Template: flatsome
Version: 1.1.3
Requires PHP: 7.4
Text Domain: wpagent-child
*/

/* ==========================================================================
   Tokens (approved design A): colours and fonts are also Flatsome options.
   ========================================================================== */
:root {
	--may-pink: #e8b7c8;
	--may-cream: #f6eee9;
	--may-berry: #7c2f4e;
	--may-bg: #fff8f9;
	--may-white: #ffffff;
	--may-ink: #2b1820;
	--may-muted: #6e5560;
	--may-soft: #fbe9f0;
	--may-df: 'Lora', serif;
	--may-bf: 'Nunito Sans', sans-serif;
}

/* ==========================================================================
   Base type
   ========================================================================== */
body.may-site {
	font-family: var(--may-bf);
	font-size: 17px;
	line-height: 1.6;
	color: var(--may-ink);
	background: var(--may-bg);
}

.may-site h1,
.may-site h2,
.may-site h3,
.may-site h4 {
	font-family: var(--may-df);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -0.01em;
	color: var(--may-ink);
	text-wrap: balance;
}

.may-site h1 { font-size: 52px; }
.may-site h2 { font-size: 42px; }
.may-site h3 { font-size: 24px; }
.may-site h4 { font-size: 20px; }

.may-site p { text-wrap: pretty; }
.may-site p:empty { display: none; }

.may-site a { color: inherit; }
.may-site a:hover { color: var(--may-berry); }

/* Small labels used across the pages. */
.may-eyebrow {
	display: inline-block;
	font-family: var(--may-bf);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--may-berry);
	margin-bottom: 14px;
}

.may-chip {
	display: inline-block;
	font-family: var(--may-bf);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--may-pink);
	color: var(--may-ink);
	padding: 7px 12px 5px;
	border: 1.5px solid var(--may-ink);
	line-height: 1.6;
}

/* ==========================================================================
   Buttons (Flatsome .button restyled once)
   default / secondary / alert: berry · primary: pink · white: white ·
   is-outline: ghost on dark backgrounds
   ========================================================================== */
body.may-site .button,
body.may-site input[type='submit'].button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 0;
	padding: 15px 24px 13px;
	border: 1.5px solid var(--may-ink);
	border-radius: 10px;
	background-color: var(--may-berry);
	color: #fff;
	font-family: var(--may-bf);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 3px 3px 0 var(--may-ink);
	transition: transform 0.2s, box-shadow 0.2s;
	opacity: 1;
}

body.may-site .button:hover,
body.may-site .button:focus-visible {
	transform: translate(-1px, -1px);
	box-shadow: 4px 4px 0 var(--may-ink);
	color: #fff;
	opacity: 1;
}

body.may-site .button.secondary:not(.is-outline),
body.may-site .button.alert:not(.is-outline) {
	background-color: var(--may-berry);
	color: #fff;
}

body.may-site .button.primary:not(.is-outline) {
	background-color: var(--may-pink);
	color: var(--may-ink);
}

body.may-site .button.white:not(.is-outline) {
	background-color: var(--may-white);
	color: var(--may-ink);
}

body.may-site .button.primary:not(.is-outline):hover,
body.may-site .button.white:not(.is-outline):hover {
	color: var(--may-ink);
}

body.may-site .button.is-outline {
	background-color: transparent;
	color: #fff;
	border: 1.5px solid #fff;
	box-shadow: 3px 3px 0 var(--may-pink);
}

body.may-site .button.is-outline:hover {
	background-color: transparent;
	color: #fff;
	border-color: #fff;
	box-shadow: 4px 4px 0 var(--may-pink);
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.may-site #top-bar {
	background-color: var(--may-ink);
}

.may-site .header-top .nav > li.html {
	font-family: var(--may-bf);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
	text-transform: none;
	white-space: nowrap;
}

/* ==========================================================================
   Header
   ========================================================================== */
.may-site .header-main {
	background-color: var(--may-white);
	border-bottom: 1.5px solid var(--may-ink);
}

.may-site .header-wrapper {
	box-shadow: none;
}

/* Logo + brand text (Flatsome logo, then the HTML element "may-brand"). */
.may-site .header-main .logo-left .logo {
	margin-right: 12px;
}

.may-site .header-main #logo img {
	width: 46px;
	height: 46px;
	max-height: none;
	object-fit: cover;
	border: 1.5px solid var(--may-ink);
}

.may-site .header-main .flex-left .nav > li.html {
	margin: 0;
}

.may-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	white-space: nowrap;
	text-decoration: none;
	color: var(--may-ink);
}

.may-site .may-brand:hover {
	color: var(--may-ink);
}

.may-brand__name {
	font-family: var(--may-df);
	font-weight: 600;
	font-size: 25px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--may-ink);
}

.may-brand__tag {
	display: block;
	margin-top: 4px;
	font-family: var(--may-bf);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--may-berry);
}

/* Main menu */
.may-site .header-main .header-nav-main > li.menu-item {
	margin: 0 17px;
}

.may-site .header-main .header-nav-main > li.menu-item > a {
	padding: 6px 0;
	border-bottom: 3px solid transparent;
	font-family: var(--may-bf);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--may-ink);
	white-space: nowrap;
	transition: border-color 0.2s, color 0.2s;
}

.may-site .header-main .header-nav-main > li.menu-item > a:hover {
	border-bottom-color: var(--may-pink);
	color: var(--may-ink);
}

.may-site .header-main .header-nav-main > li.current-menu-item > a,
.may-site .header-main .header-nav-main > li.may-current > a {
	border-bottom-color: var(--may-pink);
	color: var(--may-berry);
}

/* Header call button */
.may-site .header-main li.header-button-1 {
	margin: 0 0 0 23px;
}

body.may-site .header-main .header-button .button {
	margin: 0;
	padding: 12px 18px 10px;
	font-size: 15px;
}

/* Burger (Flatsome menu icon drawn as three lines) */
.may-site .header-main .nav-icon > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid var(--may-ink);
	border-radius: 10px;
	background: var(--may-pink);
}

.may-site .header-main .nav-icon .icon-menu {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0;
	font-size: 0;
	background: var(--may-ink);
	box-shadow: 0 -7px 0 var(--may-ink), 0 7px 0 var(--may-ink);
}

.may-site .header-main .nav-icon .icon-menu::before {
	content: none;
}

/* Off-canvas menu */
.may-site .off-canvas .mfp-content {
	background: var(--may-white);
	border-left: 1.5px solid var(--may-ink);
}

.may-site .off-canvas .nav-sidebar.nav-vertical > li + li {
	border-top: 0;
}

.may-site .off-canvas .nav-sidebar.nav-vertical > li > a {
	padding: 14px 20px;
	border-bottom: 1px solid var(--may-pink);
	font-family: var(--may-bf);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--may-ink);
}

.may-site .off-canvas .nav-sidebar.nav-vertical > li.current-menu-item > a,
.may-site .off-canvas .nav-sidebar.nav-vertical > li.may-current > a {
	color: var(--may-berry);
}

@media (max-width: 1100px) {
	.may-site h1 { font-size: 46px; }
	.may-site h2 { font-size: 36px; }

	.may-site .header-main .header-nav-main > li.menu-item {
		margin: 0 11px;
	}

	.may-site .header-main li.header-button-1 {
		display: none;
	}
}

/* ==========================================================================
   Footer: UX Block "may-footer" + Flatsome bottom bar
   ========================================================================== */
.may-footer {
	border-top: 1.5px solid var(--may-ink);
}

.may-footer .section-content {
	padding-top: 16px;
}

.may-footer__cols.row {
	max-width: 1216px;
	margin-left: auto;
	margin-right: auto;
}

.may-footer__cols > .col {
	padding: 0 20px;
}

.may-footer__cols > .col.may-fcol-1 { flex-basis: 30.82%; max-width: 30.82%; }
.may-footer__cols > .col.may-fcol-2,
.may-footer__cols > .col.may-fcol-3 { flex-basis: 24.475%; max-width: 24.475%; }
.may-footer__cols > .col.may-fcol-4 { flex-basis: 20.23%; max-width: 20.23%; }

.may-footer h4 {
	margin: 0 0 16px;
	font-family: var(--may-bf);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.may-footer ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.may-footer ul li {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--may-ink);
}

.may-footer a {
	text-decoration: none;
}

.may-footer a:hover {
	color: var(--may-berry);
	text-decoration: underline;
}

.may-footer .may-fabout {
	max-width: 300px;
	margin: 16px 0 0;
	font-size: 16px;
	color: var(--may-muted);
}

/* Footer brand: Flatsome featured box with the logo */
.may-fbrand.icon-box {
	display: flex;
	align-items: center;
}

.may-fbrand .icon-box-img {
	margin: 0 12px 0 0;
}

.may-fbrand .icon-box-img img {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border: 1.5px solid var(--may-ink);
}

.may-fbrand .icon-box-text {
	padding: 0;
}

.may-fbrand .icon-box-text p {
	margin: 0;
}

.may-fbrand a {
	text-decoration: none;
}

.may-fbrand a:hover {
	text-decoration: none;
}

/* Bottom bar */
.may-site .absolute-footer {
	padding: 0;
	background-color: var(--may-cream);
	font-family: var(--may-bf);
	font-size: 15px;
	color: var(--may-muted);
}

.may-site .absolute-footer .container {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 18px;
	padding-bottom: 18px;
	text-align: left;
}

.may-site .absolute-footer .container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 15px;
	right: 15px;
	border-top: 1.5px solid var(--may-ink);
}

.may-site .absolute-footer .container::after {
	content: none;
}

.may-site .absolute-footer .footer-primary {
	order: 1;
	float: none;
	padding: 0;
}

.may-site .absolute-footer .footer-secondary {
	order: 2;
	float: none;
	padding: 0;
}

.may-site .absolute-footer .copyright-footer,
.may-site .absolute-footer .footer-text {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--may-muted);
}

/* ==========================================================================
   Contact Form 7 (form "Liên hệ")
   ========================================================================== */
.may-site .wpcf7 .may-cf-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.may-site .wpcf7 label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--may-bf);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--may-ink);
	text-transform: none;
	letter-spacing: 0;
}

.may-site .wpcf7 .wpcf7-form-control-wrap {
	display: block;
}

.may-site .wpcf7 input[type='text'],
.may-site .wpcf7 input[type='tel'],
.may-site .wpcf7 input[type='email'],
.may-site .wpcf7 textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 0 18px;
	padding: 13px 14px;
	border: 1.5px solid var(--may-ink);
	border-radius: 0;
	background: var(--may-bg);
	box-shadow: none;
	font-family: var(--may-bf);
	font-size: 17px;
	line-height: 1.6;
	color: var(--may-ink);
}

.may-site .wpcf7 textarea {
	min-height: 150px;
	resize: vertical;
}

.may-site .wpcf7 input:focus,
.may-site .wpcf7 textarea:focus {
	outline: 3px solid var(--may-pink);
	outline-offset: 0;
	box-shadow: none;
}

.may-site .wpcf7 .wpcf7-not-valid-tip {
	position: static;
	margin: -12px 0 14px;
	font-size: 15px;
	color: var(--may-berry);
}

.may-site .wpcf7 .wpcf7-not-valid-tip::after {
	content: none;
}

body.may-site .wpcf7 .wpcf7-submit {
	margin: 0;
	cursor: pointer;
}

.may-site .wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border: 1.5px solid var(--may-ink);
	font-size: 16px;
}

/* ==========================================================================
   Tablet and phone (Flatsome's mobile header from 849px)
   ========================================================================== */
@media (max-width: 849px) {
	.may-site h1 { font-size: 34px; }
	.may-site h2 { font-size: 30px; }
	.may-site h3 { font-size: 22px; }

	.header #logo {
		width: auto;
		max-width: 60vw;
	}

	.header #logo > a {
		font-size: 20px;
	}

	.may-site .header-inner,
	.may-site .header-top .container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.may-site .header-top .nav {
		justify-content: center;
	}

	.may-footer__cols.row {
		max-width: none;
		margin-bottom: -32px;
		padding: 0 4px;
	}

	.may-footer__cols > .col {
		padding: 0 16px 32px;
	}

	.may-footer__cols > .col.may-fcol-1 { flex-basis: 100%; max-width: 100%; }
	.may-footer__cols > .col.may-fcol-2,
	.may-footer__cols > .col.may-fcol-3,
	.may-footer__cols > .col.may-fcol-4 { flex-basis: 50%; max-width: 50%; }

	.may-site .absolute-footer .container {
		flex-direction: column;
		padding-left: 20px;
		padding-right: 20px;
		text-align: left;
	}

	.may-site .absolute-footer .container::before {
		left: 20px;
		right: 20px;
	}

	.may-site .wpcf7 .may-cf-two {
		grid-template-columns: 1fr;
	}
}
