body {
  font-family: sans-serif;
  margin: 0;
  padding: 40px 0;
  color: #555;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
}

.brand-section {
  margin-bottom: 60px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header img {
  max-width: 200px;
  height: auto;
}

.countries-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.country-row {
  width: calc(25% - 15px);
  min-width: 200px;
}

.country-row img.flag {
  width: 32px;
  height: auto;
  margin-right: 12px;
  flex-shrink: 0;
}

.country-row a {
  color: #555;
  text-decoration: none;
  flex: 1;
  display: flex;
  align-items: center;
}

.country-row a:hover {
  text-decoration: underline;
}

.banner img {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

h1 {
  font-size: 30px;
  color: #000;
  margin: 45px 0;
  text-align: center;
  font-family: sans-serif;
  font-weight: normal;
}

@media (max-width: 1200px) {
  .country-row {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    display: flex;
    align-items: center;
  }

  .country-row a {
    flex: initial;
    flex-direction: column;
  }

  .country-row img.flag {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* Tablet */
@media (max-width: 968px) {
  .country-row {
      width: calc(33.333% - 14px);
  }
}

@media (max-width: 768px) {
  body {
      padding: 30px 15px;
  }

  .countries-wrapper {
      gap: 15px;
      justify-content: center;
  }

  .country-row {
      width: calc(50% - 8px);
      min-width: 150px;
  }

  .brand-section {
      margin-bottom: 50px;
  }

}


@media (max-width: 480px) {
  body {
      padding: 20px 10px;
  }

  .header {
      margin-bottom: 30px;
  }

  .header img {
      max-width: 150px;
  }

  .countries-wrapper {
      gap: 12px;
  }

  .country-row {
    width: calc(33.333% - 14px);
  }

  .country-row img.flag {
      width: 28px;
  }

  .brand-section {
      margin-bottom: 40px;
  }
}

.tabs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 10px;
}

.tab-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px 30px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  opacity: 1;
}

.tab-button img {
  width: 100%;
  max-width: 100px;
  height: auto;
}

.tab-button[data-brand="beko"] img {
  max-height: 40px;
}

.tab-button:hover {
  opacity: 1;
}

.tab-button.active {
  opacity: 1;
}

.tab-button:not(.active) {
  opacity: 1;
}

.tab-content {
  display: none;
  margin-bottom: 50px;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .tabs-container {
    overflow-x: auto;
  }

  .tab-button {
    padding: 10px 20px;
  }

  .tab-button img {
    max-width: 80px;
  }
}
