body.jersey-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

body.jersey-page main.content {
    flex: 1 0 auto;
    min-height: auto;
    padding-bottom: 0;
}

body.jersey-page footer.footer {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: auto;
}

main.content .jersey-hero {
    padding: 48px 16px 16px;
    text-align: center;
    margin-top: 90px;
}

.jersey-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.jersey-logo {
    padding-bottom: 23px;
    margin-top: -148px;
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    position: fixed;
    left: 0;
    padding-top: 55px;
    z-index: 100;
}

.jersey-logo-image {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
}

main {
    color: #352881;
}

.jersey-hero h1 {
    margin: 0;
    color: var(--primary);
    font-size: 2.6rem;
    font-weight: 800;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.jersey-intro {
    margin-top: 140px;
    padding: 15px 0 10px;
}

.jersey-intro h1 {
    text-align: center;
    font-weight: 700;
}

.jersey-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: start;
}

.jersey-copy h2,
.jersey-copy h3,
.jersey-copy h4 {
    color: #352881;
    margin-bottom: 10px;
    font-weight: 700;
}

.jersey-copy p {
    color: var(--primary-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.jersey-example {
    margin-top: 16px;
}

.jersey-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.jersey-field {
    margin-bottom: 18px;
}

.jersey-field label {
    display: block;
    font-weight: 700;
    color: #666666;
    margin-bottom: 8px;
}

.jersey-select {
    height: 48px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: #666666;
    cursor: pointer;
    position: relative;
    gap: 12px;
}

.jersey-select-value {
    flex: 1;
}

.jersey-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    display: none;
    z-index: 20;
}

.jersey-select-option {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 14px;
    color: #555555;
    font-weight: 600;
}

.jersey-select-option:hover,
.jersey-select-option:focus {
    background: #f5f5f5;
    outline: none;
}

.jersey-select.is-open .jersey-select-menu {
    display: block;
}

.jersey-select.is-open .jersey-caret {
    transform: rotate(-135deg);
}

.jersey-caret {
    width: 10px;
    height: 10px;
    border-right: 2px solid #888888;
    border-bottom: 2px solid #888888;
    transform: rotate(45deg);
    margin-left: 12px;
}

.jersey-card h4 {
    margin: 0 0 12px;
    color: #6b6b6b;
    font-size: 1rem;
    font-weight: 700;
}

.jersey-btn {
    max-width: 219px;
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 1px;
    background: var(--primary-green);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.jersey-btn:hover {
    background: #c10018;
    color: #ffffff;
}

.jersey-btn:disabled,
.jersey-btn:disabled:hover {
    background: #bcc3ce;
    color: #ffffff;
    cursor: not-allowed;
}

.jersey-card .jersey-btn,
.jersey-modal .jersey-btn {
    max-width: 100%;
}

.jersey-modal .modal-content {
    border: none;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.jersey-modal .modal-header {
    border-bottom: 1px solid #ebebeb;
    padding: 20px 24px 16px;
    align-items: flex-start;
}

.jersey-modal .modal-title {
    margin: 0;
    color: #352881;
    font-size: 1.45rem;
    font-weight: 800;
}

.jersey-modal-subtitle {
    margin: 8px 0 0;
    color: var(--primary-gray);
    line-height: 1.5;
}

.jersey-modal .modal-body {
    padding: 20px 24px 24px;
}

.jersey-field--modal {
    margin-bottom: 16px;
}

.jersey-form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 12px 14px;
    color: #444444;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jersey-form-control:focus {
    outline: none;
    border-color: #352881;
    box-shadow: 0 0 0 3px rgba(53, 40, 129, 0.12);
}

.jersey-form-control--textarea {
    min-height: 128px;
    resize: vertical;
}

.jersey-address-lookup {
    margin-bottom: 12px;
}

.jersey-address-lookup-label {
    color: #666666;
    font-size: 0.95rem;
}

.jersey-address-lookup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 8px;
}

.jersey-address-lookup-btn {
    min-height: 48px;
    border: none;
    border-radius: 10px;
    background: #352881;
    color: #ffffff;
    font-weight: 700;
}

.jersey-address-lookup-btn:hover {
    background: #241b66;
}

.jersey-address-lookup-btn:disabled {
    background: #bcc3ce;
    cursor: wait;
}

.jersey-address-lookup-status {
    min-height: 21px;
    margin-top: 6px;
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.jersey-address-lookup-status[data-type="success"] {
    color: #1f6f46;
}

.jersey-address-lookup-status[data-type="error"] {
    color: #c10018;
}

.jersey-address-lookup-results {
    margin-top: 8px;
    display: grid;
    gap: 6px;
}

.jersey-address-lookup-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #ffffff;
    color: #352881;
    font-weight: 700;
    padding: 8px 12px;
}

.jersey-address-lookup-select:focus {
    border-color: #352881;
    outline: none;
    box-shadow: 0 0 0 3px rgba(53, 40, 129, 0.12);
}

.jersey-address-lookup-option {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #ffffff;
    color: #352881;
    font-weight: 700;
    text-align: left;
    padding: 8px 12px;
}

.jersey-address-lookup-option:hover,
.jersey-address-lookup-option:focus {
    border-color: #352881;
    outline: none;
    box-shadow: 0 0 0 3px rgba(53, 40, 129, 0.12);
}

.jersey-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555555;
    font-weight: 600;
    line-height: 1.45;
}

.jersey-checkbox input {
    margin-top: 4px;
    accent-color: #352881;
}

.jersey-required {
    color: #c10018;
}

.jersey-modal .alert {
    margin-bottom: 16px;
}

.jersey-request-status {
    margin-top: 14px;
    padding: 14px 16px;
    display: block;
    color: #1f4f3a;
    background: #e9f8ef;
    border: 1px solid #9bd5b2;
    border-radius: 10px;
    line-height: 1.55;
}

.jersey-request-status strong {
    display: block;
    margin-bottom: 3px;
    color: #163d2c;
    font-size: 1.05rem;
}

.jersey-request-status-message {
    color: #1f4f3a;
}

.jersey-carry {
    padding: 26px 0 10px;
}

.jersey-carry-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.jersey-carry-inner h3 {
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

.jersey-carry-items {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.jersey-carry-items img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.15);
}

.jersey-faq {
    padding: 32px 0 70px;
}

.jersey-faq h2 {
    font-weight: 800;
    margin-bottom: 8px;
}

.jersey-faq-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.jersey-link {
    border: none;
    background: transparent;
    color: #352881;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
}

.jersey-faq-list details {
    border-bottom: 1px solid #dddddd;
    padding: 12px 0;
}

.jersey-faq-list summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
    color: #352881;
}

.jersey-faq-list summary::-webkit-details-marker {
    display: none;
}

.jersey-faq-list summary::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--primary-green);
}

footer a.menu {
    text-decoration: none;
}

.list-unstyled {
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.jersey-faq-list details[open] summary::after {
    content: "-";
}

.jersey-faq-list p {
    margin: 10px 0 0;
    color: var(--primary-gray);
    line-height: 1.6;
}

@media (max-width: 980px) {
    .jersey-grid {
        grid-template-columns: 1fr;
    }

    .jersey-hero h1 {
        font-size: 2.2rem;
    }

    .jersey-card {
        order: -1;
    }

    .jersey-carry-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .jersey-hero {
        padding-top: 36px;
    }

    .jersey-logo {
        flex-direction: column;
    }

    .jersey-hero h1 {
        font-size: 1.9rem;
    }

    .jersey-card {
        padding: 20px;
    }

    .jersey-modal .modal-header,
    .jersey-modal .modal-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .jersey-address-lookup-row {
        grid-template-columns: 1fr;
    }
}
