input {
    -webkit-appearance: textfield;
    margin: 0;
}

.shopify-buy-button {
    margin-bottom: 50px;
}
.shopify-buy-button .product-note {
    font-size:0.9em;
    margin-bottom: 20px;
}

}
.hide {
    display: none;
}

.visuallyhidden {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


.btn--cart-tab {
    padding: 5px 11px;
    border-radius: 3px 0 0 3px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translate(100%, -50%);
    -webkit-transform: translate(100%, -50%);
    opacity: 0;
    min-width: inherit;
    width: auto;
    height: auto;
    z-index: 2;
}
.btn--cart-tab i {
    font-size: 20px;
}

.btn--cart-tab.js-active {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    opacity: 1;
}

.btn__counter {
    display: block;
    margin: 0 auto 10px auto;
    font-size: 18px;
}

.icon-cart--side {
    height: 20px;
    width: 20px;
}



/**************** CART **************/

.cart {
    position: fixed;
    box-sizing: border-box;
    width: 100%;
    max-width: 350px;
    height: 100%;
    right: 0;
    top: 0;
    z-index: 10000;
    background: white;
    border-radius: 1px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.cart.js-active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.cart.js-active>* {
    box-sizing: border-box;
}

.cart-section {
    position: relative;
    padding: 20px;
}

.cart-section--top {
    z-index: 5;
}

.cart-title {
    color: #767676;
    display: inline-block;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 90%;
}

.btn--close {
    position: absolute;
    right: 9px;
    top: 8px;
    font-size: 35px;
    color: #767676;
    border: none;
    background: transparent;
    transition: transform 100ms ease;
    cursor: pointer;
}

.btn--close i {
	font-size: 24px;
}

.btn--close:hover {
    transform: scale(1.2);
    color: dimgray;
}

.cart-form {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    padding: 70px 0 225px 0;
}

.cart-item-container {
    height: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.cart-item {
    margin-bottom: 20px;
    overflow: hidden;
    backface-visibility: visible;
    min-height: 65px;
    position: relative;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.cart-item.js-hidden {
    opacity: 0;
}

.cart-item.js-working:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.cart-item__img {
    width: 65px;
    height: 65px;
    border-radius: 3px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
}

.cart-item__content {
    width: 100%;
    padding-left: 75px;
    box-sizing: border-box;
}

.cart-item__content-row {
    margin-bottom: 5px;
}

.cart-item__variant-title {
    float: right;
    font-weight: bold;
    font-size: 11px;
    line-height: 17px;
    color: #767676;
}

.cart-item__quantity-container {
    border: 1px solid #767676;
    float: left;
    border-radius: 3px;
}

.quantity-decrement,
.quantity-increment {
    color: #767676;
    display: block;
    float: left;
    height: 21px;
    line-height: 16px;
    font-family: monospace;
    width: 25px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
}

.cart-item__quantity {
    color: black;
    width: 38px;
    height: 21px;
    font-size: inherit;
    border: none;
    text-align: center;
    -moz-appearance: textfield;
    background: transparent;
    border-left: 1px solid #767676;
    border-right: 1px solid #767676;
    display: block;
    float: left;
    padding: 0;
    border-radius: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item__price {
    line-height: 23px;
    float: right;
    font-weight: bold;
}

.cart-bottom {
    border-top: 1px solid #a5a5a5;
}

.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 {
    color: #767676;
    margin-bottom: 10px;
}

.cart-actions-container {
    padding-top: 5px;
}

.pricing {
    margin-left: 5px;
    font-size: 16px;
    color: black;
}



/**************** PRODUCT DETAILS **************/

.product {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}

.product-details {
    box-sizing: border-box;
    padding: 0px 20px;
}

.variant-price,
.variant-title {
    font-size: 1.4em;
}
.variant-price,
.variant-title,
.variant-price .old-price {
    color: #555;
}

.variant-price.new-price {
    color:#e65336;
}


.pointer {
    cursor: pointer;
}


@media (max-width: 1024px) {
    .product {
        width: 50%;
    }

    .product-modal {
        width: 90%;
    }

    .cart {
        max-width: auto;
        width: 50%;
    }
}

@media (max-width: 767px) {
    .product {
        width: 100%;
    }

    .add-button {
        width: 100%;
        left: 0;
    }

    .cart {
        width: 75%;
    }
}