body {
	margin: 0;
	font-family: 'Poppins', sans-serif;
}

.top-bar {
	height: 3rem;
	background-color: #527e92;
	color: #fff;
	position: fixed;
	top: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem;
	box-sizing: border-box;
	z-index: 1000;
}

/* Lang switcher */
.lang-switcher {
	position: relative;
}

.lang-toggle {
	background: none;
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
}

.lang-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid #ccc;
	display: none;
	flex-direction: column;
	z-index: 999;
}

.lang-switcher.open .lang-menu {
	display: flex;
}

.lang-item {
	padding: 0.5rem 1rem;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lang-item:hover {
	background-color: #f0f0f0;
}

/* Ikony */
.icons {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.icon {
	width: 24px;
	height: 24px;
}

.icon-label {
	color: #fff;
	font-size: 0.9rem;
	margin-left: 0.5rem;
}



/* Logo i menu */
.menu-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 4rem;
	padding: 1rem;
}

.menu-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin-bottom: 1rem;
}

.menu-logo img {
	width: 100%;
	max-width: 140px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.menu-list {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	max-width: 1300px;
	padding: 0 1rem;
	box-sizing: border-box;
	gap: 3rem;
}

.main-nav {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
	justify-content: center;
}

.main-nav a {
	font-weight: 600;
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.main-nav a:hover {
	text-decoration: underline;
}

.search-box {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
}

.search-box input {
	border: none;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	outline: none;
}

.search-box button {
	
	border: none;
	padding: 0.5rem 1rem;
	cursor: pointer;
}
.lang-toggle .flag,
.lang-item .flag {
	width: 10px;
	height: auto;
}

.icon-account .icon-label {
	
}.top-bar-wrapper {
	max-width: 1300px;
	margin: 0 auto;
}

.top-bar {
	height: 3rem;
	background-color: #527e92;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem;
	box-sizing: border-box;
}

.lang-switcher {
	position: relative;
}

.lang-toggle {
	background: none;
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
}

.lang-toggle .flag,
.lang-item .flag {
	width: 20px;
	height: auto;
}

.lang-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid #ccc;
	display: none;
	flex-direction: column;
	z-index: 999;
}

.lang-switcher.open .lang-menu {
	display: flex;
}

.lang-item {
	padding: 0.3rem 0.8rem;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
}

.lang-item:hover {
	background-color: #f0f0f0;
}

.icons {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.icon {
	width: 24px!important;
	height: 24px!important;
}

.menu-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 3rem;
	padding: 1rem;
}

.menu-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin-bottom: 1rem;
}

.menu-logo img {
	width: 100%;
	max-width: 130px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.menu-list {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	max-width: 1300px;
	padding: 0 1rem;
	box-sizing: border-box;
	gap: 3rem;
}

.main-nav {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
	justify-content: center;
}

.main-nav a {
	font-weight: 600;
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.main-nav a:hover {
	text-decoration: underline;
}

.search-box {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
}

.search-box input {
	border: none;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	outline: none;
}

.search-box button {
	
	border: none;
	padding: 0.5rem 1rem;
	cursor: pointer;
}

.top-bar-inner {
	width: 100%;
	max-width: 1300px;
	padding: 0 1rem;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: auto;
}
.icon-account {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: white;
	text-decoration: none;
	font-size: 0.9rem;
}
.icon-label {
	display: inline;
	color: white;
}
/*koszyk*/

.cart-sidebar {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(90vw, 460px);
	height: 100vh;
	background: #fff;
	color: #111;
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
	transition: right 0.4s ease;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	font-family: 'Poppins', sans-serif;
}
.cart-sidebar.open {
	right: 0;
}

.cart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	font-size: 1.5rem;
	border-bottom: 1px solid #eee;
}

.cart-close {
	background: none;
	border: none;
	font-size: 2rem;
	cursor: pointer;
}

.cart-message {
	background: #f6f6f6;
	padding: 1rem;
	text-align: center;
	font-size: 0.95rem;
	color: #333;
}

.cart-content {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
}

.cart-item {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	gap: 1rem;
}

.cart-item img {
	width: 70px;
	height: auto;
}

.cart-info {
	flex: 1;
}

.cart-controls {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.cart-remove {
	color: #555;
	font-size: 0.85rem;
	cursor: pointer;
	text-decoration: underline;
}

.cart-item .cart-remove {
	color: #888;
	cursor: pointer;
	margin-left: 8px;
	font-size: 0.9rem;
}
.cart-item .cart-remove:hover {
	text-decoration: underline;
}

.cart-footer {
	padding: 1rem;
	border-top: 1px solid #eee;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.checkout-btn {
	background: #3a6e84;
	color: #fff;
	border: none;
	padding: 0.75rem;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.3s ease;
	text-align: center !important;
}
.checkout-btn:hover {
	background: #2e5a6b;
}

.cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.3);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	z-index: 9998;
}
.cart-overlay.active {
	opacity: 1;
	visibility: visible;
}

.icon-cart {
	position: relative;
	display: inline-block;
}
.cart-badge {
	position: absolute;
	top: -7px;
	right: -6px;
	min-width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 10px;
	line-height: 18px;
	text-align: center;
	box-shadow: 0 0 0 2px #fff;
}



.search-button {
	width: auto;
	aspect-ratio: 1 / 1;
	height: 100%;
	border: 1px solid #ccc;
	background: url('/images/loupe2.png') center center no-repeat;
	background-size: 60%;
	cursor: pointer;
	padding: 0;
}

@media (max-width: 900px) {
	.main-nav {
		gap: 1rem;
	}
	.menu-logo img {

	max-width: 110px;

}
}


