/* ============================================================
   coffee.css — /subscribe/coffee/ only.

   The controls (stepper, One-time/Monthly, the buy button) are the
   footer widget's and live in themeV0.01.css §6; this sheet lays the
   page out and makes them bigger. Colours come from the theme tokens
   only, so both skins follow.
============================================================ */

.coffee-page {
    max-width: 640px;
}

.coffee-page h1 {
    margin: 0 0 10px;
    font-size: 28px;
    color: var(--text-strong);
}

.coffee-page h2 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--text-strong);
}

.coffee-price-line {
    color: var(--text);
}

/* -- the chooser ---------------------------------------------------------- */

.coffee-form--page {
    gap: 18px;
}

.coffee-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.coffee-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}

.coffee-form--page .coffee-step {
    width: 44px;
    min-height: 44px;
    font-size: 20px;
}

.coffee-form--page .coffee-qty input {
    width: 64px;
    font-size: 18px;
}

.coffee-form--page .coffee-each {
    font-size: 14px;
}

.coffee-form--page .coffee-plan-opt span {
    padding: 10px 18px;
    font-size: 14px;
    line-height: 20px;
}

.coffee-form--page .coffee-buy {
    min-height: 44px;
    padding: 12px 22px;
    font-size: 15px;
}

.coffee-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coffee-preset {
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel-light);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s ease;
}

.coffee-preset:hover,
.coffee-preset:focus-visible {
    border-color: var(--accent);
}

.coffee-summary {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.page-section .coffee-fine {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

/* -- status banners ------------------------------------------------------- */

.coffee-banner {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-left-width: 4px;
    border-radius: 10px;
    background: var(--panel);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.coffee-banner--ok   { border-left-color: var(--success); }
.coffee-banner--err  { border-left-color: var(--danger); }
.coffee-banner--info { border-left-color: var(--accent); }

.coffee-banner a {
    margin-left: 6px;
    color: var(--accent-soft);
}

.page-section .coffee-banner {
    margin: 0 0 14px;
    background: var(--panel-light);
}

/* -- thank you ------------------------------------------------------------ */

.coffee-thanks {
    text-align: center;
}

.coffee-cups {
    margin: 0 0 6px;
    font-size: 32px;
    letter-spacing: 4px;
}

.page-section .coffee-thanks-line {
    font-size: 18px;
    color: var(--text);
}

.coffee-back a {
    color: var(--accent-soft);
    text-decoration: none;
}

.coffee-back a:hover {
    text-decoration: underline;
}

/* -- manage a monthly coffee ---------------------------------------------- */

.coffee-manage {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coffee-manage input {
    flex: 1 1 220px;
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel-light);
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.coffee-manage input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.coffee-buy--quiet {
    min-height: 40px;
    border-color: var(--border);
    background: transparent;
    color: var(--accent-soft);
}

@media (max-width: 600px) {
    .coffee-page {
        padding: 16px;
    }
}
