@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

html {
  scroll-behavior: smooth;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

input,
select,
textarea {
  background-color: transparent;
  outline: none;
}

strong {
  font-weight: bold;
}

button {
  cursor: pointer;
  background-color: transparent;
  outline: none;
  border: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
  font-weight: 300;
  font-size: 17px;
  line-height: 1;
  overflow-x: hidden;
  color: #041C2C;
}

body.sidebar-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  color: inherit;
}

section {
  padding: 60px 0;
}

.cs-heading {
  font-weight: 400;
  font-size: 30px;
  line-height: 130%;
  text-transform: uppercase;
  margin-bottom: 11px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.menu-toggle {
  display: none;
  width: 24px;
  height: 24px;
}

/* Header */
.header {
  padding: 12px 0;
  background: #fff;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 44px;
  position: relative;
}

.header .site-branding {
  max-width: 136px;
}

.header .site-branding img {
  width: 100%;
}

.header .main-navigation ul {
  list-style: none;
  display: flex;
  gap: 44px;
  align-items: center;
  flex-wrap: wrap;
}

.header .main-navigation ul li a {
  font-size: 16px;
  line-height: 20px;
}

/* Banner */
.banner {
  min-height: 642px;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 80px;
  padding-bottom: 0;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(69.63% 69.63% at 50% 30.37%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.banner-main {
  display: flex;
  flex-wrap: wrap;
}

.banner-left {
  width: 41.4%;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding-top: 26px;
  padding-left: 5.5%;
}

.banner-right {
  width: 58.6%;
  padding-left: 15.6%;
}

.banner-keops {
  padding-top: 10px;
}

.banner-keops img {
  max-width: 193px;
}

.banner-pr-box {
  position: relative;
}

.banner-pr-box .banner-pr-main {
  max-width: 255px;
  padding-right: 40px;
}

.banner-pr-logo {
  position: absolute;
  max-width: 90px;
  top: 27px;
  right: -10px;
  z-index: 1;
}

.banner-content {
  color: #fff;
  margin-bottom: 36px;
}

.banner-subheading {
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 14px;
}

.banner-heading {
  font-size: 50px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.banner-heading sup {
  font-size: 0.6em;
  vertical-align: super;
}

.banner-desc {
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  max-width: 60%;
}

.banner-list-pr-img-box {
  position: relative;
  padding-left: 58px;
  margin-bottom: -20px;
}

.banner-list-pr-img {
  max-width: 293px;
}

.banner-list-pr-logo {
  position: absolute;
  top: 21%;
  left: 29%;
  max-width: 48px;
  z-index: 1;
}

/* Product Section */
.product-section {
  background: linear-gradient(180deg, rgba(225, 237, 224, 0) 0%, rgba(225, 237, 224, 0.3) 100%);
}

.pr-header {
  max-width: 1134px;
  margin-bottom: 88px;
}

.pr-heading {
  color: #005D5B;
}

.pr-desc p {
  line-height: 1.2;
}

.pr-desc p strong {
  font-weight: 500 !important;
}

.pr-list {
  display: flex;
  gap: 32px 18px;
  flex-wrap: wrap;
}

.pr-item {
  min-width: 177.7px;
  width: 13%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.pr-highlight {
  font-weight: 400;
  font-size: 13px;
  line-height: 130%;
  text-transform: uppercase;
  color: #005D5B;
  margin-bottom: -21px;
}

.pr-img {
  margin-bottom: 18px;
}

.pr-title {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pr-btn-view {
  display: inline-block;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #fff;
  background: #005D5B;
  padding: 16px;
  width: 100%;
  max-width: 200px;
  margin-top: auto;
  text-align: center;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.18);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Sidebar wrapper */
.product-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 500px;
  max-width: 90%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transition: right 0.5s ease-in-out;
  overflow-y: auto;
  padding: 40px;
}

.product-sidebar.open {
  right: 0;
}

.close-sidebar-wrapper {
  display: flex;
  justify-content: end;
  margin-bottom: 32px;
}

.close-sidebar {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.pr-badge {
  display: inline-block;
  font-weight: bold;
  padding: 5px 7px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 400;
  margin-bottom: 15px;
  text-transform: uppercase;
  border: 1px solid #041C2C;
}

.pr-sidebar-img {
  /* aspect-ratio: 420 / 379; */
  overflow: hidden;
  display: block;
  margin-bottom: 32px;
}

.pr-sidebar-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.pr-sidebar-title {
  font-size: 30px;
  line-height: 37px;
  font-weight: 400;
  margin-bottom: 16px;
  color: #19385D;
}

.pr-size {
  font-size: 17px;
  line-height: 21px;
  font-weight: 400;
  letter-spacing: 4%;
  color: #000000;
  margin-bottom: 32px;
}

.pr-accordion {
  border-top: 1px solid #BDBFBF;
}

.pr-accordion .acc-item {
  border-bottom: 1px solid #BDBFBF;
}

.acc-toggle {
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 22px 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #041C2C;
}

.acc-toggle .acc-close {
  display: none;
}

.acc-toggle.open .acc-close {
  display: block;
}

.acc-toggle.open .acc-open {
  display: none;
}

.acc-toggle img {
  width: 16px;
  height: 16px;
}

.acc-content {
  display: none;
  font-size: 13px;
  padding-bottom: 15px;
  line-height: 1.2;
}

.pharmacy-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pharmacy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pharmacy-logo {
  max-width: 122px;
}

.pharmacy-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pharmacy-buy {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #fff;
  padding: 16px;
  background: #005D5B;
}

.find-pharmacy-btn {
  display: inline-block;
  width: 100%;
  margin-top: 32px;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #0E1B2A;
  text-transform: uppercase;
  padding: 15px;
  border: 1px solid #0E1B2A;
}

.sidebar-inner-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: #007b7f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* About Section */
.about-heading {
  font-weight: 300;
  margin-bottom: 16px;
}

.about-header {
  margin-bottom: 60px;
}

.about-desc {
  font-size: 17px;
  line-height: 21px;
}

.about-desc span {
  font-weight: 500;
}

.about-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-benefit-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.about-benefit-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.about-benefit-item p {
  font-size: 16px;
  line-height: 20px;
  color: #19385D;
  font-weight: 400;
}

.about-benefit-item p span {
  font-weight: 600;
}

.about-main {
  display: flex;
  flex-wrap: wrap;
  gap: 78px;
  align-items: center;
}

.about-image {
  width: calc(52.66% - 39px);
}

.about-content {
  width: calc(47.34% - 39px);
  padding-right: 60px;
}

.about-text {
  font-size: 17px;
  line-height: 21px;
  margin-bottom: 60px;
}

.about-text p {
  padding-bottom: 20px;
}

.about-text p:last-child {
  padding-bottom: 0;
}

.about-text strong {
  font-weight: 500 !important;
}

/* locator */
.locator-heading {
  font-weight: 300;
  margin-bottom: 39px;
  line-height: 37px;
}

.locator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.locator-vicino {
  font-size: 14px;
  line-height: 17px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  background: #005D5B;
  padding: 16px;
  min-width: 325px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  text-align: center;
}

.locator-vicino img {
  height: 16px;
  width: 16px;
  object-fit: contain;
}

.locator-search {
  flex: 1;
}

.locator-search input {
  font-weight: 400;
  font-size: 16px;
  line-height: 17px;
  text-transform: uppercase;
  outline: none;
  border: 1px solid #94A7BC;
  padding: 15px;
  width: 100%;
}

.locator-search input::placeholder {
  color: #94A7BC;
}

.locator-main {
  display: flex;
  flex-wrap: wrap;
}

.locator-left {
  border-top: 1px solid #D9D9D9;
  width: 32.4%;
  max-height: 692px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.locator-left::-webkit-scrollbar {
  display: none;
}

.locator-right {
  width: 67.6%;
}

.locator-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locator-card {
  border-bottom: 1px solid #D9D9D9;
  padding: 15px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.locator-card-info {
  max-width: 70%;
}

.locator-card.active {
  background: #94A7BC0D;
}

.locator-card:hover {
  background: #94A7BC0D;
}

.locator-card-top {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}

.locator-card-body {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}

.locator-farmacia {
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
  color: #94A7BC;
}

.locator-distance {
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  color: #94A7BC;
}

.locator-card-name {
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 20px;
  margin-bottom: 8px;
}

.locator-card-address {
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
}

.locator-card-direction {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #94A7BC1A;
  display: flex;
  justify-content: center;
  align-items: center;
}

.locator-card-direction img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* chi-siamo */
.chi-siamo {
  padding: 32px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url('../images/chi-siamo-bg.jpg');
}

.chi-siamo-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: start;
  max-width: 47%;
}

.chi-siamo-subheading {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
}

.chi-siamo-heading {
  font-size: 60px;
  line-height: 120%;
  text-transform: uppercase;
  max-width: 98%;
}

.chi-siamo-content p {
  font-size: 18px;
  line-height: 23px;
  padding-bottom: 1em;
}

.chi-siamo-content p:last-child {
  padding-bottom: 0;
}

.chi-siamo-btn {
  display: inline-block;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  padding: 15px 23px;
  text-transform: uppercase;
  border: 1px solid #0E1B2A;
}

/* faqs */
.faqs-heading {
  font-weight: 300;
  margin-bottom: 60px;
  font-size: 40px;
  line-height: 49px;
  text-align: center;
}

.faq-accordion {
  max-width: 898px;
  margin: 0 auto;
  border-top: 1px solid #BDBFBF;
}

.faq-item {
  border-bottom: 1px solid #BDBFBF;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding: 21px 0;
  cursor: pointer;
}

.faq-title {
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  max-width: 86%;
}

.faq-question img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.faq-close {
  display: none;
}

.faq-answer {
  padding-bottom: 21px;
}

.faq-answer p {
  padding-bottom: 1em;
}

.faq-answer p:last-child {
  padding-bottom: 0;
}

.faq-item.active .faq-close {
  display: block;
}

.faq-item.active .faq-open {
  display: none;
}

/* 404 Page */
.not-found-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  flex-direction: column;
  text-align: center;
}

.not-found-content h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 150px;
  line-height: 1.2;
  color: #000;
  margin-bottom: 10px;
}

.not-found-content p {
  font-weight: 400;
}

.not-found-content .btn-back {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 30px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  background: #005D5B;
  color: #fff;
}

/* Footer */
.footer {
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.footer-img {
  max-width: 141px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links a {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

#map {
  aspect-ratio: 913/693;
  width: 100%;
  height: 693px;
}

@media (max-width:1280px) {
  .banner-left {
    padding-left: 0;
  }

  .banner-pr-box .banner-pr-main {
    max-width: 200px;
    padding-right: 40px;
  }

  .banner-pr-logo {
    max-width: 70px;
    right: 0px;
  }

  .banner-keops img {
    max-width: 150px;
  }

  .banner-heading {
    font-size: 40px;
  }

  .banner-list-pr-img-box {
    padding-left: 20px;
    margin-bottom: 0;
  }

  .banner-right {
    padding-left: 10%;
  }
}

@media (max-width:1023px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 0;
  }

  .menu-toggle .close {
    display: none;
  }

  .menu-toggle.active .open {
    display: none;
  }

  .menu-toggle.active .close {
    display: block;
  }

  .header-main {
    justify-content: center;
  }

  .header .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 30px;
    transform: translateY(-100%);
    opacity: 0;
    transform-origin: top;
    transition: all 0.4s ease-in-out;
    visibility: hidden;
    z-index: 99;
  }

  .header .main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header .main-navigation ul {
    flex-direction: column;
    gap: 44px;
  }

  /* Banner */
  .banner {
    min-height: auto;
    padding-top: 0;
  }

  .banner-left {
    width: 100%;
    padding-top: 32px;
    justify-content: center;
    gap: 70px;
    margin-bottom: 30px;
  }

  .banner-right {
    width: 100%;
    padding-left: 0;
  }

  .banner-heading {
    font-size: 34px;
  }

  .banner-list-pr-img-box-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-list-pr-img-box {
    padding-left: 0;
    width: fit-content;
  }

  .banner-keops {
    padding-top: 0;
  }

  .pr-header {
    margin-bottom: 50px;
  }

  .pr-list {
    gap: 32px 16px;
  }

  .pr-item {
    min-width: auto;
    width: calc(50% - 8px);
  }

  /* About */
  .about-image {
    width: 100%;
  }

  .about-content {
    width: 100%;
    padding-right: 0;
  }

  .about-main {
    gap: 30px;
  }

  .about-header {
    margin-bottom: 50px;
  }

  .about-text {
    margin-bottom: 40px;
  }

  /* locator */
  .locator-vicino {
    width: 100%;
  }

  .locator-main {
    flex-direction: column-reverse;
  }

  .locator-left {
    width: 100%;
    max-height: 45vh;
  }

  .locator-right {
    width: 100%;
  }

  /* chi-siamo */
  .chi-siamo-main {
    gap: 24px;
    max-width: 100%;
  }

  .chi-siamo-heading {
    font-size: 50px;
    max-width: 100%;
  }
}

@media (max-width:767px) {
  #map {
    aspect-ratio: 354/403;
    width: 100%;
    height: 403px;
  }

  section {
    padding: 32px 0;
  }

  .cs-heading {
    font-size: 25px;
  }

  .banner-keops img {
    max-width: 114px;
  }

  .banner-left {
    gap: 30px;
    margin-bottom: 24px;
  }

  .banner-pr-box .banner-pr-main {
    max-width: 165px;
    padding-right: 40px;
  }

  .banner-pr-logo {
    max-width: 54px;
    top: 8px;
    right: 11px;
  }

  .banner-subheading {
    margin-bottom: 10px;
  }

  .banner-heading {
    margin-bottom: 6px;
  }

  .banner-desc {
    font-size: 17px;
    max-width: 90%;
  }

  .banner-content {
    margin-bottom: 26px;
  }

  .banner-list-pr-img {
    max-width: 243px;
  }

  /* Product Section */
  .pr-desc p {
    font-size: 14px;
    line-height: 1.2;
  }

  .pr-heading {
    margin-bottom: 14px;
  }

  .pr-desc sup {
    font-size: 0.7em;
  }

  .pr-header {
    margin-bottom: 38px;
  }

  .pr-title {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
  }

  .product-sidebar {
    width: 100%;
    padding: 32px 24px;
    max-width: 100%;
  }

  .pr-badge {
    font-size: 12px;
    margin-bottom: 15px;
  }

  /* About Section */
  .about-desc {
    font-size: 14px;
    line-height: 17px;
  }

  .about-header {
    margin-bottom: 32px;
  }

  .about-main {
    gap: 18px;
  }

  .about-text {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 32px;
  }

  .about-text p {
    padding-bottom: 17px;
  }

  /* locator */
  .locator-heading {
    margin-bottom: 32px;
    font-size: 30px;
    line-height: 37px;
  }

  .locator-top {
    gap: 12px;
    margin-bottom: 32px;
  }

  .locator-right {
    aspect-ratio: 354/403;
    overflow: hidden;
  }

  /* chi-siamo */
  .chi-siamo {
    background-image: url('../images/chi-siamo-bg-mb.png');
    padding-bottom: 342px;
  }

  .chi-siamo-heading {
    font-size: 38px;
  }

  .chi-siamo-content p {
    font-size: 16px;
    line-height: 21px;
  }

  .chi-siamo-subheading {
    font-size: 12px;
    line-height: 15px;
  }

  /* faqs */
  .faqs-heading {
    margin-bottom: 32px;
    font-size: 30px;
    line-height: 37px;
  }

  .faq-question {
    gap: 24px;
    padding: 22px 0;
  }

  .faq-title {
    font-size: 16px;
    line-height: 20px;
    max-width: 100%;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 17px;
  }

  .not-found-content h1 {
    font-size: 100px;
  }

  .not-found-content .btn-back {
    padding: 16px 30px;
    font-size: 14px;
  }
}