* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: Lato, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 72px;
}

img {
  max-width: 100%;
  height: auto;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: white;
  border-bottom: 1px solid rgb(228, 224, 224);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.nav-logo img {
  display: block;
  width: 300px;
  height: 150px;
  max-width: none;
  object-fit: contain;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-top {
  display: flex;
  align-items: center;
}

.nav-top a {
  text-decoration: none;
  border: none;
  width: auto;
  height: auto;
  font-size: 15px;
  color: #444444;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 10px;
  transition: color 0.2s ease;
}

.nav-top a:hover {
  color: #0266c3;
}

.nav-search {
  max-width: 170px;
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  justify-content: flex-start;
}

.nav-search input {
  width: 145px;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

.nav-search button {
  padding: 10px 5px;
  background: transparent;
  border: none;
  width: 25px;
  cursor: pointer;
  font-size: 1rem;
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.nav-cart i {
  font-size: 22px;
}

#counts {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  border-radius: 50%;
}

main {
  margin: 20px 60px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.hero_text {
  font-size: 16px;
  flex: 1 1 320px;
  min-width: 280px;
}

.button1 {
  width: 150px;
  height: 40px;
  border-radius: 20px;
  border: 2px solid blue;
  color: blue;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background-color: #fcfafa;
}

.hero_img {
  flex: 1 1 380px;
  text-align: center;
}

.hero_img img {
  width: 380px;
  max-width: 100%;
}

.item_container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  width: 100%;
  height: 400px;
  scrollbar-width: thin;
  scrollbar-color: #a0a0a0 transparent;
}

.item_container::-webkit-scrollbar {
  height: 6px;
}

.item_container::-webkit-scrollbar-thumb {
  background: #a0a0a0;
  border-radius: 10px;
}

.product-card {
  cursor: pointer;
  flex-shrink: 0;
}

.product-card img {
  width: 250px;
  height: 250px;
  object-fit: contain;
}

.itm-name {
  padding: 2px;
  font-size: 16px;
  text-align: center;
}

.itm-name a {
  text-decoration: none;
  color: rgb(107, 170, 242);
}

.itm-star {
  padding: 2px;
  text-align: center;
}

.price {
  padding: 2px;
  text-align: center;
  font-weight: 500;
}

.about-us {
  margin-top: 50px;
}

#appd {
  width: 100%;
}

.medi-info-container {
  margin: 30px 0;
}

.medic-info {
  display: flex;
  margin: 50px 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.info-card {
  border: 1px solid #e7e3e3;
  text-align: center;
  width: 287px;
  height: 310px;
  border-radius: 2px;
  overflow: hidden;
}

.info-card img {
  width: 285px;
  height: auto;
}

.info-name {
  font-weight: 700;
}

.info-content {
  margin: 10px 0;
  font-size: 15px;
}

#ourBlog {
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: 750;
  font-size: 25px;
  text-decoration: underline #c1c0c0;
}

.blog-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  width: 100%;
  height: 425px;
  scrollbar-width: thin;
  scrollbar-color: #a0a0a0 transparent;
}

.blog-container::-webkit-scrollbar {
  height: 6px;
}

.blog-container::-webkit-scrollbar-thumb {
  background: #a0a0a0;
  border-radius: 10px;
}

.blog-card {
  border: 1px solid #e7e3e3;
  text-align: center;
  width: 500px;
  min-width: 500px;
  height: 410px;
  border-radius: 2px;
  overflow: hidden;
}

.blog-card img {
  width: 350px;
  height: 250px;
  object-fit: cover;
}

.blog-title {
  font-weight: 700;
  font-size: 15px;
}

.blog-content {
  margin-top: 13px;
  font-size: 14px;
}

.disclaimer {
  margin: 70px 0;
  text-align: center;
}

#disc {
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 700;
}

#discr {
  margin-bottom: 20px;
}

.footer_container {
  display: flex;
  justify-content: space-evenly;
  margin-top: 40px;
  background-color: #fcfafa;
  border-top: 2px solid #c2c0c0;
  padding: 20px;
}

.footer_column {
  max-width: 300px;
  margin-top: 20px;
}

.footer_column p {
  margin: 10px 5px;
  display: block;
  text-decoration: none;
  text-wrap: wrap;
  border-bottom: 1px solid rgb(228, 224, 224);
}

.footer_column a {
  text-decoration: none;
}

.a_tag a {
  display: block;
  margin: 5px 0;
  text-decoration: none;
  border-bottom: 1px solid rgb(228, 224, 224);
}

#ftr_input {
  margin: 2px;
  padding: 10px;
  width: 300px;
  height: 40px;
  font-size: 15px;
  border-radius: 50px;
  background-color: #fbf1f1;
  border: 1px solid black;
}

.footer_column button {
  width: 100px;
  height: 35px;
  border-radius: 20px;
  margin: 15px 5px;
  background-color: #0266c3;
  border: none;
  color: #fbf1f1;
  font-weight: 900;
  cursor: pointer;
}

.footer_column span {
  color: #7ba8f0;
}

.copyright_container {
  display: flex;
  margin-top: 40px;
  background-color: #0266c3;
  min-height: 80px;
  justify-content: space-around;
  align-items: center;
  text-decoration: none;
  color: #bcb9b9;
  font-size: 15px;
  text-wrap: wrap;
  padding: 15px;
}

.copyright_container a {
  text-decoration: none;
  color: #bcb9b9;
  font-size: 15px;
}

.drawer1 {
  position: fixed;
  top: 0;
  left: -400px;
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
  transition: 0.4s;
  z-index: 1100;
  padding: 20px;
}

.drawer1.active {
  left: 0;
}

.drawer1 ul {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.drawer1 ul li {
  margin: 18px 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.drawer1 ul li:last-child {
  border-bottom: none;
}

.drawer1 ul li a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
}

.close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 45px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
}

.close-btn:hover {
  background-color: orange;
  color: white;
  border-radius: 50%;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1050;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

body.no-scroll {
  overflow: hidden;
}

.drawer-icon {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-icon {
  font-size: 24px;
}

@media (max-width: 1024px) {
  body {
    padding-top: 72px;
  }

  #navbar {
    height: 72px;
  }

  .nav-inner {
    padding: 0 20px;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-logo {
    width: 300px;
    height: 150px;
  }

  .nav-logo img {
    width: 300px;
    height: 150px;
    max-width: none;
    object-fit: contain;
  }

  .nav-link {
    gap: 4px;
  }

  .nav-top a {
    font-size: 12px;
    padding: 0 6px;
  }

  main {
    margin: 20px 30px;
  }

  .hero {
    gap: 30px;
    align-items: center;
  }

  .hero_text {
    flex: 1;
  }

  .hero_img {
    flex: 1;
    text-align: center;
  }

  .hero_img img {
    width: 100%;
    max-width: 380px;
  }

  .item_container {
    height: auto;
    min-height: 370px;
  }

  .product-card img {
    width: 220px;
    height: 220px;
    object-fit: contain;
  }

  .medic-info {
    justify-content: center;
    gap: 20px;
  }

  .info-card {
    width: 280px;
  }

  .info-card img {
    width: 278px;
    height: auto;
  }

  .blog-card {
    min-width: 400px;
  }

  .footer_container {
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
  }

  .footer_column {
    width: 40%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 65px;
  }

  #navbar {
    height: 65px;
    overflow: hidden;
  }

  .nav-inner {
    padding: 0 15px;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-logo {
    width: 300px;
    height: 150px;
    overflow: hidden;
  }

  .nav-logo img {
    width: 300px;
    height: 150px;
    max-width: none;
    object-fit: contain;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .nav-link {
    display: none;
  }

  .drawer-icon {
    display: flex;
    margin-left: auto;
    margin-right: 20px;
  }

  .menu-icon {
    font-size: 24px;
  }

  .nav-cart {
    margin-left: 0;
  }

  .nav-cart i {
    font-size: 21px;
  }

  #counts {
    top: -8px;
    right: -9px;
  }

  main {
    width: 100%;
    margin: 20px 0;
    padding: 0 15px;
  }

  .hero {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .hero_text {
    width: 100%;
    font-size: 15px;
  }

  .hero_img {
    width: 100%;
  }

  .hero_img img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  .button1 {
    width: 140px;
    height: 40px;
    margin-top: 10px;
  }

  .item_container {
    width: 100%;
    height: auto;
    min-height: 340px;
    gap: 15px;
    padding: 10px 5px 15px;
  }

  .product-card {
    min-width: 190px;
  }

  .product-card img {
    width: 190px;
    height: 190px;
    object-fit: contain;
  }

  .itm-name {
    font-size: 14px;
  }

  .itm-star {
    font-size: 14px;
  }

  .price {
    font-size: 14px;
  }

  .about-us {
    margin-top: 35px;
  }

  .medi-info-container {
    margin: 25px 0;
  }

  .medic-info {
    margin: 30px 0;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .info-card {
    width: 100%;
    max-width: 350px;
    height: auto;
    padding-bottom: 15px;
  }

  .info-card img {
    width: 100%;
    height: auto;
  }

  .info-content {
    padding: 0 12px;
    font-size: 14px;
  }

  #ourBlog {
    margin-top: 35px;
    font-size: 22px;
  }

  .blog-container {
    height: auto;
    min-height: 360px;
    gap: 15px;
    padding-bottom: 10px;
  }

  .blog-card {
    min-width: 300px;
    width: 300px;
    height: auto;
    min-height: 350px;
    padding-bottom: 15px;
  }

  .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .blog-title {
    font-size: 14px;
    padding: 0 10px;
  }

  .blog-content {
    padding: 0 10px;
    font-size: 13px;
  }

  .disclaimer {
    margin: 45px 0;
  }

  #disc {
    font-size: 24px;
  }

  #discr {
    font-size: 14px;
  }

  .footer_container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
  }

  .footer_column {
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
  }

  #ftr_input {
    width: 100%;
    max-width: 350px;
  }

  .copyright_container {
    height: auto;
    min-height: 100px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 15px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  #navbar {
    height: 60px;
    overflow: hidden;
  }

  body {
    padding-top: 60px;
  }

  .nav-inner {
    padding: 0 12px;
    gap: 8px;
  }

  .nav-logo {
    width: 300px;
    height: 150px;
    overflow: hidden;
  }

  .nav-logo img {
    width: 300px;
    height: 150px;
    max-width: none;
    object-fit: contain;
    position: absolute;
    left: 40%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .drawer-icon {
    margin-right: 15px;
  }

  .menu-icon {
    font-size: 22px;
  }

  .nav-cart i {
    font-size: 20px;
  }

  main {
    padding: 0 10px;
  }

  .hero_text {
    font-size: 14px;
  }

  .hero_img img {
    max-width: 300px;
  }

  .button1 {
    width: 135px;
    height: 38px;
    font-size: 14px;
  }

  .product-card {
    min-width: 160px;
  }

  .product-card img {
    width: 160px;
    height: 160px;
  }

  .itm-name {
    font-size: 13px;
  }

  .itm-star,
  .price {
    font-size: 13px;
  }

  .item_container {
    min-height: 300px;
  }

  .info-card {
    max-width: 100%;
  }

  .info-content {
    font-size: 13px;
  }

  .blog-card {
    min-width: 270px;
    width: 270px;
    min-height: 330px;
  }

  .blog-card img {
    height: 180px;
  }

  #ourBlog {
    font-size: 20px;
  }

  #disc {
    font-size: 21px;
  }

  #discr {
    font-size: 13px;
  }

  .footer_container {
    padding: 20px 15px;
  }

  .footer_column {
    max-width: 100%;
  }

  #ftr_input {
    width: 100%;
    height: 40px;
  }

  .drawer1 {
    width: 280px;
    left: -300px;
    padding: 15px;
  }

  .drawer1 ul {
    margin-top: 30px;
  }

  .drawer1 ul li {
    margin: 15px 0;
  }

  .drawer1 ul li a {
    font-size: 18px;
  }

  .close-btn {
    font-size: 55px;
    line-height: 1;
  }
}

@media (max-width: 360px) {
  .nav-logo {
    width: 300px;
    height: 150px;
  }

  .nav-logo img {
    width: 300px;
    height: 150px;
    max-width: none;
  }

  .drawer-icon {
    margin-right: 10px;
  }

  .product-card {
    min-width: 145px;
  }

  .product-card img {
    width: 145px;
    height: 145px;
  }

  .blog-card {
    min-width: 250px;
    width: 250px;
  }

  .drawer1 {
    width: 250px;
  }
}

@media (min-width: 769px) {
  .drawer-icon {
    display: none;
  }
}