﻿
.productBuybtn {

}
.product__image, .variant-image {
    margin: 0 !important;
}
.product__buy, .button, .btn {
    /*    background: #8fc400 none repeat scroll 0 0;
        border: medium none;
        border-radius: 3px;
        color: white !important;
        display: inline-block;
        font-size: 16px;
        font-weight: normal;
        padding: 10px;
        text-decoration: none;
        text-shadow: none;
        transition: all 150ms ease-in-out 0s;*/
}
.product__buy:hover, .button:hover, .btn:hover {
    /*    background: #6aa74c none repeat scroll 0 0;
        text-decoration: none;
        text-shadow: none;*/
}
.btn--cart-checkout {
    cursor: pointer;
    text-align: center;
    width: 100%;
    background-color: #8fc400;
    color:#fff;
}

input.btn--cart-checkout:focus {
    color:#fff;
}


/* buy now button */

.buy-button.js-prevent-cart-listener{
  background-color: #8fc400;
  
  /*底圖顏色漸變消失
  transition: all 0.3s ease-in-out 0s;
  box-shadow: 4px 8px 0 0 #f2f2f2;
  position: relative;
  */
}

.buy-button.js-prevent-cart-listener:hover {
    background-color: #000;
    
	/*底圖顏色漸變出現
	transition: all 0.5s linear 0s;
	box-shadow: 2px 4px 0 0 #cccccc;
	top:4px;
	left:1px;
	*/
}


/* enquire now button */
.enquire .add-to-cart.button.nomargin.btn-full-width {
    background-color: #e37526;

      /*底圖顏色漸變消失
      transition: all 0.3s ease-in-out 0s;
	  box-shadow: 4px 8px 0 0 #f2f2f2;
	  position: relative;
	  */
}

.enquire .add-to-cart.button.nomargin.btn-full-width:hover {
    background-color: #000;

	/*底圖顏色漸變出現
	transition: all 0.5s linear 0s;
	box-shadow: 2px 4px 0 0 #cccccc;
	top:4px;
	left:1px;
	*/
}




.product .variant-title, .product .variant-price {
    margin: 0 0 10px !important;
}
.variant-selectors {
    margin-bottom: 20px;
}
.variant-selectors select {
    width: 100%;
}
.cart {
    background: white none repeat scroll 0 0;
    border-radius: 1px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
    height: 100%;
    max-width: 350px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: box-shadow 0.2s ease-out 0s, transform 0.2s ease-out 0s;
    width: 100%;
    text-align: left;
     z-index: 9999;
}
.cart.js-active {
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1);
    transform: translateX(0px);
}
.cart-section {
    padding: 20px;
    position: relative;
}
.cart-section--top {
    z-index: 5;
}
h2.cart-title {
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 0;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn--close {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    color: #999;
    cursor: pointer;
    font-size: 35px;
    position: absolute;
    right: 9px;
    top: 8px;
    transition: transform 100ms ease 0s;
}
.cart-form {
    height: 100%;
    padding: 70px 0 140px;
    position: absolute;
    top: 0;
    width: 100%;
}
.cart-item-container {
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 400px;
    perspective-origin: 50% 0;
    position: relative;
}
.cart-item {
    backface-visibility: visible;
    margin-bottom: 20px;
    min-height: 65px;
    opacity: 1;
    overflow: hidden;
    position: relative;
    transition: opacity 0.2s ease-in-out 0s;
}
.cart-item.js-hidden {
    opacity: 0;
}
.cart-item.js-working::after {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}
.cart-item__img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 3px;
    height: 65px;
    position: absolute;
    width: 65px;
}
.cart-item__content {
    padding-left: 75px;
    width: 100%;
}
.cart-item__content-row {
    margin-bottom: 5px;
}
.cart-item__variant-title {
    color: #767676;
    float: right;
    font-size: 11px;
    font-weight: bold;
    line-height: 17px;
}
.cart-item__quantity-container {
    border: 1px solid #767676;
    border-radius: 3px;
    float: left;
}
.quantity-decrement, .quantity-increment {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    box-shadow: none;
    color: #767676;
    cursor: pointer;
    display: block;
    float: left;
    font-family: monospace;
    font-size: 18px;
    height: 21px;
    line-height: 16px;
    padding: 0;
    text-align: center;
    width: 25px;
}
.cart-item__quantity {
    -moz-appearance: textfield;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: transparent none repeat scroll 0 0;
    border-color: -moz-use-text-color #767676;
    border-image: none;
    border-radius: 0;
    border-style: none solid;
    border-width: medium 1px;
    color: black;
    display: block;
    float: left;
    font-size: inherit;
    height: 21px;
    padding: 0;
    text-align: center;
    width: 38px;
}
.cart-item__price {
    float: right;
    font-weight: bold;
    line-height: 23px;
}

.cart-bottom {
    border-top: 1px solid #e5e5e5;
    bottom: 0;
    position: fixed;
    width: 100%;
    z-index: 99999;
}

.cart-info {
    padding: 15px 20px 10px;
}
.cart-info__total {
    float: left;
    text-transform: uppercase;
}
.cart-info__small {
    font-size: 11px;
}
.cart-info__pricing {
    float: right;
}
.cart-discount-notice {
    margin-bottom: 10px;
}
.cart-actions-container {
    padding-top: 5px;
}
.pricing {
    color: black;
    font-size: 16px;
    margin-left: 5px;
}

.visuallyhidden{
    display:none;
}

.cart-item__variant-title{
    display: none;
}

.cartbtn:hover {
    cursor: pointer;
}
.cartbtn {
    max-width: 51px;
    min-width: 51px;
    position: fixed;
    right: 0;
    top: 60%;
    display: none;
    background: #8fc400 none repeat scroll 0 0;
    border: medium none;
    border-radius: 3px;
    color: white !important;
    font-size: 16px;
    font-weight: normal;
    padding: 10px;
    text-decoration: none;
    text-shadow: none;
    transition: all 150ms ease-in-out 0s;
}

.btn__counter {
    display: block;
    margin-bottom: 10px;
}

.cartbtn svg{
    width:20px;
    height:20px;
}

.cartbtn.js-active {
    display: block;
}

