
/* === DESKTOP NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  color: #fff;
  margin: 0 296px;
}

.navbar .nav-flex {
  display: flex;
  align-items: center;
}

.navbar .logo {
  width: 198px;
  height: 44px;
}

.navbar .line {
  border: 1px solid #945833;
  height: 41px;
  margin: 0 25px 0 65px;
}

.navbar .hrefs {
  display: flex;
  width: 405px;
  height: 20px;
  gap: 32px;
}

.navbar .href {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.navbar .href .arrow {
  width: 11px;
  height: 8px;
}

.navbar .href p {
  font-family: ClashDisplay-Medium;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #945833;
  margin: 0;
  transition: 0.2s ease-in-out;
}

.navbar .href p:hover {
  color: #cfc1b8;
  filter: opacity(0.7);
}

.navbar .href p.active {
  color: #fff !important;
}

.navbar .language {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 30px;
  cursor: pointer;
  transition: 0.1s ease-in-out;
}

.navbar .language:hover {
  filter: opacity(0.7);
}

.navbar .language .arrow {
  width: 11px;
  height: 8px;
}

.navbar .language .flag {
  display: flex;
  flex-direction: column;
  width: 29px;
  height: 21px;
}

.navbar .language .flag .white {
  height: 50%;
  background-color: #fff;
  border-radius: 3px 3px 0 0;
}

.navbar .language .flag .red {
  height: 50%;
  background-color: #ff0000;
  border-radius: 0 0 3px 3px;
}

.navbar .panel-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 40px;
  gap: 4px;
  background: #f36214;
  border-radius: 43px;
  margin-right: 25px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.navbar .panel-button:hover {
  background-color: #9e4414;
}

.navbar .panel-button p {
  font-family: ClashDisplay-Semibold;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #fff;
  margin: 0;
}

.navbar .panel-button .icon {
  width: 20px;
  height: 20px;
}

.navbar .basket {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.1s ease-in-out;
}

.navbar .basket:hover {
  filter: opacity(0.7);
}

.navbar .basket .icon {
  width: 20.3px;
  height: 21.25px;
  margin-right: 4px;
}

.navbar .basket p {
  font-family: ClashDisplay-Medium;
  font-weight: 500;
  font-size: 11px;
  line-height: 100%;
  color: #f36214;
  margin: 0;
}

/* === MOBILE NAVBAR - HIDDEN BY DEFAULT === */
.mobile-navbar {
  display: none;
  width: 100%;
  position: relative;
  z-index: 1000;
}

.mobile-navbar .flexmenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.mobile-navbar .logo {
  width: 150px;
  height: auto;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #945833;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#mobileMenu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(7px);
  z-index: 999;
  padding: 10px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: solid 1px #ffffff;
  border-radius: 4%;
}

#mobileMenu.show {
  display: flex;
  animation: fadeIn 0.3s ease-in-out forwards;
}

#mobileMenu .href {
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#mobileMenu .href:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#mobileMenu .href p {
  color: white;
  margin: 0;
  font-size: 16px;
  font-family: ClashDisplay-Regular;
  text-align: center;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* === RESPONSIVENESS === */
@media screen and (max-width: 1024px) {
  .navbar {
    display: none;
  }

  .mobile-navbar {
    display: block;
  }
}

/* Ukryj mobile navbar i hamburger na desktopie */
@media screen and (min-width: 1025px) {
  .mobile-navbar,
  .hamburger {
    display: none !important;
  }
}
