.cmm-wrapper {
  font-family: Arial, sans-serif;
  width: 100%;
}

.custom-hamburger {
  display: none;
}

@media (min-width: 769px) {
  .custom-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 15px 10px;
    background-color: transparent;
    border: none;
    border-radius: 3px;
    position: relative;
    width: auto;
    height: 40px;
    z-index: 3000;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
  }

  .hamburger-icon {
    display: flex;
    align-items: center;
    margin-right: 6px;
  }

  .hamburger-icon svg {
    width: 22px;
    height: 22px;
    stroke: #cb0000;
    transition: stroke 0.3s ease;
  }

  .hamburger-text {
    font-size: 16px;
    font-weight: 700;
    color: #cb0000;
    text-transform: uppercase;
    line-height: 1;
    transition: color 0.3s ease;
  }

  .custom-hamburger:hover .hamburger-icon svg,
  .custom-hamburger.active .hamburger-icon svg {
    stroke: red;
  }

  .custom-hamburger:hover .hamburger-text,
  .custom-hamburger.active .hamburger-text {
    color: red;
  }
}

.custom-menu-wrapper {
  display: flex;
  width: 100%;
  background: #fff;
  border: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
  padding-left: 0;
}

@media (max-width: 768px) {
  .custom-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: row;
    z-index: 2500;
    background: #fff;
    padding-left: 0;
  }

  .custom-side-menu {
    width: 30%;
    border-right: 1px solid #ddd;
    background: #f8f8f8;
    font-size: 12px;
    height: 100%;
    overflow-y: auto;
    padding: 10px 0;
    margin-left: 0;
  }

  .custom-mega-content {
    width: 100%;
    overflow-y: auto;
    padding: 10px;
  }
}

@media (min-width: 769px) {
  .custom-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 15px;
    width: 820px;
    border-radius: 0 10px 10px 10px;
    overflow: hidden;
    padding-left: 0;
    z-index: 2000;
  }

  .custom-menu-wrapper.show {
    display: flex;
  }

  .custom-side-menu {
    width: 250px;
    height: auto;
    max-height: 100%;
    margin-top: 0;
  }

  .custom-mega-content.active {
    margin-top: 15px;
  }
}

.custom-side-menu {
  background-color: #f5f5f5;
  border-right: 1px solid #ddd;
  flex-shrink: 0;
  padding: 10px 0;
}

.custom-side-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-side-menu li {
  padding: 14px 5px 14px 9px;
  border-bottom: 1px solid #eaeaea;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 0;
}

@media (min-width: 769px) {
  .custom-side-menu li {
    padding: 10px 5px 10px 9px;
  }
}

.custom-side-menu li:hover,
.custom-side-menu li.active {
  background-color: #fff;
  color: red;
  font-weight: 700;
  position: relative;
}

.custom-side-menu li:hover::before,
.custom-side-menu li.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: red;
}

.custom-mega-content {
  flex: 1;
  padding: 0;
  display: none;
  background: #fff;
}

.mfp-content {
  width: 100% !important;
}

.custom-mega-content.active {
  display: block;
}

.custom-mega-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #222;
  border-bottom: 2px solid red;
  padding-bottom: 5px;
  text-align: left;
  text-decoration: none;
  display: block;
}

.custom-mega-title a {
  margin-left: 10px;
  display: block;
}

.custom-mega-title:hover {
  color: red;
}

.custom-mega-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.custom-mega-item {
  text-align: center;
  font-size: 12px;
  color: #333;
  word-wrap: break-word;
  transition: transform 0.2s ease;
  text-decoration: none;
  display: block;
}

.custom-mega-item:hover {
  transform: scale(1.05);
  color: #0073aa;
}

.custom-mega-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.custom-mega-item div {
  line-height: 1.4;
}

@media (max-width: 768px) {
  button.mfp-close.custom-mega {
    display: unset;
  }

  .custom-side-menu {
    width: 30%;
    border-right: 1px solid #ddd;
    border-bottom: none;
    overflow-y: auto;
    padding: 10px 0;
    margin-left: 0;
    margin-top: -10px;
  }

  .mfp-close-btn-in .mfp-close {
    z-index: 999999999;
  }

  .custom-side-menu ul {
    margin: 0;
    padding: 0;
  }

  .custom-side-menu li {
    text-align: left;
    font-size: 12px;
    margin-left: 0;
    margin-bottom: 0;
  }

  .custom-side-menu li:hover::before,
  .custom-side-menu li.active::before {
    content: none;
  }

  .custom-mega-title {
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0;
  }

  .custom-mega-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .custom-mega-item {
    width: calc(31% - 10px);
    margin: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .custom-mega-item img {
    width: 40px;
    height: 40px;
  }

  .custom-mega-item div {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 5px;
    color: #333;
  }
}

.product-small .col-inner {
  background-color: white;
}

.product-small.col .box-text.box-text-products,
.product-small.col .box-image {
  padding: 10px !important;
}

.price-wrapper .price {
  color: #d0021c;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
}

.summary-action {
  clear: both;
  overflow: hidden;
  display: block;
  padding-top: 12px;
}

.summary-action a {
  border-radius: 5px;
  font-size: 17px;
  line-height: 20px;
  color: #FFFFFF;
  width: 100%;
  text-align: center;
  padding: 15px 5px;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #e22d33;
}

.summary-action a:hover {
  color: #FFFFFF;
  background-color: #d6070e;
}

#popup-tu-van {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  display: none;
}

#popup-tu-van #popup-content {
  position: relative;
  width: 90vw;
  max-width: 400px;
  background-color: #fff;
  padding: 19px 21px 25px 19px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

.frm-action .btn-cancel,
.frm-action .wpcf7-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: #C6C6C6;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  line-height: 42px;
  margin: 0;
}

.frm-action .btn-cancel:hover,
.frm-action .wpcf7-submit:hover {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4);
}

.wpcf7 input[type=submit] {
  background: #1785b1;
  color: #FFF;
  font-weight: 600;
  border: none;
}

.frm-action .flex {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 16px;
}

.model-item {
  border: 1px solid #ddd;
  padding: 5px 12px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  border-radius: 2px;
}

.model-item.active {
  border-color: #ff0000;
  color: #ff0000;
  font-weight: bold;
  background: #fff5f5;
}

.model-item:hover {
  border-color: red !important;
}

.section__blog {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
  border-radius: 10px !important;
  overflow: hidden;
}
button.flickity-button.flickity-prev-next-button.next,
button.flickity-button.flickity-prev-next-button.previous{
  background: unset !important;
  border-radius: 100% !important;
    width: 40px !important;
    height: 40px !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, .2) !important;
            top: unset !important;
}
.flickity-prev-next-button path,
.slider .flickity-prev-next-button svg path{
  fill: black !important;
 
}

.slider .flickity-prev-next-button svg{
  background-color: white;

}
.flickity-prev-next-button{
opacity: 1 !important;
}

#customSideMenu li img{
    width: 30px;
    height: 30px;
    margin-right: 6px;
}