/* StickHawk Wanted List — everything namespaced .shw- so it can't touch theme styles. */
.shw-root {
    --shw-red: #C0181D;
    --shw-red-dark: #660606;
    --shw-gold: #EDCD60;
    --shw-ink: #111;
    --shw-muted: #666;
    --shw-line: #d5d5d5;
    --shw-soft: #f7f5f2;
    font-family: 'Rubik', sans-serif;
    color: var(--shw-ink);
    line-height: 1.45;
    text-align: left;
    max-width: 920px;
    margin: 24px auto 32px;
}
.shw-root *, .shw-root *::before, .shw-root *::after { box-sizing: border-box; }
.shw-root [hidden] { display: none !important; }

/* ---- category teaser ---- */
.shw-teaser {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--shw-soft);
    border: 1px solid var(--shw-line);
    border-left: 5px solid var(--shw-red);
    border-radius: 6px;
}
.shw-teaser-copy { flex: 1 1 auto; }
.shw-teaser-body:not(:empty) {
    margin-top: 12px;
    padding: 20px 24px;
    border: 1px solid var(--shw-line);
    border-radius: 6px;
    background: #fff;
}
.shw-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--shw-ink);
    text-transform: none;
    letter-spacing: 0;
}
.shw-sub { margin: 0 0 4px; font-size: 15px; color: #333; }

/* ---- form ---- */
.shw-form { display: grid; gap: 18px; }
.shw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px 18px;
}
.shw-grid--contact { grid-template-columns: 2fr 1fr; }
/* Fixed columns (not auto-fit) so showing/hiding Flex or "Which club"
   never reflows the fields around them. */
.shw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shw-grid--1 { grid-template-columns: minmax(0, 1fr); }
.shw-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; padding: 0; border: 0; }
.shw-field--wide { grid-column: 1 / -1; }
.shw-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}
.shw-hint { font-size: 12px; color: var(--shw-muted); line-height: 1.35; }
.shw-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font: inherit;
    font-size: 15px;
    color: var(--shw-ink);
    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    margin: 0;
}
.shw-input:focus { outline: 2px solid var(--shw-red); outline-offset: 1px; border-color: var(--shw-red); }
.shw-input:disabled { background: #f2f2f2; color: #888; }

.shw-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.shw-pill { position: relative; }
.shw-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.shw-pill label {
    display: inline-block;
    min-width: 48px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    color: #333;
    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}
.shw-pill input:checked + label { background: var(--shw-red); border-color: var(--shw-red); color: #fff; }
.shw-pill input:focus-visible + label { outline: 2px solid var(--shw-red); outline-offset: 2px; }

.shw-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.shw-fine { font-size: 12px; color: var(--shw-muted); }
.shw-error { color: var(--shw-red); font-weight: 500; font-size: 14px; }
.shw-error:empty { display: none; }
.shw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.shw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid var(--shw-red);
    transition: background .15s, color .15s;
}
.shw-btn--primary { background: var(--shw-red); color: #fff; }
.shw-btn--primary:hover { background: var(--shw-red-dark); border-color: var(--shw-red-dark); }
.shw-btn--ghost { background: #fff; color: var(--shw-red); }
.shw-btn--ghost:hover { background: var(--shw-soft); }
.shw-btn:disabled { opacity: .6; cursor: default; }
.shw-link {
    background: none; border: 0; padding: 0; margin-top: 14px;
    font: inherit; font-size: 14px; color: var(--shw-muted); text-decoration: underline; cursor: pointer;
}

.shw-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 4px; }
.shw-presets-label { font-size: 12px; color: var(--shw-muted); }
.shw-preset {
    padding: 4px 10px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.3;
    color: var(--shw-red); background: #fff; border: 1px dashed var(--shw-red); border-radius: 4px; cursor: pointer;
}
.shw-preset:hover { background: var(--shw-soft); }

/* ---- success ---- */
.shw-success { outline: none; }
.shw-success-head { display: flex; gap: 14px; align-items: flex-start; }
.shw-check {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--shw-red); color: #fff; font-size: 20px; font-weight: 700; line-height: 1;
}
.shw-instock { margin: 18px 0 10px; font-weight: 600; font-size: 16px; }
.shw-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 16px; }
.shw-item {
    display: flex; flex-direction: column; gap: 3px;
    padding: 10px; border: 1px solid var(--shw-line); border-radius: 6px;
    color: var(--shw-ink); text-decoration: none; background: #fff;
}
.shw-item:hover { border-color: var(--shw-red); }
.shw-item img, .shw-item-noimg { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: #eee; }
.shw-item-name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.shw-item-meta { font-size: 12px; color: var(--shw-muted); line-height: 1.3; }
.shw-item-price { font-size: 17px; font-weight: 700; }
.shw-tag {
    align-self: flex-start;
    padding: 1px 8px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    color: var(--shw-red-dark); background: var(--shw-gold); border-radius: 3px;
}

/* ---- manage ---- */
.shw-reqs { list-style: none; margin: 16px 0 0; padding: 0; }
.shw-req {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    padding: 14px 0; border-top: 1px solid var(--shw-line);
}
.shw-req:last-child { border-bottom: 1px solid var(--shw-line); }
.shw-req.is-off .shw-req-name { color: #888; }
.shw-req-name { font-weight: 500; }
.shw-req-meta { font-size: 13px; color: var(--shw-muted); }
.shw-divider { height: 1px; background: var(--shw-line); margin: 24px 0; }

/* ---- page intro (the /wanted page) ---- */
.shw-page-intro { text-align: center; max-width: 640px; margin: 0 auto 8px; }
.shw-page-intro h1 { margin: 0 0 8px; }
.shw-page-intro p { margin: 0; color: #333; font-size: 16px; line-height: 1.5; }

@media (max-width: 640px) {
    .shw-root { margin: 16px 0 24px; }
    .shw-teaser { flex-direction: column; align-items: stretch; padding: 16px; }
    .shw-teaser .shw-btn { width: 100%; }
    .shw-teaser-body:not(:empty) { padding: 16px; }
    .shw-grid, .shw-grid--contact, .shw-grid--2, .shw-grid--3 { grid-template-columns: 1fr; }
    .shw-actions .shw-btn { width: 100%; }
    .shw-req { flex-direction: column; align-items: flex-start; }
}
