/* Custom Bootstrap CSS */
.container,
.container-fluid,
.row {
  --bs-gutter-x: 3rem;
}

.navbar > .container,
.navbar > .container-fluid {
  flex-wrap: initial;
}

/* Custom CSS */
a {
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

ul {
  padding: 0;
  list-style: none;
}

.header {
  height: 100px;
}

.text-grey {
  color: #999;
}

.font-smaller {
  font-size: 12px;
}

.logo {
  width: 100%;
  height: auto !important;
}

.navbar-toggler {
  padding: 8px;
  border: 0;
}

.menu-icon {
  position: relative;
  width: 32px;
  height: 24px;
  transform: rotate(0deg);
  cursor: pointer;
}

.menu-icon span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 1;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transform: rotate(0deg);
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3) {
  top: 10px;
}

.menu-icon span:nth-child(4) {
  top: 20px;
}

.menu-icon.open span:nth-child(1) {
  top: 10px;
  left: 50%;
  width: 0;
}

.menu-icon.open span:nth-child(2) {
  transform: rotate(45deg);
}

.menu-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-icon.open span:nth-child(4) {
  top: 18px;
  left: 50%;
  width: 0;
}

.menu-item {
  text-align: center;
}

.nav-link {
  font-size: 14px;
  line-height: 22px;
}

.wc-cart-button {
  position: relative;
  text-align: center;
}

/* .wc-cart-button a {
  display: inline-flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
} */

.wc-cart-button .wc-cart-icon {
  display: inline-block;
  position: relative;
}

.wc-cart-button .badge {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -4px;
  right: -12px;
  width: 20px;
  height: 20px;
  color: #fff;
  background-color: #cd2a3e;
  border-radius: 50%;
}

.wc-cart-button i {
  font-size: 28px;
}

.wc-cart-button .wc-cart-title {
  font-size: 14px;
}

.wc-cart-button .woocommerce-mini-cart-item img {
  max-width: 70px;
  max-height: 70px;
  object-fit: cover;
}

.wc-cart-button .woocommerce-mini-cart-item .remove_from_cart_button {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-bottom: 2px;
  width: 20px;
  height: 20px;
  color: #fff;
  background-color: #cd2a3e;
  border-radius: 50%;
}

.wc-cart-button .woocommerce-mini-cart__empty-message {
  margin-bottom: 0;
  padding: 1rem 0;
}

.footer-widget-area,
.footer-widget-area a {
  font-size: 16px;
  line-height: 24px;
}

.footer-widget-area h1,
.footer-widget-area h2,
.footer-widget-area h3,
.footer-widget-area h4,
.footer-widget-area h5,
.footer-widget-area h6 {
  margin-bottom: 16px;
}

.woocommerce .single-product .related.products {
  clear: both;
}

.custom-posts {
  display: grid;
  gap: 16px;
}

.custom-posts img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .custom-posts {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .custom-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1199px) {
  .navbar-collapse {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .navbar-nav {
    padding: 32px 32px 16px 32px;
  }

  .wc-cart-button {
    padding: 16px 32px 32px 32px;
  }

  .wc-cart-button .dropdown-menu {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .navbar-collapse {
    position: relative;
  }

  .menu-item:first-child {
    border-left: 1px solid #b6b6b6;
  }

  .menu-item {
    border-right: 1px solid #b6b6b6;
  }

  .nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 40px;
    height: 100%;
  }

  .wc-cart-button {
    margin: 0 40px;
  }

  .wc-cart-button .dropdown-menu {
    width: 500px;
  }

  .custom-posts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
