/* ══════════════════════════════════════════════
   Jersey Customizer v6
══════════════════════════════════════════════ */
.jc-wrapper { margin: 0 0 20px; font-family: inherit; font-size: 14px; color: #333; }

/* ── OOS notice ── */
.jc-oos-notice {
    display: flex; align-items: flex-start; gap: 8px;
    background: #fff8e1; border: 1px solid #ffe082; border-radius: 7px;
    padding: 10px 14px; font-size: 13.5px; color: #7a5800;
    margin-bottom: 12px; line-height: 1.5;
}
.jc-oos-notice svg { flex-shrink: 0; margin-top: 2px; color: #f59e0b; }

/* ── Question ── */
.jc-question-block { margin-bottom: 6px; }
.jc-question-text { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.jc-req { color: #e00; font-weight: 700; margin-left: 1px; }
.jc-radio-group { display: flex; gap: 22px; }
.jc-rl {
    display: flex; align-items: center; gap: 6px;
    cursor: pointer; font-size: 14px; color: #333;
    padding: 2px 0; user-select: none;
}
.jc-rl input[type="radio"] { width: 16px; height: 16px; accent-color: #2271b1; cursor: pointer; }
.jc-rl-active { color: #2271b1; font-weight: 700; }

/* ── Panel ── */
.jc-panel {
    margin-top: 14px; background: #f9fbff;
    border: 1px solid #c8d8f0; border-radius: 8px; padding: 16px;
}

/* ── Price legend ── */
.jc-price-legend { margin-bottom: 13px; }
.jc-legend-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    background: #eef5ff; border: 1px solid #bcd4f0;
    border-radius: 6px; padding: 8px 12px;
    font-size: 13px; color: #1a4a80; line-height: 1.8;
}
.jc-legend-item {
    background: #fff; border: 1px solid #bcd4f0; border-radius: 4px;
    padding: 2px 8px; font-size: 12.5px; white-space: nowrap;
}
.jc-legend-item strong { color: #c0392b; }

/* ── Excel bar ── */
.jc-excel-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 13px; }
.jc-xl-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; background: #1d6f42; color: #fff !important;
    border-radius: 5px; cursor: pointer; font-size: 13px; font-weight: 600;
    transition: background .15s; white-space: nowrap; border: none;
}
.jc-xl-btn:hover { background: #145230; }
.jc-tpl-link { font-size: 13px; color: #2271b1; text-decoration: underline; }

/* ── Table ── */
.jc-tbl-wrap {
    overflow-x: auto; border-radius: 7px;
    border: 1px solid #c8d8f0; margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
}
.jc-tbl {
    width: 100%; border-collapse: collapse;
    min-width: 560px; background: #fff; font-size: 13px;
}

/* Header */
.jc-tbl thead tr { background: #2271b1; }
.jc-tbl thead th {
    padding: 10px 10px; text-align: left;
    font-weight: 600; color: #fff; white-space: nowrap;
}
.jc-th-n { width: 28px; text-align: center !important; }
.jc-th-r { text-align: right !important; }

/* Body rows */
.jc-tbl tbody tr { transition: background .1s; }
.jc-tbl tbody tr:nth-child(even) { background: #f4f8ff; }
.jc-tbl tbody tr:hover { background: #e8f0fb; }
.jc-tbl td { padding: 8px 8px; vertical-align: middle; border-bottom: 1px solid #e2eaf6; }

.jc-no { text-align: center; color: #aaa; font-size: 12px; font-weight: 600; }

/* Inputs and selects inside rows */
.jc-inp,
.jc-sel {
    display: block;
    width: 100%;
    padding: 6px 8px;
    border: 1.5px solid #c8d8f0;
    border-radius: 5px;
    font-size: 13px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: auto;
    appearance: auto;
}
.jc-inp:focus,
.jc-sel:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34,113,177,.12);
}
.jc-inp[type="number"] { min-width: 52px; max-width: 72px; }
.jc-pname { min-width: 110px; }
.jc-pnum  { min-width: 60px; max-width: 70px; }
.jc-size  { min-width: 80px; }
.jc-sleeve{ min-width: 100px; }

/* Price cells */
.jc-up  {
    color: #2271b1; font-weight: 700; white-space: nowrap;
    text-align: right; min-width: 72px;
}
.jc-sub {
    color: #1a1a1a; font-weight: 700; white-space: nowrap;
    text-align: right; min-width: 72px;
}
.jc-row-warn .jc-up { color: #c0392b; }

/* Footer */
.jc-tbl tfoot td {
    background: #e4eef9; border-top: 2px solid #b0cae8;
    padding: 10px 8px; font-weight: 700; font-size: 13.5px;
}
.jc-ft-lbl   { text-align: right; color: #555; }
.jc-ft-qty   { text-align: left; padding-left: 6px; color: #222; }
.jc-ft-price { text-align: right; color: #c0392b; font-size: 15px; }

/* ── Action bar ── */
.jc-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jc-add-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 9px 18px; background: #2271b1; color: #fff !important;
    border: none; border-radius: 6px; font-size: 13.5px; font-weight: 600;
    cursor: pointer; transition: background .15s;
}
.jc-add-btn:hover { background: #1557b0; }
.jc-note { font-size: 12px; color: #888; font-style: italic; }

/* ── Remove btn ── */
.jc-rm {
    background: none; border: 1.5px solid #dc3545; color: #dc3545;
    border-radius: 50%; width: 24px; height: 24px;
    font-size: 16px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0; transition: all .15s; flex-shrink: 0;
}
.jc-rm:hover { background: #dc3545; color: #fff; }

/* ── Pre-order ── */
.jc-preorder-form { margin-top: 14px; }
.jc-preorder-btn {
    width: 100%; padding: 13px 20px; background: #f0b429 !important;
    color: #1a1a1a !important; border: none !important; border-radius: 7px !important;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background .15s !important; letter-spacing: .2px;
}
.jc-preorder-btn:hover { background: #d49a00 !important; }

/* ── Mobile ── */
@media (max-width: 640px) {
    .jc-panel { padding: 12px 10px; }
    .jc-tbl   { font-size: 12px; }
    .jc-inp, .jc-sel { padding: 4px 6px; font-size: 12px; }
    .jc-pname { min-width: 80px; }
    .jc-sleeve { min-width: 80px; }
    .jc-legend-row { font-size: 11.5px; }
}


/* ══════════════════════════════════════════════
   Hide WC variation selector TABLE ROWS only
   (not the add-to-cart form itself)
   Targets <tr> rows inside .variations table
══════════════════════════════════════════════ */
.jc-active-product table.variations tr {
    display: none !important;
}
/* Keep the reset/clear links hidden too */
.jc-active-product .reset_variations {
    display: none !important;
}
/* Hide the variation price update area */
.jc-active-product .woocommerce-variation.single_variation {
    display: none !important;
}