@charset "UTF-8";
.formtable {
  font-family: "Noto Sans TC", sans-serif;
  color: #1A1A1A;
  letter-spacing: 0.05em;
}

.formtable input, .formtable select, .formtable textarea {
  background: white;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 1px solid #D8D8D8;
  width: 100%;
  border-radius: 8px;
  font-family: "Noto Sans TC", sans-serif;
  color: #1A1A1A;
  font-weight: 400;
  line-height: 1.5;
  vertical-align: middle;
  padding: 1em 1.1em;
}

@media all and (max-width: 575px) {
  .formtable input, .formtable select, .formtable textarea {
    font-size: 0.875rem;
  }
}

@media all and (min-width: 576px) {
  .formtable input, .formtable select, .formtable textarea {
    font-size: 1rem;
  }
}

.formtable input:focus, .formtable select:focus, .formtable textarea:focus {
  outline: none;
}

.formtable ::-webkit-input-placeholder {
  color: #BFBFBF;
  font-family: "Noto Sans TC", sans-serif;
}

.formtable :-moz-placeholder {
  color: #BFBFBF;
  font-family: "Noto Sans TC", sans-serif;
}

.formtable ::-moz-placeholder {
  color: #BFBFBF;
  font-family: "Noto Sans TC", sans-serif;
}

.formtable :-ms-input-placeholder {
  color: #BFBFBF;
  font-family: "Noto Sans TC", sans-serif;
}

.formtable label {
  position: relative;
  display: block;
  min-width: 6em;
  margin-bottom: 0.5em;
}

.formtable label i {
  color: #F7AE21;
}

.formtable .check_radi {
  width: auto;
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding-left: 45px;
  margin-right: 48px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.formtable .check_radi input[type="checkbox"], .formtable .check_radi input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
}

.formtable .check_radi .boxmark {
  position: absolute;
  top: 50%;
  left: 0%;
  height: 32px;
  width: 32px;
  border: 1px solid #777;
  border-radius: 99em;
}

@media all and (max-width: 575px) {
  .formtable .check_radi .boxmark {
    -webkit-transform: translate(0%, -50%) scale(0.7);
            transform: translate(0%, -50%) scale(0.7);
    -webkit-transform-origin: left;
            transform-origin: left;
  }
}

@media all and (min-width: 576px) {
  .formtable .check_radi .boxmark {
    -webkit-transform: translate(0%, -50%);
            transform: translate(0%, -50%);
  }
}

.formtable .check_radi .boxmark:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: none;
  width: 20px;
  height: 20px;
  background: #1A1A1A;
  border-radius: 99em;
}

.formtable .check_radi input:checked ~ .boxmark:after {
  display: block;
}

.formtable .check_radi .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  height: 20px;
  width: 20px;
  border: 1px solid #d2d2d2;
}

@media all and (max-width: 575px) {
  .formtable .check_radi .checkmark {
    -webkit-transform: translateY(-50%) scale(0.8);
            transform: translateY(-50%) scale(0.8);
    -webkit-transform-origin: left;
            transform-origin: left;
  }
}

@media all and (min-width: 576px) {
  .formtable .check_radi .checkmark {
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
}

.formtable .check_radi .checkmark:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 3px;
  display: none;
  width: 20px;
  height: 14px;
  background: url("../images/agree_yes.png") no-repeat center/contain;
}

.formtable .check_radi input:checked ~ .checkmark:after {
  display: block;
}

.formtable .form-group {
  margin-bottom: 1em;
  padding: 0 20px;
  margin-bottom: 24px;
}

.formtable .with-errors input, .formtable .with-errors textarea {
  border-color: red;
  color: red;
}

.formtable .with-errors .help-block {
  margin-top: 0.5em;
  color: red;
  font-weight: 500;
}

@media all and (max-width: 575px) {
  .formtable .with-errors .help-block {
    font-size: 0.75rem;
  }
}

@media all and (min-width: 576px) {
  .formtable .with-errors .help-block {
    font-size: 0.875rem;
  }
}

@media all and (max-width: 575px) {
  .formtable .check_radi {
    padding-left: 30px;
    margin-right: 24px;
  }
}

@media all and (max-width: 768px) {
  .formtable input, .formtable select, .formtable textarea {
    padding: 0.65em 1em;
  }
}

@media all and (min-width: 991px) {
  .formtable .form-group.w50 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 49%;
            flex: 0 0 49%;
    width: 49%;
  }
  .formtable .form-group:not(.w50) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    width: 100%;
  }
}

.page {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}

@media all and (max-width: 575px) {
  .page {
    font-size: 0.875rem;
  }
}

@media all and (min-width: 576px) {
  .page {
    font-size: 0.875rem;
  }
}

.page dt, .page dd {
  width: 56px;
  height: 56px;
  position: relative;
  margin: 0 10px;
}

.page dt:before, .page dd:before {
  content: "";
  width: 56px;
  height: 56px;
  background-color: #1A1A1A;
  border-radius: 99em;
  position: absolute;
  top: 4px;
  left: 4px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  z-index: 1;
}

.page a {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  color: #1A1A1A;
  font-weight: 400;
  line-height: 2;
  border-radius: 99em;
  border: 1px solid #1A1A1A;
  line-height: 56px;
  background-color: white;
}

@media all and (max-width: 575px) {
  .page a {
    font-size: 0.75rem;
  }
}

@media all and (min-width: 576px) {
  .page a {
    font-size: 1rem;
  }
}

.page .svg {
  fill: #1A1A1A;
  -webkit-transition: fill 0.6s;
  transition: fill 0.6s;
}

.page .active a {
  color: white;
  background-color: #F7AE21;
}

.page .active::before {
  top: 0;
  left: 0;
}

@media all and (max-width: 575px) {
  .page dd {
    margin: 0 5px;
  }
  .page dt, .page dd, .page dt:before, .page dd:before {
    width: 40px;
    height: 40px;
  }
  .page dt:before, .page dd:before {
    left: 2px;
    top: 2px;
  }
  .page dt a {
    padding-top: 2px;
  }
  .page a {
    width: 40px;
    line-height: 40px;
  }
  .page .svg {
    width: 6px;
  }
}

@media all and (min-width: 769px) {
  .page dd:hover:before, .page dt:hover:before {
    top: 0;
    left: 0;
  }
  .page a:hover {
    background-color: #F7AE21;
    color: white;
  }
  .page a:hover .svg {
    fill: white;
  }
}

.bdradius {
  margin-bottom: 16px;
}

.cartlist .tag {
  display: inline-block;
  line-height: 32px;
  border-radius: 99em;
  border: 1px solid #F7AE21;
  padding: 0px 16px;
  margin: 8px 0;
}

@media all and (max-width: 575px) {
  .cartlist .tag {
    font-size: 0.75rem;
  }
}

@media all and (min-width: 576px) {
  .cartlist .tag {
    font-size: 0.875rem;
  }
}

.cartlist ul span {
  display: block;
}

.total-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.total-wrap ul {
  max-width: 492px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 80%;
          flex: 0 0 80%;
  margin-top: 24px;
}

.total-wrap li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  line-height: 2em;
  margin-bottom: 1em;
}

.total-wrap li i {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 4em;
          flex: 0 0 4em;
  color: #777;
}

@media all and (max-width: 575px) {
  .total-wrap li i {
    font-size: 0.875rem;
  }
}

@media all and (min-width: 576px) {
  .total-wrap li i {
    font-size: 1.125rem;
  }
}

@media all and (max-width: 575px) {
  .total-wrap li span {
    font-size: 0.875rem;
  }
}

@media all and (min-width: 576px) {
  .total-wrap li span {
    font-size: 1rem;
  }
}

.total-wrap li:nth-child(3) {
  border-top: 1px solid #d8d8d8;
  margin-top: 1em;
  padding-top: 1em;
}

@media all and (max-width: 575px) {
  .total-wrap li:nth-child(3) span {
    font-size: 0.875rem;
  }
}

@media all and (min-width: 576px) {
  .total-wrap li:nth-child(3) span {
    font-size: 1.375rem;
  }
}

.total-wrap li:nth-child(3) span {
  color: #FF2B2B;
  font-weight: 600;
}

@media all and (max-width: 575px) {
  .total-wrap li:nth-child(3) span {
    font-size: 1.125rem;
  }
}

@media all and (min-width: 576px) {
  .total-wrap li:nth-child(3) span {
    font-size: 1.75rem;
  }
}

.formtable .form-group {
  padding: 0;
}

.formtable .form-group:last-child {
  margin-bottom: 0;
}

@media all and (max-width: 990px) {
  .ammount {
    max-width: 150px;
  }
  .ammount input {
    height: 40px;
  }
  .delbtn {
    background-color: #F6F6F6;
    color: #777;
    font-size: 0.8125rem;
    line-height: 40px;
    width: 100%;
    text-align: center;
  }
  .delbtn::after {
    content: "刪除商品";
    margin-left: 1em;
  }
  .delbtn .svg {
    vertical-align: -10px;
  }
  .btn.yel {
    margin-top: 40px;
  }
  .cartlist ul {
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .cartlist ul:last-child {
    margin-bottom: 0;
  }
  .cartlist h3 {
    margin-bottom: 24px;
  }
  .cartlist h3 + ul {
    display: none;
  }
  .cartlist li {
    padding: 6px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .cartlist li > div {
    text-align: right;
  }
  .cartlist .tag {
    line-height: 32px;
    padding: 0 10px;
  }
  .cartlist li:nth-child(1) img {
    border: 1px solid #d8d8d8;
    border-radius: 4px;
  }
  .cartlist li:nth-child(2) {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .cartlist li:before {
    color: #777;
    font-size: 0.875rem;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 4em;
            flex: 0 0 4em;
    max-width: 4em;
  }
  .cartlist li:nth-child(2):before {
    content: '品名';
  }
  .cartlist li:nth-child(3):before {
    content: '單價';
  }
  .cartlist li:nth-child(4):before {
    content: '數量';
  }
  .cartlist li:nth-child(5):before {
    content: '小計';
  }
}

@media all and (min-width: 769px) and (max-width: 990px) {
  .btn.yel {
    margin-top: 80px;
  }
}

@media all and (min-width: 991px) {
  .ammount {
    max-width: 100px;
    margin: 0 auto;
  }
  .delbtn {
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .delbtn:hover .svg {
    stroke: #F7AE21;
  }
  .btn.yel {
    margin-top: 80px;
  }
  .cartlist ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px;
    padding-right: 70px;
    position: relative;
  }
  .cartlist ul.thead {
    border-bottom: 1px solid #d8d8d8;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .cartlist ul:last-child {
    border-bottom: 1px solid #d8d8d8;
  }
  .cartlist li:nth-child(1) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 18%;
            flex: 0 0 18%;
    max-width: 160px;
  }
  .cartlist li:nth-child(1) img {
    border: 1px solid #d8d8d8;
    border-radius: 8px;
  }
  .cartlist li:nth-child(2) {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding-left: 24px;
    padding-right: 24px;
  }
  .cartlist li:nth-child(3) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 14%;
            flex: 0 0 14%;
    min-width: 100px;
    text-align: center;
  }
  .cartlist li:nth-child(4) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 16%;
            flex: 0 0 16%;
    text-align: center;
  }
  .cartlist li:nth-child(5) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 10%;
            flex: 0 0 10%;
    text-align: right;
  }
  .formtable {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@media all and (min-width: 769px) {
  .bdradius {
    padding: 80px 20px;
    margin: 0 auto 16px;
  }
}
/*# sourceMappingURL=cart.css.map */