/* Quick Order Modal Styles */
.beauty-rent-quick-order-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.beauty-rent-quick-order-modal:not([hidden]) {
	opacity: 1;
	visibility: visible;
}

.beauty-rent-quick-order-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
}

.beauty-rent-quick-order-modal__content {
	position: relative;
	z-index: 1;
	background: var(--wp--preset--color--white, #ffffff);
	border-radius: clamp(1.5rem, 4vw, 2.5rem);
	max-width: clamp(600px, 90vw, 800px);
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
	transform: scale(0.95) translateY(20px);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.beauty-rent-quick-order-modal:not([hidden]) .beauty-rent-quick-order-modal__content {
	transform: scale(1) translateY(0);
}

.beauty-rent-quick-order-modal__close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.05);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	color: var(--wp--preset--color--foreground, #0f172a);
	transition: background-color 0.2s ease, transform 0.2s ease;
	z-index: 2;
}

.beauty-rent-quick-order-modal__close:hover {
	background: rgba(15, 23, 42, 0.1);
	transform: rotate(90deg);
}

.beauty-rent-quick-order-modal__header {
	padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2rem);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.beauty-rent-quick-order-modal__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 600;
	color: var(--wp--preset--color--foreground, #0f172a);
}

.beauty-rent-quick-order-modal__subtitle {
	margin: 0;
	color: color-mix(in srgb, currentColor 70%, transparent);
	font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.beauty-rent-quick-order-modal__device-info {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 2.5rem);
	background: rgba(234, 179, 191, 0.05);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.beauty-rent-quick-order-modal__device-image {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: clamp(0.5rem, 1vw, 0.75rem);
	overflow: hidden;
	background: rgba(15, 23, 42, 0.05);
}

.beauty-rent-quick-order-modal__device-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.beauty-rent-quick-order-modal__form {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	display: grid;
	gap: clamp(1.25rem, 3vw, 1.75rem);
}

.beauty-rent-quick-order-modal__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	position: relative;
}

.beauty-rent-quick-order-modal__field--grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(1rem, 3vw, 1.5rem);
}

.beauty-rent-quick-order-modal__field--grid > div {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.beauty-rent-quick-order-modal__field label,
.beauty-rent-quick-order-modal__field legend {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--wp--preset--color--foreground, #0f172a);
	margin-bottom: 0.25rem;
}

.beauty-rent-quick-order-modal__required {
	color: var(--wp--preset--color--accent, #eab3bf);
	margin-left: 0.25rem;
}

.beauty-rent-quick-order-modal__field select,
.beauty-rent-quick-order-modal__field input,
.beauty-rent-quick-order-modal__field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-family: var(--wp--preset--font-family--switzer, system-ui, sans-serif);
	border: 1.5px solid rgba(15, 23, 42, 0.25);
	border-radius: clamp(0.75rem, 2vw, 1rem);
	background: #ffffff;
	color: var(--wp--preset--color--foreground, #0f172a);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), inset 0 1px 2px rgba(15, 23, 42, 0.02);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.beauty-rent-quick-order-modal__field select:hover:not(:focus):not(:disabled),
.beauty-rent-quick-order-modal__field input:hover:not(:focus):not(:disabled),
.beauty-rent-quick-order-modal__field textarea:hover:not(:focus):not(:disabled) {
	border-color: rgba(15, 23, 42, 0.4);
}

.beauty-rent-quick-order-modal__field select:focus,
.beauty-rent-quick-order-modal__field input:focus,
.beauty-rent-quick-order-modal__field textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent, #eab3bf);
	box-shadow: 0 0 0 3px rgba(234, 179, 191, 0.15);
}

.beauty-rent-quick-order-modal__field textarea {
	resize: vertical;
	min-height: 80px;
}

.beauty-rent-quick-order-modal__hint {
	margin: 0;
	font-size: 0.875rem;
	color: color-mix(in srgb, currentColor 65%, transparent);
}

.beauty-rent-quick-order-modal__error {
	display: block;
	min-height: 1.4em;
	font-size: 0.875rem;
	color: #dc2626;
	opacity: 0;
	transform: translateY(-4px);
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.beauty-rent-quick-order-modal__error.is-visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
}

.beauty-rent-quick-order-modal__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.beauty-rent-quick-order-modal__choice {
	position: relative;
	cursor: pointer;
}

.beauty-rent-quick-order-modal__choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.beauty-rent-quick-order-modal__choice span {
	display: inline-block;
	padding: 0.65rem 1.25rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.05);
	color: var(--wp--preset--color--foreground, #0f172a);
	font-size: 0.95rem;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	border: 1.5px solid transparent;
}

.beauty-rent-quick-order-modal__choice input:checked + span {
	background: var(--wp--preset--color--accent, #eab3bf);
	color: var(--wp--preset--color--white, #ffffff);
	box-shadow: 0 8px 20px rgba(234, 179, 191, 0.3);
}

.beauty-rent-quick-order-modal__field--duration[hidden] {
	display: none !important;
}

.beauty-rent-quick-order-modal__actions {
	margin-top: 0.5rem;
}

.beauty-rent-quick-order-modal__submit {
	width: 100%;
	padding: 0.875rem 1.75rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--white, #ffffff);
	background: var(--wp--preset--color--accent, #eab3bf);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.beauty-rent-quick-order-modal__submit:hover:not(:disabled) {
	background: color-mix(in srgb, var(--wp--preset--color--accent, #eab3bf) 90%, #000000);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(234, 179, 191, 0.35);
}

.beauty-rent-quick-order-modal__submit:active:not(:disabled) {
	transform: translateY(0);
}

.beauty-rent-quick-order-modal__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.beauty-rent-quick-order-modal__recaptcha-notice {
	margin-top: 0.5rem;
	padding: 0.75rem;
	background: rgba(15, 23, 42, 0.03);
	border-radius: 0.5rem;
	font-size: 0.8rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
	line-height: 1.5;
}

.beauty-rent-quick-order-modal__recaptcha-notice a {
	color: var(--wp--preset--color--accent, #eab3bf);
	text-decoration: underline;
}

@media (max-width: 768px) {
	.beauty-rent-quick-order-modal {
		padding: 0.5rem;
	}

	.beauty-rent-quick-order-modal__content {
		max-height: 95vh;
		border-radius: 1.25rem;
	}

	.beauty-rent-quick-order-modal__header {
		padding: 2rem 1.5rem 1.5rem;
	}

	.beauty-rent-quick-order-modal__form {
		padding: 1.5rem;
	}

	.beauty-rent-quick-order-modal__field--grid {
		grid-template-columns: 1fr;
	}

	.beauty-rent-quick-order-modal__close {
		top: 1rem;
		right: 1rem;
		width: 2.25rem;
		height: 2.25rem;
	}
}

/* Navbar Styles */
.beauty-rent-navbar {
	position: relative;
	z-index: 1000;
	font-family: var(--wp--preset--font-family--switzer, system-ui, sans-serif);
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 3vw, 1.75rem);
	flex-wrap: nowrap;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.beauty-rent-navbar--sticky {
	position: sticky;
	top: 0;
}

.beauty-rent-navbar--transparent {
	background: transparent;
	box-shadow: none;
}

.beauty-rent-navbar--transparent.is-scrolled {
	background: var(--wp--preset--color--white, #ffffff);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.beauty-rent-navbar__logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
	transition: opacity 0.2s ease;
}

.beauty-rent-navbar__logo:hover {
	opacity: 0.8;
}

.beauty-rent-navbar__logo img {
	height: auto;
	max-height: 2.5rem;
	width: auto;
}

.beauty-rent-navbar__logo--text {
	font-family: var(--wp--preset--font-family--boska, serif);
	font-size: var(--wp--preset--font-size--large, 1.35rem);
	font-weight: 500;
	color: var(--wp--preset--color--black, #000000);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.beauty-rent-navbar__toggle {
	display: none !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 1001;
	position: relative;
	flex-shrink: 0;
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__toggle {
		display: flex !important;
	}
}

.beauty-rent-navbar__hamburger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 1.75rem;
	height: 1.25rem;
	position: relative;
}

.beauty-rent-navbar__hamburger-line {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--wp--preset--color--black, #000000);
	border-radius: 2px;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	transform-origin: center;
	position: relative;
}

/* Nieregularne linie - różne szerokości i pozycje */
.beauty-rent-navbar__hamburger-line--1 {
	width: 100%;
	transform: translateY(0) rotate(0deg);
}

.beauty-rent-navbar__hamburger-line--2 {
	width: 85%;
	margin-left: auto;
	transform: translateY(0) rotate(0deg);
}

.beauty-rent-navbar__hamburger-line--3 {
	width: 70%;
	transform: translateY(0) rotate(0deg);
}

/* Animacja otwarcia */
.beauty-rent-navbar.is-open .beauty-rent-navbar__hamburger-line--1 {
	transform: translateY(0.55rem) rotate(45deg);
	width: 100%;
}

.beauty-rent-navbar.is-open .beauty-rent-navbar__hamburger-line--2 {
	opacity: 0;
	transform: translateX(1rem);
	width: 0;
}

.beauty-rent-navbar.is-open .beauty-rent-navbar__hamburger-line--3 {
	transform: translateY(-0.55rem) rotate(-45deg);
	width: 100%;
}

.beauty-rent-navbar__menu {
	display: flex !important;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	flex: 1;
	justify-content: flex-end;
	flex-wrap: nowrap;
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__menu {
		position: fixed;
		top: 0;
		right: 0;
		width: min(85vw, 400px);
		height: 100vh;
		background: var(--wp--preset--color--white, #ffffff);
		box-shadow: -4px 0 20px rgba(15, 23, 42, 0.15);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 5rem 2rem 2rem;
		gap: 0;
		transform: translateX(100%);
		transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
		overflow-y: auto;
		z-index: 1000;
	}

	.beauty-rent-navbar.is-open .beauty-rent-navbar__menu {
		transform: translateX(0);
	}
}

.beauty-rent-navbar__menu-list {
	display: flex !important;
	align-items: center;
	gap: clamp(0.75rem, 1.6vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__menu-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}
}

.beauty-rent-navbar__menu-item {
	position: relative;
	list-style: none;
}

.beauty-rent-navbar__menu-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: clamp(0.45rem, 0.4rem + 0.3vw, 0.65rem) clamp(0.75rem, 0.65rem + 0.4vw, 1.1rem);
	font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
	font-weight: 500;
	color: var(--wp--preset--color--black, #000000);
	text-decoration: none;
	border-radius: 0.5rem;
	transition: color 0.2s ease, background-color 0.2s ease;
	position: relative;
}

.beauty-rent-navbar__menu-link:hover {
	color: var(--wp--preset--color--accent, #eab3bf);
	background: rgba(234, 179, 191, 0.1);
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__menu-link {
		padding: 1rem;
		border-bottom: 1px solid rgba(15, 23, 42, 0.1);
		width: 100%;
		justify-content: space-between;
	}
}

.beauty-rent-navbar__submenu-icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.beauty-rent-navbar__menu-item.is-open .beauty-rent-navbar__submenu-icon {
	transform: rotate(180deg);
}

.beauty-rent-navbar__submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 280px;
	background: var(--wp--preset--color--white, #ffffff);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
	border-radius: 0.75rem;
	padding: 0.5rem 0;
	margin-top: 0.5rem;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
	z-index: 100;
}

.beauty-rent-navbar__menu-item:hover .beauty-rent-navbar__submenu,
.beauty-rent-navbar__menu-item.is-open .beauty-rent-navbar__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__submenu {
		position: static;
		box-shadow: none;
		border-radius: 0;
		margin: 0;
		padding: 0;
		background: rgba(15, 23, 42, 0.03);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
	}

	.beauty-rent-navbar__menu-item.is-open .beauty-rent-navbar__submenu {
		max-height: 500px;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

.beauty-rent-navbar__submenu-item {
	list-style: none;
}

.beauty-rent-navbar__submenu-link {
	display: block;
	padding: 0.75rem 1.25rem;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	color: var(--wp--preset--color--black, #000000);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
	border-radius: 0.5rem;
	margin: 0 0.5rem;
	white-space: nowrap;
}

.beauty-rent-navbar__submenu-link:hover {
	color: var(--wp--preset--color--accent, #eab3bf);
	background: rgba(234, 179, 191, 0.1);
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__submenu-link {
		padding: 0.75rem 0;
	}
}

.beauty-rent-navbar__cta {
	margin-left: 1rem;
	flex-shrink: 0;
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__cta {
		margin: 1.5rem 0 0;
		width: 100%;
	}
}

.beauty-rent-navbar__cta-button {
	display: inline-block;
	padding: clamp(0.65rem, 0.55rem + 0.3vw, 0.85rem) clamp(1.1rem, 0.95rem + 0.6vw, 1.6rem);
	font-size: clamp(0.95rem, 0.85rem + 0.2vw, 1rem);
	font-weight: 600;
	color: var(--wp--preset--color--white, #ffffff);
	background: var(--wp--preset--color--accent, #eab3bf);
	text-decoration: none;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.beauty-rent-navbar__cta-button:hover {
	background: color-mix(in srgb, var(--wp--preset--color--accent, #eab3bf) 90%, #000000);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(234, 179, 191, 0.3);
}

.beauty-rent-navbar__cta-button:active {
	transform: translateY(0);
}

@media (max-width: 1199px) {
	.beauty-rent-navbar__cta-button {
		width: 100%;
		text-align: center;
		padding: 1rem 1.5rem;
	}
}

/* Blokada scrollowania gdy menu jest otwarte */
body.navbar-open {
	overflow: hidden;
}

@media (min-width: 1024px) {
	body.navbar-open {
		overflow: auto;
	}
}

