.font_all_mplus {
    font-family: 'M PLUS 1', sans-serif !important;
}
.min-height-full {
  min-height: 59vh;
}
body {
  background: white;
  font-family: 'M PLUS 1', sans-serif !important;
}

.max-width-1200 {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}
.main_title {
  text-align: center;
  margin: 50px 0;
  margin-top: 100px;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-text-color);
}
.ec-shelfGrid__item-image img {
  width: 277px;
  height: 250px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.product_item_title {
  font-weight: 700;
  font-size: 16px;
  color: black;
  text-align: center;
  /* max 2 line */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 45px;
}

.product_item_price {
  font-weight: 700;
  font-size: 20px;
  color: black;
  text-align: center;
}
.ec-shelfGrid .ec-shelfGrid__item {
  margin-bottom: 92px;
}

/* max 1200px */
@media (max-width: 1200px) {
  .ec-shelfGrid .ec-shelfGrid__item {
    width: 50%;
  }
}


/* up button */
.ec-blockTopBtn {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
}

.ec-blockBtn--action, .ec-blockBtn--action:hover, .ec-blockBtn--action:active, .ec-blockBtn--action:focus {
  background-color: white;
  color: black;
  border: 1px solid black;
  border-radius: 0;
  outline: none;
}
.ec-blockBtn--action:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.hide-number-input::-webkit-outer-spin-button,
.hide-number-input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.hide-number-input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
.ec-footerNavi .ec-footerNavi__link a {
  font-size: 16px;
}
.table-cell .link {
  display: block;
}

/* color */
.text-color-primary {
  color: var(--primary-text-color) !important;
}
.page-title {
  color: var(--primary-text-color) !important;
}

/* style */
:root {
  --primary-color: #BE329D;
  --header-color: #BE329D;
  --header-text-color: #912E7E;
  --footer-color: #BE329D;
  --secondary-color: #834295;
  --primary-text-color: #912E7E;
  --secondary-background-color: #F4DDFF;
  --cart-button-color: #912E7E;
  --header2-background-color: #FAD057;
  --header2-text-color: #000;
  --accordion-button-text-color: #912E7E;
}
 .header__logo-link {
  background-image: url(../img/default2/logo.png);
}
.icon_user_svg {
  background-image: url(../img/default2/icon_user.png);
}
.icon_cart_svg {
  background-image: url(../img/default2/icon_cart.png);
}


.main_button {
  color: white !important;
  background-color: var(--secondary-color);
  padding: 15px 20px;
  margin-top: 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  width: 276px;
  height: 54px;
  position: relative;
}

.main_button_icon_right:after {
  content: '';
  display: block;
  position: absolute;
  height: 22px;
  width: 11px;
  right: 14px;
  bottom: 16px;
  background-image: url(../img/default2/arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
}

/* đổi thành màu tím */
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23912E7E' stroke='%23912E7E' stroke-width='1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23912E7E' stroke='%23912E7E' stroke-width='1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
