*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #0659B2;
  --color-secondary: #FFA500;
  --text-color: #414141;
}

.container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
  min-height: 1000px;
  margin-top: 1em;
}

.flag {
  margin-right: .5em;
}

body {
  font-family: Poppins;
  background: #f4f4f4;
}

nav {
  position: fixed;
  top: 0;
  font-family: Montserrat;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background: #fff;
  height: 75px;
  z-index: 12;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style-type: none;
}

nav ul i {
  font-size: 12px;
  margin-left: 4px;
}

/* DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  padding: 4px 0 8px 0;
  position: absolute;
  min-width: 160px;
  width: 275px;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 2px 4px;
  text-decoration: none;
  display: block;
}

.dropdown-content .name {
  margin: 1em;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown .initials {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  padding: .25em 1em;
}

.dropdown-content a i {
  font-size: 1em;
  margin-right: .75em;
}

.dropdown .initials i {
  margin-right: .25em;
}

/* END DROPDOWN */

.nav-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}

.nav-icon img {
  height: 36px;
}

.hamburger {
  display: none;
}

.navlinks-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navlinks-container a {
  margin: 10px 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-color);
  display: inline-block;
  position: relative;
}



.navlinks-container .current {
  color: var(--color-primary);
  text-transform: capitalize !important;
}

.navlinks-container a:hover {
  color: var(--color-primary);
}

.navlinks-container a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-secondary);
  transition: transform 0.3s ease-out;
}

.navlinks-container a:hover::after {
  transform: scaleX(1);
}

.account i {
  font-size: 32px;
  color: var(--color-primary);
  cursor: pointer;
}

.dropdown-link {
  display: block;
}

.form-error-text {
  color: red;
}

.sign-user {
  display: none;
}

.map {
  border: .5em solid #fff;
  width: 100%;
  margin: 8em 4em 0 4em;
  border-radius: 1em 1em 0 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.map iframe {
  width: 100%;
  height: 18em;
  border-radius: 1em 1em 0 0;
}

.map-iframe {
  border: 0;
}


/* POPUP */
.popup-container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1em 0;
}

.popup-container img {
  width: 100%;
}

.popup-container .title {
  font-family: Poppins;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.popup-container .countries,
.popup-container .country_flag {
  display: flex;
  flex-direction: column;
}

.popup-container .countries {
  padding: 1em;
}

.popup-container .countries_flag {
  margin-top: 2em;
  display: flex;
  flex-flow: row wrap;
}

.popup-container .countries_flag a {
  font-size: .75em;
  text-align: center;
  padding: 1em;
  text-decoration: none;
  color: black;
}

.popup-container .countries_flag a:hover {
  border: 1px solid var(--color-primary);
  border-radius: 1em;
}

.popup-container .countries_flag .selected {
  border: 1px solid var(--color-secondary);
  border-radius: 1em;
  background-color: rgba(255, 165, 0, .1);
}

.popup-container .country_flag {
  width: 12.5%;
  align-items: center;
}

.popup-container .countries_flag span {
  font-size: 3.25em;
  border-radius: 4px;
  margin-bottom: .25em;
  margin-left: 25%;
}

.popup-container .countries_flag img {
  font-size: 3.25em;
  border-radius: 4px;
  margin-bottom: .25em;
}

#countries_popup .modal-content {
  width: 76%;
}

#popup .modal-content {
  width: 36%;
}


/* === SLIDER POPUP (compatible avec ton CSS) === */

.popup-container {
  position: relative;
  /* important pour les boutons */
  overflow: hidden;
}

.popup-slider {
  display: flex;
  transition: transform .6s ease-in-out;
  width: 100%;
}

.popup-slide {
  min-width: 100%;
  box-sizing: border-box;
}

/* on garde ton style d'image */
.popup-slide img {
  width: 100%;
  display: block;
}

/* Boutons */
.popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  color: #fff;
  border: none;
  font-size: 2em;
  padding: .2em .5em;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
}

.popup-nav.prev {
  left: 10px;
}

.popup-nav.next {
  right: 10px;
}

.popup-nav:hover {
  background: transparent !important;
}




@media (max-width: 1024px) {
  #countries_popup .modal-content {
    width: 84%;
  }

  .sb-container {
    background-size: 100% 100%;
  }
}

@media (max-width: 900px) {
  #popup .modal-content {
    width: 48%;
  }

  #countries_popup .modal-content {
    width: 92%;
  }

  .popup-container .country_flag {
    width: 14.25%;
  }

  .sb-container {
    background-size: 100% 100%;
  }
}

@media (max-width: 450px) {
  #popup .modal-content {
    width: 56%;
  }

  .popup-container .country_flag {
    width: 16.5%;
  }

  .sb-container {
    background-size: 100% 100%;
  }
}

@media (max-width: 640px) {
  .popup-container .country_flag {
    width: 20%;
  }

  .sb-container {
    background-size: 100% 100%;
  }
}

@media (max-width: 568px) {
  #popup .modal-content {
    width: 64%;
  }

  .popup-container .country_flag {
    width: 25%;
  }

  .sb-container {
    background-size: 100% 100%;
  }
}

@media (max-width: 480px) {
  #popup .modal-content {
    width: 72%;
  }

  .sb-container {
    background-size: 100% 100%;
  }
}

@media (max-width: 395px) {
  .popup-container .country_flag {
    width: 33.25%;
  }

  .sb-container {
    background-size: 100% 100%;
  }
}

/* END POPUP */

/* SEARCH BOX */

.sb-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 5/1;
  border-bottom: 6px solid rgb(255 255 255 / 72%);
  box-shadow: 0 4px 12px -2px rgb(0 0 0 / 12%);
}

.sb-slider {
  position: absolute;
  top: 0;
  left: 0;
  inset: 0;
  display: flex;
  flex-direction: row;
  transition: transform 1s ease-in-out;
}

.sb-slide {
  min-width: 100%;
  height: 100%;
}

.sb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 1em;
  gap: 1em;
}

.search-text {
  width: 100%;
}

.search-text h1 {

  width: 70%;
  margin: 0 15%;
  padding-bottom: 1.25em;
  color: #fff;
  text-align: center;
  text-shadow: 2px 5px 16px rgb(0 0 0 / 72%);
  font-size: 1.2em;
}

.search-dualbutton {
  font-size: 1em;
  margin-bottom: 1em;
  box-shadow: 2px 4px 12px -2px rgb(0 0 0 / 12%);
  border: 4px solid rgb(255 255 255 / 32%);
  border-radius: 1.5em;
  padding-left: 4px;
}

.search-dualbutton button {
  color: #fff;
  font-family: Montserrat;
  font-size: 1em;
  border: none;
  background-color: var(--color-secondary);
}

.search-dualbutton button:hover {
  background-color: #764e04;
  cursor: pointer;
}

.search-dualbutton .btn:first-child {
  border-radius: 1.25em 0 0 1.25em;
}

.search-dualbutton .btn:nth-child(2) {
  border-radius: 0 1.25em 1.25em 0;
}

.search-dualbutton .btn-active {
  background-color: #b4790d;
}

.search-dualbutton .btn {
  padding: .6em 1.2em;
  margin-left: -4px;
  text-shadow: 2px 5px 16px rgb(0 0 0 / 72%);
}

.search-bar {
  width: 100%;
  margin-bottom: 1.5em;
}

.search-form {
  width: 80%;
  margin: 0 10%;
  padding: .5em;
  border-radius: 4em;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

.search-form .search-field {
  background: #fff;
  padding: .5em;
  border-radius: 4em;
  margin: .5em;
  box-shadow: 2px 4px 12px -2px rgb(0 0 0 / 36%);
}

.search-form .search-field input,
.search-form .search-field select {
  padding: .5em 1em;
  border: none;
  outline: none;
  font-size: 1em;
  width: 85%;
  float: right;
  font-family: Montserrat;
  color: var(--text-color);
}

.search-form .search-field i {
  width: 15%;
  float: left;
  font-size: 1.25em;
  padding: .5em 0;
  align-items: center;
  color: var(--color-primary);
  padding-left: 1em;
}

.ui-menu {
  background: #fff;
  padding: .5em;
  border-radius: 1em;
  margin: .5em;
  box-shadow: 2px 4px 12px -2px rgb(0 0 0 / 36%);
  position: absolute;
}

.ui-menu-item {
  border: none;
  border-radius: 1em;
  outline: none;
  padding: .5em;
  margin: .5em;
}

.search-form .form-select {
  width: 100%;
  overflow-y: auto;
}

.search-form .search-button {
  padding: 1em;
  font-size: 1em;
  color: #fff;
  font-family: Montserrat;
  font-size: 1em;
  margin: .5em;
  background: var(--color-secondary);
  text-shadow: 0 5px 10px rgb(140 88 0 / 96%);
  border: none;
  border-radius: 2em;
  cursor: pointer;
  box-shadow: 2px 4px 12px -2px rgb(0 0 0 / 12%);
}

.search-form .search-button:hover {
  background: var(--color-primary);
}

/* END SEARCH BOX */

/* COMPANY SLIDER */
.company-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 1em;
  margin: 2em 0;
}

.company-slider .slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}

.company-slider .slide {
  min-width: 100%;
  box-sizing: border-box;
  border-radius: 1em;
}

.company-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* END COMPANY SLIDER */

.section-one {
  width: 100%;
  box-sizing: border-box;
}

.blog-one {
  width: 100%;
}

.home-categories-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2%;
}

.advertising {
  display: flex;
  flex-direction: column;
  width: 38%;
  min-height: 500px;
  flex-shrink: 0;
}

.categories {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 1em;
  padding: 1em;
  padding-bottom: 3em;
  width: 58%;
  flex-shrink: 0;
  box-shadow: 0 5px 10px rgb(100 100 100 / 10%);
}

.categories-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1em;
  font-family: Montserrat;
  color: var(--text-color);
  padding: 1em 1.5em;
}

.category-link {
  margin: 3em 0 0 2em;
}

.pharmacy-link {
  text-align: center;
  margin-top: 20px;
}

.category-link a {
  text-decoration: none;
  color: var(--text-color);
}

.category-link a:hover {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-secondary);
}

.category-link a i {
  color: var(--color-primary);
  margin-right: 4px;
}

.category {
  width: 32%;
  padding: .5em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category p {
  text-align: center;
  font-size: 14px;
  color: var(--text-color);
  margin-top: 1em;
}

.category:nth-child(2),
.category:nth-child(5),
.category:nth-child(8),
.category:nth-child(3n+0) {
  margin-left: 2%;
}

.category a {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: .5em;
}

.category a:hover {
  border-bottom: 4px solid var(--color-secondary);
  background-color: rgba(255, 165, 0, .1);
  transition: all 300ms ease-out;
  padding: 1em .5em;
}

.category i {
  font-size: 2.5em;
  --fa-primary-color: var(--color-primary);
  --fa-secondary-color: var(--color-primary);
  --fa-secondary-opacity: .4;
}

@media (max-width: 550px) {
  .category {
    width: 48%;
    padding: 1em;
  }

  .category:nth-child(2),
  .category:nth-child(5),
  .category:nth-child(8),
  .category:nth-child(3n+0) {
    margin-left: 0;
  }

  .category:nth-child(2n+0) {
    margin-left: 4%;
  }
}


.section-one h1 {
  text-align: center;
  text-transform: uppercase;
  font-family: Lato, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif !important;
  font-size: 16px;
  margin: auto;
  color: var(--text-color);
  margin-bottom: 1.5em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-secondary);
}

.blog-one h1 {
  text-align: center;
  text-transform: uppercase;
  font-family: Lato, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif !important;
  font-size: 20px;
  margin: auto;
  color: var(--text-color);
  margin-bottom: 1.5em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-secondary);
}

.white-bkg {
  background-color: #fff;
  padding: 3em 0;
}

.blue-bkg {
  background-color: var(--color-primary);
  padding: 3em 0;
}

.blue-bkg h1 {
  color: #fff;
}

.youtube {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 1em;
}

.section-one .youtube-video {
  width: 75%;
  height: auto;
  margin: 0 12.5%;
  margin-bottom: 1em;
  aspect-ratio: 16 / 9;
  border-radius: 1em;
}

.magazines {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 85%;
  margin: auto;
}

.magazines .magazine {
  width: 32%;
  height: auto;
  margin-top: 3em;
}

.magazines .magazine:nth-child(2),
.magazines .magazine:nth-child(3) {
  margin-left: 2%;
}

.magazine .magazine-details {
  border: 2px solid var(--color-secondary);
  width: 86%;
  position: relative;
}

.magazine-details button {
  background: var(--color-secondary);
  padding: .5em 1em;
  font-size: 16px;
  border-style: none;
  z-index: 5;
  position: absolute;
  bottom: 6em;
  left: 1em;
}

.magazine-details button:hover {
  background: var(--color-primary);
  transition: all 0.5s ease;
  margin-left: 1.5em;
}

.magazine-details button a {
  text-decoration: none;
  color: #fff;
  font-family: Poppins;
  text-shadow: 0 5px 10px rgb(140 88 0 / 96%);
}

.magazine .magazine-img {
  position: relative;
  width: 100%;
  margin-right: -14%;
  margin-top: -20%;
  float: right;
  border: 4px solid #fff;
  box-shadow: 0 5px 10px rgb(100 100 100 / 25%);
}

.magazine .social-links {
  width: calc(45px * 3);
  margin-left: auto;
}

.magazine .social-links a {
  display: inline-block;
  height: 2em;
  width: 2em;
  background-color: var(--color-primary);
  margin: 1.2em 0;
  margin-left: 4px;
  text-align: center;
  line-height: 2em;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
}

.magazine .social-links a:hover {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  line-height: calc(2em - 2px);
  background-color: #fff;
}

/* HIGHLIGHTS */

.highlights,
.advertorials {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 88%;
  margin: 0 6%;
}

.blogs {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 88%;
  margin: 0 6%;
}

.highlights .hightlighted-company {
  width: 32%;
  background: #fff;
  padding: 1em;
  border-radius: 1em;
  box-shadow: 0 5px 10px rgb(100 100 100 / 10%);
}

.highlights .hightlighted-company:nth-child(2),
.highlights .hightlighted-company:nth-child(3) {
  margin-left: 2%;
}

.hightlighted-company img {
  width: 100%;
  border-radius: .5em;
}

.hightlighted-company .highlight-links button {
  border: none;
  background-color: var(--color-primary);
  padding: .5em 1em;
  border-radius: 1em;
  cursor: pointer;
  margin-top: .5em;
}

.hightlighted-company .highlight-links button:hover,
.hightlighted-company .highlight-links button:nth-child(2):hover {
  background: var(--text-color);
  transition: all 0.25s ease;
}

.hightlighted-company .highlight-links button i {
  color: #fff;
}

.hightlighted-company .highlight-links button a {
  text-decoration: none;
  font-family: Montserrat;
  color: #fff;
}

.hightlighted-company .highlight-links button:nth-child(2) {
  background-color: var(--color-secondary);
  text-shadow: 2px 5px 16px rgb(0 0 0 / 72%);
}

@media (max-width: 900px) {
  .hightlighted-company .highlight-links button:nth-child(2) {
    margin-top: .5em;
  }
}

@media (max-width: 767px) {
  .highlights .hightlighted-company {
    width: 48%;
  }

  .highlights .hightlighted-company:nth-child(2) {
    margin-left: 4%;
  }

  .highlights .hightlighted-company:nth-child(3) {
    margin-left: 0;
    margin-top: 1.5em;
  }

}

@media (max-width: 640px) {
  .highlights .hightlighted-company {
    width: 96%;
  }

  .highlights .hightlighted-company:nth-child(2),
  .highlights .hightlighted-company:nth-child(3) {
    margin-left: 0;
    margin-top: 1.5em;
  }

}

/* END HIGHLIGHTS */

/* ADVERTORIAL */
.advertorials .advertorial {
  width: 32%;
  position: relative;
  margin-top: 0.75em;
  display: flex;
  align-items: center;
}

.blogs .blog {
  margin-bottom: 15%;
  width: 30%;
  position: relative;
  margin-top: 0.75em;
  display: flex;
  align-items: center;
}

.advertorials .advertorial:nth-child(3n+0),
.advertorials .advertorial:nth-child(3n-1) {
  margin-left: 2%;
}

.blogs .blog:nth-child(3n-1),
.blogs .blog:nth-child(3n+0) {
  margin-left: 2%;
}

.advertorial img {
  border-radius: 1em;
  width: 100%;
  aspect-ratio: 16/9;
}

.blog img {
  border-radius: 1em;
  width: 100%;
  aspect-ratio: 16/9;
}

.advertorial a {
  font-size: 14px;
  text-decoration: none;
  background-color: #fff;
  border-radius: 1em;
  color: var(--text-color);
  padding: .5em 1em;
  box-shadow: 0 5px 10px rgb(100 100 100 / 10%);
  position: absolute;
  bottom: 1.5em;
  top: inherit;
  left: 1em;
  z-index: 2;
}

.blog .description {
  font-size: 14px;
  text-decoration: none;
  background-color: #fff;
  border-radius: 1em;
  color: var(--text-color);
  padding: .5em 1em;
  box-shadow: 0 5px 10px rgba(18, 15, 15, 0.1);
  position: absolute;
  top: 8em;
  margin-bottom: 10%;
  left: 1em;
  right: 1em;
  z-index: 2;
}

.advertorial a:hover {
  margin-left: 1em;
  transition: all .3s ease-out;
}

.advertorial a i {
  margin-right: .5em;
  color: var(--color-primary);
}

.advertorial::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .25s ease;
  border-radius: 1em;
}

.advertorial:hover::before {
  width: 100%;
}

@media (max-width: 950px) {
  .blogs {
    margin: 0;
  }

  .blogs .blog {
    width: 48%;
    margin-top: 1.2em;
    margin-bottom: 15%;
  }

  .blog .description {
    font-size: 12px;
    top: 8em;
    left: 1em;
    right: 1em;
    z-index: 2;
  }

  .blogs .blog:nth-child(3n+0),
  .blogs .blog:nth-child(3n-1) {
    margin-left: 0;
  }

  .blogs .blog:nth-child(2n+0) {
    margin-left: 4%;
  }
}

@media (max-width: 801px) {
  .advertorials .advertorial {
    width: 48%;
    margin-top: 1.2em;
  }

  .blogs .blog {
    margin-top: 1.2em;
    margin-bottom: 10%;
  }

  .advertorials .advertorial:nth-child(3n+0),
  .advertorials .advertorial:nth-child(3n-1) {
    margin-left: 0;
  }

  .blogs .blog:nth-child(3n+0),
  .blogs .blog:nth-child(3n-1) {
    margin-left: 0;
  }

  .advertorials .advertorial:nth-child(2n+0) {
    margin-left: 4%;
  }

  .blogs .blog:nth-child(2n+0) {
    margin-left: 2%;
  }

  .blog .description {
    font-size: 9px;
    top: 8em;
    left: 1em;
    right: 1em;
    z-index: 2;
  }
}

@media (max-width: 600px) {
  .blogs {
    margin: auto
  }

  .advertorials .advertorial {
    width: 96%;
  }

  .blogs .blog {
    width: 96%;
    margin-bottom: 20%;
  }

  .advertorials .advertorial:nth-child(2n+0) {
    margin-left: 0;
  }

  .blogs .blog:nth-child(2n+0) {
    margin-left: 0;
  }

  .blog .description {
    font-size: 12px;
    top: 8em;
    left: 1em;
    right: 1em;
    z-index: 2;
  }
}

@media (max-width: 450px) {
  .blogs {
    margin: auto;
  }

  .blogs .blog {
    margin-top: 1.2em;
    margin-bottom: 25%;
  }

  .blog .description {
    font-size: 9px;
    top: 8em;
    left: 1em;
    right: 1em;
    z-index: 2;
  }

  .blogs .blog:nth-child(3n+0),
  .blogs .blog:nth-child(3n-1) {
    margin-left: 0;
  }

  .blogs .blog:nth-child(2n+0) {
    margin-left: 4%;
  }
}

@media (max-width: 380px) {
  .blogs {
    margin: auto;
  }

  .blogs .blog {
    margin-top: 1.2em;
    margin-bottom: 25%;
  }

  .blog .description {
    font-size: 8px;
    top: 8em;
    left: 1em;
    right: 1em;
    z-index: 2;
  }

  .blogs .blog:nth-child(3n+0),
  .blogs .blog:nth-child(3n-1) {
    margin-left: 0;
  }

  .blogs .blog:nth-child(2n+0) {
    margin-left: 4%;
  }
}

/* END ADVERTORIAL */

/* TOWER */
.tower-ctn {
  position: relative;
  width: 100%;
  height: clamp(26em, 42vw, 32em);
  margin-top: 0;
  overflow: hidden;
}

.tower-ctn .drugstore {
  width: 40%;
  background: #fff;
  border-radius: 1em;
  padding: 1.5em;
  box-shadow: 0 5px 10px rgb(100 100 100 / 10%);
}

.drugstore img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: .5em;
}

.drugstore h3 {
  margin-top: 1em;
  font-family: Montserrat;
  color: var(--color-primary);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.drugstore li {
  list-style-type: none;
  font-family: Poppins;
  font-size: 14px;
  margin-top: .5em;
}

.drugstore li i {
  color: var(--color-primary);
  margin-right: .5em;
}

.drugstore-empty {
  width: 100%;
  padding: 2em;
  text-align: center;
  color: var(--text-color);
}

@keyframes display {
  0% {
    transform: translateX(20em);
    opacity: 0;
  }

  10% {
    transform: translateX(0);
    opacity: 1;
  }

  20% {
    transform: translateX(0);
    opacity: 1;
  }

  30% {
    transform: translateX(-20em);
    opacity: 0;
  }

  100% {
    transform: translateX(-20em);
    opacity: 0;
  }
}

@keyframes display-mobile {
  0% {
    transform: translateX(calc(-50% + 20em));
    opacity: 0;
  }

  10% {
    transform: translateX(-50%);
    opacity: 1;
  }

  20% {
    transform: translateX(-50%);
    opacity: 1;
  }

  30% {
    transform: translateX(calc(-50% - 20em));
    opacity: 0;
  }

  100% {
    transform: translateX(calc(-50% - 20em));
    opacity: 0;
  }
}

.tower-ctn>.drugstore {
  position: absolute;
  top: 0;
  left: 30%;
  opacity: 0;
  animation: display 30s infinite;
  --delay-step: 5s;
  animation-delay: calc((var(--i, 1) - 1) * var(--delay-step));
}

/* END TOWER */

/* STATISTICS */
.statistics {
  display: flex;
  justify-content: center;
  flex-flow: row;
  width: 100%;
  background: #fff;
}

.statistics .statistic-detail {
  width: 32%;
  margin: 2.5em 1em;
  padding-left: 1.5em;
}

.statistics .statistic-detail:nth-child(2),
.statistics .statistic-detail:nth-child(3) {
  border-left: 1px solid #3392f7;
}

.statistic-detail label {
  width: 100%;
  font-weight: bold;
}

.statistic-detail .statistic-score {
  font-size: 2.25em;
  color: var(--color-primary);
}

.statistic-detail span {
  float: right;
  background-color: #3392f7;
  font-size: .8em;
  color: #fff;
  padding: .25em .5em;
  border-radius: 1em;
  margin-top: 1em;
}

@media (max-width: 685px) {
  .statistics {
    flex-direction: column;
  }

  .statistics .statistic-detail {
    width: 96%;
    padding: 0 1.5em;
  }

  .statistics .statistic-detail:nth-child(2),
  .statistics .statistic-detail:nth-child(3) {
    border-left: none;
  }
}

/* END STATISTICS */


/* FOOTER STYLE */
.footer-container {
  width: min(100% - 2rem, 1170px);
  margin: 0 auto;
  font-family: Montserrat;
}

.footer-container > .row:first-child {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr) minmax(190px, 1.2fr);
  align-items: start;
  gap: 2rem;
}

.footer-container .row ul {
  list-style: none;
}

.footer {
  background-color: #073465;
  padding: 3rem 0 1.5rem;
  width: 100%;
  margin-top: 2.5em;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: 1rem;
  text-transform: capitalize;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.5rem;
  background-color: var(--color-secondary);
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: none;
  font-weight: 300;
  color: #b5d9ff;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 2.25rem;
  width: 2.25rem;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 .4rem .4rem 0;
  text-align: center;
  line-height: 2.25rem;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: var(--color-primary);
  background-color: #fff;
}

.footer-col .info-detail {
  color: #b5d9ff;
  font-weight: 300;
  margin-bottom: 10px;
}

.footer-col .info-detail i {
  color: var(--color-secondary);
  font-size: 1.15em;
  margin-right: .25em;
}

.footer-col .download-app {
  display: flex;
  margin: .75rem 0 0;
}

.footer-col .download-app a:nth-child(2) {
  margin-left: .5rem;
}

.footer-col .download-app a img {
  display: block;
  width: min(100%, 150px);
  height: auto;
  padding: 0;
  border-radius: .75rem;
}

.footer-col .download-app a img:hover {
  border: 2px solid var(--color-secondary);
  border-radius: 1em;
}



.privacy {
  width: 100%;
  margin-top: 1.75rem;
}

.privacy-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.privacy-item a {
  text-decoration: none;
  font-size: .8rem;
  color: #d3d3d3;
  line-height: 1.5;
}

.privacy-item a:hover {
  color: #fff;
}

.pays_flag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}

.pays_flag .title {
  flex: 0 0 100%;
  margin-bottom: .35rem;
}

.pays_flag a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pays_flag span {
  display: block;
  margin: 0;
  border-radius: .25rem;
  font-size: 1.5rem;
}

@media (max-width: 800px) {
  .footer-container > .row:first-child {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 1rem;
  }

  .footer-col:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-col:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-col:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-col:first-child img {
    display: block;
    width: min(100%, 190px);
    height: auto;
  }

  .footer-col .download-app a img {
    width: min(100%, 145px);
  }

  .footer-container > .row:last-child {
    display: block;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 0 1.25rem;
  }

  .footer-container {
    width: calc(100% - 2rem);
  }

  .footer-container > .row:first-child {
    gap: 1.5rem .75rem;
  }

  .footer-col h4 {
    font-size: .9rem;
  }

  .footer-col:first-child img {
    width: min(100%, 155px);
  }

  .pays_flag {
    gap: .5rem;
  }

  .pays_flag span {
    font-size: 1.35rem;
  }

  .privacy {
    margin-top: 1.25rem;
  }

  .privacy-item {
    gap: .5rem 1rem;
    padding-right: 3.5rem;
  }

  .privacy-item a {
    font-size: .75rem;
  }
}

/* END FOOTER STYLE */


/* MEDIA QUERIES - RESPONSIVE */

@media (min-width: 1128px) {
  .section-one h1 {
    width: 25vw;
  }

  .blog-one h1 {
    width: 25vw;
  }
}

@media (min-width: 901px) {
  nav ul {
    display: flex;
    flex-flow: row nowrap;
  }

  .main-navlinks {
    width: 75%;
  }

  .nav-icon {
    width: 25%;
  }

  .nav-authentication {
    width: 92px;
    margin-left: auto;
  }

  .section-one {
    margin: 3.5em 3.5em;
  }

  .blog-one {
    margin: 3.5em 0;
  }

  .section-one h1 {
    width: 35vw;
  }

  .blog-one h1 {
    width: 35vw;
  }

  .dropdown-content {
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  }

  .categories {
    float: left;
  }

  .advertising {
    float: right;
  }

  .sb-container {
    margin-top: 3.5em;
  }

  .search-form .search-field:first-child {
    width: 45%;
  }

  .search-form .search-field:nth-child(2),
  .search-form .search-field:nth-child(3) {
    width: 35%;
  }

  /* .search-form .search-field:nth-child(4) {width: 40%;} */
  .search-form .search-button {
    width: 15%;
  }

}

@media (max-width: 1024px) {
  .section-one {
    margin: 1.5em 3.5em;
  }

  .blog-one {
    margin: 1.5em 3.5em;
  }
}

@media (max-width: 900px) {
  nav {
    padding: 15px 20px;
    position: relative;
  }

  .tower-ctn {
    width: 100%;
    height: 34em;
  }

  .tower-ctn>.drugstore {
    left: 50%;
    width: calc(100% - 2.5em);
    min-width: 0;
    animation-name: display-mobile;
    transform: translateX(-50%);
  }

  .container {
    margin-top: 1.5em;
  }

  .categories {
    width: 68%;
    float: left;
  }

  .advertising {
    width: 30%;
    float: right;
  }

  .section-one {
    margin: 1.5em 2em;
  }

  .blog-one {
    margin: 1.5em 2em;
  }

  .section-one h1 {
    width: 50vw;
  }

  .blog-one h1 {
    width: 50vw;
  }

  .sb-container {
    margin-top: -2em;
    aspect-ratio: 3/3 !important;
  }

  .search-bar {
    margin-top: -3.5em;
    margin-bottom: -3.5em;
  }

  .search-text h1 {
    padding-top: 2em;
    font-size: 15px;
  }

  .search-form {
    margin: 10%;
  }

  .search-form .search-field {
    width: 92%;
  }

  .dropdown-content {
    margin-left: 1.5em;
    position: relative;
  }

  .nav-icon {
    order: 2;
    margin: 0 auto;
  }

  .nav-icon span {
    font-size: 22px;
  }

  .main-navlinks {
    order: 1;
  }

  /* Hamburger */
  .hamburger {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    background: #fafafa;
    align-items: center;
    position: relative;
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    pointer-events: none;
    transition: transform 0.3s ease-out;
  }

  .hamburger::before {
    transform: translateY(-7px);
    box-shadow: 0 7px 0 #333;
  }

  .hamburger::after {
    transform: translateY(7px);
  }

  .hamburger.open::before {
    transform: rotate(135deg);
    box-shadow: none;
  }

  .hamburger.open::after {
    transform: rotate(-135deg);
  }

  .navlinks-container {
    display: block;
    position: absolute;
    background: #fafafa;
    top: 100%;
    left: 0;
    width: 100%;
    min-height: 100vh;
    padding: 4px 50px 15px 30px;
    transform: translate(-100%);
  }

  .open {
    transform: translate(0%);
  }

  .navlinks-container a {
    font-size: 14px;
    margin: 10px 0
  }

  .nav-authentication {
    order: 3;
    margin-left: 0;
  }

  .account {
    display: none;
  }

  .sign-user {
    display: block;
    cursor: pointer;
    border: none;
  }

  .sign-user i {
    font-size: 32px;
    color: var(--color-primary);
  }

  .map {
    margin: 4em 4em 0 4em;
    border-radius: 0;
    border-width: .25em;
  }

  .map iframe {
    border-radius: 0;
  }

}

@media (max-width: 800px) {

  .magazines .magazine {
    width: 48%;
  }

  .magazines .magazine:nth-child(2) {
    margin-left: 4%;
  }

  .magazines .magazine:nth-child(3) {
    margin-left: 0;
    margin-top: 5em;
  }

}

@media (max-width: 750px) {

  .section-one {
    margin: 1.5em 2em;
  }

  .section-one.home-categories-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: .75em;
    width: calc(100% - 2em);
    margin: 1.5em auto;
  }

  .blog-one {
    margin: 1.5em 2em;
  }

  .blog-one {
    margin: 1.5em 0;
  }

  .categories {
    width: 100%;
    float: none;
    margin-bottom: 2em;
  }

  .advertising {
    width: 100%;
    float: none;
    margin-left: 0;
  }

  .home-categories-layout .categories,
  .home-categories-layout .advertising {
    min-width: 0;
    margin: 0;
  }

  .home-categories-layout .categories {
    padding: .75em;
  }

  .home-categories-layout .categories-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25em;
  }

  .home-categories-layout .category {
    width: auto;
    min-width: 0;
    padding: .25em;
  }

  .home-categories-layout .category a {
    padding: .25em;
  }

  .home-categories-layout .category p {
    margin-top: .4em;
    font-size: .75em;
  }

  .home-categories-layout .category i {
    font-size: 1.75em;
  }

  .home-categories-layout .category-link {
    margin: 1em 0 .5em;
    font-size: .8em;
  }

  .home-categories-layout .advertising {
    flex-direction: column;
    min-height: 0;
    gap: .75em;
  }

  .home-categories-layout .advertising .slider {
    width: 100%;
  }

  .home-categories-layout .advertising .slider:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .magazines {
    width: 75%;
  }

  .magazines .magazine {
    width: 100%;
    margin-top: 4em;
    margin-bottom: 2em;
  }

  .magazines .magazine:nth-child(2) {
    margin-left: 0;
  }
}

@media (max-width: 500px) {
  .container {
    margin-top: .5em;
  }

  .nav-icon img {
    height: 30px;
  }

  .nav-icon span {
    font-size: 20px;
  }

  nav ul {
    display: block;
  }
}