/* ==========================================================================
   Blog posts: strain CTA cards that Terplandia Core rewrites when a strain
   is not live (restocking card with the notify-me form, substitute card).
   Loaded on single posts only (inc/pages/post.php). Moved as-is from the
   old plugin's inline <style id="terp-strain-cta-variants">.
   ========================================================================== */
.product-card--restocking .product-media--restocking,
.product-card--restocking .product-media {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f0e9d8 0%, #fdf8f0 100%);
    min-height: 200px;
}
.terp-restock-badge {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-size: 13px; font-weight: 600; letter-spacing: .18em;
    color: #2d4a3e; background: #fdf8f0; padding: 10px 20px;
    border: 1.5px solid rgba(201,168,76,.45); border-radius: 6px;
    text-transform: uppercase;
}
.product-card--restocking p,
.product-card--substitute .terp-cta-note {
    font-size: 14px; line-height: 1.55; color: #555;
}
.product-card--substitute .terp-cta-note {
    background: #fdf8f0; padding: 10px 14px; border-radius: 6px;
    border-left: 3px solid #c9a84c; margin: 0 0 12px;
}
.product-card--substitute .terp-cta-note em { font-style: normal; }
.terp-cta-reason {
    font-size: 13px; color: #888; font-style: italic; margin: 8px 0 0;
}
/* Notify-me form (restocking variant) */
.terp-restock-form { margin: 14px 0 6px; }
.terp-restock-form__label {
    display: block; font-size: 13px; font-weight: 600; color: #2d4a3e;
    margin: 0 0 6px; letter-spacing: .02em;
}
.terp-restock-form__row {
    display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch;
}
.terp-restock-form__row input[type="email"] {
    flex: 1 1 200px; min-width: 0;
    padding: 10px 14px;
    font-size: 14px; font-family: inherit; color: #1a1a1a;
    background: #fff; border: 1.5px solid rgba(45,74,62,.18);
    border-radius: 8px;
}
.terp-restock-form__row input[type="email"]:focus {
    outline: none; border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201,168,76,.18);
}
.terp-restock-form__row button {
    flex: 0 0 auto; padding: 10px 18px;
    background: #2d4a3e; color: #fdf8f0;
    border: 0; border-radius: 8px;
    font-weight: 600; font-size: 14px; cursor: pointer;
    transition: background .15s ease, transform .12s ease;
}
.terp-restock-form__row button:hover { background: #1f3329; }
.terp-restock-form__row button:disabled { opacity: .55; cursor: progress; }
.terp-restock-form__msg {
    font-size: 13px; color: #555; margin: 8px 0 0; min-height: 18px;
}
.terp-restock-form__msg[data-status="error"] { color: #b03c2a; }
.terp-restock-form__msg[data-status="ok"] { color: #2d4a3e; font-weight: 600; }
.terp-restock-form__confirmed {
    background: #f0e9d8; border-left: 3px solid #c9a84c;
    padding: 10px 14px; border-radius: 6px;
    font-size: 14px; color: #2d4a3e; margin: 14px 0 6px;
}
