.potof-produto-card {
    background-color: #ffffff;
    border: 1px solid #afafaf;
    border-radius: 14px;
    padding: 21px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.potof-produto-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
    padding: 4px 0;
}

.potof-produto-card .card-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.potof-produto-card .card-name {
    font-family: 'Quicksand', sans-serif;
    color: #3e3e3e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.375;
}

.potof-produto-card .card-desc {
    color: #717171;
    font-size: 14px;
    line-height: 1.4;
}

.potof-produto-card .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.potof-produto-card .card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.potof-produto-card .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.potof-produto-card .meta-item svg {
    width: 14px;
    height: 14px;
}

.potof-produto-card .meta-item span {
    color: #717171;
    font-size: 12px;
    line-height: 18px;
}

.potof-produto-card .meta-dot {
    color: #aeaeae;
    font-size: 12px;
    line-height: 18px;
}

.potof-produto-card .card-nutri-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #0e519f;
    border-radius: 999px;
    padding: 4px 16px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    font-family: Quicksand, sans-serif;
}

.potof-produto-card .card-nutri-btn:hover {
    background-color: rgba(14, 81, 159, 0.06);
}

.potof-produto-card .card-nutri-btn svg {
    width: 12px;
    height: 12px;
}

.potof-produto-card .card-nutri-btn span {
    color: #0e519f;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}

.potof-produto-card .card-thumb {
    width: 130px;
    height: 130px;
    min-width: 130px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.potof-produto-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.potof-nutri-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.potof-nutri-overlay.active {
    display: flex;
}

.potof-nutri-popup {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 448px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding-bottom: 20px;
    margin: 16px;
}

.potof-nutri-popup .popup-header {
    padding: 20px 24px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.potof-nutri-popup .popup-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.potof-nutri-popup .popup-label {
    color: #717171;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    line-height: 1.5;
}

.potof-nutri-popup .popup-title {
    color: #1f1f42;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.potof-nutri-popup .popup-close {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.potof-nutri-popup .popup-close svg {
    width: 20px;
    height: 20px;
}

.potof-nutri-popup .popup-porcoes {
    margin: 0 24px 12px;
    background-color: #f3f4f6;
    border-radius: 10px;
    padding: 10px 16px;
}

.potof-nutri-popup .porcao-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 18px;
}

.potof-nutri-popup .porcao-label {
    color: #3e3e3e;
    font-size: 12px;
}

.potof-nutri-popup .porcao-value {
    color: #3e3e3e;
    font-size: 12px;
    font-weight: 600;
}

.potof-nutri-popup .popup-table-wrap {
    margin: 0 24px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.potof-nutri-popup .popup-table {
    width: 100%;
    border-collapse: collapse;
}

.potof-nutri-popup .popup-table thead th {
    background-color: #1f1f42;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    text-align: left;
    line-height: 18px;
}

.potof-nutri-popup .popup-table thead th:nth-child(2),
.potof-nutri-popup .popup-table thead th:nth-child(3) {
    text-align: center;
}

.potof-nutri-popup .popup-table tbody td {
    font-size: 12px;
    padding: 8px 12px;
    color: #3e3e3e;
    line-height: 18px;
    border-bottom: none;
}

.potof-nutri-popup .popup-table tbody td:nth-child(2),
.potof-nutri-popup .popup-table tbody td:nth-child(3) {
    text-align: center;
}

.potof-nutri-popup .popup-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.potof-nutri-popup .popup-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.potof-nutri-popup .popup-footer {
    padding: 0 24px;
    color: #aeaeae;
    font-size: 10px;
    line-height: 15px;
}

@media (max-width: 600px) {
    .potof-produto-card {
        flex-direction: column-reverse;
        align-items: stretch;
        padding: 16px;
        gap: 16px;
    }

    .potof-produto-card .card-thumb {
        width: 100%;
        height: auto;
        padding: 16px 0;
    }

    .potof-produto-card .card-thumb img {
        width: 130px;
        height: 130px;
        object-fit: cover;
    }

    .potof-produto-card .card-content {
        min-height: auto;
        gap: 16px;
        padding: 0;
    }

    .potof-produto-card .card-name {
        font-size: 16px;
    }

    .potof-produto-card .card-desc {
        font-size: 13px;
    }

    .potof-produto-card .card-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }
}