/* Shared package picker.
   Deliberately a light card with its own colours rather than inheriting the
   page's. The SEO landing pages are dark and the sales pages are white, and a
   picker that changes appearance between them reads as two different shops.
   A light card sits correctly on both. */

.gf-picker {
    --gp-bg: #ffffff;
    --gp-text: #1a1a2e;
    --gp-muted: #6b7280;
    --gp-faint: #9ca3af;
    --gp-line: rgba(0, 0, 0, .1);
    --gp-accent: #8B5CF6;
    --gp-accent-dark: #7C3AED;
    --gp-ok: #22c55e;

    background: var(--gp-bg);
    color: var(--gp-text);
    border-radius: 18px;
    padding: 28px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    font-family: 'Instrument Sans', -apple-system, sans-serif;
    line-height: 1.6;
    text-align: left;
}

.gf-picker h3 { font-size: 20px; font-weight: 700; margin: 0 0 4px; color: var(--gp-text); }
.gf-picker .gp-sub { font-size: 14px; color: var(--gp-muted); margin: 0 0 20px; }

.gp-tiers { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.gp-tier {
    flex: 1; min-width: 110px; padding: 10px 12px; border: 1px solid var(--gp-line);
    border-radius: 10px; cursor: pointer; text-align: center; background: #fff;
    transition: border-color .15s, background .15s;
}
.gp-tier:hover { border-color: var(--gp-accent); }
.gp-tier.active { border-color: var(--gp-accent); background: rgba(139, 92, 246, .08); }
.gp-tier b { display: block; font-size: 14px; font-weight: 700; color: var(--gp-text); }
.gp-tier span { display: block; font-size: 11px; color: var(--gp-faint); margin-top: 2px; }

/* padding-top leaves room for .gp-flag, which sits above the card edge. */
.gp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; padding-top: 10px; margin-bottom: 20px; }
.gp-pkg {
    position: relative; border: 1px solid var(--gp-line); border-radius: 10px; padding: 16px 8px 10px;
    text-align: center; cursor: pointer; background: #fff; transition: border-color .15s, background .15s;
}
.gp-pkg:hover { border-color: var(--gp-accent); }
.gp-pkg.active { border-color: var(--gp-accent); background: rgba(139, 92, 246, .08); box-shadow: 0 0 0 1px var(--gp-accent) inset; }
.gp-pkg b { display: block; font-size: 19px; font-weight: 700; color: var(--gp-text); line-height: 1.15; }
.gp-pkg span { display: block; font-size: 11px; color: var(--gp-faint); margin-top: 2px; }

/* Per-unit saving against the smallest size in the tier — computed, not a
   struck-through price someone made up. */
.gp-save {
    display: block; margin-top: 8px; padding: 3px 6px; border-radius: 5px;
    font-size: 10.5px; font-style: normal; font-weight: 600;
    background: rgba(34, 197, 94, .12); color: #15803d;
}
.gp-flag {
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    padding: 2px 8px; border-radius: 20px; white-space: nowrap;
    font-size: 9.5px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    background: var(--gp-accent); color: #fff;
}

.gp-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gp-priceblock { display: flex; flex-direction: column; }
.gp-price { font-family: 'Space Mono', monospace; font-size: 30px; font-weight: 700; color: var(--gp-text); line-height: 1.1; }
.gp-unit { font-size: 11.5px; color: var(--gp-faint); margin-top: 2px; }
.gp-cta {
    flex: 1; min-width: 180px; padding: 15px 24px; border: none; border-radius: 11px;
    background: linear-gradient(135deg, var(--gp-accent), var(--gp-accent-dark));
    color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.gp-cta:hover { opacity: .93; }

.gp-feats { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gp-line); }
.gp-feat { font-size: 12.5px; color: var(--gp-muted); display: flex; align-items: center; gap: 6px; }
.gp-feat::before { content: '\2713'; color: var(--gp-ok); font-weight: 700; }

.gp-legal { margin: 14px 0 0; font-size: 11px; color: var(--gp-faint); line-height: 1.6; }

@media (max-width: 560px) {
    .gf-picker { padding: 20px; }
    .gp-price { font-size: 26px; }
    .gp-cta { width: 100%; }
}

/* Delivery length. Amber, not red: a 25-day delivery is a fact about the
   product a buyer needs before paying, not an error. */
.gp-eta { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; font-size: 13px; line-height: 1.5;
          background: rgba(245, 158, 11, .10); border: 1px solid rgba(245, 158, 11, .32); }
.gp-eta b { font-weight: 700; }
.gp-days { display: block; margin-top: 4px; font-size: 11px; font-style: normal; font-weight: 600;
           color: #b45309; }
