/*!
Theme Name: Alexandra Tatar by DEV
Author: Vasii Dan-Emanuel
Author URI: https://web-dev.dev
Description: Tema custom pentru Alexandra Tatar, realizata de DEV
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alexandra-tatar
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Alexandra Tatar is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;

}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Manrope', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background-image: url(./assets/images/cement-texture\ \(1\).webp);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}


/* Forms
--------------------------------------------- */

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}


.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Custom css by DEV */
body .elementor-widget-container a:visited,
body .elementor a:visited {
    color: inherit;
    text-decoration: none;
}

/* Main menu  */
/* ==========================================
   VARIABILE (asigură-te că sunt definite o singură dată)
   ========================================== */
:root {
	--primary-mov: #912A7F;
	--primary-dark: #6e1f61;
	--secondary: #EEE5E9;
	--text-dark: #2d2d2d;
	--text-light: #777777;
	--bg-texture: #f9f7f8;
	--white: #ffffff;
	--font-heading: 'Montserrat', sans-serif;
	--font-serif: 'Cormorant Garamond', serif;
	--font-body: 'Manrope', sans-serif;
}

/* ==========================================
   HEADER BAR
   ========================================== */
.header-bar {
	position: fixed;
	top: 20px;
	left: 0;
	right: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	padding: 0 28px;
	gap: 18px;
	transition: top 0.25s ease, padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.admin-bar .header-bar {
	top: 52px;
}

.header-bar.is-sticky {
	top: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 10px 30px rgba(46, 18, 37, 0.08);
	border-bottom: 1px solid rgba(145, 42, 127, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.admin-bar .header-bar.is-sticky {
	top: 32px;
}

.header-bar.is-sticky .nav-inner {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}


@media (max-width: 782px) {
	body.admin-bar .header-bar.is-sticky {
		top: 46px;
	}
}

.header-logo-link {
	display: inline-block;
	flex-shrink: 0;
	z-index: 10;
}

.header-logo {
	height: 64px;
	width: auto;
	filter: brightness(0);
	display: block;
}

.header-bar > nav {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	z-index: 200;
}

.header-bar-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	z-index: 210;
	flex: 0 0 auto;
}

.nav-inner {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 10px 36px;
	border-radius: 50px;
	display: flex;
	gap: 20px;
	/* softened shadow: slight purple tint to match brand and remove grey halo */
	box-shadow: 0 6px 18px rgba(145, 42, 127, 0.04);
	border: 3px solid rgba(255, 255, 255, 1);
	flex-wrap: nowrap; /* keep items inline */
	justify-content: center;
	align-items: center;
	overflow: visible; /* allow cart/account hover tooltip to escape the pill */
	white-space: nowrap; /* keep inline text from wrapping */
	z-index: 220; /* sit above nearby header elements */
}

/* WP generează <ul><li><a> pentru meniu */
.nav-inner ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 30px;
	align-items: center;
	flex: 0 0 auto;
}

.nav-inner ul li {
	margin: 0;
	padding: 0;
}

.nav-inner ul li a {
	text-decoration: none;
	color: var(--text-dark);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: color 0.3s;
	font-family: var(--font-body);
}

.nav-inner ul li a:hover,
.nav-inner ul li.current-menu-item a {
	color: var(--primary-mov);
}

.nav-inner {
	align-items: center;
}

.header-actions {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-left: 0;
	flex-wrap: nowrap;
	flex: 0 0 auto;
}

.mobile-header-actions {
	display: none;
	width: 100%;
	justify-content: center;
	gap: 12px;
	margin: 18px 0 6px;
}

.menu-item-cart,
.menu-item-account {
	flex-shrink: 0;
	position: relative;
	display: inline-flex;
}

.menu-cart-link,
.menu-account-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 46px;
	padding: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(0, 0, 0, 0.08);
	/* subtle lift on cart/account */
	box-shadow: 0 8px 20px rgba(145, 42, 127, 0.045);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
	color: inherit;
	flex: 0 0 auto;
}

.menu-cart-link:hover,
.menu-account-link:hover {
	transform: translateY(-1px);
	border-color: rgba(145, 42, 127, 0.18);
	box-shadow: 0 14px 26px rgba(145, 42, 127, 0.12);
}

.menu-cart-icon,
.menu-account-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: var(--primary-mov);
}


.menu-cart-link::after,
.menu-account-link::after {
	content: attr(data-tooltip);
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	white-space: nowrap;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(145, 42, 127, 0.14);
	box-shadow: 0 14px 30px rgba(46, 18, 37, 0.12);
	color: var(--text-dark);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
	z-index: 30;
}

.menu-cart-link:hover::after,
.menu-account-link:hover::after {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.menu-cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--primary-mov);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	position: absolute;
	top: -6px;
	right: -6px;
	box-shadow: 0 8px 18px rgba(145, 42, 127, 0.25);
}

.menu-cart-link:not(.has-items) .menu-cart-badge {
	display: none;
}


@media (max-width: 1180px) {
	.header-actions {
		gap: 10px;
	}

	.menu-cart-link,
	.menu-account-link {
		width: 42px;
		height: 42px;
	}

	body.admin-bar .header-bar {
		top: 66px;
	}
}

@media (max-width: 860px) {
	.header-actions {
		display: none;
	}

	.header-bar-right {
		display: none;
	}

	.mobile-header-actions {
		display: inline-flex;
	}

	.mobile-header-actions .menu-cart-link::after,
	.mobile-header-actions .menu-account-link::after {
		display: none;
	}
}

.language-switcher {
	position: relative;
	flex-shrink: 0;
}

.language-switcher__toggle {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-width: 180px;
	min-height: 48px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.09);
	background: rgba(255, 255, 255, 0.88);
	color: var(--text-dark);
	text-decoration: none;
	/* reduce heavy black shadow for language toggle */
	box-shadow: 0 10px 24px rgba(145, 42, 127, 0.05);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.4px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.language-switcher__toggle:hover,
.language-switcher.is-open .language-switcher__toggle {
	border-color: rgba(145, 42, 127, 0.22);
	box-shadow: 0 16px 34px rgba(145, 42, 127, 0.14);
}

/* Inline language switcher used on tablet (rendered inside .nav-inner) */
.language-inline-tablet { display: none; }

/* tablet and below behavior for inline language near burger */
@media (max-width: 1280px) {
	.language-inline-tablet { display: inline-flex; }
	/* hide desktop placement */
	.header-bar-right { display: none; }

	/* reduce nav pill padding so icons don't get clipped vertically */
	.nav-inner { padding: 6px 12px; }

	.menu-cart-link,
	.menu-account-link { width: 46px; height: 46px; }

	/* make language switcher toggle more compact in inline tablet layout */
	.language-inline-tablet .language-switcher__toggle { min-width: 0; padding: 8px 10px; min-height: 40px; }

	/* remove any shadow for the inline language switcher on tablet */
	.language-inline-tablet .language-switcher__toggle {
		box-shadow: none !important;
		background: rgba(255,255,255,0.95);
	}
	.language-inline-tablet .language-switcher__toggle:hover,
	.language-inline-tablet.is-open .language-switcher__toggle {
		box-shadow: none !important;
	}

	/* remove shadows for cart and account buttons on tablet */
	.menu-cart-link, .menu-account-link {
		box-shadow: none !important;
	}
	.menu-cart-link:hover, .menu-account-link:hover {
		box-shadow: none !important;
		transform: none !important;
		border-color: rgba(0,0,0,0.06) !important;
	}
	/* tooltips under icons should not have heavy shadow on tablet */
	.menu-cart-link::after, .menu-account-link::after {
		box-shadow: none !important;
		border-color: rgba(0,0,0,0.06) !important;
		background: rgba(255,255,255,0.98) !important;
	}
}

.language-switcher__current {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.language-switcher__flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.85);
	line-height: 0;
}

.language-switcher__flag img,
.language-switcher__flag svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.language-switcher__name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.language-switcher__chevron {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	transition: transform 0.25s ease;
}

.language-switcher.is-open .language-switcher__chevron {
	transform: rotate(180deg);
}

.language-switcher__menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	min-width: 100%;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(0, 0, 0, 0.06);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 20;
}

.language-switcher__menu[hidden] {
	display: none !important;
}

.language-switcher__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border-radius: 16px;
	color: var(--text-dark);
	text-decoration: none;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-switcher__option:hover,
.language-switcher__option.is-active {
	background: rgba(145, 42, 127, 0.08);
	color: var(--primary-mov);
	transform: translateX(2px);
}

.burger-btn {
	display: none;
}

/* ==========================================
   MOBILE MENU FULLSCREEN
   ========================================== */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	pointer-events: none;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 110px 0 90px;
}

.mobile-menu::before {
	content: '';
	position: fixed;
	inset: 0;
	background: var(--primary-mov);
	transform: translateY(-100%);
	transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
	z-index: 0;
}

.mobile-menu.open {
	pointer-events: all;
}

.mobile-menu.open::before {
	transform: translateY(0);
}

.mobile-menu-header {
	position: absolute;
	top: 28px;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	padding: 0 28px;
	pointer-events: none;
}

.mobile-menu-logo {
	height: 48px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}

.mobile-menu.open .mobile-menu-logo {
	opacity: 1;
	transform: translateY(0);
}

.mobile-menu-close {
	position: absolute;
	top: 28px;
	right: 28px;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: rotate(-90deg);
	transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
	z-index: 10;
	padding: 8px;
}

.mobile-menu.open .mobile-menu-close {
	opacity: 1;
	transform: rotate(0deg);
}

.mobile-menu-close svg {
	width: 24px;
	height: 24px;
	stroke: white;
	stroke-width: 2;
	stroke-linecap: round;
}

.mobile-menu-links {
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	width: 100%;
	max-width: 600px;
	padding: 0 20px;
}

.mobile-menu-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.mobile-menu-links ul li {
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: center;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-links ul li a {
	font-family: var(--font-heading);
	font-size: clamp(2.2rem, 8vw, 3.5rem);
	font-weight: 800;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1.2;
	display: block;
	transition: color 0.2s ease;
}

.mobile-menu-links ul li a:hover {
	color: var(--secondary);
}

.mobile-menu-links ul li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 8px;
}

.language-switcher--mobile {
	position: relative;
	z-index: 5;
	width: min(360px, calc(100vw - 40px));
	margin-top: 28px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease 0.62s, transform 0.4s ease 0.62s;
}

.mobile-menu.open .language-switcher--mobile {
	opacity: 1;
	transform: translateY(0);
}

.language-switcher--mobile .language-switcher__toggle {
	width: 100%;
	min-width: 0;
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
	box-shadow: none;
}

.language-switcher--mobile .language-switcher__toggle:hover,
.language-switcher--mobile.is-open .language-switcher__toggle {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.25);
}

.language-switcher--mobile .language-switcher__menu {
	position: static;
	min-width: 0;
	margin-top: 12px;
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.15);
	box-shadow: none;
}

.language-switcher--mobile .language-switcher__option {
	color: #fff;
}

.language-switcher--mobile .language-switcher__option:hover,
.language-switcher--mobile .language-switcher__option.is-active {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

/* Animație în cascadă pentru link-uri */

.mobile-menu.open .mobile-menu-links ul li {
	opacity: 1;
	transform: translateY(0);
}

.mobile-menu.open .mobile-menu-links ul li:nth-child(n+7) {
	transition-delay: 0.67s;
}

.mobile-menu.open .mobile-menu-links ul li:nth-child(1) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.25s;
}
.mobile-menu.open .mobile-menu-links ul li:nth-child(2) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.32s;
}
.mobile-menu.open .mobile-menu-links ul li:nth-child(3) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.39s;
}
.mobile-menu.open .mobile-menu-links ul li:nth-child(4) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.46s;
}
.mobile-menu.open .mobile-menu-links ul li:nth-child(5) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.53s;
}
.mobile-menu.open .mobile-menu-links ul li:nth-child(6) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.60s;
}

.mobile-menu-footer {
	position: absolute;
	bottom: 40px;
	z-index: 5;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	opacity: 0;
	transition: opacity 0.4s ease 0.55s;
	font-family: var(--font-body);
}

.mobile-menu.open .mobile-menu-footer {
	opacity: 1;
}

body.menu-open {
	overflow: hidden;
}


@media (max-height: 760px) and (max-width: 768px) {
	.mobile-menu {
		padding-top: 88px;
		padding-bottom: 70px;
	}

	.mobile-menu-links ul {
		gap: 4px;
	}

	.mobile-menu-links ul li a {
		font-size: clamp(1.55rem, 7vw, 2.4rem);
		line-height: 1.1;
	}

	.mobile-menu-links ul li + li {
		padding-top: 6px;
	}

	.language-switcher--mobile {
		margin-top: 18px;
	}
}

@media (max-width: 500px) {
	.header-bar.is-sticky {
		padding-top: 8px;
		padding-bottom: 8px;
	}
}

/* ==========================================
   RESPONSIVE — burger pe mobil
   ========================================== */
@media (max-width: 1280px) {
	/* tablet and below: switch to hamburger and place language/account/cart next to it */
	.nav-inner ul {
		display: none;
	}

	.nav-inner {
		padding: 6px 12px;
		background: none;
		border: none;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.header-bar > nav {
		position: static;
		transform: none;
	}

	.header-bar {
		justify-content: space-between;
		padding: 0 20px;
	}

	.burger-btn {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		background: none;
		border: none;
		box-shadow: none;
		outline: none;
		cursor: pointer;
		padding: 4px;
		width: 36px;
		height: 36px;
	}

	.burger-btn span {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--text-dark);
		border-radius: 2px;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}

	.burger-btn span:last-child { opacity: 0.6; }

	.header-bar-right { display: none; }

	.header-actions { display: inline-flex; gap: 12px; }

	.language-switcher--desktop { display: inline-flex; }

}

@media (max-width: 768px) {
	.nav-inner ul {
		display: none;
	}

	.language-switcher--desktop .language-switcher__toggle {
		min-width: 160px;
		height: 44px;
		padding: 9px 14px;
		font-size: 12px;
	}

	.language-switcher--desktop .language-switcher__menu {
		right: 0;
		left: auto;
	}

	.language-switcher--mobile {
		width: calc(100% - 40px);
	}

	.nav-inner {
		padding: 0;
		background: none;
		border: none;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.header-bar > nav {
		position: static;
		transform: none;
	}

	.header-bar {
		justify-content: space-between;
		padding: 0 20px;
	}

	.burger-btn {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		background: none;
		border: none;
		box-shadow: none;
		outline: none;
		cursor: pointer;
		padding: 4px;
		width: 32px;
		height: 32px;
	}

	.burger-btn span {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--text-dark);
		border-radius: 2px;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}

	.burger-btn span:last-child {
		opacity: 0.6;
	}
}

@media (max-width: 500px) {
	/* keep cart/account in the header; hide language from header entirely */
	.language-inline-tablet {
		display: none !important;
	}

	.header-bar-right {
		display: none !important;
	}

	.header-actions {
		display: inline-flex !important;
		gap: 8px;
	}

	/* make sure nothing appears inside the opened hamburger menu */
	.mobile-header-actions {
		display: none !important;
	}

	.nav-inner {
		padding: 6px 8px;
		gap: 8px;
	}

	.menu-cart-link,
	.menu-account-link {
		width: 40px;
		height: 40px;
	}

	.burger-btn {
		width: 34px;
		height: 34px;
	}

	/* only below 500px: allow language switcher inside the opened hamburger menu */
	.mobile-menu .language-switcher--mobile {
		display: block;
	}
}

@media (min-width: 501px) {
	/* keep the hamburger overlay clean on tablet and desktop widths */
	.mobile-menu .language-switcher--mobile {
		display: none !important;
	}
}

/* ==========================================
   SKIP LINK (accesibilitate WP)
   ========================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ==========================================
   FOOTER
   ========================================== */
.ft {
	background: #ffffff;
	padding: 70px 20px 30px;
	border-top: 1px solid #f0f0f0;
	font-family: 'Manrope', sans-serif;
}

.ft-inner {
	max-width: 1140px;
	margin: 0 auto;
}

/* ===== TOP — 3 coloane ===== */
.ft-top {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.2fr;
	gap: 60px;
	padding-bottom: 50px;
	margin-bottom: 30px;
	border-bottom: 1px solid #f0f0f0;
}

/* ===== BRAND ===== */
.ft-logo-link { display: inline-block; }

.ft-logo {
	height: 36px;
	width: auto;
	filter: brightness(0);
	display: block;
	margin-bottom: 8px;
}

.ft-subline {
	font-size: 10px;
	letter-spacing: 3px;
	color: #999;
	text-transform: uppercase;
	margin: 0 0 20px;
}

.ft-tagline {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 260px;
}

.ft-socials {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ft-social-link {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #2d2d2d;
	text-decoration: none;
	transition: color 0.3s ease;
}

.ft-social-link:hover { color: #912A7F; }

.ft-social-sep {
	color: #ddd;
	font-size: 12px;
}

/* ===== NAVIGARE ===== */
.ft-col-label {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #999;
	margin: 0 0 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f0;
}

/* WP nav menu */
.ft-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-nav-list li {
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
}

.ft-nav-list li:last-child { border-bottom: none; }

.ft-nav-list li a {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #2d2d2d;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.3s ease, gap 0.3s ease;
}

.ft-nav-list li a:hover {
	color: #912A7F;
	gap: 16px;
}

/* Liniuța — pusă prin link_before în PHP */
.ft-nav-line {
	color: #bbb;
	font-size: 12px;
	flex-shrink: 0;
}

/* ===== CONTACT ===== */
.ft-contact-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ft-contact-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #f5f5f5;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

.ft-contact-item:last-child { border-bottom: none; }
.ft-contact-item--static { cursor: default; }

.ft-contact-item:not(.ft-contact-item--static):hover {
	opacity: 0.7;
}

.ft-contact-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #ede7f0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #912A7F;
	background: #faf8fb;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.ft-contact-item:not(.ft-contact-item--static):hover .ft-contact-icon {
	background: #f3e8f1;
	border-color: #d4a8cc;
}

.ft-contact-icon svg {
	width: 18px;
	height: 18px;
}

.ft-contact-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ft-contact-text strong {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #2d2d2d;
	line-height: 1.2;
}

.ft-contact-text span {
	font-size: 12px;
	color: #888;
	line-height: 1.3;
}

.ft-language-switcher-wrap {
	padding-top: 12px;
}

.ft-language-switcher-wrap .language-switcher {
	width: 100%;
}

.ft-language-switcher-wrap .language-switcher__toggle {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 10px 14px;
	background: #faf8fb;
	border: 1px solid #ede7f0;
	box-shadow: none;
	color: #2d2d2d;
}

.ft-language-switcher-wrap .language-switcher__toggle:hover,
.ft-language-switcher-wrap .language-switcher.is-open .language-switcher__toggle {
	background: #f3e8f1;
	border-color: #d4a8cc;
	box-shadow: none;
}

.ft-language-switcher-wrap .language-switcher__menu {
	min-width: 100%;
	box-shadow: 0 14px 30px rgba(46, 18, 37, 0.08);
}

/* ===== BOTTOM ===== */
.ft-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.ft-copyright {
	font-size: 0.75rem;
	color: #aaa;
	margin: 0;
}

/* Legal menu */
.ft-legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.ft-legal-list li a {
	font-size: 0.75rem;
	color: #aaa;
	text-decoration: none;
	transition: color 0.3s ease;
}

.ft-legal-list li a:hover { color: #2d2d2d; }

.sp-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-mov);
    color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(145, 42, 127, 0.1);
}

.sp-back-to-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 40px; /* Ridicare ușoară la apariție */
}

.sp-back-to-top:hover {
    background-color: var(--primary-mov);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(145, 42, 127, 0.2);
}

@media (max-width: 768px) {
    .sp-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
	.ft-top {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
	/* Brand pe toată lățimea */
	.ft-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.ft {
		padding: 50px 20px 24px;
	}
	.ft-top {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.ft-brand {
		grid-column: auto;
	}
	.ft-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.ft-legal-list {
		gap: 16px;
	}

	.ft-language-switcher-wrap .language-switcher__toggle {
		min-height: 44px;
		padding: 9px 12px;
	}
}