/* utilities */

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* language selection */

ul.mega-simple-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

ul.mega-simple-nav li {
  display: inline-block;
  margin-left: 1rem;
  vertical-align: middle;
}

ul.mega-simple-nav li a {
  margin-right: 0;
  padding-right: 0;
}

ul.mega-simple-nav li ul {
  display: none;
  position: absolute;
  transition: all 0.5s ease;
  right: 0;
  min-width: 150px;
}

ul.mega-simple-nav li:hover ul {
  display: block;
}

ul.mega-simple-nav li.has-submenu ul {
  padding: 0;
  margin: 0;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.09);
}

ul.mega-simple-nav li ul li {
  display: block;
  padding: 1rem 0.5rem;
  margin-left: 0;
}

ul.mega-simple-nav li ul li:hover {
  background-color: #ededed;
}

ul.mega-simple-nav li ul li a {
  display: block;
  text-align: left;
}

ul.mega-simple-nav li.open ul {
  display: block;
}

.mega-simple-nav .dropdownChevron {
  width: 10px;
}

/* marketplace styles */

.marketplace {
  width: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  margin-bottom: 40px; /* additional space below the container */
}

.marketplace img {
  max-height: 80px;
  max-width: 150px; /* Adjust based on your layout */
  object-fit: contain; /* Ensures the image fits without distortion */
  display: block; /* Ensures proper alignment */
  margin: auto; /* Centers the image within the container */
}

.marketplace p {
  font-size: 16px;
  color: #555;
  margin: 0;
  text-align: center;
  flex: 1; /* allows text sections to stretch */
}

.marketplace p:not(:last-child) {
  border-right: 1px solid #e0e0e0; /* subtle separator */
  padding-right: 20px;
}

.marketplace p:first-of-type {
  border-left: 1px solid #e0e0e0; /* additional separator for logo area */
  padding-left: 20px;
}

.marketplace a {
  color: #747272 !important;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.marketplace a:hover {
  color: #555; /* slightly lighter on hover */
}

/* Add padding to push down h1 */
h1 + .marketplace {
  margin-top: 20px;
}

/* Hide marketplace styles on mobile */
@media (max-width: 768px) {
  .marketplace {
    display: none;
  }
}

.region-location strong {
  font-weight: bold;
  color: #333; /* Optional: Adjust color for better visibility */
}
