.fr-project-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: inherit;
}

.fr-project-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

.fr-project-hero-media {
    background: #f6f6f6;
    border-radius: 24px;
    overflow: hidden;
}

.fr-project-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.fr-project-placeholder {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    font-size: 22px;
    font-weight: 700;
}

.fr-project-video-link {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    font-weight: 700;
}

.fr-project-summary {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.fr-project-summary h2 {
    margin: 16px 0 8px;
    font-size: 30px;
    line-height: 1.15;
}

.fr-project-location {
    margin-bottom: 22px;
    color: #666;
}

.fr-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-right: 6px;
    margin-bottom: 8px;
}

.fr-badge-featured {
    background: #fff3d7;
    color: #8a5a00;
}

.fr-badge-status {
    background: #eaf2ff;
    color: #174ea6;
}

.fr-progress-block {
    margin: 22px 0;
}

.fr-progress-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 15px;
}

.fr-progress-bar {
    width: 100%;
    height: 14px;
    background: #eeeeee;
    border-radius: 999px;
    overflow: hidden;
}

.fr-progress-fill {
    height: 100%;
    background: #111111;
    border-radius: 999px;
}

.fr-funding-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.fr-funding-grid div {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 16px;
}

.fr-funding-grid span {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.fr-funding-grid strong {
    display: block;
    font-size: 18px;
}

.fr-deadline {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f5f5f5;
    margin-bottom: 20px;
}

.fr-support-box {
    border: 1px solid #e4e4e4;
    border-radius: 20px;
    padding: 22px;
    background: #fafafa;
}

.fr-support-box h3 {
    margin-top: 0;
}

.fr-primary-button {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 8px;
}

.fr-primary-button:hover {
    color: #ffffff;
    opacity: 0.85;
}

.fr-small-note {
    font-size: 13px;
    color: #777;
    margin-top: 12px;
}

.fr-project-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.fr-project-section {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
}

.fr-project-section h3 {
    margin-top: 0;
    font-size: 24px;
}

.fr-text-box {
    line-height: 1.7;
}

.fr-rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fr-reward-card {
    border: 1px solid #e5e5e5;
    background: #fafafa;
    border-radius: 18px;
    padding: 18px;
    font-weight: 600;
}

.fr-project-sidebar {
    position: sticky;
    top: 24px;
}

.fr-sidebar-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 20px;
}

.fr-sidebar-card h3 {
    margin-top: 0;
    font-size: 20px;
}

.fr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fr-tags span {
    background: #f2f2f2;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .fr-project-hero,
    .fr-project-content-grid {
        grid-template-columns: 1fr;
    }

    .fr-project-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .fr-project-wrapper {
        margin: 24px auto;
        padding: 0 14px;
    }

    .fr-project-summary,
    .fr-project-section,
    .fr-sidebar-card {
        padding: 20px;
        border-radius: 18px;
    }

    .fr-project-summary h2 {
        font-size: 24px;
    }

    .fr-funding-grid,
    .fr-rewards-grid {
        grid-template-columns: 1fr;
    }
}


.fr-contribution-form {
    margin-top: 18px;
}

.fr-form-label {
    display: block;
    font-weight: 700;
    margin: 18px 0 8px;
}

.fr-amount-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.fr-amount-options label {
    cursor: pointer;
}

.fr-amount-options input {
    display: none;
}

.fr-amount-options span {
    display: block;
    text-align: center;
    border: 1px solid #dddddd;
    border-radius: 999px;
    padding: 12px 10px;
    background: #ffffff;
    font-weight: 700;
}

.fr-amount-options input:checked + span {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.fr-custom-amount,
.fr-reward-select {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
    background: #ffffff;
}

.fr-submit-button {
    border: none;
    cursor: pointer;
    margin-top: 18px;
    width: 100%;
    text-align: center;
}

@media (max-width: 600px) {
    .fr-amount-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fr-dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.fr-dashboard-header {
    background: #111111;
    color: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 28px;
}

.fr-dashboard-header h2 {
    margin-top: 0;
    color: #ffffff;
}

.fr-dashboard-header p {
    margin-bottom: 0;
}

.fr-dashboard-empty,
.fr-dashboard-message {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 28px;
    margin: 30px auto;
    max-width: 800px;
}

.fr-dashboard-project-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.fr-dashboard-project-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.fr-dashboard-project-top h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 26px;
}

.fr-dashboard-project-status {
    color: #666666;
    margin: 0;
}

.fr-dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.fr-dashboard-stats-grid div {
    background: #f8f8f8;
    border-radius: 18px;
    padding: 18px;
}

.fr-dashboard-stats-grid span {
    display: block;
    font-size: 13px;
    color: #666666;
    margin-bottom: 6px;
}

.fr-dashboard-stats-grid strong {
    display: block;
    font-size: 20px;
}

.fr-secondary-button {
    display: inline-block;
    background: #f2f2f2;
    color: #111111;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.fr-secondary-button:hover {
    background: #111111;
    color: #ffffff;
}

.fr-dashboard-deadline {
    margin: 16px 0 24px;
}

.fr-dashboard-contributions h4 {
    margin-top: 24px;
    font-size: 22px;
}

.fr-dashboard-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.fr-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.fr-dashboard-table th,
.fr-dashboard-table td {
    border-bottom: 1px solid #e8e8e8;
    padding: 14px 10px;
    text-align: left;
    font-size: 14px;
}

.fr-dashboard-table th {
    background: #f7f7f7;
    font-weight: 700;
}

@media (max-width: 800px) {
    .fr-dashboard-project-top {
        flex-direction: column;
    }

    .fr-dashboard-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .fr-dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}


.fr-dashboard-summary {
    margin-bottom: 28px;
}

.fr-small-link {
    display: inline-block;
    font-weight: 700;
    color: #111111;
    text-decoration: underline;
}

.fr-small-link:hover {
    opacity: 0.75;
}


.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    margin-bottom: 28px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: inline-block;
    background: #f2f2f2;
    color: #111111;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #111111;
    color: #ffffff;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}

.fr-account-welcome {
    background: #111111;
    color: #ffffff;
    border-radius: 28px;
    padding: 34px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.fr-account-welcome h2 {
    color: #ffffff;
    margin: 8px 0 10px;
    font-size: 32px;
}

.fr-account-welcome p {
    margin: 0;
    color: #eeeeee;
}

.fr-account-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.fr-account-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fr-account-actions .fr-secondary-button {
    background: #ffffff;
    color: #111111;
}

.fr-account-actions .fr-secondary-button:hover {
    opacity: 0.85;
}

.fr-account-panel-embed .fr-dashboard-wrapper {
    margin-top: 0;
    padding: 0;
}

.fr-account-panel-embed .fr-dashboard-header {
    display: none;
}

@media (max-width: 800px) {
    .fr-account-welcome {
        flex-direction: column;
        align-items: flex-start;
    }

    .fr-account-actions {
        justify-content: flex-start;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a {
        width: 100%;
    }
}


.fr-dashboard-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.fr-dashboard-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fr-light-button {
    display: inline-block;
    background: #ffffff;
    color: #111111;
    padding: 13px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.fr-light-button:hover {
    opacity: 0.85;
    color: #111111;
}

.fr-project-form-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.fr-project-form label {
    display: block;
    font-weight: 700;
    margin: 18px 0 8px;
}

.fr-project-form input,
.fr-project-form textarea,
.fr-project-form select {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
    background: #ffffff;
}

.fr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fr-form-footer {
    margin-top: 18px;
}

.fr-success-message {
    background: #e9f8ef;
    border: 1px solid #bfe8cd;
    color: #125c2f;
    padding: 16px 18px;
    border-radius: 16px;
    margin: 0 auto 24px;
    max-width: 900px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .fr-dashboard-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .fr-form-grid {
        grid-template-columns: 1fr;
    }
}


.fr-dashboard-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fr-project-form h3 {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.fr-project-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.fr-checkbox-list {
    background: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 16px;
    padding: 14px;
    max-height: 220px;
    overflow-y: auto;
}

.fr-checkbox-list label {
    display: block;
    margin: 8px 0;
    font-weight: 500;
}

.fr-checkbox-list input {
    width: auto;
    margin-right: 8px;
}

.fr-check-legal {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    background: #f7f7f7;
    border-radius: 16px;
    padding: 16px;
    margin-top: 24px !important;
}

.fr-check-legal input {
    width: auto !important;
    margin-top: 4px;
}

@media (max-width: 700px) {
    .fr-dashboard-card-actions {
        justify-content: flex-start;
    }
}


.fr-projects-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.fr-projects-header {
    background: #111111;
    color: #ffffff;
    border-radius: 28px;
    padding: 36px;
    margin-bottom: 28px;
}

.fr-projects-header h2 {
    color: #ffffff;
    margin: 12px 0 10px;
    font-size: 34px;
}

.fr-projects-header p {
    color: #eeeeee;
    margin: 0;
    max-width: 780px;
}

.fr-projects-filters {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.4fr repeat(5, minmax(130px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.fr-projects-filters label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 7px;
}

.fr-projects-filters input,
.fr-projects-filters select {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 12px 13px;
    background: #ffffff;
    font-size: 14px;
}

.fr-filter-submit .fr-primary-button {
    border: none;
    cursor: pointer;
    padding: 13px 22px;
}

.fr-projects-results-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.fr-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.fr-project-card-listing {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.fr-project-card-image {
    display: block;
    background: #f2f2f2;
    text-decoration: none;
}

.fr-project-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.fr-card-placeholder {
    height: 220px;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #333333;
}

.fr-project-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fr-card-badges {
    margin-bottom: 10px;
}

.fr-project-card-body h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
}

.fr-project-card-body h3 a {
    color: #111111;
    text-decoration: none;
}

.fr-project-card-body h3 a:hover {
    text-decoration: underline;
}

.fr-project-card-location {
    color: #666666;
    margin: 0 0 12px;
}

.fr-project-card-excerpt {
    color: #444444;
    line-height: 1.5;
    margin-bottom: 14px;
}

.fr-card-tags {
    margin-bottom: 16px;
}

.fr-card-progress {
    margin-top: auto;
}

.fr-card-funding-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.fr-card-funding-row div {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 14px;
}

.fr-card-funding-row span {
    display: block;
    font-size: 13px;
    color: #666666;
    margin-bottom: 5px;
}

.fr-card-funding-row strong {
    font-size: 17px;
}

.fr-card-deadline {
    margin: 0 0 16px;
    color: #444444;
}

.fr-card-button {
    width: 100%;
    text-align: center;
}

.fr-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 34px;
}

.fr-pagination a,
.fr-pagination span {
    display: inline-block;
    padding: 10px 14px;
    background: #f2f2f2;
    color: #111111;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.fr-pagination .current,
.fr-pagination a:hover {
    background: #111111;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .fr-projects-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fr-filter-search {
        grid-column: span 3;
    }

    .fr-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .fr-projects-filters {
        grid-template-columns: 1fr;
    }

    .fr-filter-search {
        grid-column: auto;
    }

    .fr-projects-grid {
        grid-template-columns: 1fr;
    }

    .fr-projects-header {
        padding: 26px;
    }

    .fr-projects-header h2 {
        font-size: 26px;
    }
}