@import "../../../../assets/scss/abstracts/variables";
@import "../../../../assets/scss/abstracts/mixins";

@property --color-rdg-memberships-header-bg {syntax: "<color>";inherits: true;initial-value: #0578d4;}
@property --color-rdg-memberships-header-border {syntax: "<color>";inherits: true;initial-value: #39a3f7;}
@property --color-rdg-memberships-button {syntax: "<color>";inherits: true;initial-value: #00bb08;}
@property --color-rdg-memberships-button-border {syntax: "<color>";inherits: true;initial-value: #68f96e;}
@property --color-rdg-memberships-gray {syntax: "<color>";inherits: true;initial-value: #f2f2f2;}
@property --color-rdg-memberships-primary {syntax: "<color>";inherits: true;initial-value: #0160ac;}
@property --color-rdg-memberships-white {syntax: "<color>";inherits: true;initial-value: #ffffff;}
@property --color-rdg-memberships-black {syntax: "<color>";inherits: true;initial-value: #111111;}

.rdg-blocks .rdg-memberships {
    .preview-thumbs {
        background-image: url('../images/rdg-memberships-template-preview.jpg');
    }

    display: flex;
    justify-content: center;
    background-color: var(--color-rdg-memberships-primary);
    padding: 20px 0; 

    .container.content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .title p {
            padding-bottom: 20px;
            margin: 0;
            color: var(--color-rdg-memberships-white);
            text-align: center;
        }

        .column {
            width: 100%;
            display: flex;
            max-width: 1300px;
            gap: 17px;
            flex-wrap: wrap;
            justify-content: center;

            p {
                margin: 0;
            }

            .header {
                color: var(--color-rdg-memberships-white);
                border-top-right-radius: 10px;
                border-top-left-radius: 10px;
                background-color: var(--color-rdg-memberships-header-bg);
                text-align: center;
                padding: 10px 0;
                border-bottom: 4px solid var(--color-rdg-memberships-header-border)
            }

            .body {
                padding: 15px 20px;
            }

            .first_pack,
            .second_pack,
            .third_pack,
            .fourth_pack {
                flex: 1;
                background-color: var(--color-rdg-memberships-white);
                border-radius: 10px;
                border-top-left-radius: 60px;
                border-top-right-radius: 60px;
                max-height: 270px;
                min-height: 270px;
                max-width: 312.25px;
                min-width: 312.25px;
            }

            .first_pack {
                .body {
                    .description {
                        padding-bottom: 14px;
                    }

                    .footer {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        border-top: 2px solid var(--color-rdg-memberships-gray);
                        padding-top: 14px;

                        .price {
                            color: var(--color-rdg-memberships-primary);
                            padding: 10px;
                            background-color: var(--color-rdg-memberships-gray);
                            border-radius: 4px;
                            width: fit-content;
                        }

                        .btn a {
                            color: var(--color-rdg-memberships-white);
                            background-color: var(--color-rdg-memberships-button);
                            padding: 15px 50px;
                            border-top: 2px solid var(--color-rdg-memberships-button-border);
                            border-radius: 4px;
                        }
                    }
                }
            }

            .second_pack {
                .body {
                    .deal {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        height: 60px;

                        .price {
                            color: var(--color-rdg-memberships-primary);
                        }

                        .list {
                            ul {
                                padding-left: 20px;
                                margin: 0;
                                list-style-position: inside;
                            }
                        }
                    }

                    .description {
                        padding: 12.5px 0;
                    }

                    .btn {
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        a {
                            color: var(--color-rdg-memberships-white);
                            background-color: var(--color-rdg-memberships-button);
                            padding: 15px 50px;
                            border-top: 2px solid var(--color-rdg-memberships-button-border);
                            border-radius: 4px;
                        }
                    }
                }
            }

            .third_pack {
                .body {
                    display: flex;
                    height: 80%;

                    .left {
                        flex: 2;
                        padding-right: 19px;
                        height: 100%;

                        .description {
                            text-align: justify;
                            padding-bottom: 5px;
                        }

                        .great_value {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }
                    }

                    .right {
                        flex: 1;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        padding-left: 19px;
                        border-left: 2px solid var(--color-rdg-memberships-gray);
                        height: 100%;

                        .price {
                            display: flex;
                            max-height: 60px;
                            align-items: center;

                            .dollar {
                                color: var(--color-rdg-memberships-primary);
                            }

                            .amount {
                                color: var(--color-rdg-memberships-primary);
                            }
                        }

                        .btn {
                            display: flex;
                            text-align: center;
                            padding-top: 40px;

                            a {
                                border-radius: 15px;
                                background-color: var(--color-rdg-memberships-button);
                                color: var(--color-rdg-memberships-white);
                                border-top: 2px solid var(--color-rdg-memberships-button-border);
                                max-width: 90px;
                                padding: 10px 14px;
                            }
                        }
                    }
                }
            }

            .fourth_pack {
                .body {
                    .deal {
                        text-align: center;
                        justify-content: center;
                        display: flex;
                        gap: 4px;

                        .off {
                            color: var(--color-rdg-memberships-primary);
                        }

                        .dot {
                            color: var(--color-rdg-memberships-button);
                        }

                        .best_deal {
                            color: var(--color-rdg-memberships-black);
                        }
                    }

                    .list {
                        width: 100%;
                        padding: 10px 0;

                        ul {
                            margin: 0;
                            list-style-position: inside;
                            display: flex;
                            justify-content: space-between;
                            flex-wrap: wrap;

                            li {
                                flex-basis: 49%;
                                margin-bottom: 8px;
                            }
                        }
                    }

                    .btn {
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        a {
                            color: var(--color-rdg-memberships-white);
                            background-color: var(--color-rdg-memberships-button);
                            padding: 15px 50px;
                            border-top: 2px solid var(--color-rdg-memberships-button-border);
                            border-radius: 4px;
                        }
                    }
                }
            }
        }
    }
}
