﻿.impactcart-cart {
    padding: 2rem 0;
    font-family: 'Montserrat', sans-serif;
}

    .impactcart-cart .cart-title {
        font-size: 2rem;
        font-weight: 600;
        color: #2f4f4f;
        margin-bottom: 1.5rem;
    }

    .impactcart-cart .cart-table {
        border: none;
        margin-bottom: 1rem;
    }

    .impactcart-cart .cart-header {
        font-weight: 600;
        color: #6c757d;
        padding: 1rem;
        border-bottom: cała 1px solid #e0e0e0;
    }

    .impactcart-cart .cart-item {
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
    }

        .impactcart-cart .cart-item:last-child {
            border-bottom: none;
        }

    .impactcart-cart .cart-item-image {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
    }

        .impactcart-cart .cart-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: 1px solid #e0e0e0;
        }

    .impactcart-cart .cart-item-details {
        flex: 1;
    }

    .impactcart-cart .cart-item-name {
        font-weight: 700;
        color: #000;
        margin: 0;
    }

    .impactcart-cart .cart-item-color {
        font-size: 0.875rem;
        color: #2f4f4f;
        margin: 0.25rem 0;
    }

        .impactcart-cart .cart-item-color.green-label {
            color: #28a745;
            background-color: #e6f4ea;
            display: inline-block;
            padding: 0.1rem 0.5rem;
            border-radius: 3px;
        }

    .impactcart-cart .impact-divider {
        border: 0;
        border-top: 2px solid #e9e9e9;
        margin: 1rem 0;
    }

    .impactcart-cart .cart-item-impact {
        font-size: 0.875rem;
        color: #28a745;
        margin: 0.5rem 0;
    }

    .impactcart-cart .cart-item-price,
    .impactcart-cart .cart-item-subtotal {
        font-weight: 500;
        color: #000;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .impactcart-cart .cart-summary {
        max-width: 300px;
        margin-left: auto;
        text-align: right;
        margin-bottom: 2rem;
    }

    .impactcart-cart .summary-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.75rem;
        color: #2f4f4f;
    }

        .impactcart-cart .summary-row.total {
            font-weight: 600;
            margin-top: 1rem;
        }

    .impactcart-cart .summary-divider {
        border: 0;
        border-top: 1px solid #e0e0e0;
        margin: 1rem 0;
    }

    .impactcart-cart .free-shipping {
        color: #28a745;
    }

    .impactcart-cart .btn-checkout {
        background-color: #28a745;
        color: #fff;
        font-weight: 500;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 5px;
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
    }

        .impactcart-cart .btn-checkout:hover {
            background-color: #218838;
        }

.order-summary-section {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 2rem;
}

    .order-summary-section .container {
        padding: 0 15px;
    }

    .order-summary-section .order-summary-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .order-summary-section .summary-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #2f4f4f;
        margin: 0;
    }

    .order-summary-section .summary-arrow-img {
        width: 24px; /* Default size for desktop */
        height: 24px;
        cursor: pointer;
    }

    .order-summary-section .order-summary-content {
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .order-summary-section .swiper-container {
        width: 100%;
        position: relative;
    }

    .order-summary-section .swiper-slide {
        display: flex;
        justify-content: center;
    }

    .order-summary-section .summary-image {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border: 1px solid #e0e0e0;
    }

    .order-summary-section .swiper-button-next,
    .order-summary-section .swiper-button-prev {
        color: #2f4f4f;
        display: none;
    }

@media (max-width: 767px) {
    .impactcart-cart {
        padding: 1.5rem 0.5rem;
    }

        .impactcart-cart .cart-title {
            font-size: 1.75rem;
        }

        .impactcart-cart .cart-header,
        .impactcart-cart .cart-item {
            padding: 0.75rem 0.5rem;
        }

        .impactcart-cart .cart-item-image {
            width: 40px;
            height: 40px;
            margin-right: 0.75rem;
        }

        .impactcart-cart .cart-item-name,
        .impactcart-cart .cart-item-price,
        .impactcart-cart .cart-item-subtotal {
            font-size: 0.9rem;
        }

        .impactcart-cart .cart-item-color,
        .impactcart-cart .cart-item-impact {
            font-size: 0.75rem;
        }

        .impactcart-cart .cart-summary {
            max-width: 100%;
            text-align: center;
            padding: 0 0.5rem;
            margin-bottom: 1.5rem;
        }

    .order-summary-section {
        padding: 1.5rem 0;
    }

        .order-summary-section .order-summary-header {
            margin-bottom: 1rem;
        }

        .order-summary-section .order-summary-content {
            padding-bottom: 1.5rem;
        }

        .order-summary-section .summary-image {
            width: 100px;
            height: 100px;
        }

        .order-summary-section .summary-arrow-img {
            width: 20px; /* Smaller for mobile */
            height: 20px;
        }
}

@media (max-width: 576px) {
    .impactcart-cart {
        padding: 1rem 1rem;
    }

        .impactcart-cart .cart-title {
            font-size: 1.5rem;
        }

        .impactcart-cart .cart-header,
        .impactcart-cart .cart-item {
            padding: 0.5rem 0.5rem;
        }

        .impactcart-cart .cart-item-image {
            width: 35px;
            height: 35px;
            margin-right: 0.5rem;
        }

        .impactcart-cart .cart-item-name,
        .impactcart-cart .cart-item-price,
        .impactcart-cart .cart-item-subtotal {
            font-size: 0.85rem;
        }

        .impactcart-cart .cart-item-color,
        .impactcart-cart .cart-item-impact {
            font-size: 0.7rem;
        }

        .impactcart-cart .cart-summary {
            padding: 0 0.5rem;
            margin-bottom: 1rem;
        }

    .order-summary-section {
        padding: 1rem 0;
    }

        .order-summary-section .order-summary-content {
            padding-bottom: 1rem;
        }

        .order-summary-section .summary-image {
            width: 90px;
            height: 90px;
        }

        .order-summary-section .summary-arrow-img {
            width: 18px;
            height: 18px;
        }
}

@media (max-width: 412px) {
    .impactcart-cart {
        padding: 1rem 1rem;
    }

        .impactcart-cart .cart-title {
            font-size: 1.4rem;
        }

        .impactcart-cart .cart-header,
        .impactcart-cart .cart-item {
            padding: 0.5rem 0.5rem;
        }

        .impactcart-cart .cart-item-image {
            width: 30px;
            height: 30px;
            margin-right: 0.5rem;
        }

        .impactcart-cart .cart-item-name,
        .impactcart-cart .cart-item-price,
        .impactcart-cart .cart-item-subtotal {
            font-size: 0.8rem;
        }

        .impactcart-cart .cart-item-color,
        .impactcart-cart .cart-item-impact {
            font-size: 0.65rem;
        }

        .impactcart-cart .cart-summary {
            padding: 0 0.5rem;
        }

    .order-summary-section {
        padding: 0.75rem 0;
    }

        .order-summary-section .summary-image {
            width: 90px;
            height: 90px;
        }

        .order-summary-section .summary-arrow-img {
            width: 16px;
            height: 16px;
        }
}

@media (max-width: 360px) {
    .impactcart-cart {
        padding: 0.75rem 0.75rem;
    }

        .impactcart-cart .cart-title {
            font-size: 1.3rem;
        }

        .impactcart-cart .cart-header,
        .impactcart-cart .cart-item {
            padding: 0.4rem 0.25rem;
        }

        .impactcart-cart .cart-item-image {
            width: 25px;
            height: 25px;
            margin-right: 0.4rem;
        }

        .impactcart-cart .cart-item-name,
        .impactcart-cart .cart-item-price,
        .impactcart-cart .cart-item-subtotal {
            font-size: 0.75rem;
        }

        .impactcart-cart .cart-item-color,
        .impactcart-cart .cart-item-impact {
            font-size: 0.6rem;
        }

        .impactcart-cart .cart-summary {
            padding: 0 0.25rem;
            margin-bottom: 0.75rem;
        }

        .impactcart-cart .summary-row {
            font-size: 0.85rem;
        }

        .impactcart-cart .btn-checkout {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }

    .order-summary-section {
        padding: 0.5rem 0;
    }

        .order-summary-section .container {
            padding: 0 10px;
        }

        .order-summary-section .order-summary-header {
            margin-bottom: 0.75rem;
        }

        .order-summary-section .summary-title {
            font-size: 1rem;
        }

        .order-summary-section .summary-image {
            width: 80px;
            height: 80px;
        }

        .order-summary-section .summary-arrow-img {
            width: 14px;
            height: 14px;
        }
}
