body {

  margin: 0;
  background-color: #282F46;
  color: #fff;
}

/*# ----- top menu*/

.top-bar {
  background-color: #282F46;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-weight: bold;
}

.main-header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.main-header h2 {
  margin: 0;
  position: absolute;
  left: 2rem;
}

.main-header h2 a {
  color: #282F46;
  text-decoration: none;
  font-weight: bold;
}

.main-header nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.main-header nav a {
  margin: 0 0.75rem;
  padding: 0.5rem 1rem;
  color: #282F46;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-header nav a:hover {
  background: #282F46;
  color: #fff;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #282F46;
  position: absolute;
  right: 2rem;
}

@media (max-width: 768px) {
  .main-header nav {

    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    gap: 10px;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: right;
    width: fit-content;
    min-width: max-content;

    overflow: hidden;
    max-height: 0;
    opacity: 0;
      transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-header nav.active {
    max-height: 500px;
    opacity: 1;
  }

  .menu-toggle {
    display: block;
  }
}
/*# -----*/

.container {
  background: #fff;
  color: #000;
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
}

.helptext {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 0.25rem;
    font-style: italic;
}
/*# Footer block*/

.footer {
  background:  #282F46;
  padding: 60px 20px;
}



.footer-box {
  background: #fff;
  border-radius: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-column {
  flex: 1 1 250px;
  margin: 15px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #222;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-a-li li {
  margin: 0 0.75rem;
  margin-bottom: 10px;
}
/*a*/
.footer-links a {
  /*margin: 0 0.75rem;*/
  padding: 0.5rem 1rem;
  color: #282F46;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-li li {
  margin: 0 0.75rem;
  padding: 0.5rem 1rem;
  color: #282F46;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}


.footer-links a:hover {
  background: #282F46;
  color: #fff;
}
/*.footer-links li:hover{*/
/*  background: #282F46;*/
/*  color: #fff;*/
/*}*/

.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-bottom p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #666;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  margin: 0 10px;
  font-size: 1.4rem;
  color: #444;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #000;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-column {
    width: 100%;
  }
  .footer-bottom {
    align-items: center;
    text-align: center;
  }
}

/* TODO another file*/

.product-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}