/**
Theme Name: The Maria Shop
Author: Marcos Martinez
Author URI: https://themariashop.com
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-maria-shop
Template: astra
*/
/* =========================================================
   THE MARIA SHOP
   HEADER
   ========================================================= */

:root {
	--tms-light: #f3f3f3;
	--tms-dark: #191a23;
	--tms-green: #b9ff66;
}


/* =========================================================
   GLOBAL HEADER
   ========================================================= */

.tms-header {
	width: 100%;
	position: relative;
	z-index: 9999;
	background: var(--tms-light);
	color: var(--tms-dark);
}


/* =========================================================
   TOP BAR
   ========================================================= */

.tms-topbar {
	width: 100%;
	background: var(--tms-dark);
	color: #fff;
	overflow: hidden;
}

.tms-topbar-inner {
	width: min(1440px, calc(100% - 48px));
	height: 38px;
	margin: 0 auto;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 30px;
}


/* +18 */

.tms-age-warning {
	display: flex;
	align-items: center;
	gap: 9px;

	flex: 0 0 auto;

	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.tms-age-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 24px;
	height: 24px;

	border: 2px solid var(--tms-green);
	border-radius: 50%;

	color: var(--tms-green);

	font-size: 9px;
	font-weight: 800;
}


/* =========================================================
   ANNOUNCEMENT
   ========================================================= */

.tms-announcement {
	position: relative;

	flex: 1;
	overflow: hidden;

	height: 38px;

	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.tms-announcement-track {
	display: flex;
	align-items: center;
	gap: 60px;

	white-space: nowrap;

	animation: tmsAnnouncement 18s linear infinite;
}

.tms-announcement-track span {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
}

@keyframes tmsAnnouncement {

	0% {
		transform: translateX(100%);
	}

	100% {
		transform: translateX(-100%);
	}

}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.tms-main-header {
	background: var(--tms-light);
}

.tms-main-header-inner {
	width: min(1440px, calc(100% - 48px));
	min-height: 105px;

	margin: 0 auto;

	display: grid;
	grid-template-columns: 210px minmax(250px, 1fr) auto;

	align-items: center;
	gap: 45px;
}


/* =========================================================
   LOGO
   ========================================================= */

.tms-logo {
	display: flex;
	align-items: center;
}

.tms-logo img {
	display: block;

	width: auto;
	max-width: 200px;
	max-height: 65px;
}

.tms-logo a {
	color: var(--tms-dark);
	text-decoration: none;

	font-size: 24px;
	font-weight: 800;
}


/* =========================================================
   SEARCH
   ========================================================= */

.tms-search {
	width: 100%;
}

.tms-search form {
	position: relative;

	display: flex;
	align-items: center;

	width: 100%;
	margin: 0;
}

.tms-search input[type="search"] {
	width: 100%;
	height: 48px;

	padding: 0 55px 0 18px;

	border: 1px solid rgba(25, 26, 35, 0.16);
	border-radius: 7px;

	background: #fff;
	color: var(--tms-dark);

	font-size: 14px;

	box-shadow: none;

	outline: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.tms-search input[type="search"]:focus {
	border-color: var(--tms-dark);

	box-shadow: 0 0 0 3px rgba(185, 255, 102, 0.35);
}


/* WooCommerce search button */

.tms-search button {
	position: absolute;

	right: 0;
	top: 0;

	width: 50px;
	height: 48px;

	border: 0;
	border-radius: 0 7px 7px 0;

	background: var(--tms-green);
	color: var(--tms-dark);

	font-size: 0;

	cursor: pointer;
}


/* Search icon */

.tms-search button::before {
	content: "";

	position: absolute;

	width: 15px;
	height: 15px;

	left: 16px;
	top: 14px;

	border: 2px solid var(--tms-dark);
	border-radius: 50%;
}

.tms-search button::after {
	content: "";

	position: absolute;

	width: 7px;
	height: 2px;

	background: var(--tms-dark);

	transform: rotate(45deg);

	left: 30px;
	top: 30px;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.tms-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tms-header-action {
	position: relative;

	width: 46px;
	height: 46px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	color: var(--tms-dark);

	text-decoration: none;

	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.tms-header-action:hover {
	background: rgba(25, 26, 35, 0.07);
	transform: translateY(-1px);
}

.tms-header-action svg {
	width: 23px;
	height: 23px;

	fill: none;
	stroke: currentColor;

	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* =========================================================
   CART
   ========================================================= */

.tms-cart-count {
	position: absolute;

	top: 0;
	right: -1px;

	min-width: 18px;
	height: 18px;

	padding: 0 4px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 999px;

	background: var(--tms-green);
	color: var(--tms-dark);

	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.tms-main-navigation {
	width: 100%;

	background: var(--tms-dark);
}

.tms-navigation-inner {
	width: min(1440px, calc(100% - 48px));
	margin: 0 auto;
}

.tms-menu {
	display: flex;
	align-items: stretch;
	justify-content: center;

	margin: 0;
	padding: 0;

	list-style: none;
}

.tms-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.tms-menu > li > a {
	position: relative;

	display: flex;
	align-items: center;

	min-height: 56px;

	padding: 0 22px;

	color: #fff;
	text-decoration: none;

	font-size: 13px;
	font-weight: 700;

	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.tms-menu > li > a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--tms-green);
}


/* =========================================================
   DROPDOWN ARROW
   ========================================================= */

/*
 * WordPress añade .menu-item-has-children
 * automáticamente a los elementos con submenú.
 */

.tms-menu > li.menu-item-has-children > a {
	padding-right: 42px;
}

.tms-menu > li.menu-item-has-children > a::after {
	content: "";

	position: absolute;

	right: 20px;
	top: 50%;

	width: 7px;
	height: 7px;

	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;

	transform: translateY(-65%) rotate(45deg);

	transition: transform 0.2s ease;
}

.tms-menu > li.menu-item-has-children:hover > a::after {
	transform: translateY(-20%) rotate(225deg);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.tms-menu .sub-menu {
	position: absolute;

	top: 100%;
	left: 0;

	min-width: 230px;

	margin: 0;
	padding: 8px 0;

	list-style: none;

	background: #fff;

	box-shadow:
		0 15px 35px rgba(25, 26, 35, 0.14);

	border-radius: 0 0 7px 7px;

	opacity: 0;
	visibility: hidden;

	transform: translateY(8px);

	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease;
}

.tms-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tms-menu .sub-menu li {
	margin: 0;
	padding: 0;
}

.tms-menu .sub-menu a {
	display: block;

	padding: 12px 18px;

	color: var(--tms-dark);
	text-decoration: none;

	font-size: 13px;
	font-weight: 600;

	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.tms-menu .sub-menu a:hover {
	background: var(--tms-light);
	color: var(--tms-dark);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.tms-mobile-menu-toggle {
	display: none;

	width: 42px;
	height: 42px;

	padding: 8px;

	border: 0;

	background: transparent;

	cursor: pointer;
}

.tms-mobile-menu-toggle span {
	display: block;

	width: 100%;
	height: 2px;

	margin: 5px 0;

	background: var(--tms-dark);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

	.tms-main-header-inner {
		grid-template-columns: 42px 1fr auto;
		gap: 20px;
	}

	.tms-mobile-menu-toggle {
		display: block;
	}

	.tms-logo {
		justify-content: center;
	}

	.tms-logo img {
		max-width: 170px;
	}

	.tms-main-navigation {
		display: none;
	}

	.tms-search {
		display: none;
	}

	.tms-mobile-navigation {
		display: none;

		background: var(--tms-dark);
	}

	.tms-mobile-navigation.is-open {
		display: block;
	}

}


/* =========================================================
   MOBILE TOP BAR
   ========================================================= */

@media (max-width: 600px) {

	.tms-topbar-inner {
		width: calc(100% - 20px);
	}

	.tms-age-warning {
		font-size: 9px;
	}

	.tms-age-badge {
		width: 22px;
		height: 22px;
	}

	.tms-announcement-track {
		gap: 35px;
	}

	.tms-announcement-track span {
		font-size: 10px;
	}

	.tms-main-header-inner {
		width: calc(100% - 20px);
		min-height: 75px;
		gap: 10px;
	}

	.tms-logo img {
		max-width: 145px;
		max-height: 48px;
	}

	.tms-header-action {
		width: 40px;
		height: 40px;
	}

}