/*! 
 * jQuery Smart Cart v3.x
 * The smart interactive jQuery Shopping Cart plugin with PayPal payment support
 * http://www.techlaboratory.net/smartcart
 *
 * Created by Dipu Raj
 * http://dipuraj.me
 *
 * Licensed under the terms of the MIT License
 * https://github.com/techlab/SmartCart/blob/master/LICENSE
 */

.sc-cart-item-list {
    min-height: 50px;
}

.sc-cart-remove {
    background: transparent;
    border: none;
    font-size: 20px;
    position: absolute;
    top: 0;
    right: 0;
}

.sc-cart-remove:hover {
    color: red;
}

.sc-cart-empty-msg {
    color: #999;
    margin: 0;
    padding: 10px;
    text-align: center;
}

.sc-cart-item-qty {
    width: 55px;
    border-radius: 3px;
    font-size: 12px;
    padding: 4px 0 3px 6px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    -webkit-transition: border-color 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s;
    transition: border-color 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s;
}

.sc-cart-item-summary {
    text-align: right;
    margin-top: 5px;
    padding-top: 5px;
}

.sc-cart-summary {
    text-align: right;
    font-size: 1.5em;
}

.sc-cart-subtotal {
}

.sc-cart-toolbar {
    margin-top: 10px;
    text-align: right;
}

.sc-cart-toolbar button {
    margin-left: 5px;
}

.sc-cart-toolbar button.disabled img {
    opacity: .5;
}

.sc-cart-item img {
    margin-right: 10px;
    width: 60px;
}

.sc-highlight {
    -webkit-animation: highlight 1s;
    animation: highlight 1s;
}

@keyframes highlight {
    from {
        background: #faebcc;
    }

    to {
        background: none;
    }
}

@-webkit-keyframes highlight {
    from {
        background: #faebcc;
    }

    to {
        background: none;
    }
}

.sc-product-item {
    position: relative;
}

.sc-product-item:after, .sc-product-item:before {
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.sc-added-item {
    border-color: #5cb85c;
}

.sc-added-item:after {
    content: "\2713 ";
    display: inline-block;
    position: absolute;
    top: 0;
    right: 4px;
    z-index: 99;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

.sc-added-item:before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 98;
    top: 0;
    right: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
    border-color: rgba(255,255,255,0) #5cb85c rgba(255,255,255,0) rgba(255,255,255,0);
}

.sc-button-checkout-default {
}

.sc-button-checkout-paypal {
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 170px;
    height: 32px;
}

/* Header cart uses the original template cart markup and styles. */
.sc-theme-header {
    border: 0;
    box-shadow: none;
    margin: 0;
}

.sc-theme-header .sc-cart-item-list {
    max-height: 300px;
    min-height: 0;
    overflow-y: auto;
}

.sc-theme-header .sc-cart-item {
    border: 0;
    border-radius: 0;
    padding: 15px 0;
}

.sc-theme-header .sc-cart-item + .sc-cart-item,
.sc-theme-header .sc-header-toolbar {
    border-top: 1px solid #e5e5e5;
}

.sc-theme-header .sc-header-toolbar {
    padding-top: 15px;
}

.sc-theme-header .shop-cart-btn {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 12px;
}

.sc-theme-header .shop-cart-btn a,
.sc-theme-header .shop-cart-btn button {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 28px;
    padding: 5px 10px;
    text-transform: none;
}

.sc-theme-header .shop-cart-btn a:hover,
.sc-theme-header .shop-cart-btn button:hover {
    background: #12a4dd;
    border-color: #12a4dd;
    color: #fff;
}

.sc-theme-header .sc-cart-empty-msg {
    padding: 15px 0;
}

.sc-theme-header .shop-cart-img img {
    height: 70px;
    margin: 0;
    object-fit: contain;
    width: 70px;
}

.sc-theme-header .sc-cart-remove {
    background: #333;
    color: #fff;
    height: 18px;
    line-height: 16px;
    padding: 0;
    right: 0;
    top: 0;
    width: 18px;
}

.header-smartcart-shell {
    padding: 0 !important;
}

.header-smartcart-shell form {
    margin: 0;
}

.checkout-smartcart-wrap .sc-cart-item-list {
    max-height: none;
}

.checkout-smartcart-wrap .sc-cart-item {
    background: #fff;
}

.checkout-smartcart-wrap .sc-cart-heading {
    font-size: 20px;
    font-weight: 600;
}

/* Compact order form and locale-safe Turkish labels. */
.checkout-area form.sepet-order-form {
    margin-bottom: 30px;
    padding: 20px 20px 25px;
}

.sepet-order-form .checkout-form-list {
    margin-bottom: 14px !important;
}

.sepet-order-form .checkbox-form h3 {
    margin-bottom: 14px;
}

.sepet-order-form .sepet-recaptcha {
    margin-top: 4px;
}

.sepet-order-form .your-order h3,
.sepet-order-form .order-button-payment input,
.sc-theme-header .shop-cart-btn a,
.sc-theme-header .shop-cart-btn button {
    text-transform: none;
}

/* Product listing actions */
body .single-product-area .gridview .product-hidden .product-card-actions {
    align-items: center !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 6px !important;
    margin-bottom: 15px !important;
    overflow: visible !important;
    width: 100% !important;
}

body .single-product-area .gridview .product-hidden .product-card-actions > a {
    display: block !important;
    flex: 1 1 0 !important;
    float: none !important;
    font-size: 13px !important;
    margin: 0 !important;
    min-width: 0 !important;
    padding: 0 6px !important;
    white-space: nowrap !important;
    width: 0 !important;
}

body .single-product-area .gridview .product-hidden .product-card-actions > a.product-list-add-cart,
body .single-product-area .gridview .product-hidden .product-card-actions > a.product-list-add-cart:link,
body .single-product-area .gridview .product-hidden .product-card-actions > a.product-list-add-cart:visited {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

body .single-product-area .gridview .product-hidden .product-card-actions > a.product-list-add-cart:hover,
body .single-product-area .gridview .product-hidden .product-card-actions > a.product-list-add-cart:focus {
    background: #b92332 !important;
    border-color: #b92332 !important;
    color: #fff !important;
}
