/* Responsive styling */
#slider{
    height: 500px;
}
@media (max-width: 767px) {
  .footer .col-md-4 {
    margin-bottom: 20px;
  }

  .footer img {
    margin: 0 auto;
  }
  .carousel-item,
  #slider {
    height: 200px;
  }
  #slider img {
    height: 100%;
    width: 100%;
    object-fit: fill;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }
  .product h1 {
    font-size: 2rem;
  }

  .product .product-link {
    font-size: 0.9rem;
    padding: 8px 0px;
  }
  .img-fluid {
    height: 240px;
    width: 100%;
  }

  .sub-header-text::before,
  .sub-header-text::after {
    display: none;
  }
  #iron-slider img {
    height: 300px;
    width: 100%;
    overflow: hidden !important;
  }

  .d-flex img {
    height: 260px;
  }
  .nav-item:hover .dropdown-menu {
    display: block !important;
  }

  .dropdown-menu {
    background-color: #e1e2e1;
    padding-bottom: none !important;
    border-bottom: none !important;
    z-index: 1000;
  }
 
  a.product-link.active {
    border-bottom: none;
  }
  .family-card img {
    width: 60% !important;
  }
  .navbar-collapse {
    padding-left: 0;
    padding-top: 15px;
  }
  .nav-item {
    padding: 0 !important;
  }
  .nav-link {
    padding: 10px 0;
  }
  .nav-item.dropdown:hover .dropdown-menu,
  .navbar .dropdown-menu .container {
    flex-direction: column;
  }
  .navbar .dropdown-menu .container {
    height: 300px;
    overflow-y: auto;
  }
  .dropdown-menu li {
    width: 100%;
    border: none;
  }
}

@media (max-width: 320px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
  }

  #slider img {
    object-fit: contain;
  }

  .img-fluid {
    height: 300px;
    width: 100%;
  }
  .footer .col-xs-12 {
    margin-bottom: 10px;
  }

  .d-flex {
    display: block;
    position: relative;
  }
  .card {
    height: auto;
    margin-bottom: 25px;
    border-radius: 15px !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
      rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
      rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
  }
  #iron-slider img {
    height: 200px;
    width: 100%;
    overflow: hidden !important;
  }
}

@media (min-width: 992px) and (max-width: 1368px) {
  .dropdown-menu li {
    width: 180px;
  }
}
