/* prices4.html */
/* FakeIDs price-list search (scoped to this page) */
    .prices-search-card {
        background: #ffffff;
        border: 1px solid #e3e8ee;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
        padding: 18px;
        margin-bottom: 28px;
    }
    .prices-search-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
    .prices-search-field { position: relative; }
    .prices-search-field-grow { flex: 1 1 260px; }
    .prices-search-field select.prices-search-input { width: 230px; }
    .prices-search-icon {
        position: absolute; left: 15px; top: 50%;
        transform: translateY(-50%);
        color: #0d6efd; font-size: 15px; line-height: 1; pointer-events: none;
    }
    .prices-search-input {
        display: block; width: 100%; height: 48px;
        padding: 0 14px; border: 2px solid #d8dee6; border-radius: 8px;
        font-family: Arial, "Helvetica Neue", Helvetica, Roboto, sans-serif; font-size: 15px; color: #222222;
        background-color: #fbfcfe;
        transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    }
    .prices-search-field-grow .prices-search-input { padding-left: 44px; }
    .prices-search-input:focus {
        outline: none; border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, .12); background-color: #ffffff;
    }
    .prices-search-select {
        appearance: none; -webkit-appearance: none; -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
        padding-right: 38px; cursor: pointer;
    }
    .prices-search-clear {
        height: 48px; padding: 0 22px; border: 2px solid #222222; border-radius: 8px;
        background: #ffffff; color: #222222;
        font-family: Arial, "Helvetica Neue", Helvetica, Roboto, sans-serif; font-size: 14px; font-weight: 600;
        cursor: pointer; white-space: nowrap;
        transition: background-color .15s ease, color .15s ease;
    }
    .prices-search-clear:hover { background: #222222; color: #ffffff; }
    .prices-search-meta {
        display: flex; justify-content: space-between; align-items: center;
        gap: 10px; margin-top: 12px; flex-wrap: wrap;
    }
    .prices-result-count { color: #0d6efd; font-weight: 600; font-size: 14px; min-height: 20px; }
    .prices-search-hint { color: #6b7280; font-size: 13px; }
    .prices-no-results {
        display: flex; justify-content: space-between; align-items: center;
        gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 8px;
        background: #fdecea; color: #b02a37; font-size: 14px; font-weight: 500; flex-wrap: wrap;
    }
    .prices-no-results-clear {
        border: none; background: transparent; color: #b02a37; font-weight: 700;
        text-decoration: underline; cursor: pointer; padding: 0;
        font-family: Arial, "Helvetica Neue", Helvetica, Roboto, sans-serif; font-size: 14px;
    }
    .prices-hide-on-search.is-searching { display: none !important; }
    /* The site's main.js runs $('select').niceSelect(), which hides the native
       select and swaps in a div whose synthetic change events never reach our
       addEventListener handler. Keep the native select visible (better mobile
       UX and a scrollable 78-option list) and hide the plugin's replacement. */
    #prices-state { display: block !important; }
    .prices-search-field .nice-select.prices-search-select { display: none !important; }
    /* When filtering, disable Bootstrap striping so visible rows stay readable */
    .sizing-guide-table table.prices-filtering tbody tr { background-color: #ffffff !important; }
    .sizing-guide-table table.prices-filtering tbody tr + tr { border-top: 1px solid #e5e7eb; }
    /* State names are links: make the affordance obvious */
    .sizing-guide-table tbody td:first-child a {
        color: #0d6efd;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    .sizing-guide-table tbody td:first-child a:hover,
    .sizing-guide-table tbody td:first-child a:focus {
        color: #0a58ca;
        text-decoration: underline;
    }
    .all-ages-badge {
        display: inline-block;
        background: #ffba0a;
        color: #222222;
        font-weight: 700;
        font-size: 11px;
        line-height: 1;
        letter-spacing: .04em;
        padding: 5px 9px;
        border-radius: 999px;
        margin-left: 8px;
        vertical-align: middle;
        white-space: nowrap;
    }
    @media (max-width: 575.98px) {
        .prices-search-field select.prices-search-input { width: 100%; }
        .prices-search-field-grow { flex-basis: 100%; }
        .prices-search-clear { flex: 1 1 auto; }
        .prices-search-meta { justify-content: flex-start; }

        /* Mobile: turn each price row into a stacked card so the table never scrolls horizontally */
        .sizing-guide-table .table-responsive { overflow-x: visible; }
        .sizing-guide-table table,
        .sizing-guide-table thead,
        .sizing-guide-table tbody,
        .sizing-guide-table tr,
        .sizing-guide-table td { display: block; width: 100%; }
        .sizing-guide-table thead { display: none; }
        .sizing-guide-table table.table-striped tbody tr {
            background: #ffffff;
            border: 1px solid #e3e8ee;
            border-radius: 8px;
            padding: 10px 14px;
            margin-bottom: 12px;
            box-shadow: 0 2px 6px rgba(17, 24, 39, .04);
        }
        .sizing-guide-table tbody td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            padding: 7px 0;
            border-top: 1px dashed #e5e7eb;
            font-size: 15px;
            color: #222222;
            white-space: normal;
            overflow-wrap: break-word;
            word-break: break-word;
        }
        .sizing-guide-table tbody td:first-child {
            display: block;
            border-top: none;
            padding-top: 2px;
            font-weight: 700;
            font-size: 15px;
            white-space: normal;
            overflow-wrap: break-word;
            word-break: break-word;
        }
        .sizing-guide-table tbody td:first-child a {
            display: block;
            padding: 8px 0 4px;
            color: #0d6efd;
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .sizing-guide-table tbody td:first-child .name p {
            margin: 0 0 4px;
            font-weight: 400;
            font-size: 12px;
            color: #6b7280;
        }
        .sizing-guide-table tbody td::before {
            content: attr(data-label);
            font-weight: 700;
            color: #4b5563;
            font-size: 13px;
        }
        .sizing-guide-table tbody td:first-child::before { display: none; }
    }
