/* Reset Code */
/*============================================================== 
   inner banner
==============================================================*/
.inner-banner {
  background: url(../images/inner-banner/inner-banner-shop.jpg) no-repeat top;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  position: relative;
  z-index: 0;
}

/* //inner banner */

/*=================================================
    分類目錄欄位設定
===================================================*/
.categories_grids-info {
  transition: 0.3s ease-in;
  display: block;
  height: 100%;
  background: var(--bg-color);
  border: 1px solid #E0E0E0;
  text-align: center;
}

.categories_grids-info:hover {
  box-shadow: 0px 9px 24px 5px rgb(0 0 0 / 12%);
}

.categories_grids-info h4 a {
  font-size: 1.3rem;
  color: var(--heading-color);
  display: block;
  font-weight: 500;
  padding: 0 15px 15px 15px;
}

.categories_grids-info img {
  width: 100%;
  padding: 15px;
  display: block;
}


/*=================================================
    目錄欄位設定
===================================================*/
.grids-info {
  transition: 0.3s ease-in;
  display: block;
  height: 100%;
  margin-bottom: 30px;
  background: var(--bg-color);
  border: 1px solid #E0E0E0;
  position: relative;
}

.grids-info:hover {
  box-shadow: 0px 9px 24px 5px rgb(0 0 0 / 12%);
}

.grids-info img {
  width: 100%;
  padding: 15px;
  display: block;
}

.card-body {
  flex: 1 1 auto;
  padding: 0;
  text-align: center;
}

.pro-info {
  padding: 15px;
}

.grids h6.date i,
.grids a.post i {
  color: #f8b34b;
}

.grids-info h4 a {
  font-size: 1.3rem;
  color: var(--heading-color);
  display: block;
  font-weight: 500;
  margin-bottom: 15px;
}

.grids h6.date,
.grids a.post {
  font-size: 15px;
  color: var(--font-color);
  font-weight: 500;
}

.single-price {
  color: #607D8B;
  font-size: 18px;
  font-weight: lighter;
  margin-bottom: 25px;
}

/*--responsive media-quries--*/
@media (max-width: 768px) {
  .grids-info h4 a {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .grids-info h4 a {
    font-size: 22px;
    line-height: 30px;
  }
}


/*========================
  action btn
===========================*/
.action-area {
  width: 100%;
  padding: 0 15px;
  bottom: 15px;
  position: absolute;
}

.action-btn {
  display: inline-block;
  width: 50%;
  float: left;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: #ECECEC;
  border: none;
  padding: .5rem;
  font-size: .9rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border-right: 1px solid #FFFFFF;
}

.action-btn:hover {
  color: #fff;
  background-color: #f54748;
}

.action-btn a:hover {
  color: #fff;
}

.action-btn-check:focus+.action-btn,
.action-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


@media (prefers-reduced-motion: reduce) {
  .action-btn {
    transition: none;
  }
}


/*==============================================================
	instructions 
==============================================================*/
.main_content img {
  width: auto;
  max-width: 100%;
  height: auto;
}

/*======================================== 
     Pay
==========================================*/
.pay {
  width: 15%;
  float: left;
  margin: 1rem 2% 0 0;
  text-align: center;
}

.pay img {
  width: 100%;
  height: auto;
  border: 1px solid #D3D3D3;
}

@media (max-width: 600px) {
  .pay {
    width: 30%;
    margin: 1rem 3% 0 0;
  }
}

@media (max-width: 480px) {
  .pay {
    width: 45%;
    margin: 1rem 5% 0 0;
  }
}
