.video-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 104px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-bg video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
  filter: brightness(70%);
}

.text-group-picker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-change-store {
  display: flex;
  padding: 0 64px;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1280px;
  align-items: flex-start;
  justify-content: center;
}

.stores-background {
  background: var(--surface-brand-secondary-default, #3151ac);
  background-size: 600% 600%;

  -webkit-animation: gradientOrange 0s ease infinite;
  -moz-animation: gradientOrange 0s ease infinite;
  animation: gradientOrange 0s ease infinite;
}

@-webkit-keyframes gradientOrange {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@-moz-keyframes gradientOrange {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientOrange {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.text-group-picker {

  h2,
  h3 {
    color: var(--text-invert);
  }
}

.text-group-picker {
  span {
    color: var(--surface-brand-primary-default);

    font-family: var(--font-family-title, Inter);
    font-size: var(--font-size-title-h4, 39px);
    font-weight: 500;
    line-height: var(--font-line-height-md, 42px);
    /* 128% */
  }
}

a {
  text-decoration: none;
}

.container-picker {
  display: flex;
  flex-direction: column;
  width: 100%;
  z-index: 1;
  gap: 32px;
}

.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-container {
  display: flex;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: var(--surface-secondary);
  /* Replace with your variable */
  border: 1px solid transparent;

  cursor: pointer;
}

.dropdown-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.selected-flag {
  display: flex;
  align-items: center;
  gap: 8px;
}

#countrySearch {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;

  color: var(--text-default);

  /* Typography/Subtitle-H5 */
  font-family: var(--font-family-body, "Work Sans");
  font-size: var(--font-size-subtitle-h5, 20px);
  font-style: normal;
  font-weight: 500;
  line-height: var(--font-line-height-sm, 24px);
  /* 120% */
}

#countrySearch:focus {
  outline: none;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface-secondary);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  overflow-y: auto;
  display: none;
  /* HIDDEN BY DEFAULT */
  z-index: 100;
  margin-top: 8px;
}

/* SHOW LIST WHEN ACTIVE */
.custom-dropdown.active .dropdown-list {
  display: block !important;
}

/* CHEVRON ANIMATION */
.chevron-down {
  transition: transform 0.3s ease;
}

.custom-dropdown.active .chevron-down {
  transform: rotate(180deg);
}

.dropdown-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: var(--surface-primary);
}

.contry-moreflag {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.box-picker {
  display: flex;
  width: 100%;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;

  border-radius: 16px;
  background: var(--surface-brand-secondary-default, );
}

fieldset {
  border: none;
}

/* CARDS */

.card-index-container {
  display: flex;
  background: var(--surface-primary);
  justify-content: center;
}

.card-index-content {
  display: flex;
  padding: 64px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 100%;

  max-width: 1280px;
}

/* Card Grande (Full) */
.cards-index-full {
  display: block;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-neutro-100);
}

.cards-index-full::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  /* Invisível por padrão */
  transition: background-color 0.3s ease;
  /* Suaviza o escurecimento */
  z-index: 1;
}

.cards-index-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  /* Suaviza o zoom */
}

.cards-index-full:hover img,
.cards-index-half:hover img {
  transform: scale(1.1);
  /* Zoom de 10% */
}

.cards-index-full:hover::after {
  background-color: rgba(0, 0, 0, 0.4);
  /* Ajuste a opacidade como preferir */
}

/* Conteúdo do Card */
.cards-index-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  z-index: 2;
}

.cards-index-body h3 {
  color: var(--text-invert);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Linha de Cards Metade (Split) */
.cards-index-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  width: 100%;
}

.cards-index-half {
  display: block;
  width: 100%;
  height: 400px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-neutro-100);
}

.cards-index-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cards-index-half::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  /* Invisível por padrão */
  transition: background-color 0.3s ease;
  /* Suaviza o escurecimento */
  z-index: 1;
}

.cards-index-half:hover::after {
  background-color: rgba(0, 0, 0, 0.4);
  /* Ajuste a opacidade como preferir */
}

.pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page {
  display: flex;
  padding: 8px;
  min-width: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: 99px;
  background: var(--surface-secondary);

  cursor: pointer;

  h5 {
    color: var(--componentes-button-secondary-default);
  }
}

.p-active {
  background: var(--componentes-button-secondary-default);

  h5 {
    color: var(--text-invert);
  }
}

.overlay-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99;

  /* Animation properties */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.overlay-sidebar.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  /* Base position is 0 */
  width: 75%;
  /* Slightly wider looks better on most mobiles */
  max-width: 320px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  background: var(--surface-secondary, #fff);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);

  /* The "Magic" - Start completely off-screen to the left */
  transform: translateX(-100%);

  /* Cubic-bezier gives it that 'premium' bounce/spring feel */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Utility class to show the sidebar */
.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  padding: 24px 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  background: var(--Blue-Gradient, linear-gradient(90deg, var(--color-blue-90, #102668) 0%, var(--surface-brand-secondary-default, #3151AC) 100%));
}

.sidebar.active .nav-item-mobile {
  animation: fadeInRight 0.5s ease forwards;
  opacity: 0;
}

.sidebar.active .nav-item-mobile:nth-child(1) {
  animation-delay: 0.1s;
}

.sidebar.active .nav-item-mobile:nth-child(2) {
  animation-delay: 0.15s;
}

.sidebar.active .nav-item-mobile:nth-child(3) {
  animation-delay: 0.2s;
}

.sidebar.active .nav-item-mobile:nth-child(4) {
  animation-delay: 0.25s;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-menu-mobile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  align-self: stretch;
}

.nav-item-mobile {
  display: flex;
  padding: 12px 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  background: var(--surface-primary);
}

/***************************************/
/*********** RESPONSIVIDADE ************/
/***************************************/


/*********** TABLET ************/

@media (max-width: 1152px) {
  .section-change-store {
    padding: 0 24px;
    gap: 24px;
  }

  .text-group-picker {
    span {
      font-size: 32px;
      line-height: 40px;
    }
  }

  #countrySearch {
    font-size: 18px;
    line-height: 24px;
    /* 120% */
  }

  .box-picker {
    gap: 24px;
    padding: 24px;
  }

  .card-index-content {
    padding: 24px;
    gap: 24px;
  }

  .cards-index-row {
    gap: 24px;
  }
}

@media (max-width: 768px) {

  .section-change-store {
    padding: 0 16px;
    gap: 16px;
  }

  .cards-index-row {
    flex-direction: column;
  }

  .cards-index-half {
    width: 100%;
  }

  .cards-index-full,
  .cards-index-half {
    height: 400px;
  }

  .sidebar {
    width: 100%;
    max-width: none;
  }

  .text-group-picker {
    span {
      font-size: 28px;
      line-height: 32px;
    }
  }

  #countrySearch {
    font-size: 17px;
    line-height: 20px;
  }

  .box-picker {
    gap: 16px;
    padding: 16px;
  }

  .cards-index-row {
    gap: 16px;
  }

  .pagination {
    gap: 24px !important;
  }

  .btn-pagination {
    padding: 8px 16px;
  }

}

@media (max-width: 480px) {
  .cards-index-wrapper {
    padding: 16px;
  }

  .cards-index-full,
  .cards-index-half {
    height: 300px;
  }

  .cards-index-headline {
    font-size: 24px;
  }

  .dropdown-content {
    gap: 8px;
  }

  .card-index-content {
    padding: 16px;
    gap: 16px;
  }

  .pagination {
    gap: 16px !important;
  }

  .pagination-pages .page:nth-child(n+3) {
    display: none !important;
  }

  .pagination-pages {
    gap: 8px;
  }

}