/*====================================
        CART HERO
====================================*/

.cart-hero{
    padding:130px 0 40px;
}

.cart-hero-content h1{

    font-size:52px;

    font-weight:800;

    margin-bottom:10px;

}

.cart-hero-content p{

    font-size:18px;

    color:#666;

} 

/*====================================
        CART LAYOUT
====================================*/

.cart-page{
    padding:20px 0 120px;
}

.cart-layout{

    display:grid;

    grid-template-columns:2fr 420px;

    gap:70px;

    align-items:start;

}

.cart-products{

    display:flex;

    flex-direction:column;

    gap:30px;

}
.order-summary{

    position:sticky;

    top:120px;

    background:#fff;

    border:1px solid #e8e8e8;

    border-radius:20px;

    padding:35px;

}
.order-summary h2{

    font-size:28px;

    margin-bottom:30px;

}
.summary-row,

.summary-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

}
.summary-row{

    margin-bottom:18px;

    color:#555;

}
.summary-total{

    margin-top:25px;

    font-size:22px;

    font-weight:700;

}
.order-summary hr{

    margin:30px 0;

    border:none;

    border-top:1px solid #ececec;

}
.checkout-button{

    width:100%;

    margin-top:35px;

    height:58px;

    border:none;

    border-radius:12px;

    background:#F26A21;

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}
.checkout-button:hover{

    background:#d95e1e;

}
.continue-shopping{

    margin-top:25px;

}
.continue-shopping a{

    text-decoration:none;

    color:#F26A21;

    font-weight:600;

}
.order-summary{

    position:sticky;
    top:120px;

}

/*====================================
        CHECKOUT TRUST
====================================*/

.checkout-trust{

    margin-top:24px;

    display:flex;

    flex-direction:column;

    gap:14px;

}

.trust-item{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:14px;

    color:#555;

}

.trust-item i{

    width:18px;

    color:var(--primary);

    font-size:15px;

}
.empty-cart-page h2{
    /* color: #F26A21; */
    letter-spacing: 0px;
}

.empty-cart-page {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* Shopping Cart Mobile */
@media (max-width: 768px) {
.cart-layout{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cart-products{
    width: 90%;
}
.order-summary{
    width: 100%;
}
.cart-hero {
    padding: 30px 0 40px;
}
}

/* =========================================
   TOTAL SAVINGS
========================================= */

.summary-savings {
    margin-top: -4px;
    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 700;

    color: #f56600;

    text-align: right;
}

.summary-savings:empty {
    display: none;
}

/* ==========================================
   GLOBAL CART DRAWER
========================================== */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease,
                visibility 0.35s ease;
    z-index: 9998;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;

    width: 420px;
    max-width: 100%;

    height: 100vh;

    background: #ffffff;

    display: flex;
    flex-direction: column;

    z-index: 9999;

    transition: right 0.35s ease;

    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
}


.cart-drawer.active {
    right: 0;
}


/* HEADER */

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px;

    border-bottom: 1px solid #eeeeee;
}

.cart-header h2 {
    margin: 0;

    font-size: 24px;
    font-weight: 700;
}

.cart-header button {
    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: #f5f5f5;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* BODY */

.cart-body {
    flex: 1;

    overflow-y: auto;

    padding: 20px 24px;
}


/* FOOTER */

.cart-footer {
    padding: 20px 24px 24px;

    border-top: 1px solid #eeeeee;

    background: #fff;
}

.cart-footer .subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;
}

.cart-footer button {
    width: 100%;

    min-height: 48px;

    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;
    font-weight: 600;
}

.view-cart-btn {
    background: #fff;

    border: 1px solid #222;

    margin-bottom: 12px;
}

.checkout-btn {
    background: #f26a21;

    color: #fff;

    border: 1px solid #f26a21;
}


/* EMPTY CART */

.empty-cart {
    min-height: 300px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.empty-cart i {
    font-size: 40px;

    margin-bottom: 20px;
}

.empty-cart h3 {
    margin-bottom: 8px;
}

.empty-cart p {
    color: #777;
}



/* =========================================================
   YUGA GLOBAL CART
   Cart Drawer + Cart Items
   ========================================================= */


/* =========================================================
   CART OVERLAY
   ========================================================= */

.cart-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 9998;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-drawer {
    position: fixed;

    top: 0;
    right: -420px;

    width: 420px;
    max-width: 100%;

    height: 100vh;

    background: #ffffff;

    display: flex;
    flex-direction: column;

    z-index: 9999;

    transition: right 0.35s ease;

    box-shadow:
        -10px 0 40px rgba(0, 0, 0, 0.12);
}

.cart-drawer.active {
    right: 0;
}


/* =========================================================
   CART HEADER
   ========================================================= */

.cart-header {
    height: 80px;

    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #eeeeee;

    flex-shrink: 0;
}

.cart-header h2 {
    margin: 0;

    font-size: 24px;
    font-weight: 700;

    color: #111111;
}

.cart-header button {
    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 16px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.cart-header button:hover {
    background: #eeeeee;

    transform: rotate(90deg);
}


/* =========================================================
   CART BODY
   ========================================================= */

.cart-body {
    flex: 1;

    overflow-y: auto;

    padding: 24px 20px;

    min-height: 0;
}


/* =========================================================
   CART ITEM
   ========================================================= */

.cart-item {
    display: grid;

    grid-template-columns: 72px 1fr auto;

    gap: 14px;

    width: 100%;

    padding-bottom: 24px;
    margin-bottom: 24px;

    border-bottom: 1px solid #eeeeee;
}


/* =========================================================
   CART ITEM IMAGE
   ========================================================= */

.cart-item-image {
    width: 72px;
    height: 88px;

    border-radius: 8px;

    overflow: hidden;

    background: #f5f5f5;

    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   CART ITEM INFORMATION
   ========================================================= */

.cart-item-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
}

.cart-item-name {
    margin: 0 0 5px;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 700;

    color: #111111;

    text-transform: uppercase;
}

.cart-item-meta {
    margin: 0 0 10px;

    font-size: 12px;

    color: #777777;
}


/* =========================================================
   QUANTITY CONTROLS
   ========================================================= */

.cart-item .quantity-controls,
.cart-item .qty-controls {
    display: flex;

    align-items: center;

    width: fit-content;

    height: 32px;

    border: 1px solid #dddddd;

    border-radius: 6px;

    overflow: hidden;
}

.cart-item .quantity-controls button,
.cart-item .qty-controls button {
    width: 32px;
    height: 32px;

    border: none;

    background: #ffffff;

    color: #111111;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
}

.cart-item .quantity-controls button:hover,
.cart-item .qty-controls button:hover {
    background: #f5f5f5;
}

.cart-item .quantity,
.cart-item .qty-value {
    min-width: 28px;

    text-align: center;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   CART ITEM PRICE
   ========================================================= */

.cart-item-price {
    text-align: right;

    white-space: nowrap;
}

.cart-item-price .current-price,
.cart-item-price .price {
    display: block;

    font-size: 15px;

    font-weight: 700;

    color: #111111;
}

.cart-item-price .original-price {
    display: inline-block;

    margin-top: 3px;

    font-size: 11px;

    color: #888888;

    text-decoration: line-through;
}

.cart-item-price .saving,
.cart-item-price .save {
    display: inline-block;

    margin-left: 4px;

    font-size: 11px;

    font-weight: 700;

    color: #f26a21;
}


/* =========================================================
   REMOVE ITEM
   ========================================================= */

.remove-item {
    margin-top: 8px;

    padding: 0;

    border: none;

    background: transparent;

    color: #888888;

    font-size: 11px;

    cursor: pointer;

    display: flex;
    align-items: center;

    gap: 5px;
}

.remove-item:hover {
    color: #111111;
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.empty-cart {
    min-height: 300px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px 20px;
}

.empty-cart i {
    font-size: 34px;

    margin-bottom: 18px;

    color: #111111;
}

.empty-cart h3 {
    margin: 0 0 8px;

    font-size: 20px;

    color: #111111;
}

.empty-cart p {
    margin: 0;

    font-size: 14px;

    color: #777777;
}


/* =========================================================
   CART FOOTER
   ========================================================= */

.cart-footer {
    padding: 20px;

    border-top: 1px solid #eeeeee;

    background: #ffffff;

    flex-shrink: 0;
}


/* =========================================================
   SUBTOTAL
   ========================================================= */

.cart-footer .subtotal {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 8px;
}

.cart-footer .subtotal span {
    font-size: 14px;

    color: #555555;
}

.cart-footer .subtotal strong {
    font-size: 16px;

    font-weight: 700;

    color: #111111;
}


/* =========================================================
   SAVINGS
   ========================================================= */

.cart-savings {
    margin-bottom: 16px;

    text-align: right;

    color: #f26a21;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   VIEW CART BUTTON
   ========================================================= */

.view-cart-btn {
    width: 100%;

    height: 48px;

    margin-bottom: 10px;

    border: 1px solid #111111;

    border-radius: 8px;

    background: #ffffff;

    color: #111111;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.view-cart-btn:hover {
    background: #111111;

    color: #ffffff;
}


/* =========================================================
   CHECKOUT BUTTON
   ========================================================= */

.checkout-btn {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 8px;

    background: #f26a21;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.checkout-btn:hover {
    background: #e55d16;

    transform: translateY(-1px);
}


/* =========================================================
   CART SCROLLBAR
   ========================================================= */

.cart-body::-webkit-scrollbar {
    width: 5px;
}

.cart-body::-webkit-scrollbar-track {
    background: transparent;
}

.cart-body::-webkit-scrollbar-thumb {
    background: #cccccc;

    border-radius: 10px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .cart-header {
        height: 70px;

        padding: 0 18px;
    }

    .cart-header h2 {
        font-size: 21px;
    }

    .cart-body {
        padding: 20px 16px;
    }

    .cart-footer {
        padding: 16px;
    }

    .cart-item {
        grid-template-columns: 64px 1fr auto;

        gap: 11px;
    }

    .cart-item-image {
        width: 64px;
        height: 78px;
    }

}

/* =========================================================
   YUGA WEAR — GLOBAL CART SYSTEM
   ========================================================= */


/* =========================================================
   CART OVERLAY
   ========================================================= */

.cart-overlay {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index: 9998;
}

.cart-overlay.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-drawer {

    position: fixed;

    top: 0;

    right: -420px;

    width: 420px;

    max-width: 100%;

    height: 100vh;

    background: #ffffff;

    display: flex;

    flex-direction: column;

    transition: right .4s ease;

    box-shadow:
        -15px 0 45px rgba(0, 0, 0, .15);

    z-index: 9999;
}

.cart-drawer.active {

    right: 0;
}


/* =========================================================
   CART HEADER
   ========================================================= */

.cart-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 24px;

    border-bottom: 1px solid #ececec;

    flex-shrink: 0;
}

.cart-header h2 {

    margin: 0;

    font-size: 24px;

    font-weight: 700;

    color: #111;
}

.cart-header button {

    width: 42px;

    height: 42px;

    border: none;

    background: #f6f6f6;

    border-radius: 50%;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.cart-header button:hover {

    background: #111;

    color: #fff;

    transform: rotate(90deg);
}


/* =========================================================
   CART BODY
   ========================================================= */

.cart-body {

    flex: 1;

    overflow-y: auto;

    padding: 25px;

    min-height: 0;
}


/* =========================================================
   CART ITEM
   ========================================================= */

.cart-item {

    display: flex;

    gap: 16px;

    padding: 22px 0;

    border-bottom: 1px solid #eeeeee;
}


/* =========================================================
   CART PRODUCT IMAGE
   ========================================================= */

.cart-item-image {

    width: 80px;

    height: 100px;

    flex-shrink: 0;

    border-radius: 10px;

    overflow: hidden;

    background: #f5f5f5;
}

.cart-item-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   CART ITEM DETAILS
   ========================================================= */

.cart-item-details {

    flex: 1;

    min-width: 0;
}

.cart-item-details h3 {

    margin: 0 0 5px;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: -0.2px;

    color: #111;
}

.cart-item-variant {

    margin: 0 0 14px;

    color: #777;

    font-size: 13px;
}


/* =========================================================
   CART ITEM BOTTOM
   ========================================================= */

.cart-item-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 0;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.cart-qty {

    display: flex;

    align-items: center;

    height: 34px;

    border: 1px solid #dddddd;

    border-radius: 7px;

    overflow: hidden;

    flex-shrink: 0;
}

.cart-qty button {

    width: 32px;

    height: 100%;

    border: none;

    background: #ffffff;

    color: #111;

    font-size: 16px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background .2s ease;
}

.cart-qty button:hover {

    background: #f5f5f5;
}

.cart-qty span {

    min-width: 28px;

    text-align: center;

    font-size: 13px;

    font-weight: 600;

    color: #111;
}


/* =========================================================
   CART PRICE
   ========================================================= */

.cart-price {

    text-align: right;

    flex-shrink: 0;
}

.cart-selling-price {

    display: block;

    font-size: 16px;

    font-weight: 800;

    color: #111;
}

.cart-price-offer {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 6px;

    margin-top: 3px;

    white-space: nowrap;
}

.cart-original-price {

    font-size: 12px;

    color: #888;

    text-decoration: line-through;
}

.cart-saving {

    font-size: 11px;

    font-weight: 800;

    color: #f56600;

    letter-spacing: .2px;
}


/* =========================================================
   REMOVE ITEM
   ========================================================= */

.remove-item {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 13px;

    padding: 0;

    border: none;

    background: transparent;

    color: #888;

    font-size: 12px;

    cursor: pointer;

    transition: color .2s ease;
}

.remove-item:hover {

    color: #111;
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.empty-cart {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    height: 100%;

    min-height: 300px;
}

.empty-cart i {

    font-size: 50px;

    color: #d5d5d5;

    margin-bottom: 20px;
}

.empty-cart h3 {

    margin: 0 0 10px;

    font-size: 22px;

    color: #111;
}

.empty-cart p {

    margin: 0;

    color: #777;

    line-height: 1.6;
}


/* =========================================================
   CART SAVINGS
   ========================================================= */

.cart-savings {

    margin-top: 7px;

    font-size: 13px;

    font-weight: 700;

    color: #f56600;

    text-align: right;
}


/* =========================================================
   CART FOOTER
   ========================================================= */

.cart-footer {

    padding: 20px 22px 22px;

    background: #fff;

    border-top: 1px solid #eeeeee;

    flex-shrink: 0;
}


/* =========================================================
   SUBTOTAL
   ========================================================= */

.subtotal {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 5px;
}

.subtotal span {

    font-size: 14px;

    color: #555;
}

.subtotal strong {

    font-size: 18px;

    font-weight: 800;

    color: #111;
}


/* =========================================================
   VIEW CART
   ========================================================= */

.view-cart-btn {

    width: 100%;

    height: 48px;

    margin-top: 16px;

    border-radius: 8px;

    background: #fff;

    border: 1px solid #111;

    color: #111;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}

.view-cart-btn:hover {

    background: #f5f5f5;
}

.view-cart-btn:active {

    transform: scale(.98);
}


/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-btn {

    width: 100%;

    height: 48px;

    margin-top: 10px;

    border-radius: 8px;

    background: #f56600;

    border: 1px solid #f56600;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}

.checkout-btn:hover {

    background: #e85e00;
}

.checkout-btn:active {

    transform: scale(.98);
}


/* =========================================================
   CART SCROLLBAR
   ========================================================= */

.cart-body::-webkit-scrollbar {

    width: 5px;
}

.cart-body::-webkit-scrollbar-track {

    background: transparent;
}

.cart-body::-webkit-scrollbar-thumb {

    background: #cccccc;

    border-radius: 10px;
}


/* =========================================================
   MOBILE CART
   ========================================================= */

@media (max-width: 600px) {

    .cart-drawer {

        width: 100%;

        right: -100%;
    }

    .cart-header {

        padding: 20px;
    }

    .cart-body {

        padding: 20px;
    }

    .cart-footer {

        padding: 18px;
    }

    .cart-item-image {

        width: 72px;

        height: 90px;
    }

}