/* Sekcja: circle_cart - pełny CSS sekcji (zapis zagnieżdżony). */

.circle-cart-group {
    .circle-card {
        margin-bottom: 30px;
        padding: 0 30px;

        .wrapper {
            border-radius: 50%;
            padding: 40px;
            padding-top: 60px;
            height: 456.33px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border: none;
            outline: none;
            width: 100%;
            background-color: var(--element1-bg);

            .text {
                .text-inner {
                    .buttons {
                        a {
                            border-width: var(--button-border-width);
                            border-radius: var(--button-border-radius);
                        }

                        a.btn-primary {
                            background-color: var(--element1-btn1-bg);
                            color: var(--element1-btn1-text);
                            border-color: var(--element1-btn1-border);

                            &:hover {
                                background-color: var(--element1-btn1-bg-hover) !important;
                                color: var(--element1-btn1-text-hover) !important;
                                border-color: var(--element1-btn1-border-hover) !important;
                            }
                        }

                        a.btn-secondary {
                            background-color: var(--element1-btn2-bg);
                            color: var(--element1-btn2-text);
                            border-color: var(--element1-btn2-border);

                            &:hover {
                                background-color: var(--element1-btn2-bg-hover) !important;
                                color: var(--element1-btn2-text-hover) !important;
                                border-color: var(--element1-btn2-border-hover) !important;
                            }
                        }
                    }

                    h3 {
                        color: var(--element1-title);

                        span {
                            color: var(--element1-highlighted-title);
                        }
                    }

                    p {
                        color: var(--element1-text);

                        a {
                            color: var(--element1-link);

                            &:hover {
                                color: var(--element1-link-hover);
                            }
                        }
                    }
                }
            }
        }

        h3 {
            font-size: 1.875rem;
            text-align: center;
            margin-top: 0;
            margin-bottom: 20px;
        }

        p {
            text-align: center;
            color: var(--transparent-color1);
            margin-bottom: 0;
        }

        a.wrapper,
        button.wrapper {
            &:hover,
            &:active,
            &:focus {
                box-shadow: 0 0 10px 2px var(--transparent-color1);
                border: none;
                outline: none;
            }
        }

        .photo {
            margin-bottom: 30px;

            .image {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            img {
                max-width: 100%;
                max-height: 140px;
                object-fit: contain;
                border-radius: var(--image-border-radius);
            }
        }

        .buttons {
            p {
                color: var(--element1-color);
                font-size: 1.875rem;
                font-weight: 800;
            }
        }
    }

    .row {
        justify-content: center;
    }
}

@media (max-width: 575.5px) {
    .circle-cart-group {
        .circle-card {
            display: flex;
            justify-content: center;

            .wrapper {
                height: 260px;
                width: 260px;
                padding-top: 25px;
            }

            .photo {
                margin-bottom: 10px;

                img {
                    max-height: 60px;
                }
            }

            h3 {
                font-size: 1.25rem;
                margin-bottom: 10px;
            }

            .buttons {
                margin-top: 10px;

                p {
                    line-height: 80%;
                }
            }
        }
    }
}

@media (min-width: 576px) and (max-width: 767.5px) {
    .circle-cart-group {
        .circle-card {
            display: flex;
            justify-content: center;

            .wrapper {
                height: 300px;
                width: 300px;
                padding-top: 25px;
            }

            .photo {
                margin-bottom: 10px;

                img {
                    max-height: 80px;
                }
            }

            h3 {
                font-size: 1.4375rem;
                margin-bottom: 10px;
            }

            .buttons {
                margin-top: 10px;

                p {
                    line-height: 80%;
                }
            }
        }
    }
}

@media (min-width: 768px) and (max-width: 991.5px) {
    .circle-cart-group {
        .circle-card {
            .wrapper {
                height: 300px;
                padding-top: 25px;
            }

            .photo {
                margin-bottom: 10px;

                img {
                    max-height: 80px;
                }
            }

            h3 {
                font-size: 1.4375rem;
                margin-bottom: 10px;
            }

            .buttons {
                margin-top: 10px;

                p {
                    line-height: 80%;
                }
            }
        }
    }
}

@media (min-width: 992px) and (max-width: 1199.5px) {
    .circle-cart-group {
        .circle-card {
            .wrapper {
                height: 420px;
                padding-top: 25px;
            }

            .photo {
                margin-bottom: 10px;

                img {
                    max-height: 90px;
                }
            }

            h3 {
                font-size: 1.5rem;
                margin-bottom: 10px;
            }

            .buttons {
                margin-top: 10px;
            }
        }
    }
}

@media (min-width: 1200px) and (max-width: 1579.5px) {
    .circle-cart-group {
        .circle-card {
            .wrapper {
                height: 320px;
                padding-top: 25px;
            }

            .photo {
                margin-bottom: 10px;

                img {
                    max-height: 90px;
                }
            }

            h3 {
                font-size: 1.625rem;
                margin-bottom: 10px;
            }

            .buttons {
                margin-top: 10px;
            }
        }
    }
}
