/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.cenario-plan-selector {
    display: flex;
    gap: 14px;
    flex-direction: column;
    margin: 0 0 16px;
}

.cenario-plan-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-areas: "radio content pricing";
    align-items: center;
    gap: 18px;
    text-align: left;
    border: 2px solid #E5E7EB;
    border-radius: 26px;
    background: #fff !important;
    padding: 26px;
    cursor: pointer;
    position: relative;
    width: 100%;
    color: #011429;
}

.cenario-plan-card .plan-radio-wrap {
    grid-area: radio;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cenario-plan-card .plan-content {
    grid-area: content;
    min-width: 0;
}

.cenario-plan-card .plan-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 4px;
}

.cenario-plan-card .plan-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #071c39;
    font-weight: 700;
}

.cenario-plan-card .plan-save-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f4ea;
    color: #1aa24b;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.cenario-plan-card .plan-small {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #51657d;
    font-weight: 500;
}

.cenario-plan-card .plan-radio {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid #7cbbe0;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
}

.cenario-plan-card .plan-badge {
    position: absolute;
    top: -2px;
    right: 22px;
    background: #2198d6;
    color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 6px 12px 6px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cenario-plan-card.is-active {
    border-color: #1d96d5;
    background: #e7eef4;
    box-shadow: 0 0 0 2px rgba(29, 150, 213, 0.1) inset;
}

.cenario-plan-card.is-active .plan-radio {
    border-color: #1f99d8;
}

.cenario-plan-card.is-active .plan-radio::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1f99d8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cenario-plan-card:hover {
    border-color: #1d96d5;
}

.cenario-plan-card .plan-pricing {
    grid-area: pricing;
    text-align: right;
    min-width: 210px;
}

.cenario-plan-card .plan-price-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 3px;
}

.cenario-plan-card .plan-daily-price {
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    color: #041f3d;
    letter-spacing: -0.02em;
}

.cenario-plan-card .plan-per-day {
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    color: #51657d;
}

.cenario-plan-card .plan-supply-price {
    display: block;
    text-align: right;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 500;
    color: #51657d;
    margin: 0;
}

.cenario-plan-card .plan-monthly-price {
    display: block;
    text-align: right;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 500;
    color: #51657d;
    margin: 0 0 3px 0;
}

.cenario-plan-card .plan-loading-price + .plan-per-day {
    display: none;
}

.cenario-plan-selector.is-loading .cenario-plan-card {
    opacity: 0.82;
    pointer-events: none;
}

.cenario-plan-selector.is-loading .cenario-plan-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #b8c7dd;
    border-top-color: #2f95d6;
    border-radius: 50%;
    animation: cenario-plan-spin 0.7s linear infinite;
}

@keyframes cenario-plan-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .cenario-plan-card {
        grid-template-columns: 24px minmax(0, 1fr);
        grid-template-areas:
            "radio content"
            ". pricing";
        gap: 12px;
        border-radius: 20px;
        padding: 16px 14px;
    }

    .cenario-plan-card .plan-radio {
        width: 22px;
        height: 22px;
        border-width: 2px;
    }

    .cenario-plan-card.is-active .plan-radio::after {
        width: 8px;
        height: 8px;
    }

    .cenario-plan-card .plan-badge {
        right: 14px;
        padding: 7px 10px;
        font-size: 10px;
        border-radius: 0 0 8px 8px;
    }

    .cenario-plan-card .plan-title {
        font-size: 22px;
    }

    .cenario-plan-card .plan-save-badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .cenario-plan-card .plan-small {
        font-size: 12px;
    }

    .cenario-plan-card .plan-pricing {
        min-width: 0;
        text-align: left;
    }

    .cenario-plan-card .plan-price-row {
        justify-content: flex-start;
    }

    .cenario-plan-card .plan-daily-price {
        font-size: 24px;
    }

    .cenario-plan-card .plan-per-day {
        font-size: 16px;
    }

    .cenario-plan-card .plan-supply-price {
        text-align: left;
        font-size: 13px;
    }

    .cenario-plan-card .plan-monthly-price {
        text-align: left;
        font-size: 13px;
        margin: 0 0 2px 0;
    }
}

/* Enhanced quiz results ingredient sections */
.quiz-key-ingredients-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #E5E7EB;
}

.quiz-key-ingredients-title {
    margin: 0 0 14px;
    color: #0f3f69;
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 700;
}

.quiz-key-ingredients-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quiz-key-chip {
	display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fafbfc;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 6px 12px;
    color: #0b1f39;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.quiz-key-chip-dose {
    color: #1e95d6;
    font-weight: 700;
}

.quiz-key-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #cfe9f7 !important;
    border: 1px solid #cfe9f7;
    color: #0f4f7c !important;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.quiz-full-ingredients-section {
    margin-top: 26px;
}

.quiz-full-ingredients-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.quiz-full-ingredients-kicker {
    margin: 0 0 6px;
    color: #1996d7;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
}

.quiz-full-ingredients-title {
    margin: 0;
    color: #071c39;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
}

.quiz-show-less-btn {
    border: 2px solid #1467cf;
    background: #ffffff;
    color: #134f87;
    border-radius: 18px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.quiz-full-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quiz-full-ingredient-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    background: #f4f6f8;
    border-radius: 14px;
    padding: 14px 16px;
}

.quiz-full-ingredient-index {
    color: #8ec1e6;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.quiz-full-ingredient-name {
    color: #13243a;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

.quiz-full-ingredient-dose {
    color: #1e95d6;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    text-align: right;
}

.quiz-flavors-section {
    margin-top: 22px;
}

.quiz-flavors-title {
    margin: 0 0 12px;
    color: #071c39;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}

.quiz-flavors-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.quiz-flavors-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    background: #f4f6f8;
    border-radius: 12px;
    padding: 12px 14px;
}

.quiz-flavors-index {
    color: #8ec1e6;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.quiz-flavors-name {
    color: #13243a;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

@media (max-width: 767px) {
    .quiz-full-ingredients-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .quiz-full-ingredients-title {
        font-size: 34px;
    }

    .quiz-full-ingredients-grid {
        grid-template-columns: 1fr;
    }

    .quiz-full-ingredient-row {
        grid-template-columns: 32px minmax(0, 1fr) auto;
        padding: 12px 14px;
    }

    .quiz-full-ingredient-name,
    .quiz-full-ingredient-dose {
        font-size: 16px;
    }

    .quiz-flavors-title {
        font-size: 24px;
    }

    .quiz-flavors-row {
        grid-template-columns: 32px minmax(0, 1fr);
        padding: 11px 12px;
    }

    .quiz-flavors-name {
        font-size: 16px;
    }
}
