/* Cart Overlay Full Screen
============================================================================================ */
.cart-overlay-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9998;
    display: none;
    overflow-y: auto;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.4s ease-in-out;
    overflow-y: auto;
}

.cart-overlay.active {
    right: 0;
}

.cart-overlay-header {
    background: #f195b2;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-overlay-header h2 {
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.cart-close-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-close-btn:hover {
    background: #fff;
    color: #f195b2;
    transform: rotate(90deg);
}

.cart-overlay-content {
    padding: 40px 30px;
    min-height: calc(100vh - 80px);
}

.cart-empty {
    text-align: center;
    padding: 100px 20px;
}

.cart-empty i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.cart-empty h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: #797979;
    margin-bottom: 15px;
}

.cart-empty p {
    font-family: "Open Sans", sans-serif;
    color: #797979;
    margin-bottom: 30px;
}

.cart-items-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: bold;
    color: #3e606b;
    margin-bottom: 8px;
}

.cart-item-price {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    color: #f195b2;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-label {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #797979;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 18px;
    color: #797979;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #f195b2;
    color: #fff;
}

.quantity-input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #242424;
    font-weight: 600;
}

.cart-item-remove {
    background: transparent;
    border: 2px solid #e8e8e8;
    color: #797979;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: #fff;
}

.cart-summary {
    max-width: 1200px;
    margin: 40px auto 0;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 30px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

.cart-summary-row:last-child {
    border-bottom: none;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #3e606b;
}

.cart-summary-label {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #797979;
    font-weight: 600;
}

.cart-summary-value {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #242424;
    font-weight: 600;
}

.cart-summary-row:last-child .cart-summary-label {
    font-size: 20px;
    color: #3e606b;
    font-family: "Playfair Display", serif;
    font-weight: bold;
}

.cart-summary-row:last-child .cart-summary-value {
    font-size: 24px;
    color: #f195b2;
    font-family: "Playfair Display", serif;
    font-weight: bold;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cart-btn {
    flex: 1;
    padding: 15px 30px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cart-btn:before {
    background: #fff;
    content: "";
    height: 155px;
    left: -75px;
    opacity: .2;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
}

.cart-btn:hover:before {
    left: 120%;
}

.cart-btn-continue {
    background: #fff;
    color: #797979;
    border: 2px solid #e8e8e8;
}

.cart-btn-continue:hover {
    background: #f195b2;
    color: #fff;
    border-color: #f195b2;
}

.cart-btn-checkout {
    background: #94c9d9;
    color: #fff;
}

.cart-btn-checkout:hover {
    background: #f195b2;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-overlay-header {
        padding: 15px 20px;
    }

    .cart-overlay-header h2 {
        font-size: 22px;
    }

    .cart-overlay-content {
        padding: 20px 15px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .cart-item-details {
        width: 100%;
    }

    .cart-item-quantity {
        justify-content: center;
    }

    .cart-actions {
        flex-direction: column;
    }

    .cart-summary {
        padding: 20px;
    }
}

/* Animation for cart icon */
.shop_cart.has-items {
    animation: bounce 0.5s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}