/* Plant Quiz styles ======================================================= */
.ppl-quiz {
    max-width: 720px;
    margin: 60px auto;
    padding: 0 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a2128;
}

/* Intro screen */
.ppl-quiz__intro {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, #354E33 0%, #1f3220 100%);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(53,78,51,.18);
}
.ppl-quiz__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    background: rgba(255,255,255,.16);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.25);
}
.ppl-quiz__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 5vw, 48px);
    color: #fff;
    margin: 0 0 14px;
    font-weight: 600;
    line-height: 1.15;
}
.ppl-quiz__sub {
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 auto 28px;
    max-width: 480px;
}
.ppl-quiz__intro .ppl-btn--primary {
    background: #F4D03F;
    color: #1a2128 !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    transition: all .25s;
}
.ppl-quiz__intro .ppl-btn--primary:hover {
    background: #d6b32d;
    transform: translateY(-2px);
}

/* Step screen */
.ppl-quiz__step {
    background: #fff;
    border: 1px solid #e6ebe9;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 8px 24px rgba(53,78,51,.06);
}
.ppl-quiz__progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}
.ppl-quiz__progress-bar {
    flex: 1;
    height: 6px;
    background: #f3f4f3;
    border-radius: 3px;
    overflow: hidden;
}
.ppl-quiz__progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #354E33 0%, #5a7558 100%);
    transition: width .4s cubic-bezier(.16,1,.3,1);
}
.ppl-quiz__progress-label {
    font-size: 13px;
    color: #5a6664;
    white-space: nowrap;
}

.ppl-quiz__q-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: #1a2128;
    margin: 0 0 24px;
    line-height: 1.3;
    font-weight: 600;
    width: 100%;
    padding: 0;
    border: 0;
}
.ppl-quiz__q { border: 0; padding: 0; margin: 0; }
.ppl-quiz__opts { display: flex; flex-direction: column; gap: 10px; }

.ppl-quiz__opt {
    display: block;
    cursor: pointer;
    padding: 16px 20px;
    background: #f8faf9;
    border: 2px solid #e6ebe9;
    border-radius: 12px;
    transition: all .2s;
    user-select: none;
}
.ppl-quiz__opt:hover {
    border-color: #5a7558;
    background: #f0f4ef;
}
.ppl-quiz__opt input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.ppl-quiz__opt-label {
    font-size: 15px;
    font-weight: 500;
    color: #1a2128;
    position: relative;
    padding-left: 32px;
    display: block;
}
.ppl-quiz__opt-label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    border: 2px solid #cdd4d1;
    border-radius: 50%;
    background: #fff;
    transition: all .2s;
}
.ppl-quiz__opt input:checked ~ .ppl-quiz__opt-label::before {
    border-color: #354E33;
    background: #354E33;
    box-shadow: inset 0 0 0 4px #fff;
}
.ppl-quiz__opt:has(input:checked) {
    border-color: #354E33;
    background: rgba(53,78,51,.05);
}

.ppl-quiz__nav {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e6ebe9;
}
.ppl-quiz__prev,
.ppl-quiz__next {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    border: 1.5px solid transparent;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .4px;
}
.ppl-quiz__prev {
    background: transparent;
    color: #354E33;
    border-color: #354E33;
}
.ppl-quiz__prev:hover {
    background: #f0f4ef;
}
.ppl-quiz__next {
    background: #354E33;
    color: #fff;
    border-color: #354E33;
}
.ppl-quiz__next:hover:not(:disabled) {
    background: #1f3220;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(53,78,51,.25);
}
.ppl-quiz__next:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Result screen */
.ppl-quiz__result {
    text-align: center;
}
.ppl-quiz__result-loading {
    padding: 80px 20px;
    font-size: 16px;
    color: #5a6664;
}
.ppl-quiz__result-error {
    padding: 60px 20px;
    color: #d32f2f;
    background: rgba(211,47,47,.05);
    border: 1px solid rgba(211,47,47,.2);
    border-radius: 12px;
}

.ppl-quiz__result-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 40px);
    color: #1a2128;
    margin: 14px 0 8px;
    font-weight: 600;
}
.ppl-quiz__result-sub {
    color: #5a6664;
    font-size: 15px;
    margin: 0 0 32px;
}

.ppl-quiz__result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    margin-bottom: 32px;
}
.ppl-quiz__result-card {
    background: #fff;
    border: 1px solid #e6ebe9;
    border-radius: 14px;
    overflow: hidden;
    transition: all .3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.ppl-quiz__result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(53,78,51,.12);
}
.ppl-quiz__result-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}
.ppl-quiz__result-card-body { padding: 16px 18px; }
.ppl-quiz__result-card-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1a2128;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ppl-quiz__result-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #354E33;
}
.ppl-quiz__result-card-price del {
    color: #7a8684;
    font-weight: 400;
    margin-right: 4px;
    font-size: 13px;
}

.ppl-quiz__restart {
    display: inline-block;
    background: transparent;
    color: #354E33;
    border: 1.5px solid #354E33;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .4px;
    transition: all .25s;
}
.ppl-quiz__restart:hover {
    background: #f0f4ef;
}

/* Stock notify form (single product) =========================================== */
.ppl-stock-notify {
    background: #fdf9f1;
    border: 1px solid rgba(212,160,23,.2);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 20px 0;
}
.ppl-stock-notify__title {
    font-size: 16px;
    margin: 0 0 14px;
    color: #1a2128;
    font-weight: 600;
}
.ppl-stock-notify__form {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.ppl-stock-notify__form input[type="email"] {
    flex: 1; min-width: 200px;
    padding: 12px 14px;
    border: 1.5px solid #e6ebe9;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}
.ppl-stock-notify__form input:focus {
    border-color: #354E33;
    outline: none;
    box-shadow: 0 0 0 3px rgba(53,78,51,.12);
}
.ppl-stock-notify__form button {
    background: #354E33;
    color: #fff;
    border: 0;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.ppl-stock-notify__form button:hover {
    background: #1f3220;
}
.ppl-stock-notify__note {
    font-size: 12px;
    color: #7a8684;
    margin: 12px 0 0;
}
.ppl-stock-notify__msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.ppl-stock-notify__msg--ok {
    background: rgba(46,125,50,.08);
    color: #2e7d32;
}
.ppl-stock-notify__msg--err {
    background: rgba(211,47,47,.08);
    color: #d32f2f;
}

@media (max-width: 767px) {
    .ppl-quiz { padding: 0 16px; margin: 30px auto; }
    .ppl-quiz__intro { padding: 32px 22px; }
    .ppl-quiz__step { padding: 28px 20px; }
    .ppl-quiz__nav { flex-direction: column; }
    .ppl-quiz__result-grid { grid-template-columns: 1fr; gap: 16px; }
}
