* {
  outline: none;
}

body{
  animation: delayShow 2s forwards;
}

@keyframes delayShow{
  0% { opacity: 0;}
  50%{ opacity: 0;}
  100% {opacity: 1;}
}


.material-icons {
  font-size: 44px;
  margin-right: 4px;
}

.hide, .webview .webview-disable {
  display: none;
}

#list-itemList {
  display: inline-block;
}

.contact-section{
  overflow: overlay;
  height: 100vh;
}

.items .item {
  position: relative;
}

.items .item .img {
  width: 100%;
  vertical-align: top;
  overflow: hidden;
}

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

.items .item .img .pic {
  height: 100%;
  display: table-cell;
  border: none;
  vertical-align: top;
  overflow: hidden;
  text-align: center;
}

.items .item img {
  position: relative;
  z-index: 0;
  transition: all 0.25s linear;
}

.items .item:hover img {
  transform: scale(1.1);
}

.items .img {
  width: 300px;
}

.items .img .pic {
  width: 300px;
  height: 300px;
}

.items .img .pic img {
  width: 300px;
  height: 300px;
}

.cover-section {
  display: inline-block;
  text-align: center;
  margin-top: 85px;
  height: 85vh;
  /* max-width: 99vw; */
  max-width: 100%;
  width: 100%; /*不設定會不置中*/
  cursor: pointer;
  z-index: 999;
}

.grid {
  margin-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.grid .item {
  display: inline-block;
  width: 300px;
  margin: 0 5em 5em 5em;
  padding: 0 0 10px;
  border: 1px solid rgb(237, 237, 237);
  font-size: 12px;
  box-shadow: 5px 5px 6px #999;
  float: left;
}

.grid .item .img .pic {
  width: 300px;
}

.grid .item:hover {
  border: 1px solid rgb(255, 68, 0);
}

.grid .item.enddate{
  width: 300px;
}

.grid .item.enddate .pic img{
  width: 300px !important;
  height: 300px !important;
}

.grid .item.enddate .topic{
  font-size: 28px !important;
  margin: 6px 16px 16px !important;
  height: 70px !important;
}

.material-icons.alarms{
  font-size: 30px;
  color: #fff;
  line-height: 1.5;
  vertical-align: top;
}

.topic {
  font-weight: bold;
  font-size: 18px;
  overflow: auto;
  margin: 5px;
  height: 35px;
}

.content {
  height: 115px;
  overflow: auto;
  font-size: 14px;
  margin: 5px;
  text-align: left;
}

.item-pager {
  padding: 5px 45px;
  float: left;
  font-weight: bold;
}

.pager {
  display: inline-block;
  font-size: 20px;
  position: relative;
  top: 4px;
}

.clear {
  clear: both;
}

.zoomIn-background {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9;
}

.zoomIn-image {
  position: relative;
  top: 14.5vh;
  width: 70vh;
  height: 70vh;
  left: calc((100vw - 70vh) / 2);
  z-index: 10;
}

.zoomIn-image img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.zoomIn-image div:hover {
  background-color: blue;
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
}

.zoomIn-close {
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 40px;
  z-index: 2;
}

.zoomIn-prev {
  position: absolute;
  left: 0;
  top: 47%;
  height: 60px;
  width: 60px;
  z-index: 2;
}

.zoomIn-next {
  position: absolute;
  right: 0;
  top: 47%;
  height: 60px;
  width: 60px;
  z-index: 2;
}

.news-logo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('../img/news.gif');
  width: 130px;
  height: 40px;
  margin-left: -22px;
  margin-top: -9px;
}

.news-wrapper {
  margin-top: 60px;
  padding: 20px;
}

.news-page {
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid;
  border-radius: 10px;
  background: #ccc;
}

.product-image {
    width: 150px;
    height: 150px;
    display: inline-flex;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}

.product-image.mode-cover{
    background-size: cover;
}

.product-image.mode-contain{
    background-size: contain;
}

.product-image.mode-100{
    background-size: auto;
}

from-now{
  letter-spacing: 2px;
  font-size: 26px;
  font-weight: bold;
  background-color: black;
  color: white;
  width: 100%;
  display: inline-block;
  line-height: 1.7;
}

@font-face{
  font-family:'digital-clock-font';
  src: url('../font/digital-7.ttf');
}

from-now > div{
  display: inline-block;
  font-family:'digital-clock-font';
}

.show-search, .clear-search {
  display: inline-block;
  font-weight: bold;
  font-size: 18px;
}

.clear-search {
  padding: 0 8px;
  background-color: #f8f842;
  margin: 0 1.3em 0 1em;
  border-radius: 5% 7%;
  border: 1px solid;
  cursor: pointer;
}

.item-inner .bottom {
  height: 30px;
  width: 100%;
  display: inline-block;
}

.bottom .price {
  display: inline-block;
  width: 48%;
  padding: 10px 0;
  font-weight: bold;
  font-size: 16px;
  cursor: default;
  float: left;
}

.item-sold{
  height: 30px;
  vertical-align: top;
}

.item-sold-text{
  line-height: 30px;
  font-size: 18px;
  font-family:'digital-clock-font';
  display: inline-block;
  vertical-align: top;
}

.item-sold-num{
  display: inline-block;
  font-size: 26px;
  line-height: 28px;
  font-family:'digital-clock-font';
  vertical-align: top;
}

.bottom .price p {
  position: relative;
  top: 2px;
}

.bottom .buy {
  display: inline-block;
  width: 48%;
  height: 36px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  float: right;
}

.bottom .buy .btn {
  padding: 10px 0;
}

.bottom .buy-qty {
  z-index: 3;
  position: relative;
}

.bottom .buy-qty input {
  width: 54px;
  top: -34px;
  position: absolute;
  left: 39px;
  text-align: center;
}

.bottom .buy .qty {
  display: inline-block;
  position: absolute;
  top: -36px;
  left: 39px;
  width: 50%;
  font-size: 95%;
  padding: 10px 0;
}

.bottom .buy .minus {
  display: inline-block;
  position: absolute;
  top: -36px;
  left: 0;
  width: 25%;
  padding: 10px 0;
  background-color: #e87e7e;
}

.bottom .buy .add {
  display: inline-block;
  position: absolute;
  top: -36px;
  right: 0;
  width: 25%;
  padding: 10px 0;
}

.bottom .buy input.qtytext {
  position: absolute;
  width: 30px;
  top: -35px;
  left: 54px;
  text-align: right;
}

.bottom .selected.buy {
  color: transparent;
}

.clear {
  clear: both;
}

.no-scroll {
  overflow: hidden;
}

.btn {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.pay-method-header{
  font-size: 15px;
  margin: 20px 0;
}

.pay-method{
  display: inline-block;
  min-width: 150px;
  height: 40px;
  line-height: 40px;
  background-image: url('../img/checkbox.svg');
  background-position: -12px center;
  background-repeat: no-repeat;
  background-size: 40px;
  cursor: pointer;
  padding-left: 27px;
}

.pay-method.selected{
  background-image: url('../img/checkbox-selected.svg');
}

div.show-qr{
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
}

.red-bold{
  color: red;
  font-weight: bold;
}

img.show-qr{

}

.visa-image {
  background-image: url("../img/visa.jpg");
  background-size: cover;
  display: inline-block;
  width: 90px;
  height: 27px;
  float: left;
}

.footer-separator {
  height: 40px;
}

.contact_tc {
  margin: 10px 0;
}

.material-icons.ico-shopping-cart {
  font-size: 33px;
  padding-top: 5px;
}

.cart-item-count {
  position: absolute;
  top: 6px;
  right: 4px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 50%;
  display: inline-block;
  width: 17px;
  height: 17px;
  color: gold;
  background-color: rgba(0, 0, 255, 0.8);
  text-align: center;
}

/* loader */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: #fff;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3498db;

  -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #e74c3c;

  -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #f9c922;

  -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader-text {
  position: relative;
  top: 60%;
  line-height: 1.6;
  color: #000;
  text-align: center;
}

.page-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 99;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 20px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg); /* IE 9 */
    transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
  }
  100% {
    -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg); /* IE 9 */
    transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg); /* IE 9 */
    transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
  }
  100% {
    -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg); /* IE 9 */
    transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
  }
}

.btn.ng-animate {
  -webkit-animation: none 0s;
}

/* panel */
.panel {
  bottom: 36px;
  text-align: right;
  padding-right: 20px;
  background: rgba(0, 0, 0, 0);
  width: 100%;
  position: fixed;
  z-index: 999;
}

.panel-btn {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  display: inline-block;
  width: 80px;
  height: 30px;
  margin: 2px 5px;
  cursor: pointer;
  font-weight: bold;
  border: 2px solid rgb(30, 205, 151);
  -webkit-border-radius: 5px;
  border-radius: 5px;
  text-align: center;
  -o-text-overflow: clip;
  text-overflow: clip;
  letter-spacing: 1px;
}

.panel-btn[disabled], .panel-btn[disabled]:hover {
  color: #aaa;
  background-color: #666;
}

.return-btn{
  width: 120px !important;
  max-width: 30vw;
}

/* cart */
.buy-dialog {
  position: fixed;
  z-index: 5;
  top: 7%;
  bottom: 7%;
  left: 10%;
  right: 10%;
  padding: 20px 0 20px 20px;
  background-color: #ffffff;
  overflow: auto;
}

.cart-items {
  margin-top: 20px;
  display: inline-block;
  overflow: auto;
  height: 55vh;
  width: 100%;
}

.cart-item {
  display: inline-block;
  width: 100%;
  margin: 20px 0;
}

.cart-image-block {
  margin-right: 10px;
}

.cart-image-block, .cart-info-block {
  display: inline-block;
  vertical-align: top;
  height: 120px;
}

.cart-info-block {
  user-select: none;
  width: 130px;
}

.cart-property {
  display: inline-block;
  width: 130px;
}

.cart-image {
  width: 120px;
  height: 120px;
  background-repeat: no-repeat;
  background-position: center center;
}

.cart-image.mode-cover {
  background-size: cover;
}

.cart-image.mode-contain {
  background-size: contain;
}

.cart-image.mode-100{
  background-size: auto;
}

.cart-topic, .cart-qty, .cart-price, .cart-total-price {
  font-weight: bold;
  padding: 5px 0;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.cart-qty, .cart-price {
  display: inline-block;
  color: #4b4b4b;
}

.cart-qty div {
  display: inline-block;
}

.cart-qty-add, .cart-qty-minus {
  padding: 5px;
  width: 30px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  text-overflow: clip;
  letter-spacing: 1px;
  font-weight: bold;
  background-color: rgb(30, 205, 151);
  user-select: none;
}

.cart-qty-text {
  width: 50px;
}

.cart-date-group > div {
  width: 48%;
  display: inline-block;
}

.cart-panel {
  position: absolute;
  bottom: 20px;
  width: 50%;
}

.cart-panel-fb-message {
  padding: 10px 0;
  cursor: pointer;
  color: #00f;
}

.cart-page-div {
  margin-bottom: 10px;
}

.total-amount-div,.delivery-fee-div, .paypal-fee-div {
  font-size: 18px;
  font-weight: bold;
  text-align: right;
  margin: 10px 0;
}

.prettycheckbox {
  margin-top: 10px;
}

.ae-items, .ae-contact {
  display: inline-block;
  width: 55%;
  vertical-align: top;
}

.ae-items{
  margin-top: 40px;
}

.ae-contact {
  width: 40%;
}

.dialog-overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 4;
}

.fade.ng-hide {
  opacity: 0;
}

.fade.ng-hide-remove, .fade.ng-hide-add {
  display: block !important;
}

.fade.ng-hide-remove {
  transition: all linear 600ms;
}

.fade.ng-hide-add {
  transition: all linear 600ms;
}

.dg-topic {
  font-size: 30px;
  color: #4b4b4b;
  display: inline-block;
  border-bottom: 5px solid #4b4b4b;
  line-height: 1.5;
}

.terms p {
  padding: 5px 0;
  line-height: 1.5;
}

.terms-topic {
  padding: 5px 0;
  font-weight: bold;
}

/* item-detail */
.item-detail {
  position: fixed;
  top: 10vh;
  min-height: 25vw;
  left: 10vw;
  background: white;
  z-index: 5;
  padding: 20px 20px 20px 20px;
}

.item-detail h3 {
  font-weight: bold;
  font-size: 140%;
  border-bottom: 5px solid #4b4b4b;
  color: #4b4b4b;
  display: inline-block;
}

.item-detail > .item-detail-title {
  margin-bottom: 20px;
}

.item-detail-image {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
}

.big-image {
  width: 80vw;
  height: var(--big-image-height-tablet);
  display: inline-flex;
  background-repeat: no-repeat;
}

.item-detail-thumb{
  width: 20vw;
  display: inline-flex;
  flex-direction: column;
}

.thumb-image {
  width: 20vw;
  height: 20vw;
  background-position: center;
  background-repeat: no-repeat;
}

.big-image.mode-contain, .thumb-image.mode-contain{
  background-size: contain;
}

.big-image.mode-cover, .thumb-image.mode-cover{
  background-size: cover;
}

.big-image.mode-100, .thumb-image.mode-100{
  background-size: auto;
}

.item-detail-content-wrapper {
  max-height: 300px;
}

.item-detail-content {
  display: inline-block;
  font-family: sans-serif;
  height: 18vw;
  vertical-align: top;
  font-size: 120%;
  line-height: 1.5;
  overflow: auto;
}

.item-detail-info {
  width: 46vw;
  display: inline-block;
  vertical-align: top;
  padding: 10px 0 0 0;
}

.item-detail-topic, .item-detail-qty, .item-detail-price, .item-detail-total-price {
  font-weight: bold;
  padding: 5px 0;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  font-size: 140%;
}

.item-detail-qty{
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.item-detail-qty, .item-detail-price {
  display: inline-block;
  color: #4b4b4b;
}

.item-detail-qty div {
  display: inline-flex;
}

.item-detail-qty-add, .item-detail-qty-minus, .item-detail-qty-reset {
  padding: 5px;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  text-align: center;
  justify-content: center;
  cursor: pointer;
  text-overflow: clip;
  font-weight: bold;
  background-color: rgb(30, 205, 151);
  user-select: none;
}

.item-detail-qty-reset{
  width: 60px;
  font-size: 16px;
  padding: 8px;
  vertical-align: top;
}

.item-detail-back {
  display: inline-flex;
  position: absolute;
  font-size: 16px;
  box-sizing: border-box !important;
  width: auto !important;
  align-items: center;
  justify-content: center;
  height: 32px !important;
  line-height: 1 !important;
  padding: 0 10px;
  right: 0;
  top: 3px;
}

.social-share-toolbox {
  position: absolute;
  clear: both;
  top: 70px;
  right: 23px;
  display: inline-flex;
  width: 130px;
  height: 32px;
  cursor: pointer;
  background-image: url("//smartorder.company/sample3/img/share_btn.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
}

.social-share-toolbox .at-resp-share-element{
  position: absolute;
  right: 5px;
  top: 50px;
}

.social-share-toolbox .at-resp-share-element > div{
  display: flex;
  flex-direction: column;
}

.at-style-responsive .at-share-btn {
  padding: 5px;
}

.at-resp-share-element .at-share-btn {
  display: inline-block;
  margin: 0 2px 5px;
  padding: 5px;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
  text-transform: none;
  color: #fff;
  cursor: pointer;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  border: 0;
  font-family: helvetica neue, helvetica, arial, sans-serif;
  background-color: transparent;
}

.at-resp-share-element .at-share-btn .at-icon-wrapper {
  float: left;
}

a .at-icon-wrapper {
  cursor: pointer;
}

.at-icon-wrapper {
  display: inline-block;
  overflow: hidden;
}

svg {
  transform-origin: 50% 50% 0;
}

.at-resp-share-element .at-share-btn:focus { /* disable focus in mobile */
  -webkit-transform: translateY(0px) !important;
  transform: translateY(0px);
  color: #fff !important;
}

/* buy-record */

.buy-record {
  position: fixed;
  top: 10vh;
  left: 15vw;
  width: 100vw;
  height: calc(100dvh - 120px);
  background: white;
  z-index: 5;
  margin-top: 40px;
  padding: 20px;
  overflow-y: overlay;
  overflow-x: hidden;
}

.buy-record article {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

.login-input {
  width: 30%;
}

.login-input > div {
  padding: 5px;
}

.login-input-label {
  padding: 10px;
}

.buy-record-table {
  padding: 10px 0;
  margin-top: 10px;
}

.buy-record-table-body {
  background-color: #f5d6ad;
  height: 25vh;
  overflow: auto;
}

.buy-record-table > .buy-record-table-row {
  background-color: #89c5f9;
}

.buy-record-table-row {
  vertical-align: top;
  font-size: 1.1vw;
}

.buy-record-table-row:nth-child(even) {
  background-color: #faebd7;
}

.buy-record-table-row-1, .buy-record-table-row-2, .buy-record-table-row-3, .buy-record-table-row-4 {
  display: inline-block;
  padding: 10px;
  vertical-align: top;
}

.buy-record-table-row-1 {
  width: 170px;
}

.buy-record-table-row-2 {
  width: 110px;
}

.buy-record-table-row-3 {
  width: calc(100% - 404px);
}

.buy-record-table-row-4 {
  width: 100px;
  text-align: right;
}

.buy-record-table-row-5 {
  text-align: center;
  padding: 20px;
  font-size: 25px;
  width: 100%;
  background-color: #f5d6ad;
}

button.buy-record-fb-btn {
  width: 200px;
}

.red {
  color: #f00 !important;
  display: inline-block !important;
}

/* contact-us */
.contact-us-div md-select {
  display: inline-block;
  width: 150px;
}

/* input */
.label {
  padding: 20px 0;
}

.label > .valid {
  display: none;
}

input[type=text], input[type=number], input[type=tel], input[type=date], input[type=email], textarea {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  padding: 6px 10px;
  border: none;
  font: normal 18px/normal "Coda", Helvetica, sans-serif;
  color: rgba(0, 142, 198, 1);
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  background: rgba(255, 253, 232, 1);
  -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) inset;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) inset;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.66);
  -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  outline: none;
  width: 95%;
}

date-selector > md-select {
  display: inline-block;
  width: 27%;
  max-width: 100px;
}

time-selector {
  white-space: nowrap;
}

time-selector > md-select {
  display: inline-block;
  width: 27%;
  font-size: 15px;
  max-width: 100px;
}

.md-select-value > span:not(.md-select-icon) {
  text-align: center;
}

md-checkbox.red:not(.md-checked) .md-icon {
  border-color: #f00 !important;
}

textarea {
  height: 100px;
  resize: none;
}

input[type=text]:hover, textarea:hover {
  -webkit-box-shadow: 0 2px 2px 0 rgba(90, 90, 90, 0.2) inset;
  box-shadow: 0 2px 2px 0 rgba(90, 90, 90, 0.2) inset;
}

input[type=text]:focus, textarea:focus {
  background: rgba(232, 249, 255, 1);
}

input[type=text][disabled], textarea[disabled] {
  background: rgba(252, 252, 252, 1);
}

.md-calendar-day-header th {
  vertical-align: middle;

}

.mobile-inline-block {
  display: none;
}

.paypal-form, .paypal-form-2 {
  display: none;
}

md-dialog.no-button{
  padding: 30px;
  text-align: center;
}

md-dialog.no-button md-dialog-content{
  overflow: hidden;
}

.md-dialog-is-showing{
  max-height: none;
}

.original-price {
  text-decoration: line-through;
  font-weight: normal;
  color: #000;
  margin-right: 20px;
}

p > .original-price {
  margin-right: 10px;
}

md-dialog-content > h2.md-title {
  margin-bottom: 10px;
}

/* message */
section.message {
  position: fixed;
  top: 40%;
  left: 38%;
  width: 30%;
  height: 100px;
  background-color: #fff;
  z-index: 10;
}

div.message {
  text-align: center;
  display: inline-block;
  width: 100%;
  padding: 40px;
  font-weight: bold;
  font-size: 18px;
}

/* carousel */
ul[rn-carousel] {

}

ul[rn-carousel][slide_size="cover"] img{
  height: 100%;
  width: 100%;
}

.carousel-image {
  background-position: center top;
  background-size: cover;
}

.rn-carousel-indicator {
  position: relative;
  top: -30px;
}

ul[rn-carousel] img {
  visibility: hidden;
}

.whatsapp-button, .wechat-button, .pm-button, .phone_call-button{
  position: fixed;
  z-index: 10;
  bottom: 50px;
  right: 20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: fixed;
  background-size: 150%;
  background-position: center center;
  opacity: 0;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
}

.pm-button{
  opacity: .7;
  z-index: 11;
  background-image: url('//smartorder.company/sample3/img/pm_button.png');
  background-position: center center;
  background-repeat: no-repeat;
}

.phone_call-button{
  background-image: url('//smartorder.company/sample3/img/phone_call_button.jpg');
  background-size: contain;
}

.whatsapp-button{
  background-image: url('//smartorder.company/sample3/img/whatsapp.svg');
  background-size: 150%;
  background-color: #25D366;
}

.wechat-button{
  background-image: url('//smartorder.company/sample3/img/wechat_button.png');
  background-position: center;
  background-size: 50%;
  background-color: #fff;
  border: 3px solid #51c332;
}

.pm-open{
  opacity: 1;
}

.pm-1.pm-open{
  bottom: 150px;
}

.pm-2.pm-open{
  bottom: 250px;
}

.pm-3.pm-open{
  bottom: 350px;
}

@media screen and (max-width: 650px) {
  .item-pager, .item-action {
    float: none;
    text-align: center;
  }

  .zoomIn-image {
    top: calc((100vh - 100vw) / 2);
    width: 100vw;
    height: 100vw;
    left: 0;
  }

  .zoomIn-close, .zoomIn-next {
    right: 15px;
  }

  .addthis_inline_share_toolbox {
    width: 98px;
  }

  .at-resp-share-element .at-share-btn:hover { /* disable hover in mobile */
    -webkit-transform: translateY(0px) !important;
    transform: translateY(0px);
    color: #fff !important;
  }
}

@media only screen and (min-width: 1170px) {
  .category {
    cursor: default;
  }

}

@media only screen and (max-width: 16000px) {

    .desktop-only{
        display: none !important;
    }
    /* @media only screen and (max-width: 760px) { */
    .buy-dialog {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .dg-topic {
        font-size: 22px;
    }

    .ae-items, .ae-contact, .continue, .submit {
        display: none;
    }

    .mobile-block {
        display: block;
        width: 100%;
    }

    .mobile-inline-block {
        display: inline-block;
    }

    .cart-panel {
        width: 90%;
        position: static;
    }

    .cart-items{
        height: 68vh;
    }

    section.message {
        left: 10%;
        width: 80%;
    }

    .grid .item{
        width:150px;
        margin: 0 2em 2em 2em;
    }

    .items .img{
        width:150px;
    }
    .items .img .pic img{
        width: 150px;
        height: 150px;
    }

    .panel{
        bottom: 30px;
        text-align: center;
    }

    .footer-separator{
        height: 70px;
    }

    footer{
        font-size: 9px;
        cursor: pointer;
    }

    li>.item-inner>.topic{
        margin: 3px 8px 48px;
        padding: 0;
        font-size: 14px;
    }

    li>.item-inner>.bottom>.price{
        position: relative;
        top: -33px;
        width:100%;
    }

    li>.item-inner>.bottom>.buy{
        position: relative;
        top: -31px;
        width: 100%;
    }

    .panel-btn{
        width: 70px;
        height: 25px;
    }

    .item-detail, .buy-record{
        top: 50px;
        bottom: 0;
        left: 0;
        right: 0;
        height: cal(100dvh - 120px);
        overflow-y: overlay;
        overflow-x: hidden;
    }

    .thumb-image{
        width: 10vw;
        height: 10vw;
        display: inline-flex;
    }

    .item-detail-property{
        display: inline-block;
        vertical-align: top;
    }

    .item-detail-property .prop-name{
        display: inline-block;
        font-size: 18px;
        padding: 5px 0;
        width: 40vw;
        line-height: 39px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .item-detail-property md-select{
        display: inline-block;
        min-width: 25vw;
        vertical-align: top;
        margin: 10px 0 5px;
    }

    .item-detail-info{
        width: 100%;
    }

    .item-detail-content-wrapper{
        max-height: none;
    }
    .item-detail-content{
        height: auto;
    }

    .buy-record-table-row-1,.buy-record-table-row-2,
    .buy-record-table-row-3,.buy-record-table-row-4{
        padding:1.2vw;
        font-size: 12px;
    }
    .buy-record-table-row-1{
        width: 22vw;
    }

    .buy-record-table-row-2{
        width: 20vw;
    }

    .buy-record-table-row-3{
        width: 29vw;
    }

    .buy-record-table-row-4{
        width: 10vw;
    }

    .news-wrapper {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 415px) {
  .grid .item {
    width: 150px;
    margin: 0 1em 1em 1em;
  }
}

@media only screen and (max-width: 360px) {
  /* iphone */
  .grid .item {
    width: 130px;
    margin: 0 0.5em 0.5em 0.5em;
    float: none;
  }

  .show-search, .clear-search {
    font-size: 14px;
  }

  .clear-search {
    margin: 0 0 0 0.5em;
  }

  .items .img .pic img {
    width: 130px;
    height: 130px;
  }

  .item-pager {
    padding: 5px;
  }

  .bottom .buy .qty {
    top: -33px;
    left: 30px;
    font-size: 12px;
  }

  .bottom .buy .add {
    top: -35px;
  }

}

.whatsapp-circle{
  display: inline-flex;
  width: 30px;
  height: 30px;
  background-image: url('//smartorder.company/sample3/img/whatsapp.svg');
  background-size: 50px;
  background-position: center;
  border-radius: 50%;
}

::-webkit-scrollbar {
  -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
  width: 12px;
}

::-webkit-scrollbar:horizontal {
  height: 12px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .5);
  border-radius: 10px;
  border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #ffffff;
}

@media only screen and (max-width: 767px) {
  /* 這裡是只在手機直式顯示時才生效的樣式 */
  .item-detail-image{
    flex-direction: column;
    position: relative;
    left: -20px;
    top: -20px;
    width: 100vw;
  }

  .big-image{
    width: 100%;
    height: var(--big-image-height-mobile);
  }

  .item-detail-thumb{
    width: 100%;
    display: inline-flex;
    flex-direction: row;
  }

  .item-detail-content{
    font-size: 100%;
  }

  .social-share-toolbox{
    top: 45px;
    right: 4px;
  }

}

@media only screen and (min-width: 768px) and (max-width: 1024px){
  .social-share-toolbox{
    top: 4px;
    right: 160px;
  }

}

@media only screen and (min-width: 1025px){
  section.item-detail{
    display: flex;
    position: relative;
    flex-direction: row;
  }

  .item-detail-image, item-detail-info{
    width: 50%;
  }

  .item-detail-image{
    column-gap: 20px;
  }

  .item-detail-info{
    padding-left: 20px;
  }

  .social-share-toolbox{
    top: 45px;
    right: 4px;
  }
}