/* Explain: Coffee landing page cards, buttons, and checkout components */
.coffee-shell {
    border: 1px solid var(--border-color);
    background: rgba(255, 248, 239, 0.82);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.bean-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(201, 106, 43, 0.26);
    border-radius: 999px;
    background: rgba(242, 214, 179, 0.55);
    color: var(--primary-color);
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coffee-btn-primary {
    border: 1px solid rgba(255, 248, 239, 0.18);
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--cream-soft);
    box-shadow: 0 16px 36px rgba(201, 106, 43, 0.28);
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.coffee-btn-primary:hover {
    background: #b85b22;
    box-shadow: 0 20px 44px rgba(201, 106, 43, 0.34);
    transform: translateY(-2px);
}

.coffee-btn-secondary {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.76);
    color: var(--primary-color);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.coffee-btn-secondary:hover {
    border-color: rgba(201, 106, 43, 0.5);
    background: var(--cream-soft);
    transform: translateY(-2px);
}

.roast-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    background: rgba(255, 253, 248, 0.82);
    box-shadow: var(--shadow-card);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.roast-card:hover {
    border-color: rgba(201, 106, 43, 0.36);
    box-shadow: 0 22px 58px rgba(42, 22, 15, 0.14);
    transform: translateY(-4px);
}

.note-pill {
    border-radius: 999px;
    background: rgba(107, 112, 92, 0.12);
    color: var(--secondary-color);
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.quiz-chip {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.75);
    color: var(--primary-color);
    min-height: 48px;
    padding: 0.78rem 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.quiz-chip:hover,
.quiz-chip.is-selected {
    border-color: rgba(201, 106, 43, 0.55);
    background: var(--orange-soft);
    transform: translateY(-2px);
}

.plan-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-large);
    background: rgba(255, 253, 248, 0.84);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.plan-card:hover,
.plan-card.is-selected {
    border-color: rgba(201, 106, 43, 0.5);
    box-shadow: 0 26px 68px rgba(42, 22, 15, 0.16);
    transform: translateY(-5px);
}

.plan-card-featured {
    border-color: rgba(201, 106, 43, 0.58);
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(242, 214, 179, 0.52));
}

.checkout-panel {
    border: 1px solid rgba(255, 248, 239, 0.22);
    border-radius: var(--radius-large);
    background: linear-gradient(145deg, var(--espresso-dark), var(--primary-color));
    box-shadow: var(--shadow-soft);
    color: var(--cream-soft);
}

.form-input-coffee {
    border: 1px solid rgba(42, 22, 15, 0.18);
    background: rgba(255, 253, 248, 0.94);
    color: var(--primary-color);
}

.form-input-coffee::placeholder {
    color: rgba(114, 92, 75, 0.68);
}

.status-message {
    min-height: 1.5rem;
}

.status-message[data-state="error"] {
    color: #ffd6c2;
}

.status-message[data-state="success"] {
    color: #d8f1cc;
}
